1 <?xml version="1.0" encoding="utf-8"?>
2 <django-objects version="1.0">
3 <object pk="23" model="toolbar.buttongroup">
4 <field type="CharField" name="name">Dodatkowe przyciski w XMLEditor</field>
5 <field type="SlugField" name="slug">xmleditor-extra-buttons</field>
6 <field type="IntegerField" name="position">-1</field>
8 <object pk="24" model="toolbar.buttongroup">
9 <field type="CharField" name="name">HTMLEditor Extra</field>
10 <field type="SlugField" name="slug">htmleditor-extra</field>
11 <field type="IntegerField" name="position">-1</field>
13 <object pk="14" model="toolbar.buttongroup">
14 <field type="CharField" name="name">Akapity i długie cytaty</field>
15 <field type="SlugField" name="slug">akapity-i-dlugie-cytaty</field>
16 <field type="IntegerField" name="position">0</field>
18 <object pk="2" model="toolbar.buttongroup">
19 <field type="CharField" name="name">Autokorekta</field>
20 <field type="SlugField" name="slug">autokorekta</field>
21 <field type="IntegerField" name="position">0</field>
23 <object pk="21" model="toolbar.buttongroup">
24 <field type="CharField" name="name">Bloki</field>
25 <field type="SlugField" name="slug">bloki</field>
26 <field type="IntegerField" name="position">0</field>
28 <object pk="12" model="toolbar.buttongroup">
29 <field type="CharField" name="name">Dramat wierszowany</field>
30 <field type="SlugField" name="slug">dramat-wierszowany</field>
31 <field type="IntegerField" name="position">0</field>
33 <object pk="18" model="toolbar.buttongroup">
34 <field type="CharField" name="name">Dramat współczesny</field>
35 <field type="SlugField" name="slug">dramat-wspolczesny</field>
36 <field type="IntegerField" name="position">0</field>
38 <object pk="13" model="toolbar.buttongroup">
39 <field type="CharField" name="name">Elementy początkowe</field>
40 <field type="SlugField" name="slug">elementy-poczatkowe</field>
41 <field type="IntegerField" name="position">0</field>
43 <object pk="1" model="toolbar.buttongroup">
44 <field type="CharField" name="name">Nagłówki</field>
45 <field type="SlugField" name="slug">naglowki</field>
46 <field type="IntegerField" name="position">0</field>
48 <object pk="22" model="toolbar.buttongroup">
49 <field type="CharField" name="name">Początek dramatu</field>
50 <field type="SlugField" name="slug">poczatek-dramatu</field>
51 <field type="IntegerField" name="position">0</field>
53 <object pk="16" model="toolbar.buttongroup">
54 <field type="CharField" name="name">Polecenia</field>
55 <field type="SlugField" name="slug">polecenia</field>
56 <field type="IntegerField" name="position">0</field>
58 <object pk="11" model="toolbar.buttongroup">
59 <field type="CharField" name="name">Strukturalne</field>
60 <field type="SlugField" name="slug">strukturalne</field>
61 <field type="IntegerField" name="position">0</field>
63 <object pk="15" model="toolbar.buttongroup">
64 <field type="CharField" name="name">Style znakowe</field>
65 <field type="SlugField" name="slug">style-znakowe</field>
66 <field type="IntegerField" name="position">0</field>
68 <object pk="17" model="toolbar.buttongroup">
69 <field type="CharField" name="name">Wersy</field>
70 <field type="SlugField" name="slug">wersy</field>
71 <field type="IntegerField" name="position">0</field>
73 <object pk="5" model="toolbar.button">
74 <field type="CharField" name="label">A<sup>+</sup></field>
75 <field type="SlugField" name="slug">increase_font_size</field>
76 <field type="TextField" name="params">{"change": 2}</field>
77 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
78 <field type="CharField" name="link"/>
79 <field type="CharField" name="key"/>
80 <field type="PositiveIntegerField" name="key_mod">0</field>
81 <field type="CharField" name="tooltip">Zwiększ rozmiar czcionki.</field>
82 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
86 <object pk="6" model="toolbar.button">
87 <field type="CharField" name="label">A<sup>-</sup></field>
88 <field type="SlugField" name="slug">descrease_font_size</field>
89 <field type="TextField" name="params">{"change": -2}</field>
90 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
91 <field type="CharField" name="link"/>
92 <field type="CharField" name="key"/>
93 <field type="PositiveIntegerField" name="key_mod">0</field>
94 <field type="CharField" name="tooltip">Zmniejsz rozmiar czcionki.</field>
95 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
99 <object pk="7" model="toolbar.button">
100 <field type="CharField" name="label">A<sup>=</sup></field>
101 <field type="SlugField" name="slug">reset_font_size</field>
102 <field type="TextField" name="params">{"fontSize": 13}</field>
103 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">codemirror_fontsize</field>
104 <field type="CharField" name="link"/>
105 <field type="CharField" name="key"/>
106 <field type="PositiveIntegerField" name="key_mod">0</field>
107 <field type="CharField" name="tooltip">Przywróć orginalny rozmiar czcionki.</field>
108 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
112 <object pk="76" model="toolbar.button">
113 <field type="CharField" name="label">A<sup>↓</sup></field>
114 <field type="SlugField" name="slug">tolowercase</field>
115 <field type="TextField" name="params">[]</field>
116 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lowercase</field>
117 <field type="CharField" name="link"/>
118 <field type="CharField" name="key">u</field>
119 <field type="PositiveIntegerField" name="key_mod">6</field>
120 <field type="CharField" name="tooltip">Zamień wielkie litery na małe.</field>
121 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
125 <object pk="4" model="toolbar.button">
126 <field type="CharField" name="label">Podstawowa</field>
127 <field type="SlugField" name="slug">basic_correction</field>
128 <field type="TextField" name="params">{"exprs": [["\n\\d+\n", "\n"], ["-\\s*\n+", ""], ["\\,\\.\\.|\\.\\,\\.|\\.\\.\\,", "..."]]}</field>
129 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">fulltextregexp</field>
130 <field type="CharField" name="link"/>
131 <field type="CharField" name="key"/>
132 <field type="PositiveIntegerField" name="key_mod">0</field>
133 <field type="CharField" name="tooltip">Wykonuję operację z novel-pages i poem-pages.</field>
134 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
138 <object pk="3" model="toolbar.button">
139 <field type="CharField" name="label">Usuń spację</field>
140 <field type="SlugField" name="slug">strip_whitespace</field>
141 <field type="TextField" name="params">{"exprs": [["^\\s+|\\s+$", ""], ["\\s+", " "]]}</field>
142 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
143 <field type="CharField" name="link"/>
144 <field type="CharField" name="key"/>
145 <field type="PositiveIntegerField" name="key_mod">0</field>
146 <field type="CharField" name="tooltip">Usuwa zbędne spację z dokumentu.</field>
147 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
151 <object pk="84" model="toolbar.button">
152 <field type="CharField" name="label">Wers wcięty</field>
153 <field type="SlugField" name="slug">wers-wciety</field>
154 <field type="TextField" name="params">{"tag": "wers_wciety", "attrs": {"typ": ""}}</field>
155 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
156 <field type="CharField" name="link"/>
157 <field type="CharField" name="key"/>
158 <field type="PositiveIntegerField" name="key_mod">0</field>
159 <field type="CharField" name="tooltip"/>
160 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
165 <object pk="86" model="toolbar.button">
166 <field type="CharField" name="label">Wydrukuj</field>
167 <field type="SlugField" name="slug">print-xml</field>
168 <field type="TextField" name="params">[]</field>
169 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">
172 <field type="CharField" name="link">print/xml</field>
173 <field type="CharField" name="key"/>
174 <field type="PositiveIntegerField" name="key_mod">0</field>
175 <field type="CharField" name="tooltip"/>
176 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
180 <object pk="87" model="toolbar.button">
181 <field type="CharField" name="label">Wydrukuj</field>
182 <field type="SlugField" name="slug">htmleditor-print</field>
183 <field type="TextField" name="params">[]</field>
184 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">
187 <field type="CharField" name="link">print/html</field>
188 <field type="CharField" name="key"/>
189 <field type="PositiveIntegerField" name="key_mod">0</field>
190 <field type="CharField" name="tooltip"/>
191 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
195 <object pk="77" model="toolbar.button">
196 <field type="CharField" name="label">Zamień cudzysłowy</field>
197 <field type="SlugField" name="slug">zamien-cudzyslowy</field>
198 <field type="TextField" name="params">{"exprs": [["\u00bb|\u201e", ",,"], ["\u00ab", "\""], ["\"([\u0104\u0118\u00d3\u0141\u017b\u0179\u0106\u0143\u0105\u017c\u017a\u015b\u0144\u00f3\u0142\u0107\\w])", ",,$1"]]}</field>
199 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
200 <field type="CharField" name="link"/>
201 <field type="CharField" name="key"/>
202 <field type="PositiveIntegerField" name="key_mod">0</field>
203 <field type="CharField" name="tooltip"/>
204 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
208 <object pk="2" model="toolbar.button">
209 <field type="CharField" name="label">Zamień dywiz</field>
210 <field type="SlugField" name="slug">zamien_dywiz</field>
211 <field type="TextField" name="params">{"exprs": [["(\\d)[\u2014-](\\d)", "$1--$2"], ["\u2014", "---"]]}</field>
212 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">lineregexp</field>
213 <field type="CharField" name="link"/>
214 <field type="CharField" name="key"/>
215 <field type="PositiveIntegerField" name="key_mod">0</field>
216 <field type="CharField" name="tooltip">Zamienia '—' na '---', oraz '1—2' na '1--2'.</field>
217 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
221 <object pk="39" model="toolbar.button">
222 <field type="CharField" name="label">akapit</field>
223 <field type="SlugField" name="slug">akapit</field>
224 <field type="TextField" name="params">{"tag": "akap"}</field>
225 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
226 <field type="CharField" name="link"/>
227 <field type="CharField" name="key"/>
228 <field type="PositiveIntegerField" name="key_mod">0</field>
229 <field type="CharField" name="tooltip"/>
230 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
234 <object pk="40" model="toolbar.button">
235 <field type="CharField" name="label">akapit cd.</field>
236 <field type="SlugField" name="slug">akapit-cd</field>
237 <field type="TextField" name="params">{"tag": "akap_cd"}</field>
238 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
239 <field type="CharField" name="link"/>
240 <field type="CharField" name="key"/>
241 <field type="PositiveIntegerField" name="key_mod">0</field>
242 <field type="CharField" name="tooltip"/>
243 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
247 <object pk="41" model="toolbar.button">
248 <field type="CharField" name="label">akapit dialogowy</field>
249 <field type="SlugField" name="slug">akapit-dialogowy</field>
250 <field type="TextField" name="params">{"tag": "akap_dialog"}</field>
251 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
252 <field type="CharField" name="link"/>
253 <field type="CharField" name="key"/>
254 <field type="PositiveIntegerField" name="key_mod">0</field>
255 <field type="CharField" name="tooltip"/>
256 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
260 <object pk="14" model="toolbar.button">
261 <field type="CharField" name="label">akt</field>
262 <field type="SlugField" name="slug">akt</field>
263 <field type="TextField" name="params">{"tag": "akt"}</field>
264 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
265 <field type="CharField" name="link"/>
266 <field type="CharField" name="key"/>
267 <field type="PositiveIntegerField" name="key_mod">0</field>
268 <field type="CharField" name="tooltip"/>
269 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
273 <object pk="32" model="toolbar.button">
274 <field type="CharField" name="label">autor</field>
275 <field type="SlugField" name="slug">autor</field>
276 <field type="TextField" name="params">{"tag": "autor"}</field>
277 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
278 <field type="CharField" name="link"/>
279 <field type="CharField" name="key"/>
280 <field type="PositiveIntegerField" name="key_mod">0</field>
281 <field type="CharField" name="tooltip"/>
282 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
286 <object pk="10" model="toolbar.button">
287 <field type="CharField" name="label">część/księga</field>
288 <field type="SlugField" name="slug">czesc</field>
289 <field type="TextField" name="params">{"tag": "naglowek_czesc"}</field>
290 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
291 <field type="CharField" name="link"/>
292 <field type="CharField" name="key"/>
293 <field type="PositiveIntegerField" name="key_mod">0</field>
294 <field type="CharField" name="tooltip"/>
295 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
299 <object pk="74" model="toolbar.button">
300 <field type="CharField" name="label">dedykacja</field>
301 <field type="SlugField" name="slug">dedykacja</field>
302 <field type="TextField" name="params">{"tag": "dedykacja"}</field>
303 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
304 <field type="CharField" name="link"/>
305 <field type="CharField" name="key"/>
306 <field type="PositiveIntegerField" name="key_mod">0</field>
307 <field type="CharField" name="tooltip"/>
308 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
313 <object pk="62" model="toolbar.button">
314 <field type="CharField" name="label">didaskalia</field>
315 <field type="SlugField" name="slug">didaskalia</field>
316 <field type="TextField" name="params">{"tag": "didaskalia"}</field>
317 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
318 <field type="CharField" name="link"/>
319 <field type="CharField" name="key"/>
320 <field type="PositiveIntegerField" name="key_mod">0</field>
321 <field type="CharField" name="tooltip"/>
322 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
327 <object pk="79" model="toolbar.button">
328 <field type="CharField" name="label">didaskalia początkowe</field>
329 <field type="SlugField" name="slug">didaskalia-poczatkowe</field>
330 <field type="TextField" name="params">{"tag": "miejsce_czas"}</field>
331 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
332 <field type="CharField" name="link"/>
333 <field type="CharField" name="key"/>
334 <field type="PositiveIntegerField" name="key_mod">0</field>
335 <field type="CharField" name="tooltip"/>
336 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
340 <object pk="63" model="toolbar.button">
341 <field type="CharField" name="label">didaskalia wewn.</field>
342 <field type="SlugField" name="slug">didaskalia-wewn</field>
343 <field type="TextField" name="params">{"tag": "didask_tekst"}</field>
344 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
345 <field type="CharField" name="link"/>
346 <field type="CharField" name="key"/>
347 <field type="PositiveIntegerField" name="key_mod">0</field>
348 <field type="CharField" name="tooltip"/>
349 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
354 <object pk="20" model="toolbar.button">
355 <field type="CharField" name="label">dramat wiersz.</field>
356 <field type="SlugField" name="slug">dramat-wiersz</field>
357 <field type="TextField" name="params">{"tag": "dramat_wierszowany_l"}</field>
358 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
359 <field type="CharField" name="link"/>
360 <field type="CharField" name="key"/>
361 <field type="PositiveIntegerField" name="key_mod">0</field>
362 <field type="CharField" name="tooltip"/>
363 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
367 <object pk="22" model="toolbar.button">
368 <field type="CharField" name="label">dramat wiersz./w. łam</field>
369 <field type="SlugField" name="slug">dramat-wiersz-w-lam</field>
370 <field type="TextField" name="params">{"tag": "dramat_wierszowany_lp"}</field>
371 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
372 <field type="CharField" name="link"/>
373 <field type="CharField" name="key"/>
374 <field type="PositiveIntegerField" name="key_mod">0</field>
375 <field type="CharField" name="tooltip"/>
376 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
380 <object pk="21" model="toolbar.button">
381 <field type="CharField" name="label">dramat współczesny</field>
382 <field type="SlugField" name="slug">dramat-wspolczesny</field>
383 <field type="TextField" name="params">{"tag": "dramat_wspolczesny"}</field>
384 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
385 <field type="CharField" name="link"/>
386 <field type="CharField" name="key"/>
387 <field type="PositiveIntegerField" name="key_mod">0</field>
388 <field type="CharField" name="tooltip"/>
389 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
393 <object pk="38" model="toolbar.button">
394 <field type="CharField" name="label">dzieło nadrzędne</field>
395 <field type="SlugField" name="slug">dzielo-nadrzedne</field>
396 <field type="TextField" name="params">{"tag": "dzielo_nadrzedne"}</field>
397 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
398 <field type="CharField" name="link"/>
399 <field type="CharField" name="key"/>
400 <field type="PositiveIntegerField" name="key_mod">0</field>
401 <field type="CharField" name="tooltip"/>
402 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
406 <object pk="67" model="toolbar.button">
407 <field type="CharField" name="label">długi cyt. poet.</field>
408 <field type="SlugField" name="slug">dlugi-cyt-poet</field>
409 <field type="TextField" name="params">{"tag": "poezja_cyt"}</field>
410 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
411 <field type="CharField" name="link"/>
412 <field type="CharField" name="key"/>
413 <field type="PositiveIntegerField" name="key_mod">0</field>
414 <field type="CharField" name="tooltip"/>
415 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
420 <object pk="42" model="toolbar.button">
421 <field type="CharField" name="label">długi cytat</field>
422 <field type="SlugField" name="slug">dlugi-cytat</field>
423 <field type="TextField" name="params">{"tag": "dlugi_cyt"}</field>
424 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
425 <field type="CharField" name="link"/>
426 <field type="CharField" name="key"/>
427 <field type="PositiveIntegerField" name="key_mod">0</field>
428 <field type="CharField" name="tooltip"/>
429 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
434 <object pk="52" model="toolbar.button">
435 <field type="CharField" name="label">ekstra</field>
436 <field type="SlugField" name="slug">ekstra</field>
437 <field type="TextField" name="params">{"tag": "ekstra"}</field>
438 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
439 <field type="CharField" name="link"/>
440 <field type="CharField" name="key"/>
441 <field type="PositiveIntegerField" name="key_mod">0</field>
442 <field type="CharField" name="tooltip"/>
443 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
447 <object pk="82" model="toolbar.button">
448 <field type="CharField" name="label">kwestia</field>
449 <field type="SlugField" name="slug">kwestia</field>
450 <field type="TextField" name="params">{"tag": "kwestia"}</field>
451 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
452 <field type="CharField" name="link"/>
453 <field type="CharField" name="key"/>
454 <field type="PositiveIntegerField" name="key_mod">0</field>
455 <field type="CharField" name="tooltip"/>
456 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
461 <object pk="23" model="toolbar.button">
462 <field type="CharField" name="label">liryka</field>
463 <field type="SlugField" name="slug">liryka</field>
464 <field type="TextField" name="params">{"tag": "liryka_l"}</field>
465 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
466 <field type="CharField" name="link"/>
467 <field type="CharField" name="key"/>
468 <field type="PositiveIntegerField" name="key_mod">0</field>
469 <field type="CharField" name="tooltip"/>
470 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
474 <object pk="24" model="toolbar.button">
475 <field type="CharField" name="label">liryka/w. łam</field>
476 <field type="SlugField" name="slug">liryka-w-lam</field>
477 <field type="TextField" name="params">{"tag": "liryka_lp"}</field>
478 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
479 <field type="CharField" name="link"/>
480 <field type="CharField" name="key"/>
481 <field type="PositiveIntegerField" name="key_mod">0</field>
482 <field type="CharField" name="tooltip"/>
483 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
487 <object pk="78" model="toolbar.button">
488 <field type="CharField" name="label">lista osób: pole</field>
489 <field type="SlugField" name="slug">lista-osob-pole</field>
490 <field type="TextField" name="params">{"tag": "lista_osoba", "attrs": {"typ": ""}}</field>
491 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
492 <field type="CharField" name="link"/>
493 <field type="CharField" name="key"/>
494 <field type="PositiveIntegerField" name="key_mod">0</field>
495 <field type="CharField" name="tooltip"/>
496 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
500 <object pk="47" model="toolbar.button">
501 <field type="CharField" name="label">mamtemat.</field>
502 <field type="SlugField" name="slug">matemat</field>
503 <field type="TextField" name="params">{"tag": "mat"}</field>
504 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
505 <field type="CharField" name="link"/>
506 <field type="CharField" name="key"/>
507 <field type="PositiveIntegerField" name="key_mod">0</field>
508 <field type="CharField" name="tooltip"/>
509 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
513 <object pk="75" model="toolbar.button">
514 <field type="CharField" name="label">motto</field>
515 <field type="SlugField" name="slug">motto</field>
516 <field type="TextField" name="params">{"tag": "motto"}</field>
517 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
518 <field type="CharField" name="link"/>
519 <field type="CharField" name="key"/>
520 <field type="PositiveIntegerField" name="key_mod">0</field>
521 <field type="CharField" name="tooltip"/>
522 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
527 <object pk="37" model="toolbar.button">
528 <field type="CharField" name="label">motto podpis</field>
529 <field type="SlugField" name="slug">motto-podpis</field>
530 <field type="TextField" name="params">{"tag": "motto_podpis"}</field>
531 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
532 <field type="CharField" name="link"/>
533 <field type="CharField" name="key"/>
534 <field type="PositiveIntegerField" name="key_mod">0</field>
535 <field type="CharField" name="tooltip"/>
536 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
540 <object pk="16" model="toolbar.button">
541 <field type="CharField" name="label">nagłówek kwestii</field>
542 <field type="SlugField" name="slug">naglowek-kwestii</field>
543 <field type="TextField" name="params">{"tag": "naglowek_osoba"}</field>
544 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
545 <field type="CharField" name="link"/>
546 <field type="CharField" name="key"/>
547 <field type="PositiveIntegerField" name="key_mod">0</field>
548 <field type="CharField" name="tooltip"/>
549 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
553 <object pk="35" model="toolbar.button">
554 <field type="CharField" name="label">nota</field>
555 <field type="SlugField" name="slug">nota</field>
556 <field type="TextField" name="params">{"tag": "nota"}</field>
557 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
558 <field type="CharField" name="link"/>
559 <field type="CharField" name="key"/>
560 <field type="PositiveIntegerField" name="key_mod">0</field>
561 <field type="CharField" name="tooltip"/>
562 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
566 <object pk="18" model="toolbar.button">
567 <field type="CharField" name="label">opowiadanie</field>
568 <field type="SlugField" name="slug">opowiadanie</field>
569 <field type="TextField" name="params">{"tag": "opowiadanie"}</field>
570 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
571 <field type="CharField" name="link"/>
572 <field type="CharField" name="key"/>
573 <field type="PositiveIntegerField" name="key_mod">0</field>
574 <field type="CharField" name="tooltip"/>
575 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
579 <object pk="64" model="toolbar.button">
580 <field type="CharField" name="label">osoba</field>
581 <field type="SlugField" name="slug">osoba</field>
582 <field type="TextField" name="params">{"tag": "osoba"}</field>
583 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
584 <field type="CharField" name="link"/>
585 <field type="CharField" name="key"/>
586 <field type="PositiveIntegerField" name="key_mod">0</field>
587 <field type="CharField" name="tooltip"/>
588 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
593 <object pk="12" model="toolbar.button">
594 <field type="CharField" name="label">podrozdział</field>
595 <field type="SlugField" name="slug">podrozdzial</field>
596 <field type="TextField" name="params">{"tag": "naglowek_podrozdzial"}</field>
597 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
598 <field type="CharField" name="link"/>
599 <field type="CharField" name="key"/>
600 <field type="PositiveIntegerField" name="key_mod">0</field>
601 <field type="CharField" name="tooltip"/>
602 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
606 <object pk="34" model="toolbar.button">
607 <field type="CharField" name="label">podtytuł</field>
608 <field type="SlugField" name="slug">podtytul</field>
609 <field type="TextField" name="params">{"tag": "podtytul"}</field>
610 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
611 <field type="CharField" name="link"/>
612 <field type="CharField" name="key"/>
613 <field type="PositiveIntegerField" name="key_mod">0</field>
614 <field type="CharField" name="tooltip"/>
615 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
619 <object pk="19" model="toolbar.button">
620 <field type="CharField" name="label">powieść</field>
621 <field type="SlugField" name="slug">powiesc</field>
622 <field type="TextField" name="params">{"tag": "powiesc"}</field>
623 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
624 <field type="CharField" name="link"/>
625 <field type="CharField" name="key"/>
626 <field type="PositiveIntegerField" name="key_mod">0</field>
627 <field type="CharField" name="tooltip"/>
628 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
632 <object pk="68" model="toolbar.button">
633 <field type="CharField" name="label">przypis autorski</field>
634 <field type="SlugField" name="slug">przypis-autorski</field>
635 <field type="TextField" name="params">{"tag": "pa"}</field>
636 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
637 <field type="CharField" name="link"/>
638 <field type="CharField" name="key"/>
639 <field type="PositiveIntegerField" name="key_mod">0</field>
640 <field type="CharField" name="tooltip"/>
641 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
645 <object pk="71" model="toolbar.button">
646 <field type="CharField" name="label">przypis edytorski</field>
647 <field type="SlugField" name="slug">przypis-edytorski</field>
648 <field type="TextField" name="params">{"tag": "pe"}</field>
649 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
650 <field type="CharField" name="link"/>
651 <field type="CharField" name="key"/>
652 <field type="PositiveIntegerField" name="key_mod">0</field>
653 <field type="CharField" name="tooltip"/>
654 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
658 <object pk="70" model="toolbar.button">
659 <field type="CharField" name="label">przypis redaktorski</field>
660 <field type="SlugField" name="slug">przypis-redaktorski</field>
661 <field type="TextField" name="params">{"tag": "pr"}</field>
662 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
663 <field type="CharField" name="link"/>
664 <field type="CharField" name="key"/>
665 <field type="PositiveIntegerField" name="key_mod">0</field>
666 <field type="CharField" name="tooltip"/>
667 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
671 <object pk="69" model="toolbar.button">
672 <field type="CharField" name="label">przypis tłumacza</field>
673 <field type="SlugField" name="slug">przypis-tlumacza</field>
674 <field type="TextField" name="params">{"tag": "pt"}</field>
675 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
676 <field type="CharField" name="link"/>
677 <field type="CharField" name="key"/>
678 <field type="PositiveIntegerField" name="key_mod">0</field>
679 <field type="CharField" name="tooltip"/>
680 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
684 <object pk="11" model="toolbar.button">
685 <field type="CharField" name="label">rozdział</field>
686 <field type="SlugField" name="slug">rozdzial</field>
687 <field type="TextField" name="params">{"tag": "naglowek_rozdzial"}</field>
688 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
689 <field type="CharField" name="link"/>
690 <field type="CharField" name="key"/>
691 <field type="PositiveIntegerField" name="key_mod">0</field>
692 <field type="CharField" name="tooltip"/>
693 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
697 <object pk="15" model="toolbar.button">
698 <field type="CharField" name="label">scena</field>
699 <field type="SlugField" name="slug">scena</field>
700 <field type="TextField" name="params">{"tag": "naglowek_scena"}</field>
701 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
702 <field type="CharField" name="link"/>
703 <field type="CharField" name="key"/>
704 <field type="PositiveIntegerField" name="key_mod">0</field>
705 <field type="CharField" name="tooltip"/>
706 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
710 <object pk="54" model="toolbar.button">
711 <field type="CharField" name="label">sep. asteryks</field>
712 <field type="SlugField" name="slug">sep-asteryks</field>
713 <field type="TextField" name="params">{"tag": "sekcja_asteryks"}</field>
714 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
715 <field type="CharField" name="link"/>
716 <field type="CharField" name="key"/>
717 <field type="PositiveIntegerField" name="key_mod">0</field>
718 <field type="CharField" name="tooltip"/>
719 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
723 <object pk="55" model="toolbar.button">
724 <field type="CharField" name="label">sep. linia</field>
725 <field type="SlugField" name="slug">sep-linia</field>
726 <field type="TextField" name="params">{"tag": "separator_linia"}</field>
727 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
728 <field type="CharField" name="link"/>
729 <field type="CharField" name="key"/>
730 <field type="PositiveIntegerField" name="key_mod">0</field>
731 <field type="CharField" name="tooltip"/>
732 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
736 <object pk="53" model="toolbar.button">
737 <field type="CharField" name="label">sep. światło</field>
738 <field type="SlugField" name="slug">sep-swiatlo</field>
739 <field type="TextField" name="params">{"tag": "sekcja_swiatlo"}</field>
740 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
741 <field type="CharField" name="link"/>
742 <field type="CharField" name="key"/>
743 <field type="PositiveIntegerField" name="key_mod">0</field>
744 <field type="CharField" name="tooltip"/>
745 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
749 <object pk="81" model="toolbar.button">
750 <field type="CharField" name="label">strofa</field>
751 <field type="SlugField" name="slug">strofa</field>
752 <field type="TextField" name="params">{"tag": "strofa"}</field>
753 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_stanza</field>
754 <field type="CharField" name="link"/>
755 <field type="CharField" name="key">s</field>
756 <field type="PositiveIntegerField" name="key_mod">1</field>
757 <field type="CharField" name="tooltip"/>
758 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
763 <object pk="46" model="toolbar.button">
764 <field type="CharField" name="label">słowo obce</field>
765 <field type="SlugField" name="slug">slowo-obce</field>
766 <field type="TextField" name="params">{"tag": "slowo_obce"}</field>
767 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
768 <field type="CharField" name="link"/>
769 <field type="CharField" name="key"/>
770 <field type="PositiveIntegerField" name="key_mod">0</field>
771 <field type="CharField" name="tooltip"/>
772 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
776 <object pk="17" model="toolbar.button">
777 <field type="CharField" name="label">tagi główne</field>
778 <field type="SlugField" name="slug">tagi-glowne</field>
779 <field type="TextField" name="params">{"tag": "utwor"}</field>
780 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
781 <field type="CharField" name="link"/>
782 <field type="CharField" name="key"/>
783 <field type="PositiveIntegerField" name="key_mod">0</field>
784 <field type="CharField" name="tooltip"/>
785 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
789 <object pk="33" model="toolbar.button">
790 <field type="CharField" name="label">tytuł</field>
791 <field type="SlugField" name="slug">tytul</field>
792 <field type="TextField" name="params">{"tag": "nazwa_utworu"}</field>
793 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
794 <field type="CharField" name="link"/>
795 <field type="CharField" name="key"/>
796 <field type="PositiveIntegerField" name="key_mod">0</field>
797 <field type="CharField" name="tooltip"/>
798 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
802 <object pk="45" model="toolbar.button">
803 <field type="CharField" name="label">tytuł dzieła</field>
804 <field type="SlugField" name="slug">tytul-dziela</field>
805 <field type="TextField" name="params">{"tag": "tytul_dziela", "attrs": {"typ": "1"}}</field>
806 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
807 <field type="CharField" name="link"/>
808 <field type="CharField" name="key"/>
809 <field type="PositiveIntegerField" name="key_mod">0</field>
810 <field type="CharField" name="tooltip"/>
811 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
815 <object pk="51" model="toolbar.button">
816 <field type="CharField" name="label">uwaga</field>
817 <field type="SlugField" name="slug">uwaga</field>
818 <field type="TextField" name="params">{"tag": "uwaga"}</field>
819 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
820 <field type="CharField" name="link"/>
821 <field type="CharField" name="key"/>
822 <field type="PositiveIntegerField" name="key_mod">0</field>
823 <field type="CharField" name="tooltip"/>
824 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
828 <object pk="83" model="toolbar.button">
829 <field type="CharField" name="label">wers akap.</field>
830 <field type="SlugField" name="slug">wers-akap</field>
831 <field type="TextField" name="params">{"tag": "wers_akap"}</field>
832 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
833 <field type="CharField" name="link"/>
834 <field type="CharField" name="key"/>
835 <field type="PositiveIntegerField" name="key_mod">0</field>
836 <field type="CharField" name="tooltip"/>
837 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
842 <object pk="85" model="toolbar.button">
843 <field type="CharField" name="label">wers cd.</field>
844 <field type="SlugField" name="slug">wers-cd</field>
845 <field type="TextField" name="params">{"tag": "wers_cd"}</field>
846 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
847 <field type="CharField" name="link"/>
848 <field type="CharField" name="key"/>
849 <field type="PositiveIntegerField" name="key_mod">0</field>
850 <field type="CharField" name="tooltip"/>
851 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
856 <object pk="48" model="toolbar.button">
857 <field type="CharField" name="label">www</field>
858 <field type="SlugField" name="slug">www</field>
859 <field type="TextField" name="params">{"tag": "www"}</field>
860 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
861 <field type="CharField" name="link"/>
862 <field type="CharField" name="key"/>
863 <field type="PositiveIntegerField" name="key_mod">0</field>
864 <field type="CharField" name="tooltip"/>
865 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
869 <object pk="44" model="toolbar.button">
870 <field type="CharField" name="label">wyróżnienie</field>
871 <field type="SlugField" name="slug">wyroznienie</field>
872 <field type="TextField" name="params">{"tag": "wyroznienie"}</field>
873 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
874 <field type="CharField" name="link"/>
875 <field type="CharField" name="key"/>
876 <field type="PositiveIntegerField" name="key_mod">0</field>
877 <field type="CharField" name="tooltip"/>
878 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
882 <object pk="25" model="toolbar.button">
883 <field type="CharField" name="label">wywiad</field>
884 <field type="SlugField" name="slug">wywiad</field>
885 <field type="TextField" name="params">{"tag": "wywiad"}</field>
886 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
887 <field type="CharField" name="link"/>
888 <field type="CharField" name="key"/>
889 <field type="PositiveIntegerField" name="key_mod">0</field>
890 <field type="CharField" name="tooltip"/>
891 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
895 <object pk="73" model="toolbar.button">
896 <field type="CharField" name="label">wywiad odpowiedź</field>
897 <field type="SlugField" name="slug">wywiad-odpowiedz</field>
898 <field type="TextField" name="params">{"tag": "wywiad_odp"}</field>
899 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
900 <field type="CharField" name="link"/>
901 <field type="CharField" name="key"/>
902 <field type="PositiveIntegerField" name="key_mod">0</field>
903 <field type="CharField" name="tooltip"/>
904 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
908 <object pk="72" model="toolbar.button">
909 <field type="CharField" name="label">wywiad pytanie</field>
910 <field type="SlugField" name="slug">wywiad-pytanie</field>
911 <field type="TextField" name="params">{"tag": "wywiad_pyt"}</field>
912 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
913 <field type="CharField" name="link"/>
914 <field type="CharField" name="key"/>
915 <field type="PositiveIntegerField" name="key_mod">0</field>
916 <field type="CharField" name="tooltip"/>
917 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
921 <object pk="56" model="toolbar.button">
922 <field type="CharField" name="label">zastępnik wersu</field>
923 <field type="SlugField" name="slug">zastepnik-wersu</field>
924 <field type="TextField" name="params">{"tag": "zastepnik_wersu"}</field>
925 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
926 <field type="CharField" name="link"/>
927 <field type="CharField" name="key"/>
928 <field type="PositiveIntegerField" name="key_mod">0</field>
929 <field type="CharField" name="tooltip"/>
930 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
934 <object pk="13" model="toolbar.button">
935 <field type="CharField" name="label">śródtytuł</field>
936 <field type="SlugField" name="slug">srodtytul</field>
937 <field type="TextField" name="params">{"tag": "srodtytul"}</field>
938 <field to="toolbar.scriptlet" name="scriptlet" rel="ManyToOneRel">insert_tag</field>
939 <field type="CharField" name="link"/>
940 <field type="CharField" name="key"/>
941 <field type="PositiveIntegerField" name="key_mod">0</field>
942 <field type="CharField" name="tooltip"/>
943 <field to="toolbar.buttongroup" name="group" rel="ManyToManyRel">
947 <object pk="insert_tag" model="toolbar.scriptlet">
948 <field type="TextField" name="code">var texteditor = panel.texteditor;
950 var text = texteditor.selection();
952 var out = '<'+params.tag;
954 for (var attr in params.attrs) {
956 out += ' '+attr+'="' + params.attrs[attr] + '"';
964 out += '</' + params.tag + '>';
968 texteditor.replaceSelection(out);
972 if (text.length == 0) {
974 var pos = texteditor.cursorPosition();
976 texteditor.selectLines(pos.line, pos.character + params.tag.length + 2);
982 panel.fireEvent('contentChanged');</field>
984 <object pk="lineregexp" model="toolbar.scriptlet">
985 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
987 var cm = panel.texteditor;
988 var exprs = $.map(params.exprs, function(expr) {
992 if(expr.length > 2)
996 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1004 var text = cm.selection();
1010 var cpos = cm.cursorPosition();
1012 cpos.line = cm.lineNumber(cpos.line)
1014 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1016 text = cm.selection();
1025 var lines = text.split('\n');
1026 var lines = $.map(lines, function(line) {
1027 var old_line = line;
1028 $(exprs).each(function() {
1030 line = line.replace(expr.rx, expr.repl);
1033 if(old_line != line) changed += 1;
1039 cm.replaceSelection( lines.join('\n') );
1040 panel.fireEvent('contentChanged');
1041 editor.showPopup('generic-yes', 'Zmieniono ' + changed + ' linii.', 1500);
1042 editor.advancePopupQueue();
1045 editor.showPopup('generic-info', 'Brak zmian w tekście', 1500);
1046 editor.advancePopupQueue();
1050 cm.selectLines( cm.nthLine(cpos.line), cpos.character )</field>
1052 <object pk="codemirror_fontsize" model="toolbar.scriptlet">
1053 <field type="TextField" name="code">var texteditor = panel.texteditor;
1055 var frameBody = $('body', $(texteditor.frame).contents());
1059 if(params.fontSize) {
1061 frameBody.css('font-size', params.fontSize);
1067 var old_size = parseInt(frameBody.css('font-size'));
1069 frameBody.css('font-size', old_size + (params.change || 0) );
1073 <object pk="fulltextregexp" model="toolbar.scriptlet">
1074 <field type="TextField" name="code">editor.showPopup('generic-info', 'Przetwarzanie zaznaczonego tekstu...', '', -1);
1076 var cm = panel.texteditor;
1078 var exprs = $.map(params.exprs, function(expr) {
1080 if(expr.length > 2)
1083 return {rx: new RegExp(expr[0], opts), repl: expr[1]};
1087 var text = cm.selection();
1090 var cpos = cm.cursorPosition();
1091 cpos.line = cm.lineNumber(cpos.line)
1092 cm.selectLines(cm.firstLine(), 0, cm.lastLine(), 0);
1094 text = cm.selection();
1100 var original = text;
1101 $(exprs).each(function() {
1102 text = text.replace(this.rx, this.repl);
1105 if( original != text)
1107 cm.replaceSelection(text);
1108 panel.fireEvent('contentChanged');
1109 editor.showPopup('generic-yes', 'Zmieniono tekst' );
1110 editor.advancePopupQueue();
1113 editor.showPopup('generic-info', 'Brak zmian w tekście.');
1114 editor.advancePopupQueue();
1118 cm.selectLines( cm.nthLine(cpos.line), cpos.character );
1121 <object pk="macro" model="toolbar.scriptlet">
1122 <field type="TextField" name="code">params.each(function() {
1124 editor.callScriptlet(this[0], this[1]);
1128 <object pk="lowercase" model="toolbar.scriptlet">
1129 <field type="TextField" name="code">var cm = panel.texteditor;
1131 var text = cm.selection();
1135 var repl = text.toLowerCase();
1139 cm.replaceSelection(repl);
1141 panel.fireEvent('contentChanged');
1145 <object pk="insert_stanza" model="toolbar.scriptlet">
1146 <field type="TextField" name="code">var texteditor = panel.texteditor;
1148 var text = texteditor.selection();
1154 text = '\n' + text.split('\n').join('\\\n') + '\n';
1160 texteditor.replaceSelection('<strofa>'+text+'</strofa>');
1166 var pos = texteditor.cursorPosition();
1168 texteditor.selectLines(pos.line, pos.character + 6 + 2);
1178 panel.fireEvent('contentChanged');</field>