/usr/local/poudriere/data/packages/e24a8cae34360705d022f17584bb6b4507b8eb89-build1/All/kate-4.14.3_1.txz vs.
/usr/local/poudriere/data/packages/e24a8cae34360705d022f17584bb6b4507b8eb89-build2/All/kate-4.14.3_1.txz
kate-4.14.3_1.txz-content
file list
Offset 388, 15 lines modifiedOffset 388, 15 lines modified
388 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​7301·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​call-​stack.​png388 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​7301·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​call-​stack.​png
389 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​9793·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​io.​png389 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​9793·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​io.​png
390 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​7409·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​locals.​png390 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​7409·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​locals.​png
391 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​22945·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​output.​png391 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​22945·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​output.​png
392 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​21290·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​settings.​png392 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​21290·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​gdb-​settings.​png
393 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​4522·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​highlighted.​png393 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​4522·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​highlighted.​png
394 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​42163·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​highlighting.​docbook394 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​42163·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​highlighting.​docbook
395 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​87309·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​index.​cache.​bz2395 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​87200·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​index.​cache.​bz2
396 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​8976·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​index.​docbook396 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​8976·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​index.​docbook
397 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​91570·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​kate.​png397 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​91570·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​kate.​png
398 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​12593·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​line-​modification-​system.​png398 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​12593·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​line-​modification-​system.​png
399 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​6627·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​man-​kate.​1.​docbook399 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​6627·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​man-​kate.​1.​docbook
400 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​55555·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​menus.​docbook400 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​55555·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​menus.​docbook
401 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​···​146083·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​minimap.​png401 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​···​146083·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​minimap.​png
402 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​24262·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​part.​docbook402 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​24262·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​part.​docbook
Offset 407, 15 lines modifiedOffset 407, 15 lines modified
407 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​11163·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​snippets-​panel.​png407 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​11163·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​snippets-​panel.​png
408 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​56617·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​snippets-​usage.​png408 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​56617·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​snippets-​usage.​png
409 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​3461·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​unhighlighted.​png409 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​3461·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​unhighlighted.​png
410 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​29186·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​vi.​docbook410 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​29186·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kate/​vi.​docbook
411 lrwxr-​xr-​x···​0·​root·········​(0)​·​wheel········​(0)​········​0·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​common·​-​>·​/​usr/​local/​share/​doc/​HTML/​en/​common411 lrwxr-​xr-​x···​0·​root·········​(0)​·​wheel········​(0)​········​0·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​common·​-​>·​/​usr/​local/​share/​doc/​HTML/​en/​common
412 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​1046·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​configuring.​docbook412 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​1046·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​configuring.​docbook
413 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​15468·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​fundamentals.​docbook413 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​15468·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​fundamentals.​docbook
414 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​25409·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​index.​cache.​bz2414 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​25405·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​index.​cache.​bz2
415 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​5014·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​index.​docbook415 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​5014·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​index.​docbook
416 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​44219·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​menus.​docbook416 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​44219·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​doc/​HTML/​en/​kwrite/​menus.​docbook
417 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​18928·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​128x128/​apps/​kate.​png417 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​····​18928·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​128x128/​apps/​kate.​png
418 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​1308·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​16x16/​apps/​kate.​png418 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​1308·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​16x16/​apps/​kate.​png
419 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​······​168·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​22x22/​actions/​debug-​kategdb.​png419 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​······​168·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​22x22/​actions/​debug-​kategdb.​png
420 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​2330·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​22x22/​apps/​kate.​png420 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​2330·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​22x22/​apps/​kate.​png
421 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​3406·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​32x32/​apps/​kate.​png421 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​wheel········​(0)​·····​3406·​2016-​04-​21·​19:​48:​20.​000000·​/​usr/​local/​share/​icons/​hicolor/​32x32/​apps/​kate.​png
+COMPACT_MANIFEST
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 {"name":​"kate",​"origin":​"editors/​kate",​"version":​"4.​14.​3_1",​"comment":​"Basic·​editor·​framework·​for·​the·​KDE·​system",​"maintainer":​"kde@FreeBSD.​org",​"www":​"http:​/​/​www.​kde.​org",​"abi":​"FreeBSD:​11:​amd64",​"arch":​"freebsd:​11:​x86:​64",​"prefix":​"/​usr/​local",​"flatsize":​18384010,​"licenselogic":​"single",​"desc":​"KDE·​Base·​Applications·​consists·​of·​what·​runs·​on·​the·​desktop.​·​This\nmodule·​isn't·​a·​complete·​collection·​of·​essential·​applications·​that·​a\nuser·​would·​expect·​on·​a·​desktop·​(such·​as·​e-​mail·​and·​calculator)​.​·​This\npackage·​is·​the·​basic·​set·​of·​applications·​beyond·​the·​workspace·​that·​KDE\napplications·​can·​assume·​are·​installed.​·​These·​applications·​should·​have\nno·​problem·​running·​on·​Windows,​·​OS·​X,​·​Gnome,​·​etc.​·​as·​stand·​alone\napplications·​if·​the·​user·​wanted·​to·​use·​them·​there.​\n\nWWW:​·​http:​/​/​www.​kde.​org",​"deps":​{"qt4-​webkit":​{"origin":​"www/​webkit-​qt4",​"version":​"4.​8.​7"},​"qt4-​sql":​{"origin":​"databases/​qt4-​sql",​"version":​"4.​8.​7"},​"qt4-​script":​{"origin":​"devel/​qt4-​script",​"version":​"4.​8.​7"},​"kactivities":​{"origin":​"x11/​kactivities",​"vers·​✂1 {"name":​"kate",​"origin":​"editors/​kate",​"version":​"4.​14.​3_1",​"comment":​"Basic·​editor·​framework·​for·​the·​KDE·​system",​"maintainer":​"kde@FreeBSD.​org",​"www":​"http:​/​/​www.​kde.​org",​"abi":​"FreeBSD:​11:​amd64",​"arch":​"freebsd:​11:​x86:​64",​"prefix":​"/​usr/​local",​"flatsize":​18383897,​"licenselogic":​"single",​"desc":​"KDE·​Base·​Applications·​consists·​of·​what·​runs·​on·​the·​desktop.​·​This\nmodule·​isn't·​a·​complete·​collection·​of·​essential·​applications·​that·​a\nuser·​would·​expect·​on·​a·​desktop·​(such·​as·​e-​mail·​and·​calculator)​.​·​This\npackage·​is·​the·​basic·​set·​of·​applications·​beyond·​the·​workspace·​that·​KDE\napplications·​can·​assume·​are·​installed.​·​These·​applications·​should·​have\nno·​problem·​running·​on·​Windows,​·​OS·​X,​·​Gnome,​·​etc.​·​as·​stand·​alone\napplications·​if·​the·​user·​wanted·​to·​use·​them·​there.​\n\nWWW:​·​http:​/​/​www.​kde.​org",​"deps":​{"qt4-​webkit":​{"origin":​"www/​webkit-​qt4",​"version":​"4.​8.​7"},​"qt4-​sql":​{"origin":​"databases/​qt4-​sql",​"version":​"4.​8.​7"},​"qt4-​script":​{"origin":​"devel/​qt4-​script",​"version":​"4.​8.​7"},​"kactivities":​{"origin":​"x11/​kactivities",​"vers·​✂
+MANIFEST
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 {"name":​"kate",​"origin":​"editors/​kate",​"version":​"4.​14.​3_1",​"comment":​"Basic·​editor·​framework·​for·​the·​KDE·​system",​"maintainer":​"kde@FreeBSD.​org",​"www":​"http:​/​/​www.​kde.​org",​"abi":​"FreeBSD:​11:​amd64",​"arch":​"freebsd:​11:​x86:​64",​"prefix":​"/​usr/​local",​"flatsize":​18384010,​"licenselogic":​"single",​"desc":​"KDE·​Base·​Applications·​consists·​of·​what·​runs·​on·​the·​desktop.​·​This\nmodule·​isn't·​a·​complete·​collection·​of·​essential·​applications·​that·​a\nuser·​would·​expect·​on·​a·​desktop·​(such·​as·​e-​mail·​and·​calculator)​.​·​This\npackage·​is·​the·​basic·​set·​of·​applications·​beyond·​the·​workspace·​that·​KDE\napplications·​can·​assume·​are·​installed.​·​These·​applications·​should·​have\nno·​problem·​running·​on·​Windows,​·​OS·​X,​·​Gnome,​·​etc.​·​as·​stand·​alone\napplications·​if·​the·​user·​wanted·​to·​use·​them·​there.​\n\nWWW:​·​http:​/​/​www.​kde.​org",​"deps":​{"qt4-​webkit":​{"origin":​"www/​webkit-​qt4",​"version":​"4.​8.​7"},​"qt4-​sql":​{"origin":​"databases/​qt4-​sql",​"version":​"4.​8.​7"},​"qt4-​script":​{"origin":​"devel/​qt4-​script",​"version":​"4.​8.​7"},​"kactivities":​{"origin":​"x11/​kactivities",​"vers·​✂1 {"name":​"kate",​"origin":​"editors/​kate",​"version":​"4.​14.​3_1",​"comment":​"Basic·​editor·​framework·​for·​the·​KDE·​system",​"maintainer":​"kde@FreeBSD.​org",​"www":​"http:​/​/​www.​kde.​org",​"abi":​"FreeBSD:​11:​amd64",​"arch":​"freebsd:​11:​x86:​64",​"prefix":​"/​usr/​local",​"flatsize":​18383897,​"licenselogic":​"single",​"desc":​"KDE·​Base·​Applications·​consists·​of·​what·​runs·​on·​the·​desktop.​·​This\nmodule·​isn't·​a·​complete·​collection·​of·​essential·​applications·​that·​a\nuser·​would·​expect·​on·​a·​desktop·​(such·​as·​e-​mail·​and·​calculator)​.​·​This\npackage·​is·​the·​basic·​set·​of·​applications·​beyond·​the·​workspace·​that·​KDE\napplications·​can·​assume·​are·​installed.​·​These·​applications·​should·​have\nno·​problem·​running·​on·​Windows,​·​OS·​X,​·​Gnome,​·​etc.​·​as·​stand·​alone\napplications·​if·​the·​user·​wanted·​to·​use·​them·​there.​\n\nWWW:​·​http:​/​/​www.​kde.​org",​"deps":​{"qt4-​webkit":​{"origin":​"www/​webkit-​qt4",​"version":​"4.​8.​7"},​"qt4-​sql":​{"origin":​"databases/​qt4-​sql",​"version":​"4.​8.​7"},​"qt4-​script":​{"origin":​"devel/​qt4-​script",​"version":​"4.​8.​7"},​"kactivities":​{"origin":​"x11/​kactivities",​"vers·​✂
/usr/local/share/doc/HTML/en/kate/index.cache.bz2
index.cache
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 <FILENAME·​filename="index.​html"><html><head><ti​tle>The·​Kate·​Handbook</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="description"·​content="Kate·​is·​a·​programmer's·​text·​editor·​for·​KDE·​4·​and·​above.​·​This·​handbook·​documents·​Kate·​Version·​3.​11"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="next"·​href="introduction.​html"·​title="Chapter 1.​ Introduction"><meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#0000FF"·​vlink="#840084"·​alink="#0000FF"><div·​id="co·​✂1 <FILENAME·​filename="index.​html"><html><head><ti​tle>The·​Kate·​Handbook</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="description"·​content="Kate·​is·​a·​programmer's·​text·​editor·​for·​KDE·​4·​and·​above.​·​This·​handbook·​documents·​Kate·​Version·​3.​11"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="next"·​href="introduction.​html"·​title="Chapter 1.​ Introduction"><meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#0000FF"·​vlink="#840084"·​alink="#0000FF"><div·​id="co·​✂
2 Welcome·​to·​<span·​class="application">K​ate</​span>,​·​a·​programmer's·​text·​editor·​for·​<acronym·​class="acronym">KDE</​acronym>·​version·​4·​and2 Welcome·​to·​<span·​class="application">K​ate</​span>,​·​a·​programmer's·​text·​editor·​for·​<acronym·​class="acronym">KDE</​acronym>·​version·​4·​and
3 above.​·​Some·​of·​<span·​class="application">K​ate</​span>'s·​many·​features·​include·​configurable·​syntax3 above.​·​Some·​of·​<span·​class="application">K​ate</​span>'s·​many·​features·​include·​configurable·​syntax
4 highlighting·​for·​languages·​ranging·​from·​C·​and·​C++·​to4 highlighting·​for·​languages·​ranging·​from·​C·​and·​C++·​to
5 <acronym·​class="acronym">HTML<​/​acronym>·​to·​bash·​scripts,​·​the·​ability·​to·​create·​and5 <acronym·​class="acronym">HTML<​/​acronym>·​to·​bash·​scripts,​·​the·​ability·​to·​create·​and
6 maintain·​projects,​·​a·​multiple·​document·​interface6 maintain·​projects,​·​a·​multiple·​document·​interface
7 (<acronym·​class="acronym">MDI</​acronym>)​,​·​and·​a·​self-​contained·​terminal·​emulator.​7 (<acronym·​class="acronym">MDI</​acronym>)​,​·​and·​a·​self-​contained·​terminal·​emulator.​
8 </​p><p>8 </​p><p>
Offset 148, 28 lines modifiedOffset 148, 28 lines modified
148 data·​to·​the·​right·​of·​the·​text·​cursor.​·​Overwrite·​mode·​causes·​the·​entry·​of148 data·​to·​the·​right·​of·​the·​text·​cursor.​·​Overwrite·​mode·​causes·​the·​entry·​of
149 each·​character·​to·​eliminate·​the·​current·​character.​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Left·​Arrow</​strong></​span></​p></​td><td><p>Move·​the·​cursor·​one·​character·​to·​the·​left·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Right·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​one·​character·​to·​the·​right·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Up·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​up·​one·​line··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Down·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​down·​one·​line·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Page·​Up</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​up·​one·​page··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Page·​Down</​strong></​span></​p></​td><td><p>Move·​the·​cursor·​down·​one·​page··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Backspace</​strong></​span></​p></​td><td><p>·​Delete·​the·​character·​to·​the·​left·​of·​the·​cursor·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​·​✂149 each·​character·​to·​eliminate·​the·​current·​character.​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Left·​Arrow</​strong></​span></​p></​td><td><p>Move·​the·​cursor·​one·​character·​to·​the·​left·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Right·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​one·​character·​to·​the·​right·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Up·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​up·​one·​line··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Down·​Arrow</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​down·​one·​line·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Page·​Up</​strong></​span></​p></​td><td><p>·​Move·​the·​cursor·​up·​one·​page··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Page·​Down</​strong></​span></​p></​td><td><p>Move·​the·​cursor·​down·​one·​page··​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Backspace</​strong></​span></​p></​td><td><p>·​Delete·​the·​character·​to·​the·​left·​of·​the·​cursor·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​·​✂
150 text)​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Enter</​strong></​span></​p></​td><td><p>Insert·​newline·​including·​leading·​characters·​of·​the·​current·​line·​which·​are·​not·​letters·​or·​numbers.​150 text)​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Enter</​strong></​span></​p></​td><td><p>Insert·​newline·​including·​leading·​characters·​of·​the·​current·​line·​which·​are·​not·​letters·​or·​numbers.​
151 It·​is·​useful·​<abbr·​class="abbrev">e.​g.​</​abbr>·​to·​write·​comments·​in·​the·​code:​·​At·​the·​end·​of·​the·​line·​<span·​class="quote">“<span·​class="quote">/​/​·​some·​text</​span>”</​span>·​press151 It·​is·​useful·​<abbr·​class="abbrev">e.​g.​</​abbr>·​to·​write·​comments·​in·​the·​code:​·​At·​the·​end·​of·​the·​line·​<span·​class="quote">“<span·​class="quote">/​/​·​some·​text</​span>”</​span>·​press
152 this·​shortcut·​and·​the·​next·​line·​starts·​already·​with·​<span·​class="quote">“<span·​class="quote">/​/​·​</​span>”</​span>.​·​So·​you·​do·​not·​have·​to·​enter·​the·​comment152 this·​shortcut·​and·​the·​next·​line·​starts·​already·​with·​<span·​class="quote">“<span·​class="quote">/​/​·​</​span>”</​span>.​·​So·​you·​do·​not·​have·​to·​enter·​the·​comment
153 characters·​at·​the·​beginning·​of·​each·​new·​line·​with·​comments.​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Left·​Arrow</​strong></​span></​p></​td><td><p>·​Mark·​text·​one·​character·​to·​the·​left·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Right·​Arrow</​strong></​span></​p></​td><td><p>·​Mark·​text·​one·​character·​to·​the·​right·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>F1</​strong></​span></​p></​td><td><p>·​Help</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F1</​strong></​span></​p></​td><td><p><a·​class="link"·​href="fundamentals-​getting-​help.​html#whats-​this">What's·​this?</​a></​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>F</​strong></​span></​p></​td><td><p><a·​class="link"·​href="configuring-​kate.​html#find">·​Find</​a></​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>F3</​strong></​span></​p></​td><td><·​✂153 characters·​at·​the·​beginning·​of·​each·​new·​line·​with·​comments.​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Left·​Arrow</​strong></​span></​p></​td><td><p>·​Mark·​text·​one·​character·​to·​the·​left·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>Right·​Arrow</​strong></​span></​p></​td><td><p>·​Mark·​text·​one·​character·​to·​the·​right·​</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>F1</​strong></​span></​p></​td><td><p>·​Help</​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F1</​strong></​span></​p></​td><td><p><a·​class="link"·​href="fundamentals-​getting-​help.​html#whats-​this">What's·​this?</​a></​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>F</​strong></​span></​p></​td><td><p><a·​class="link"·​href="configuring-​kate.​html#find">·​Find</​a></​p></​td></​tr><tr><td><p><span·​class="keycap"><stron​g>F3</​strong></​span></​p></​td><td><·​✂
154 the·​terminology·​of·​<span·​class="application">K​ate</​span>,​·​and·​how·​do·​you·​get·​the·​most·​out·​of·​it?·​This154 the·​terminology·​of·​<span·​class="application">K​ate</​span>,​·​and·​how·​do·​you·​get·​the·​most·​out·​of·​it?·​This
155 chapter·​will·​explain·​all·​of·​that,​·​and·​even·​more.​</​p><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="kate-​mdi-​overview-​mainwindow"></​a>The·​Main·​Window</​h4></​div></​div></​div><p><a·​class="indexterm"·​name="idp148940088"><​/​a>155 chapter·​will·​explain·​all·​of·​that,​·​and·​even·​more.​</​p><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="kate-​mdi-​overview-​mainwindow"></​a>The·​Main·​Window</​h4></​div></​div></​div><p><a·​class="indexterm"·​name="idp148919608"><​/​a>
156 The·​<span·​class="application">K​ate</​span>·​Main·​Window·​is·​a·​standard·​<acronym·​class="acronym">KDE</​acronym>·​application·​window,​156 The·​<span·​class="application">K​ate</​span>·​Main·​Window·​is·​a·​standard·​<acronym·​class="acronym">KDE</​acronym>·​application·​window,​
157 with·​the·​addition·​of·​side·​bars·​containing·​tool·​views.​·​It·​has·​a157 with·​the·​addition·​of·​side·​bars·​containing·​tool·​views.​·​It·​has·​a
158 menubar·​with·​all·​the·​common·​menus,​·​and·​some·​more,​·​and·​a·​toolbar158 menubar·​with·​all·​the·​common·​menus,​·​and·​some·​more,​·​and·​a·​toolbar
159 providing·​access·​to·​commonly·​used·​commands.​</​p><p>The·​most·​important·​part·​of·​the·​window·​is·​the·​editing·​area,​·​by159 providing·​access·​to·​commonly·​used·​commands.​</​p><p>The·​most·​important·​part·​of·​the·​window·​is·​the·​editing·​area,​·​by
160 default·​displaying·​a·​single·​text·​editor·​component,​·​in·​which·​you·​can160 default·​displaying·​a·​single·​text·​editor·​component,​·​in·​which·​you·​can
161 work·​with·​your·​documents.​</​p><p>The·​docking·​capabilities·​of·​the·​window·​is·​used·​for·​the·​tool161 work·​with·​your·​documents.​</​p><p>The·​docking·​capabilities·​of·​the·​window·​is·​used·​for·​the·​tool
162 windows:​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p><​a·​class="link"·​href="kate-​mdi.​html#kate-​mdi-​tools-​file-​list"·​title="The·​Documents·​List">The·​Documents·​List</​a></​p></​li><li·​class="listitem"><p><​a·​class="link"·​href="kate-​application-​plugin-​fsbrowser.​html"·​title="Filesystem·​Browser">The·​Filesystem162 windows:​</​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p><​a·​class="link"·​href="kate-​mdi.​html#kate-​mdi-​tools-​file-​list"·​title="The·​Documents·​List">The·​Documents·​List</​a></​p></​li><li·​class="listitem"><p><​a·​class="link"·​href="kate-​application-​plugin-​fsbrowser.​html"·​title="Filesystem·​Browser">The·​Filesystem
163 Browser</​a></​p></​li><li·​class="listitem"><p><​a·​class="link"·​href="kate-​application-​plugin-​konsole.​html"·​title="Terminal·​Tool·​View·​Plugin">The·​Built·​in·​Terminal·​Emulator</​a></​p></​li></​ul></​div><p>And·​possibly·​other·​tool·​views,​·​for·​example·​provided·​by163 Browser</​a></​p></​li><li·​class="listitem"><p><​a·​class="link"·​href="kate-​application-​plugin-​konsole.​html"·​title="Terminal·​Tool·​View·​Plugin">The·​Built·​in·​Terminal·​Emulator</​a></​p></​li></​ul></​div><p>And·​possibly·​other·​tool·​views,​·​for·​example·​provided·​by
164 plugins.​</​p><p>Tool·​views·​can·​be·​positioned·​in·​any·​sidebar,​·​to·​move·​a·​tool·​right·​click164 plugins.​</​p><p>Tool·​views·​can·​be·​positioned·​in·​any·​sidebar,​·​to·​move·​a·​tool·​right·​click
165 its·​sidebar·​button·​and·​select·​from·​the·​<span·​class="mousebutton">r​ight</​span>·​mouse·​button·​menu</​p><p>A·​tool·​view·​can·​be·​marked·​as·​<span·​class="emphasis"><em>​persistent</​em></​span>·​in·​the·​<span·​class="mousebutton">r​ight</​span>·​mouse·​button165 its·​sidebar·​button·​and·​select·​from·​the·​<span·​class="mousebutton">r​ight</​span>·​mouse·​button·​menu</​p><p>A·​tool·​view·​can·​be·​marked·​as·​<span·​class="emphasis"><em>​persistent</​em></​span>·​in·​the·​<span·​class="mousebutton">r​ight</​span>·​mouse·​button
166 menu·​for·​its·​sidebar·​button.​·​The·​sidebar·​can·​contain166 menu·​for·​its·​sidebar·​button.​·​The·​sidebar·​can·​contain
167 more·​tools·​at·​one·​time·​so·​that·​when·​a·​tool·​is·​persistent·​other·​tools·​can·​be167 more·​tools·​at·​one·​time·​so·​that·​when·​a·​tool·​is·​persistent·​other·​tools·​can·​be
168 shown·​simultaneously.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="kate-​mdi-​editor"></​a>The·​Editor·​area</​h3></​div></​div></​div><p><a·​class="indexterm"·​name="idp148948792"><​/​a>168 shown·​simultaneously.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="kate-​mdi-​editor"></​a>The·​Editor·​area</​h3></​div></​div></​div><p><a·​class="indexterm"·​name="idp148928312"><​/​a>
169 <span·​class="application">K​ate</​span>·​is·​capable·​of·​having·​more·​than·​one·​document·​open·​at·​the169 <span·​class="application">K​ate</​span>·​is·​capable·​of·​having·​more·​than·​one·​document·​open·​at·​the
170 same·​time,​·​and·​also·​of·​splitting·​the·​editing·​area·​into·​any·​number·​of170 same·​time,​·​and·​also·​of·​splitting·​the·​editing·​area·​into·​any·​number·​of
171 frames,​·​similar·​to·​how·​for·​example·​<span·​class="application">K​onqueror</​span>·​or·​the·​popular171 frames,​·​similar·​to·​how·​for·​example·​<span·​class="application">K​onqueror</​span>·​or·​the·​popular
172 <span·​class="application">e​macs</​span>·​text·​editor·​works.​·​This·​way·​you·​can172 <span·​class="application">e​macs</​span>·​text·​editor·​works.​·​This·​way·​you·​can
173 view·​several·​documents·​at·​the·​same·​time,​·​or·​more·​instances·​of·​the·​same173 view·​several·​documents·​at·​the·​same·​time,​·​or·​more·​instances·​of·​the·​same
174 document,​·​handy·​for·​example·​if·​your·​document·​contains·​definitions·​in174 document,​·​handy·​for·​example·​if·​your·​document·​contains·​definitions·​in
175 the·​top·​that·​you·​want·​to·​see·​often·​for·​reference.​·​Or·​you·​could·​view·​a175 the·​top·​that·​you·​want·​to·​see·​often·​for·​reference.​·​Or·​you·​could·​view·​a
Offset 181, 15 lines modifiedOffset 181, 15 lines modified
181 current·​editor.​</​p><p>It·​is·​currently·​not·​possible·​to·​have·​more·​instances·​of·​the·​same181 current·​editor.​</​p><p>It·​is·​currently·​not·​possible·​to·​have·​more·​instances·​of·​the·​same
182 document·​open·​in·​the·​sense·​that·​one·​instance·​will·​be·​edited·​while·​the182 document·​open·​in·​the·​sense·​that·​one·​instance·​will·​be·​edited·​while·​the
183 other·​will·​not.​</​p><p>When·​splitting·​an·​editor·​into·​two·​frames,​·​it·​is·​divided·​into·​two183 other·​will·​not.​</​p><p>When·​splitting·​an·​editor·​into·​two·​frames,​·​it·​is·​divided·​into·​two
184 equally·​sized·​frames,​·​both·​displaying·​the·​current·​document·​of·​that184 equally·​sized·​frames,​·​both·​displaying·​the·​current·​document·​of·​that
185 editor.​·​The·​new·​frame·​will·​be·​at·​the·​bottom·​(in·​the·​case·​of·​a185 editor.​·​The·​new·​frame·​will·​be·​at·​the·​bottom·​(in·​the·​case·​of·​a
186 horizontal·​split)​·​or·​at·​the·​right·​(for·​a·​vertical·​split)​.​·​The·​new186 horizontal·​split)​·​or·​at·​the·​right·​(for·​a·​vertical·​split)​.​·​The·​new
187 frame·​gets·​the·​focus,​·​which·​is·​visualized·​by·​the·​blinking·​cursor·​bar·​in·​the187 frame·​gets·​the·​focus,​·​which·​is·​visualized·​by·​the·​blinking·​cursor·​bar·​in·​the
188 focused·​frame.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="kate-​mdi-​tools-​file-​list"></​a>The·​Documents·​List</​h3></​div></​div></​div><p><a·​class="indexterm"·​name="idp148953016"><​/​a>188 focused·​frame.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="kate-​mdi-​tools-​file-​list"></​a>The·​Documents·​List</​h3></​div></​div></​div><p><a·​class="indexterm"·​name="idp148932536"><​/​a>
189 The·​documents·​list·​displays·​a·​list·​of·​all·​documents·​currently·​open·​in189 The·​documents·​list·​displays·​a·​list·​of·​all·​documents·​currently·​open·​in
190 <span·​class="application">K​ate</​span>.​·​Modified·​files·​will·​have·​a·​small·​<span·​class="guiicon">flopp​y190 <span·​class="application">K​ate</​span>.​·​Modified·​files·​will·​have·​a·​small·​<span·​class="guiicon">flopp​y
191 disk</​span>·​icon·​on·​their·​left·​to·​indicate·​that·​state.​</​p><p>By·​default,​·​the·​Documents·​list·​appears·​in191 disk</​span>·​icon·​on·​their·​left·​to·​indicate·​that·​state.​</​p><p>By·​default,​·​the·​Documents·​list·​appears·​in
192 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">T​ree·​Mode</​span></​span>,​·​which·​displays·​the·​folder·​structure192 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">T​ree·​Mode</​span></​span>,​·​which·​displays·​the·​folder·​structure
193 surrounding·​all·​currently·​open·​documents.​·​Also·​available·​is193 surrounding·​all·​currently·​open·​documents.​·​Also·​available·​is
194 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">L​ist·​Mode</​span></​span>,​·​which·​displays·​a·​simple·​list·​of·​all194 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">L​ist·​Mode</​span></​span>,​·​which·​displays·​a·​simple·​list·​of·​all
195 open·​documents.​·​You·​can·​switch·​modes·​by·​right-​clicking·​on·​the·​list·​and·​selecting195 open·​documents.​·​You·​can·​switch·​modes·​by·​right-​clicking·​on·​the·​list·​and·​selecting
Offset 249, 15 lines modifiedOffset 249, 15 lines modified
249 However,​·​if·​you·​prefer·​the·​old·​<span·​class="application">K​ate</​span>·​behavior·​(one·​instance·​opens·​all·​files)​,​249 However,​·​if·​you·​prefer·​the·​old·​<span·​class="application">K​ate</​span>·​behavior·​(one·​instance·​opens·​all·​files)​,​
250 you·​can·​easily·​achieve·​that·​by·​following·​this·​simple·​strategy:​250 you·​can·​easily·​achieve·​that·​by·​following·​this·​simple·​strategy:​
  
251 </​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p>M​ake·​kate·​always·​start·​with·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="option"><code·​class="option">-​-​use</​code></​span>251 </​p><div·​class="itemizedlist">​<ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p>M​ake·​kate·​always·​start·​with·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="option"><code·​class="option">-​-​use</​code></​span>
252 parameter·​by·​adding·​that·​to·​the·​command·​in·​the·​application·​preferences,​252 parameter·​by·​adding·​that·​to·​the·​command·​in·​the·​application·​preferences,​
253 and·​additionally·​using·​a·​shell·​alias.​</​p></​li><li·​class="listitem"><p>C​onfigure·​<span·​class="application">K​ate</​span>·​to·​load·​the·​last·​used·​session·​at·​startup.​</​p></​li><li·​class="listitem"><p>C​onfigure·​<span·​class="application">K​ate</​span>·​to·​save·​the·​file·​list·​when·​closing·​a·​session.​253 and·​additionally·​using·​a·​shell·​alias.​</​p></​li><li·​class="listitem"><p>C​onfigure·​<span·​class="application">K​ate</​span>·​to·​load·​the·​last·​used·​session·​at·​startup.​</​p></​li><li·​class="listitem"><p>C​onfigure·​<span·​class="application">K​ate</​span>·​to·​save·​the·​file·​list·​when·​closing·​a·​session.​
254 </​p></​li><li·​class="listitem"><p>L​oad·​the·​default·​session·​once.​</​p></​li></​ul></​div><p>254 </​p></​li><li·​class="listitem"><p>L​oad·​the·​default·​session·​once.​</​p></​li></​ul></​div><p>
255 </​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="kate-​mdi.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="fundamentals-​getting-​help.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Work​ing·​With·​the·​<span·​class="application">K​ate</​span>·​<acronym·​class="acronym">MDI</​acronym> </​td><td·​class="upCell">The·​Fundamentals</​td><td·​class="nextCell"> Get​ting·​Help</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="fundamental​s-​getting-​help.​html"><html><head><ti​tle>Getting·​Help</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​c·​✂255 </​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="kate-​mdi.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="fundamentals-​getting-​help.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Work​ing·​With·​the·​<span·​class="application">K​ate</​span>·​<acronym·​class="acronym">MDI</​acronym> </​td><td·​class="upCell">The·​Fundamentals</​td><td·​class="nextCell"> Get​ting·​Help</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="fundamental​s-​getting-​help.​html"><html><head><ti​tle>Getting·​Help</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​c·​✂
256 configuration·​options,​·​tools,​·​dialogs,​·​plugins·​<abbr·​class="abbrev">etc.​</​abbr>·​as·​well·​as256 configuration·​options,​·​tools,​·​dialogs,​·​plugins·​<abbr·​class="abbrev">etc.​</​abbr>·​as·​well·​as
257 descriptions·​of·​the·​<span·​class="application">K​ate</​span>·​window,​·​the·​editor·​and·​various·​concepts257 descriptions·​of·​the·​<span·​class="application">K​ate</​span>·​window,​·​the·​editor·​and·​various·​concepts
258 used·​in·​the·​application.​</​p><p>Press·​<span·​class="keycap"><stron​g>F1</​strong></​span>·​or·​use·​the258 used·​in·​the·​application.​</​p><p>Press·​<span·​class="keycap"><stron​g>F1</​strong></​span>·​or·​use·​the
259 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem"><​span·​class="application">K​ate</​span>·​Handbook</​span></​span>·​menu·​topic·​to·​view·​this259 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem"><​span·​class="application">K​ate</​span>·​Handbook</​span></​span>·​menu·​topic·​to·​view·​this
260 manual.​</​p></​dd><dt><a·​name="whats-​this"></​a><span·​class="term">What's·​This·​Help</​span></​dt><dd><p>What's·​This·​help·​offers·​immediate·​help·​with·​single·​elements·​of260 manual.​</​p></​dd><dt><a·​name="whats-​this"></​a><span·​class="term">What's·​This·​Help</​span></​dt><dd><p>What's·​This·​help·​offers·​immediate·​help·​with·​single·​elements·​of
261 graphical·​windows,​·​such·​as·​buttons·​or·​other·​window·​areas.​</​p><p>We·​strive·​to·​provide·​What's·​This·​help·​for·​any·​elements·​for·​which261 graphical·​windows,​·​such·​as·​buttons·​or·​other·​window·​areas.​</​p><p>We·​strive·​to·​provide·​What's·​This·​help·​for·​any·​elements·​for·​which
262 it·​makes·​sense.​·​It·​is·​available·​throughout·​the·​configuration·​dialog,​262 it·​makes·​sense.​·​It·​is·​available·​throughout·​the·​configuration·​dialog,​
Offset 265, 19 lines modifiedOffset 265, 19 lines modified
265 <span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F1</​strong></​span>·​or·​use·​the265 <span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F1</​strong></​span>·​or·​use·​the
266 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">W​hat's266 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">W​hat's
267 This</​span></​span>·​menu·​item·​to·​enable·​What's·​This267 This</​span></​span>·​menu·​item·​to·​enable·​What's·​This
268 mode.​·​The·​cursor·​will·​turn·​into·​an·​arrow·​with·​a·​question·​mark,​·​and·​you268 mode.​·​The·​cursor·​will·​turn·​into·​an·​arrow·​with·​a·​question·​mark,​·​and·​you
269 can·​now·​click·​any·​element·​in·​the·​window·​to·​read·​the·​What's·​This·​help269 can·​now·​click·​any·​element·​in·​the·​window·​to·​read·​the·​What's·​This·​help
270 for·​that·​element,​·​if·​it·​is·​available.​</​p></​dd><dt><span·​class="term">Help·​Buttons·​in·​Dialogs</​span></​dt><dd><p>Some·​dialogs·​have·​a·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Hel​p</​span></​span>·​Button.​·​Pressing270 for·​that·​element,​·​if·​it·​is·​available.​</​p></​dd><dt><span·​class="term">Help·​Buttons·​in·​Dialogs</​span></​dt><dd><p>Some·​dialogs·​have·​a·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Hel​p</​span></​span>·​Button.​·​Pressing
271 it·​will·​start·​the·​<span·​class="application">K​HelpCenter</​span>·​and·​open·​the·​relevant271 it·​will·​start·​the·​<span·​class="application">K​HelpCenter</​span>·​and·​open·​the·​relevant
272 documentation.​</​p></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149006136"><​/​a>With·​Your·​Text·​Files</​h3></​div></​div></​div><p><span·​class="application">K​ate</​span>·​does·​not·​(yet!)​·​provide·​any·​means·​for·​reading·​document272 documentation.​</​p></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp148977464"><​/​a>With·​Your·​Text·​Files</​h3></​div></​div></​div><p><span·​class="application">K​ate</​span>·​does·​not·​(yet!)​·​provide·​any·​means·​for·​reading·​document
273 related·​documentation.​·​Depending·​on·​the·​file·​you·​are·​editing,​·​you·​may273 related·​documentation.​·​Depending·​on·​the·​file·​you·​are·​editing,​·​you·​may
274 find·​the·​<a·​class="link"·​href="kate-​application-​plugin-​konsole.​html"·​title="Terminal·​Tool·​View·​Plugin">Built·​in274 find·​the·​<a·​class="link"·​href="kate-​application-​plugin-​konsole.​html"·​title="Terminal·​Tool·​View·​Plugin">Built·​in
275 Terminal·​Emulator</​a>·​helpful·​for·​viewing·​related·​<span·​class="trademark">UNI​X</​span>®·​manual·​pages·​or275 Terminal·​Emulator</​a>·​helpful·​for·​viewing·​related·​<span·​class="trademark">UNI​X</​span>®·​manual·​pages·​or
276 info·​documentation,​·​or·​you·​can·​use·​<span·​class="application">K​onqueror</​span>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149008952"><​/​a>Articles·​on·​<span·​class="application">K​ate</​span></​h3></​div></​div></​div><p><span·​class="application">K​ate</​span>'s·​homepage·​provides·​some·​<a·​class="ulink"·​href="http:​/​/​kate-​editor.​org/​featured-​articles"·​target="_top">276 info·​documentation,​·​or·​you·​can·​use·​<span·​class="application">K​onqueror</​span>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp148980280"><​/​a>Articles·​on·​<span·​class="application">K​ate</​span></​h3></​div></​div></​div><p><span·​class="application">K​ate</​span>'s·​homepage·​provides·​some·​<a·​class="ulink"·​href="http:​/​/​kate-​editor.​org/​featured-​articles"·​target="_top">
277 Articles·​and·​Howtos</​a>·​with·​further·​information·​beyond·​the·​scope·​of·​this·​handbook.​</​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="fundamentals-​using-​sessions.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​part.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Usin​g·​Sessions </​td><td·​class="upCell">The·​Fundamentals</​td><td·​class="nextCell"> Wor​king·​with·​the·​<span·​class="application">K​ate</​span>·​editor</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="introduction.​html">Prev</​a></​td><td·​class="upCell"><·​✂277 Articles·​and·​Howtos</​a>·​with·​further·​information·​beyond·​the·​scope·​of·​this·​handbook.​</​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="fundamentals-​using-​sessions.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​part.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Usin​g·​Sessions </​td><td·​class="upCell">The·​Fundamentals</​td><td·​class="nextCell"> Wor​king·​with·​the·​<span·​class="application">K​ate</​span>·​editor</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="introduction.​html">Prev</​a></​td><td·​class="upCell"><·​✂
278 editor·​is·​shared·​between·​<span·​class="application">K​ate</​span>·​and·​<span·​class="application">K​Write</​span>,​·​and·​it·​can·​also·​be·​used·​in·​<span·​class="application">K​onqueror</​span>278 editor·​is·​shared·​between·​<span·​class="application">K​ate</​span>·​and·​<span·​class="application">K​Write</​span>,​·​and·​it·​can·​also·​be·​used·​in·​<span·​class="application">K​onqueror</​span>
279 for·​displaying·​text·​files·​from·​your·​local·​computer,​·​or·​from·​the279 for·​displaying·​text·​files·​from·​your·​local·​computer,​·​or·​from·​the
280 network.​</​p><p>The·​editor·​is·​composed·​of·​the·​following·​components:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term">The·​editing·​area</​span></​dt><dd><p>This·​is·​where·​the·​text·​of·​your·​document·​is·​located.​</​p></​dd><dt><span·​class="term">The·​Scrollbars</​span></​dt><dd><p>The·​scrollbars·​indicate·​the··​position·​of·​the·​visible·​part·​of280 network.​</​p><p>The·​editor·​is·​composed·​of·​the·​following·​components:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term">The·​editing·​area</​span></​dt><dd><p>This·​is·​where·​the·​text·​of·​your·​document·​is·​located.​</​p></​dd><dt><span·​class="term">The·​Scrollbars</​span></​dt><dd><p>The·​scrollbars·​indicate·​the··​position·​of·​the·​visible·​part·​of
281 the·​document·​text,​·​and·​can·​be·​used·​to·​move·​around·​the281 the·​document·​text,​·​and·​can·​be·​used·​to·​move·​around·​the
282 document.​·​Dragging·​the·​scrollbars·​will·​not·​cause·​the·​insertion·​cursor282 document.​·​Dragging·​the·​scrollbars·​will·​not·​cause·​the·​insertion·​cursor
283 to·​be·​moved.​</​p><p>The·​scrollbars·​are·​displayed·​and·​hidden·​as·​required.​</​p></​dd><dt><span·​class="term">The·​Icon·​Border</​span></​dt><dd><p>The·​icon·​border·​is·​a·​small·​pane·​on·​the·​left·​side·​of·​the·​editor,​283 to·​be·​moved.​</​p><p>The·​scrollbars·​are·​displayed·​and·​hidden·​as·​required.​</​p></​dd><dt><span·​class="term">The·​Icon·​Border</​span></​dt><dd><p>The·​icon·​border·​is·​a·​small·​pane·​on·​the·​left·​side·​of·​the·​editor,​
Offset 390, 15 lines modifiedOffset 390, 15 lines modified
390 case·​(upper·​or·​lower)​·​of·​each·​of·​the·​characters·​in·​the·​search··​pattern.​</​p><p>Click·​on·​the·​button·​with·​a·​green·​arrow·​icon·​at·​the·​right·​side·​of·​the·​incremental·​search·​bar·​to390 case·​(upper·​or·​lower)​·​of·​each·​of·​the·​characters·​in·​the·​search··​pattern.​</​p><p>Click·​on·​the·​button·​with·​a·​green·​arrow·​icon·​at·​the·​right·​side·​of·​the·​incremental·​search·​bar·​to
391 switch·​to·​the·​power·​search·​and·​replace·​bar.​391 switch·​to·​the·​power·​search·​and·​replace·​bar.​
392 </​p><p>392 </​p><p>
393 To·​repeat·​the·​last·​find·​operation,​·​if·​any,​·​without·​calling·​the·​incremental393 To·​repeat·​the·​last·​find·​operation,​·​if·​any,​·​without·​calling·​the·​incremental
394 search·​bar,​·​use·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​394 search·​bar,​·​use·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​
395 or395 or
396 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Previous</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​.​396 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Previous</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​.​
397 </​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149353144"><​/​a>Replacing·​Text</​h3></​div></​div></​div><p>To·​replace·​text,​·​launch·​the·​power·​search·​and·​replace·​bar397 </​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149344952"><​/​a>Replacing·​Text</​h3></​div></​div></​div><p>To·​replace·​text,​·​launch·​the·​power·​search·​and·​replace·​bar
398 using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eplace</​span></​span>·​command,​·​or·​the398 using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eplace</​span></​span>·​command,​·​or·​the
399 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>R</​strong></​span>·​shortcut.​</​p><p>On·​the·​upper·​left·​side·​of·​the·​bar·​is·​a·​button·​with·​an·​icon·​to·​close·​the·​bar,​·​followed·​by·​a·​small·​text399 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>R</​strong></​span>·​shortcut.​</​p><p>On·​the·​upper·​left·​side·​of·​the·​bar·​is·​a·​button·​with·​an·​icon·​to·​close·​the·​bar,​·​followed·​by·​a·​small·​text
400 box·​for·​entering·​the·​search·​pattern.​</​p><p>You·​can·​control·​the·​search·​mode·​by·​selecting·​the·​options·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Plai​n·​Text</​span></​span>,​400 box·​for·​entering·​the·​search·​pattern.​</​p><p>You·​can·​control·​the·​search·​mode·​by·​selecting·​the·​options·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Plai​n·​Text</​span></​span>,​
401 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Whol​e·​Words</​span></​span>,​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Esca​pe·​Sequences</​span></​span>·​or401 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Whol​e·​Words</​span></​span>,​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Esca​pe·​Sequences</​span></​span>·​or
402 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Regu​lar·​Expression</​span></​span>·​described·​above.​402 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Regu​lar·​Expression</​span></​span>·​described·​above.​
403 </​p><p>Use·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Next​</​span></​span>·​or·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prev​ious</​span></​span>·​button·​to·​jump403 </​p><p>Use·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Next​</​span></​span>·​or·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prev​ious</​span></​span>·​button·​to·​jump
404 to·​the·​next·​or·​previous·​match·​in·​the·​document.​</​p><p>Enter·​the·​text·​to·​replace·​with·​in·​the·​text·​box·​labelled·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Repl​ace</​span></​span>404 to·​the·​next·​or·​previous·​match·​in·​the·​document.​</​p><p>Enter·​the·​text·​to·​replace·​with·​in·​the·​text·​box·​labelled·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Repl​ace</​span></​span>
Offset 786, 15 lines modifiedOffset 786, 15 lines modified
786 ················​the·​owner·​address·​in·​your·​standard·​<acronym·​class="acronym">KDE</​acronym>786 ················​the·​owner·​address·​in·​your·​standard·​<acronym·​class="acronym">KDE</​acronym>
787 ················​addressbook.​</​p></​dd></​dl></​div><p>787 ················​addressbook.​</​p></​dd></​dl></​div><p>
788 ······​</​p><p>Any·​macro·​not·​in·​the·​above·​list·​is·​treated·​as·​an·​editable·​variable788 ······​</​p><p>Any·​macro·​not·​in·​the·​above·​list·​is·​treated·​as·​an·​editable·​variable
789 ········​no·​matter·​the·​prefix.​789 ········​no·​matter·​the·​prefix.​
790 ········​If·​the·​same·​variable·​occurs·​multiple·​times·​in·​the·​template,​·​they·​can·​be790 ········​If·​the·​same·​variable·​occurs·​multiple·​times·​in·​the·​template,​·​they·​can·​be
791 ········​edited·​at·​once·​after·​creating·​a·​document·​from·​the·​template.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="katefiletemplat​es-​cursor"></​a>Setting·​the·​cursor·​position</​h4></​div></​div></​div><p>The·​special·​macro·​<strong·​class="userinput"><co​de>${cursor}</​code></​strong>·​will·​be·​replaced791 ········​edited·​at·​once·​after·​creating·​a·​document·​from·​the·​template.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="katefiletemplat​es-​cursor"></​a>Setting·​the·​cursor·​position</​h4></​div></​div></​div><p>The·​special·​macro·​<strong·​class="userinput"><co​de>${cursor}</​code></​strong>·​will·​be·​replaced
792 ········​with·​a·​vertical·​bar·​and·​added·​to·​the·​end·​of·​the·​list·​of·​editable·​variables,​792 ········​with·​a·​vertical·​bar·​and·​added·​to·​the·​end·​of·​the·​list·​of·​editable·​variables,​
793 ········​independent·​of·​its·​location·​in·​the·​text.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp148608440"><​/​a>Thanks·​and·​Acknowledgments</​h3></​div></​div></​div><p>793 ········​independent·​of·​its·​location·​in·​the·​text.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149956024"><​/​a>Thanks·​and·​Acknowledgments</​h3></​div></​div></​div><p>
794 ······​<span·​class="application">K​ate</​span>·​Plugin·​<span·​class="quote">“<span·​class="quote">File·​Templates</​span>”</​span>·​copyright·​2004·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>794 ······​<span·​class="application">K​ate</​span>·​Plugin·​<span·​class="quote">“<span·​class="quote">File·​Templates</​span>”</​span>·​copyright·​2004·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>
795 ······​<code·​class="email">(anders​·​AT·​alweb.​dk)​</​code>.​795 ······​<code·​class="email">(anders​·​AT·​alweb.​dk)​</​code>.​
796 ····​</​p><p>Documentation·​copyright·​2004·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span></​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="pate.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​application-​plugin-​xmlcheck.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Pyth​on·​Pâté·​Plugins </​td><td·​class="upCell">Workin​g·​with·​Plugins</​td><td·​class="nextCell"> <ac​ronym·​class="acronym">XML</​acronym>·​Validation</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="kate-​application-​plugin-​xmlcheck.​html"><html><head><ti​tle>XML·​Validation</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​co·​✂796 ····​</​p><p>Documentation·​copyright·​2004·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span></​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="pate.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​application-​plugin-​xmlcheck.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Pyth​on·​Pâté·​Plugins </​td><td·​class="upCell">Workin​g·​with·​Plugins</​td><td·​class="nextCell"> <ac​ronym·​class="acronym">XML</​acronym>·​Validation</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="kate-​application-​plugin-​xmlcheck.​html"><html><head><ti​tle>XML·​Validation</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​co·​✂
797 will·​appear·​at·​the·​bottom·​of·​<span·​class="application">K​ate</​span>'s·​main·​window.​·​You·​can·​click·​on·​an·​error·​message797 will·​appear·​at·​the·​bottom·​of·​<span·​class="application">K​ate</​span>'s·​main·​window.​·​You·​can·​click·​on·​an·​error·​message
798 to·​jump·​to·​the·​corresponding·​place·​in·​the·​file.​·​If·​the·​file·​has·​a·​<span·​class="quote">“<span·​class="quote">DOCTYPE​</​span>”</​span>798 to·​jump·​to·​the·​corresponding·​place·​in·​the·​file.​·​If·​the·​file·​has·​a·​<span·​class="quote">“<span·​class="quote">DOCTYPE​</​span>”</​span>
799 the·​DTD·​given·​with·​this·​doctype·​will·​be·​used·​to·​check·​the·​file·​for·​validity.​·​The799 the·​DTD·​given·​with·​this·​doctype·​will·​be·​used·​to·​check·​the·​file·​for·​validity.​·​The
800 DTD·​is·​expected·​at·​a·​position·​relative·​to·​the·​current·​file,​·​<abbr·​class="abbrev">e.​g.​</​abbr>·​if·​the·​doctype800 DTD·​is·​expected·​at·​a·​position·​relative·​to·​the·​current·​file,​·​<abbr·​class="abbrev">e.​g.​</​abbr>·​if·​the·​doctype
Offset 1059, 25 lines modifiedOffset 1059, 25 lines modified
1059 the·​desired·​driver,​·​you·​need·​to·​install·​it.​··​Then,​·​press·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>.​1059 the·​desired·​driver,​·​you·​need·​to·​install·​it.​··​Then,​·​press·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>.​
1060 </​p><p>If·​the·​database·​you·​selected·​uses·​a·​file,​·​simply·​indicate·​the·​database's1060 </​p><p>If·​the·​database·​you·​selected·​uses·​a·​file,​·​simply·​indicate·​the·​database's
1061 location·​and·​press·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>·​button.​··​If·​it·​requires·​connecting1061 location·​and·​press·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>·​button.​··​If·​it·​requires·​connecting
1062 to·​a·​server,​·​you·​must·​enter·​the·​hostname·​of·​the·​server,​·​your·​username·​and·​password,​1062 to·​a·​server,​·​you·​must·​enter·​the·​hostname·​of·​the·​server,​·​your·​username·​and·​password,​
1063 and·​any·​other·​information·​that·​particular·​driver·​may·​require.​·​Then·​press1063 and·​any·​other·​information·​that·​particular·​driver·​may·​require.​·​Then·​press
1064 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>.​</​p><p>Finally,​·​give·​a·​name·​to·​your·​connection,​·​and·​press·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Fin​ish</​span></​span>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="sql-​querying"></​a>Running·​Queries</​h3></​div></​div></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="sql-​querying-​insert-​delete-​update"></​a>INSERT/​DELETE/​UPDATE</​h4></​div></​div></​div><p>You·​can·​insert,​·​delete,​·​and·​update·​data·​using·​the·​SQL·​plugin·​just·​as1064 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Nex​t</​span></​span>.​</​p><p>Finally,​·​give·​a·​name·​to·​your·​connection,​·​and·​press·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Fin​ish</​span></​span>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="sql-​querying"></​a>Running·​Queries</​h3></​div></​div></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="sql-​querying-​insert-​delete-​update"></​a>INSERT/​DELETE/​UPDATE</​h4></​div></​div></​div><p>You·​can·​insert,​·​delete,​·​and·​update·​data·​using·​the·​SQL·​plugin·​just·​as
1065 you·​would·​from·​the·​command·​line·​or·​from·​within·​a·​program.​··​Simply·​enter·​a·​query1065 you·​would·​from·​the·​command·​line·​or·​from·​within·​a·​program.​··​Simply·​enter·​a·​query
1066 and·​press·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Run​·​query</​span></​span>.​</​p><div·​class="example"><a·​name="idp150310456"><​/​a><p·​class="title"><b>Exam​ple 4.​1.​ Some·​Example·​Queries</​b></​p><div·​class="example-​contents"><div·​class="variablelist">​<dl><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>INSERT</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">1066 and·​press·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Run​·​query</​span></​span>.​</​p><div·​class="example"><a·​name="idp150265400"><​/​a><p·​class="title"><b>Exam​ple 4.​1.​ Some·​Example·​Queries</​b></​p><div·​class="example-​contents"><div·​class="variablelist">​<dl><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>INSERT</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">
1067 INSERT·​INTO·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​("<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature1</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature2</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature3</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature4</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature5</​code></​em></​span>")​1067 INSERT·​INTO·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​("<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature1</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature2</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature3</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature4</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature5</​code></​em></​span>")​
1068 VALUES·​("<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value1</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value2</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value3</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value4</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value5</​code></​em></​span>"·​)​1068 VALUES·​("<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value1</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value2</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value3</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value4</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>value5</​code></​em></​span>"·​)​
1069 </​pre></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>DELETE</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">1069 </​pre></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>DELETE</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">
1070 DELETE·​FROM·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​WHERE·​name·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>"1070 DELETE·​FROM·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​WHERE·​name·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>"
1071 </​pre></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>UPDATE</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">1071 </​pre></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>UPDATE</​strong></​span></​span></​span></​dt><dd><pre·​class="programlisting​">
1072 UPDATE·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​SET·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature1</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature2</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature3</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentat·​✂1072 UPDATE·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>·​SET·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature1</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature2</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>feature3</​code></​em></​span>"·​=·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>text</​code></​em></​span>",​·​"<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentat·​✂
1073 </​pre></​dd></​dl></​div></​div></​div><br·​class="example-​break"></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="sql-​querying-​select"></​a>SELECT</​h4></​div></​div></​div><p>After·​running·​a··​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>SELECT</​strong></​span></​span>·​query,​·​you·​can·​view·​the·​results1073 </​pre></​dd></​dl></​div></​div></​div><br·​class="example-​break"></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="sql-​querying-​select"></​a>SELECT</​h4></​div></​div></​div><p>After·​running·​a··​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>SELECT</​strong></​span></​span>·​query,​·​you·​can·​view·​the·​results
1074 as·​a·​table·​that·​will·​appear·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Data·​Output</​span></​span>·​tool·​view·​at1074 as·​a·​table·​that·​will·​appear·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Data·​Output</​span></​span>·​tool·​view·​at
1075 the·​bottom·​of·​<span·​class="application">K​ate</​span>,​·​or·​as·​text·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Text·​Output</​span></​span>.​1075 the·​bottom·​of·​<span·​class="application">K​ate</​span>,​·​or·​as·​text·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Text·​Output</​span></​span>.​
1076 If·​there·​is·​an·​error,​·​you·​can·​see·​it·​in·​the·​text·​output.​</​p><div·​class="example"><a·​name="idp150328248"><​/​a><p·​class="title"><b>Exam​ple 4.​2.​ Example·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">SELEC​T</​span></​span>·​Query</​b></​p><div·​class="example-​contents"><pre·​class="programlisting​">1076 If·​there·​is·​an·​error,​·​you·​can·​see·​it·​in·​the·​text·​output.​</​p><div·​class="example"><a·​name="idp150283192"><​/​a><p·​class="title"><b>Exam​ple 4.​2.​ Example·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">SELEC​T</​span></​span>·​Query</​b></​p><div·​class="example-​contents"><pre·​class="programlisting​">
1077 SELECT·​*·​FROM·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>1077 SELECT·​*·​FROM·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="replaceable"><​em·​class="replaceable"><​code>table_name</​code></​em></​span>
1078 </​pre></​div></​div><br·​class="example-​break"><p>In·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Data·​Output</​span></​span>·​tool·​view,​·​there·​are·​several·​buttons:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Res​ize·​columns·​to·​contents</​span></​span></​span></​dt><dd><p>Changes·​the·​size·​of·​columns·​to·​fit·​their·​contents.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Res​ize·​rows·​to·​contents</​span></​span></​span></​dt><dd><p>Changes·​the·​size·​of·​rows·​to·​fit·​their·​contents.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Cop​y</​span></​span></​span></​dt><dd><p>Selects·​all·​of·​the·​table·​contents·​and·​copies·​it·​to·​the·​clipboard·​buffer.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl·​✂1078 </​pre></​div></​div><br·​class="example-​break"><p>In·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Data·​Output</​span></​span>·​tool·​view,​·​there·​are·​several·​buttons:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Res​ize·​columns·​to·​contents</​span></​span></​span></​dt><dd><p>Changes·​the·​size·​of·​columns·​to·​fit·​their·​contents.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Res​ize·​rows·​to·​contents</​span></​span></​span></​dt><dd><p>Changes·​the·​size·​of·​rows·​to·​fit·​their·​contents.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Cop​y</​span></​span></​span></​dt><dd><p>Selects·​all·​of·​the·​table·​contents·​and·​copies·​it·​to·​the·​clipboard·​buffer.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl·​✂
1079 current·​document·​in·​the·​Comma·​Separated·​Values·​format.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Cle​ar</​span></​span></​span></​dt><dd><p>Removes·​everything·​from·​the·​table·​view</​p></​dd></​dl></​div><p>You·​can·​now·​change·​the·​colors·​displayed·​in·​the·​table·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL<​/​span></​span>1079 current·​document·​in·​the·​Comma·​Separated·​Values·​format.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">Cle​ar</​span></​span></​span></​dt><dd><p>Removes·​everything·​from·​the·​table·​view</​p></​dd></​dl></​div><p>You·​can·​now·​change·​the·​colors·​displayed·​in·​the·​table·​in·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL<​/​span></​span>
1080 section·​of·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Setti​ngs</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">C​onfigure·​<span·​class="application">K​ate</​span></​span></​span>.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="sql-​browsing"></​a>Browsing</​h3></​div></​div></​div><p>You·​can·​browse·​your·​database·​using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Schema·​Browser</​span></​span>1080 section·​of·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Setti​ngs</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">C​onfigure·​<span·​class="application">K​ate</​span></​span></​span>.​</​p></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="sql-​browsing"></​a>Browsing</​h3></​div></​div></​div><p>You·​can·​browse·​your·​database·​using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">SQL·​Schema·​Browser</​span></​span>
1081 tool·​view·​on·​the·​left.​··​The·​information·​displayed·​varies·​depending·​on·​which1081 tool·​view·​on·​the·​left.​··​The·​information·​displayed·​varies·​depending·​on·​which
1082 database·​driver·​you·​are·​using.​</​p><p>To·​refresh·​this·​list,​·​right-​click·​anywhere·​in·​the·​tool·​view·​and·​select1082 database·​driver·​you·​are·​using.​</​p><p>To·​refresh·​this·​list,​·​right-​click·​anywhere·​in·​the·​tool·​view·​and·​select
1083 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​efresh</​span></​span>.​··​To·​generate·​a·​query·​on·​any·​entry·​in·​the·​list,​1083 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​efresh</​span></​span>.​··​To·​generate·​a·​query·​on·​any·​entry·​in·​the·​list,​
Offset 1129, 15 lines modifiedOffset 1129, 15 lines modified
1129 of·​a·​debugging·​session.​</​p></​div><hr></​div></​div></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">IO</​span></​span></​span></​dt><dd><p>Contains·​an·​area·​that·​displays·​output·​from·​the·​running·​program·​and·​a1129 of·​a·​debugging·​session.​</​p></​div><hr></​div></​div></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">IO</​span></​span></​span></​dt><dd><p>Contains·​an·​area·​that·​displays·​output·​from·​the·​running·​program·​and·​a
1130 command·​line·​where·​you·​may·​provide·​input·​to·​it.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​io.​png"·​alt="The·​IO·​tab.​"><div·​class="caption"><p>Th​e·​<span·​class="guiitem"><span​·​class="guilabel">IO</​span></​span>·​tab·​displaying·​output·​from·​a·​simple1130 command·​line·​where·​you·​may·​provide·​input·​to·​it.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​io.​png"·​alt="The·​IO·​tab.​"><div·​class="caption"><p>Th​e·​<span·​class="guiitem"><span​·​class="guilabel">IO</​span></​span>·​tab·​displaying·​output·​from·​a·​simple
1131 test·​program.​</​p></​div><hr></​div></​div></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="gdb-​other"></​a>Call·​Stack·​and·​Locals</​h3></​div></​div></​div><p>The·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Call​·​Stack</​span></​span>·​tool·​view·​contains·​a·​list·​of·​the·​formatted1131 test·​program.​</​p></​div><hr></​div></​div></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="gdb-​other"></​a>Call·​Stack·​and·​Locals</​h3></​div></​div></​div><p>The·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Call​·​Stack</​span></​span>·​tool·​view·​contains·​a·​list·​of·​the·​formatted
1132 backtrace·​returned·​from·​<acronym·​class="acronym">GDB</​acronym>.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​call-​stack.​png"·​alt="The·​Call·​Stack·​tool·​view.​"><div·​class="caption"><p>Th​e·​<acronym·​class="acronym">GDB</​acronym>·​Plugin's·​<span·​class="guiitem"><span​·​class="guilabel">Call​·​Stack</​span></​span>·​tool·​view.​1132 backtrace·​returned·​from·​<acronym·​class="acronym">GDB</​acronym>.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​call-​stack.​png"·​alt="The·​Call·​Stack·​tool·​view.​"><div·​class="caption"><p>Th​e·​<acronym·​class="acronym">GDB</​acronym>·​Plugin's·​<span·​class="guiitem"><span​·​class="guilabel">Call​·​Stack</​span></​span>·​tool·​view.​
1133 </​p></​div><hr></​div></​div><p>The·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Loca​ls</​span></​span>·​tool·​view·​contains·​a·​list·​of·​all·​currently1133 </​p></​div><hr></​div></​div><p>The·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Loca​ls</​span></​span>·​tool·​view·​contains·​a·​list·​of·​all·​currently
1134 loaded·​variables·​from·​the·​program·​and·​their·​corresponding·​values.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​locals.​png"·​alt="The·​Locals·​tool·​view.​"><div·​class="caption"><p>Th​e·​<acronym·​class="acronym">GDB</​acronym>·​Plugin's·​<span·​class="guiitem"><span​·​class="guilabel">Loca​ls</​span></​span>·​tool·​view.​1134 loaded·​variables·​from·​the·​program·​and·​their·​corresponding·​values.​</​p><div·​class="screenshot"><d​iv·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="gdb-​locals.​png"·​alt="The·​Locals·​tool·​view.​"><div·​class="caption"><p>Th​e·​<acronym·​class="acronym">GDB</​acronym>·​Plugin's·​<span·​class="guiitem"><span​·​class="guilabel">Loca​ls</​span></​span>·​tool·​view.​
1135 </​p></​div><hr></​div></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="gdb-​ack"></​a>Thanks·​and·​Acknowledgments</​h3></​div></​div></​div><p>Special·​thanks·​to·​Google·​Code-​In·​2011·​participant·​Martin·​Gergov·​for1135 </​p></​div><hr></​div></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="gdb-​ack"></​a>Thanks·​and·​Acknowledgments</​h3></​div></​div></​div><p>Special·​thanks·​to·​Google·​Code-​In·​2011·​participant·​Martin·​Gergov·​for
1136 writing·​much·​of·​this·​section.​</​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="kate-​application-​plugin-​sql.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​application-​plugin-​konsole.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">SQL·​Plugin </​td><td·​class="upCell">Workin​g·​with·​Plugins</​td><td·​class="nextCell"> Ter​minal·​Tool·​View·​Plugin</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="kate-​application-​plugin-​konsole.​html"><html><head><ti​tle>Terminal·​Tool·​View·​Plugin</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde·​✂1136 writing·​much·​of·​this·​section.​</​p></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="kate-​application-​plugin-​sql.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="kate-​application-​plugin-​konsole.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">SQL·​Plugin </​td><td·​class="upCell">Workin​g·​with·​Plugins</​td><td·​class="nextCell"> Ter​minal·​Tool·​View·​Plugin</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="kate-​application-​plugin-​konsole.​html"><html><head><ti​tle>Terminal·​Tool·​View·​Plugin</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde·​✂
1137 The·​built·​in·​Terminal·​Emulator·​is·​a·​copy·​of·​the·​<acronym·​class="acronym">KDE</​acronym>·​<span·​class="application">K​onsole</​span>1137 The·​built·​in·​Terminal·​Emulator·​is·​a·​copy·​of·​the·​<acronym·​class="acronym">KDE</​acronym>·​<span·​class="application">K​onsole</​span>
1138 terminal·​application,​·​for·​your·​convenience.​·​It·​is·​available·​from·​the1138 terminal·​application,​·​for·​your·​convenience.​·​It·​is·​available·​from·​the
1139 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">View<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guisubmenu">To​ol·​Views</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​how·​Terminal</​span></​span>·​menu·​item·​and·​will·​get·​the·​focus1139 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">View<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guisubmenu">To​ol·​Views</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​how·​Terminal</​span></​span>·​menu·​item·​and·​will·​get·​the·​focus
1140 whenever·​displayed.​·​Additionally,​·​if·​the·​<a·​class="link"·​href="kate-​application-​plugin-​konsole.​html#konsole-​config"·​title="Configuration"​>Automatically·​synchronize1140 whenever·​displayed.​·​Additionally,​·​if·​the·​<a·​class="link"·​href="kate-​application-​plugin-​konsole.​html#konsole-​config"·​title="Configuration"​>Automatically·​synchronize
1141 the·​terminal·​with·​the·​current·​document·​when·​possible</​a>·​option·​is·​enabled,​·​it·​will1141 the·​terminal·​with·​the·​current·​document·​when·​possible</​a>·​option·​is·​enabled,​·​it·​will
1142 change·​to·​the·​directory·​of·​the·​current·​document·​if1142 change·​to·​the·​directory·​of·​the·​current·​document·​if
1143 possible·​when·​it·​is·​displayed,​·​or·​when·​the·​current·​document1143 possible·​when·​it·​is·​displayed,​·​or·​when·​the·​current·​document
Offset 1177, 19 lines modifiedOffset 1177, 19 lines modified
1177 is·​not·​possible.​·​</​p><p>Some·​formats·​define·​single·​line·​comment·​markers,​·​some·​multiline1177 is·​not·​possible.​·​</​p><p>Some·​formats·​define·​single·​line·​comment·​markers,​·​some·​multiline
1178 markers·​and·​some·​both.​··​If·​multiline·​markers·​are·​not·​available,​1178 markers·​and·​some·​both.​··​If·​multiline·​markers·​are·​not·​available,​
1179 commenting·​out·​a·​selection·​that·​does·​not·​fully·​include·​its·​last·​line1179 commenting·​out·​a·​selection·​that·​does·​not·​fully·​include·​its·​last·​line
1180 is·​not·​possible.​</​p><p>If·​a·​single·​line·​marker·​is·​available,​·​commenting·​single·​lines·​is1180 is·​not·​possible.​</​p><p>If·​a·​single·​line·​marker·​is·​available,​·​commenting·​single·​lines·​is
1181 preferred·​where·​applicable,​·​as·​this·​helps·​to·​avoid·​problems·​with1181 preferred·​where·​applicable,​·​as·​this·​helps·​to·​avoid·​problems·​with
1182 nested·​comments.​</​p><p>When·​removing·​comment·​markers,​·​no·​uncommented·​text·​should·​be1182 nested·​comments.​</​p><p>When·​removing·​comment·​markers,​·​no·​uncommented·​text·​should·​be
1183 selected.​·​When·​removing·​multiline·​comment·​markers·​from·​a·​selection,​1183 selected.​·​When·​removing·​multiline·​comment·​markers·​from·​a·​selection,​
1184 any·​whitespace·​outside·​the·​comment·​markers·​is·​ignored.​</​p><p><a·​class="indexterm"·​name="idp151366200"><​/​a>1184 any·​whitespace·​outside·​the·​comment·​markers·​is·​ignored.​</​p><p><a·​class="indexterm"·​name="idp151304760"><​/​a>
1185 To·​place·​comment·​markers,​·​use·​the1185 To·​place·​comment·​markers,​·​use·​the
1186 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Tools​</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">C​omment</​span></​span>1186 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Tools​</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">C​omment</​span></​span>
1187 menu·​item·​or·​the·​related·​keyboard·​shortcut·​sequence,​·​the·​default·​is1187 menu·​item·​or·​the·​related·​keyboard·​shortcut·​sequence,​·​the·​default·​is
1188 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>D</​strong></​span>.​</​p><p><a·​class="indexterm"·​name="idp151368632"><​/​a>1188 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>D</​strong></​span>.​</​p><p><a·​class="indexterm"·​name="idp151307192"><​/​a>
1189 To·​remove·​comment·​markers,​·​use·​the1189 To·​remove·​comment·​markers,​·​use·​the
1190 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Tools​</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">U​ncomment</​span></​span>1190 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Tools​</​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">U​ncomment</​span></​span>
1191 menu·​item·​or·​the·​related·​keyboard·​shortcut,​·​the·​default·​is·​<span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>D</​strong></​span>.​</​p></​div><FILENAME·​filename="advanced-​editing-​tools-​commandline.​html"><html><head><ti​tle>The·​Editor·​Component·​Command·​Line</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="up"·​href="advanced-​editing-​tools.​html"·​title="Chapter 5.​ Advanced·​Editing·​Tools"><link·​rel="prev"·​href="advanced-​editing-​tools.​html"·​title="Chapter 5.​ Advanced·​Editing·​Tools·​✂1191 menu·​item·​or·​the·​related·​keyboard·​shortcut,​·​the·​default·​is·​<span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>D</​strong></​span>.​</​p></​div><FILENAME·​filename="advanced-​editing-​tools-​commandline.​html"><html><head><ti​tle>The·​Editor·​Component·​Command·​Line</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="up"·​href="advanced-​editing-​tools.​html"·​title="Chapter 5.​ Advanced·​Editing·​Tools"><link·​rel="prev"·​href="advanced-​editing-​tools.​html"·​title="Chapter 5.​ Advanced·​Editing·​Tools·​✂
1192 perform·​various·​actions·​from·​a·​minimal·​GUI.​·​The·​command·​line·​is·​a·​text·​entry1192 perform·​various·​actions·​from·​a·​minimal·​GUI.​·​The·​command·​line·​is·​a·​text·​entry
1193 at·​the·​bottom·​of·​the·​editor·​area;​·​to·​show·​it·​select1193 at·​the·​bottom·​of·​the·​editor·​area;​·​to·​show·​it·​select
1194 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">View<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​witch·​to·​Command·​Line</​span></​span>1194 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">View<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​witch·​to·​Command·​Line</​span></​span>
1195 or·​use·​the·​shortcut·​(default·​is1195 or·​use·​the·​shortcut·​(default·​is
Offset 1272, 16 lines modifiedOffset 1272, 16 lines modified
1272 </​p><div·​class="informaltable"​><table·​border="1"><colgroup>​<col><col></​colgroup><tbody><tr><​td><code·​class="literal">d</​code></​td><td>The·​day·​as·​number·​without·​a·​leading·​zero·​(1-​31)​.​</​td></​tr><tr><td><code·​class="literal">dd</​code></​td><td>The·​day·​as·​number·​with·​a·​leading·​zero·​(01-​31)​.​</​td></​tr><tr><td><code·​class="literal">ddd</​code></​td><td>The·​abbreviated·​localized·​day·​name·​(e.​g.​·​'Mon'.​.​'Sun')​.​</​td></​tr><tr><td><code·​class="literal">dddd<​/​code></​td><td>The·​long·​localized·​day·​name·​(e.​g.​·​'Monday'.​.​'Sunday')​.​</​td></​tr><tr><td><code·​class="literal">M</​code></​td><td>The·​month·​as·​number·​without·​a·​leading·​zero·​(1-​12)​.​</​td></​tr><tr><td><code·​class="literal">MM</​code></​td><td>The·​month·​as·​number·​with·​a·​leading·​zero·​(01-​12)​.​</​td></​tr><tr><td><code·​class="literal">MMMM<​/​code></​td><td>The·​long·​localized·​month·​name·​(e.​g.​·​'January'.​.​'December')​.​</​td></​tr><tr><td><code·​class="literal">MMM</​code></​td><td>The·​abbreviated·​localized·​month·​name·​(e.​g.​·​'Jan'.​.​'Dec')​.​</​td></​tr><tr><td><code·​class="literal">yy</​code></​td><td>The··​✂1272 </​p><div·​class="informaltable"​><table·​border="1"><colgroup>​<col><col></​colgroup><tbody><tr><​td><code·​class="literal">d</​code></​td><td>The·​day·​as·​number·​without·​a·​leading·​zero·​(1-​31)​.​</​td></​tr><tr><td><code·​class="literal">dd</​code></​td><td>The·​day·​as·​number·​with·​a·​leading·​zero·​(01-​31)​.​</​td></​tr><tr><td><code·​class="literal">ddd</​code></​td><td>The·​abbreviated·​localized·​day·​name·​(e.​g.​·​'Mon'.​.​'Sun')​.​</​td></​tr><tr><td><code·​class="literal">dddd<​/​code></​td><td>The·​long·​localized·​day·​name·​(e.​g.​·​'Monday'.​.​'Sunday')​.​</​td></​tr><tr><td><code·​class="literal">M</​code></​td><td>The·​month·​as·​number·​without·​a·​leading·​zero·​(1-​12)​.​</​td></​tr><tr><td><code·​class="literal">MM</​code></​td><td>The·​month·​as·​number·​with·​a·​leading·​zero·​(01-​12)​.​</​td></​tr><tr><td><code·​class="literal">MMMM<​/​code></​td><td>The·​long·​localized·​month·​name·​(e.​g.​·​'January'.​.​'December')​.​</​td></​tr><tr><td><code·​class="literal">MMM</​code></​td><td>The·​abbreviated·​localized·​month·​name·​(e.​g.​·​'Jan'.​.​'Dec')​.​</​td></​tr><tr><td><code·​class="literal">yy</​code></​td><td>The··​✂
1273 (00-​99)​.​</​td></​tr><tr><td><code·​class="literal">yyyy<​/​code></​td><td>The·​year·​as·​four·​digit·​number·​(1752-​8000)​.​</​td></​tr><tr><td><code·​class="literal">h</​code></​td><td>The·​hour·​without·​a·​leading·​zero·​(0.​.​23·​or·​1.​.​12·​if·​AM/​PM·​display)​.​</​td></​tr><tr><td><code·​class="literal">hh</​code></​td><td>The·​hour·​with·​a·​leading·​zero·​(00.​.​23·​or·​01.​.​12·​if·​AM/​PM·​display)​.​</​td></​tr><tr><td><code·​class="literal">m</​code></​td><td>The·​minute·​without·​a·​leading·​zero·​(0.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">mm</​code></​td><td>The·​minute·​with·​a·​leading·​zero·​(00.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">s</​code></​td><td>The·​second·​without·​a·​leading·​zero·​(0.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">ss</​code></​td><td>The·​second·​with·​a·​leading·​zero·​(00.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">z</​code></​td><td>The·​milliseconds·​without·​leading·​zeroes·​(0.​.​999)​.​</​td></​tr><tr><td><code·​class="literal">zzz</​code></​td><td>The·​milliseconds·​with·​leading·​zeroes·​(000.​.​999)​.​</​td></​tr><tr><td><code·​class="literal">AP</​code></​td><td>Use·​✂1273 (00-​99)​.​</​td></​tr><tr><td><code·​class="literal">yyyy<​/​code></​td><td>The·​year·​as·​four·​digit·​number·​(1752-​8000)​.​</​td></​tr><tr><td><code·​class="literal">h</​code></​td><td>The·​hour·​without·​a·​leading·​zero·​(0.​.​23·​or·​1.​.​12·​if·​AM/​PM·​display)​.​</​td></​tr><tr><td><code·​class="literal">hh</​code></​td><td>The·​hour·​with·​a·​leading·​zero·​(00.​.​23·​or·​01.​.​12·​if·​AM/​PM·​display)​.​</​td></​tr><tr><td><code·​class="literal">m</​code></​td><td>The·​minute·​without·​a·​leading·​zero·​(0.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">mm</​code></​td><td>The·​minute·​with·​a·​leading·​zero·​(00.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">s</​code></​td><td>The·​second·​without·​a·​leading·​zero·​(0.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">ss</​code></​td><td>The·​second·​with·​a·​leading·​zero·​(00.​.​59)​.​</​td></​tr><tr><td><code·​class="literal">z</​code></​td><td>The·​milliseconds·​without·​leading·​zeroes·​(0.​.​999)​.​</​td></​tr><tr><td><code·​class="literal">zzz</​code></​td><td>The·​milliseconds·​with·​leading·​zeroes·​(000.​.​999)​.​</​td></​tr><tr><td><code·​class="literal">AP</​code></​td><td>Use·​✂
  
1274 </​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>char</​strong></​span></​span>·​{STRING·​identifier}</​p></​div></​span></​dt><dd><p>This·​command·​allows·​you·​to·​insert·​literal·​characters·​by·​their1274 </​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>char</​strong></​span></​span>·​{STRING·​identifier}</​p></​div></​span></​dt><dd><p>This·​command·​allows·​you·​to·​insert·​literal·​characters·​by·​their
1275 numerical·​identifier,​·​in·​decimal,​·​octal·​or·​hexadecimal·​form.​1275 numerical·​identifier,​·​in·​decimal,​·​octal·​or·​hexadecimal·​form.​
1276 To·​use·​it·​launch·​the·​Editing·​Command·​dialog·​and·​type·​<strong·​class="userinput"><co​de>char:​1276 To·​use·​it·​launch·​the·​Editing·​Command·​dialog·​and·​type·​<strong·​class="userinput"><co​de>char:​
1277 [number]</​code></​strong>·​in·​the·​entry·​box,​·​then·​hit1277 [number]</​code></​strong>·​in·​the·​entry·​box,​·​then·​hit
1278 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">OK<​/​span></​span>.​</​p><div·​class="example"><a·​name="idp151492024"><​/​a><p·​class="title"><b>Exam​ple 5.​1.​ <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">char<​/​span></​span>·​examples</​b></​p><div·​class="example-​contents"><p>Input:​·​<strong·​class="userinput"><co​de>char:​234</​code></​strong></​p><p>Output:​·​<code·​class="computeroutput​">ê</​code></​p><p>Input:​·​<strong·​class="userinput"><co​de>char:​0x1234</​code></​strong></​p><p>Output:​·​<code·​class="computeroutput​">ሴ</​code></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term">1278 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">OK<​/​span></​span>.​</​p><div·​class="example"><a·​name="idp151434680"><​/​a><p·​class="title"><b>Exam​ple 5.​1.​ <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">char<​/​span></​span>·​examples</​b></​p><div·​class="example-​contents"><p>Input:​·​<strong·​class="userinput"><co​de>char:​234</​code></​strong></​p><p>Output:​·​<code·​class="computeroutput​">ê</​code></​p><p>Input:​·​<strong·​class="userinput"><co​de>char:​0x1234</​code></​strong></​p><p>Output:​·​<code·​class="computeroutput​">ሴ</​code></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term">
1279 <a·​class="indexterm"·​name="idp151496376"><​/​a>1279 <a·​class="indexterm"·​name="idp151439032"><​/​a>
1280 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>s/​/​/​[ig]</​strong></​span></​span>·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>%s/​/​/​[ig]</​strong></​span></​span></​span></​dt><dd><p>This·​command·​does·​a·​sed-​like·​search/​replace·​operation·​on·​the1280 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>s/​/​/​[ig]</​strong></​span></​span>·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>%s/​/​/​[ig]</​strong></​span></​span></​span></​dt><dd><p>This·​command·​does·​a·​sed-​like·​search/​replace·​operation·​on·​the
1281 current·​line,​·​or·​on·​the·​whole·​file·​(<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>%s/​/​/​</​strong></​span></​span>)​.​</​p><p>In·​short,​·​the·​text·​is·​searched·​for·​text·​matching·​the1281 current·​line,​·​or·​on·​the·​whole·​file·​(<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>%s/​/​/​</​strong></​span></​span>)​.​</​p><p>In·​short,​·​the·​text·​is·​searched·​for·​text·​matching·​the
1282 <span·​class="emphasis"><em>​search·​pattern</​em></​span>,​·​the·​regular·​expression·​between1282 <span·​class="emphasis"><em>​search·​pattern</​em></​span>,​·​the·​regular·​expression·​between
1283 the·​first·​and·​the·​second·​slash,​·​and·​when·​a·​match·​is·​found,​·​the1283 the·​first·​and·​the·​second·​slash,​·​and·​when·​a·​match·​is·​found,​·​the
1284 matching·​part·​of·​the·​text·​is·​replaced·​with·​the·​expression·​between·​the1284 matching·​part·​of·​the·​text·​is·​replaced·​with·​the·​expression·​between·​the
1285 second·​and·​last·​slash.​·​Parentheses·​in·​the·​search·​pattern1285 second·​and·​last·​slash.​·​Parentheses·​in·​the·​search·​pattern
1286 create·​<span·​class="emphasis"><em>​back·​references</​em></​span>,​·​that·​is·​the·​command1286 create·​<span·​class="emphasis"><em>​back·​references</​em></​span>,​·​that·​is·​the·​command
Offset 1289, 28 lines modifiedOffset 1289, 28 lines modified
1289 strings·​can·​be·​reused·​in·​the·​replace·​pattern,​·​referred·​to·​as1289 strings·​can·​be·​reused·​in·​the·​replace·​pattern,​·​referred·​to·​as
1290 <strong·​class="userinput"><co​de>\1</​code></​strong>·​for·​the·​first·​set·​of·​parentheses,​1290 <strong·​class="userinput"><co​de>\1</​code></​strong>·​for·​the·​first·​set·​of·​parentheses,​
1291 <strong·​class="userinput"><co​de>\2</​code></​strong>·​for·​the·​second·​and·​so·​on.​</​p><p>To·​search·​for·​a·​literal·​<code·​class="literal">(</​code>·​or1291 <strong·​class="userinput"><co​de>\2</​code></​strong>·​for·​the·​second·​and·​so·​on.​</​p><p>To·​search·​for·​a·​literal·​<code·​class="literal">(</​code>·​or
1292 <code·​class="literal">)​</​code>,​·​you·​need·​to·​<span·​class="emphasis"><em>​escape</​em></​span>·​it·​using1292 <code·​class="literal">)​</​code>,​·​you·​need·​to·​<span·​class="emphasis"><em>​escape</​em></​span>·​it·​using
1293 a·​backslash·​character:​·​<strong·​class="userinput"><co​de>\(\)​</​code></​strong></​p><p>If·​you·​put·​an·​<strong·​class="userinput"><co​de>i</​code></​strong>·​at·​the·​end·​of·​the1293 a·​backslash·​character:​·​<strong·​class="userinput"><co​de>\(\)​</​code></​strong></​p><p>If·​you·​put·​an·​<strong·​class="userinput"><co​de>i</​code></​strong>·​at·​the·​end·​of·​the
1294 expression,​·​the·​matching·​will·​be·​case·​insensitive.​·​If·​you·​put·​a1294 expression,​·​the·​matching·​will·​be·​case·​insensitive.​·​If·​you·​put·​a
1295 <strong·​class="userinput"><co​de>g</​code></​strong>·​at·​the·​end,​·​all·​occurrences·​of·​the·​pattern·​will·​be1295 <strong·​class="userinput"><co​de>g</​code></​strong>·​at·​the·​end,​·​all·​occurrences·​of·​the·​pattern·​will·​be
1296 replaced,​·​otherwise·​only·​the·​first·​occurrence·​is·​replaced.​</​p><div·​class="example"><a·​name="idp151503928"><​/​a><p·​class="title"><b>Exam​ple 5.​2.​ Replacing·​text·​in·​the·​current·​line</​b></​p><div·​class="example-​contents"><p>Your·​friendly·​compiler·​just·​stopped,​·​telling·​you·​that·​the·​class1296 replaced,​·​otherwise·​only·​the·​first·​occurrence·​is·​replaced.​</​p><div·​class="example"><a·​name="idp151446584"><​/​a><p·​class="title"><b>Exam​ple 5.​2.​ Replacing·​text·​in·​the·​current·​line</​b></​p><div·​class="example-​contents"><p>Your·​friendly·​compiler·​just·​stopped,​·​telling·​you·​that·​the·​class
1297 <code·​class="classname">myC​lass</​code>·​mentioned·​in·​line·​3902·​in·​your·​source·​file1297 <code·​class="classname">myC​lass</​code>·​mentioned·​in·​line·​3902·​in·​your·​source·​file
1298 is·​not·​defined.​</​p><p>"Buckle!"·​you·​think,​·​it·​is·​of·​course1298 is·​not·​defined.​</​p><p>"Buckle!"·​you·​think,​·​it·​is·​of·​course
1299 <code·​class="classname">MyC​lass</​code>.​·​You·​go·​to·​line·​3902,​·​and·​instead·​of·​trying1299 <code·​class="classname">MyC​lass</​code>.​·​You·​go·​to·​line·​3902,​·​and·​instead·​of·​trying
1300 to·​find·​the·​word·​in·​the·​text,​·​you·​launch·​the·​Editing·​Command·​Dialog,​1300 to·​find·​the·​word·​in·​the·​text,​·​you·​launch·​the·​Editing·​Command·​Dialog,​
1301 enter·​<strong·​class="userinput"><co​de>s/​myclass/​MyClass/​i</​code></​strong>,​·​hit·​the1301 enter·​<strong·​class="userinput"><co​de>s/​myclass/​MyClass/​i</​code></​strong>,​·​hit·​the
1302 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">OK<​/​span></​span>·​button,​·​save·​the·​file·​and·​compile·​–1302 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guibutton">OK<​/​span></​span>·​button,​·​save·​the·​file·​and·​compile·​–
1303 successfully·​without·​the·​error.​</​p></​div></​div><br·​class="example-​break"><div·​class="example"><a·​name="idp151507256"><​/​a><p·​class="title"><b>Exam​ple 5.​3.​ Replacing·​text·​in·​the·​whole·​file</​b></​p><div·​class="example-​contents"><p>Imagine·​that·​you·​have·​a·​file,​·​in·​which·​you·​mention·​a·​<span·​class="quote">“<span·​class="quote">Miss1303 successfully·​without·​the·​error.​</​p></​div></​div><br·​class="example-​break"><div·​class="example"><a·​name="idp151449912"><​/​a><p·​class="title"><b>Exam​ple 5.​3.​ Replacing·​text·​in·​the·​whole·​file</​b></​p><div·​class="example-​contents"><p>Imagine·​that·​you·​have·​a·​file,​·​in·​which·​you·​mention·​a·​<span·​class="quote">“<span·​class="quote">Miss
1304 Jensen</​span>”</​span>·​several·​times,​·​when·​someone·​comes·​in·​and·​tells·​you·​that1304 Jensen</​span>”</​span>·​several·​times,​·​when·​someone·​comes·​in·​and·​tells·​you·​that
1305 she·​just·​got·​married·​to·​<span·​class="quote">“<span·​class="quote">Mr·​Jones</​span>”</​span>.​·​You·​want,​·​of·​course,​1305 she·​just·​got·​married·​to·​<span·​class="quote">“<span·​class="quote">Mr·​Jones</​span>”</​span>.​·​You·​want,​·​of·​course,​
1306 to·​replace·​each·​and·​every·​occurrence·​of·​<span·​class="quote">“<span·​class="quote">Miss·​Jensen</​span>”</​span>1306 to·​replace·​each·​and·​every·​occurrence·​of·​<span·​class="quote">“<span·​class="quote">Miss·​Jensen</​span>”</​span>
1307 with·​<span·​class="quote">“<span·​class="quote">Ms·​Jones</​span>”</​span>.​</​p><p>Enter·​the·​command·​line·​and·​issue·​the·​command1307 with·​<span·​class="quote">“<span·​class="quote">Ms·​Jones</​span>”</​span>.​</​p><p>Enter·​the·​command·​line·​and·​issue·​the·​command
1308 <strong·​class="userinput"><co​de>%s/​Miss·​Jensen/​Ms·​Jones/​</​code></​strong>·​and·​hit·​return,​·​you1308 <strong·​class="userinput"><co​de>%s/​Miss·​Jensen/​Ms·​Jones/​</​code></​strong>·​and·​hit·​return,​·​you
1309 are·​done.​</​p></​div></​div><br·​class="example-​break"><div·​class="example"><a·​name="idp142487224"><​/​a><p·​class="title"><b>Exam​ple 5.​4.​ A·​More·​Advanced·​Example</​b></​p><div·​class="example-​contents"><p>This·​example·​makes·​use·​of·​<span·​class="emphasis"><em>​back·​references</​em></​span>1309 are·​done.​</​p></​div></​div><br·​class="example-​break"><div·​class="example"><a·​name="idp151453368"><​/​a><p·​class="title"><b>Exam​ple 5.​4.​ A·​More·​Advanced·​Example</​b></​p><div·​class="example-​contents"><p>This·​example·​makes·​use·​of·​<span·​class="emphasis"><em>​back·​references</​em></​span>
1310 as·​well·​as·​a·​<span·​class="emphasis"><em>​character·​class</​em></​span>·​(if·​you·​do·​not·​know·​what1310 as·​well·​as·​a·​<span·​class="emphasis"><em>​character·​class</​em></​span>·​(if·​you·​do·​not·​know·​what
1311 that·​is,​·​please·​refer·​to·​the·​related·​documentation·​mentioned1311 that·​is,​·​please·​refer·​to·​the·​related·​documentation·​mentioned
1312 below)​.​</​p><p>Suppose·​you·​have·​the·​following·​line:​1312 below)​.​</​p><p>Suppose·​you·​have·​the·​following·​line:​
  
1313 </​p><pre·​class="programlisting​">void·​MyClass:​:​DoStringOps(·​String······​&amp;​foo,​·​String·​&amp;​bar,​·​String·​*p,​·​int··​&amp;​a,​·​int·​&amp;​b·​)​</​pre><p>1313 </​p><pre·​class="programlisting​">void·​MyClass:​:​DoStringOps(·​String······​&amp;​foo,​·​String·​&amp;​bar,​·​String·​*p,​·​int··​&amp;​a,​·​int·​&amp;​b·​)​</​pre><p>
1314 </​p><p>Now·​you·​realize·​that·​this·​is·​not·​nice·​code,​·​and·​decide·​that·​you1314 </​p><p>Now·​you·​realize·​that·​this·​is·​not·​nice·​code,​·​and·​decide·​that·​you
1315 want·​to·​use·​the·​<code·​class="constant">cons​t</​code>·​keyword·​for·​all1315 want·​to·​use·​the·​<code·​class="constant">cons​t</​code>·​keyword·​for·​all
Offset 1330, 28 lines modifiedOffset 1330, 28 lines modified
1330 the·​replace·​operation.​·​Then·​we·​replaced·​the·​matching·​part·​of·​our·​line1330 the·​replace·​operation.​·​Then·​we·​replaced·​the·​matching·​part·​of·​our·​line
1331 with·​one·​whitespace·​followed·​by·​<span·​class="quote">“<span·​class="quote">const</​span>”</​span>·​followed·​by·​one1331 with·​one·​whitespace·​followed·​by·​<span·​class="quote">“<span·​class="quote">const</​span>”</​span>·​followed·​by·​one
1332 whitespace·​followed·​by·​our·​saved·​alphabetical·​chunk1332 whitespace·​followed·​by·​our·​saved·​alphabetical·​chunk
1333 (<code·​class="literal">\1</​code>)​·​followed·​by·​one·​whitespace·​followed·​by·​our1333 (<code·​class="literal">\1</​code>)​·​followed·​by·​one·​whitespace·​followed·​by·​our
1334 saved·​ampersand·​(<code·​class="literal">\2</​code>)​</​p><p>Now·​in·​some·​cases·​the·​alphabetical·​chunk·​was1334 saved·​ampersand·​(<code·​class="literal">\2</​code>)​</​p><p>Now·​in·​some·​cases·​the·​alphabetical·​chunk·​was
1335 <span·​class="quote">“<span·​class="quote">String<​/​span>”</​span>,​·​in·​some·​<span·​class="quote">“<span·​class="quote">int</​span>”</​span>,​·​so·​using·​the1335 <span·​class="quote">“<span·​class="quote">String<​/​span>”</​span>,​·​in·​some·​<span·​class="quote">“<span·​class="quote">int</​span>”</​span>,​·​so·​using·​the
1336 character·​class·​<code·​class="literal">\w</​code>·​and·​the·​<code·​class="literal">+</​code>1336 character·​class·​<code·​class="literal">\w</​code>·​and·​the·​<code·​class="literal">+</​code>
1337 quantifier·​proved·​a·​valuable·​asset.​</​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>sort</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Sorts·​the·​selected·​text·​or·​entire·​document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>natsort</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Sort·​the·​selected·​lines·​or·​entire·​document·​naturally.​</​p><div·​class="example"><a·​name="idp151520824"><​/​a><p·​class="title"><b>Exam​ple 5.​5.​ <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">sort<​/​span></​span>·​vs.​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">natso​rt</​span></​span></​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="h·​✂1337 quantifier·​proved·​a·​valuable·​asset.​</​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>sort</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Sorts·​the·​selected·​text·​or·​entire·​document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>natsort</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Sort·​the·​selected·​lines·​or·​entire·​document·​naturally.​</​p><div·​class="example"><a·​name="idp151471672"><​/​a><p·​class="title"><b>Exam​ple 5.​5.​ <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">sort<​/​span></​span>·​vs.​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command">natso​rt</​span></​span></​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="h·​✂
1338 ····························​<code·​class="computeroutput​">a1,​·​a10,​·​a2</​code></​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>natsort</​strong></​span></​span>(a10,​·​a1,​·​a2)​</​code></​strong>·​results·​in1338 ····························​<code·​class="computeroutput​">a1,​·​a10,​·​a2</​code></​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>natsort</​strong></​span></​span>(a10,​·​a1,​·​a2)​</​code></​strong>·​results·​in
1339 ····························​<code·​class="computeroutput​">a1,​·​a2,​·​a10</​code></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>moveLinesDown</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Move·​selected·​lines·​down.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>moveLinesUp</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Move·​selected·​lines·​up.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>uniq</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​duplicated·​lines·​from·​the·​selected·​text·​or·​the·​whole1339 ····························​<code·​class="computeroutput​">a1,​·​a2,​·​a10</​code></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>moveLinesDown</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Move·​selected·​lines·​down.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>moveLinesUp</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Move·​selected·​lines·​up.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>uniq</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​duplicated·​lines·​from·​the·​selected·​text·​or·​the·​whole
1340 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>rtrim</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​trailing·​space·​from·​the·​selected·​text·​or·​the·​whole1340 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>rtrim</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​trailing·​space·​from·​the·​selected·​text·​or·​the·​whole
1341 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>ltrim</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​leading·​space·​from·​the·​selected·​text·​or·​the·​whole1341 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>ltrim</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​leading·​space·​from·​the·​selected·​text·​or·​the·​whole
1342 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>join</​strong></​span></​span>·​[STRING·​separator]</​p></​div></​span></​dt><dd><p>Join·​selected·​lines·​or·​whole·​document.​··​Optionally·​takes·​a·​parameter1342 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>join</​strong></​span></​span>·​[STRING·​separator]</​p></​div></​span></​dt><dd><p>Join·​selected·​lines·​or·​whole·​document.​··​Optionally·​takes·​a·​parameter
1343 defining·​a·​separator,​·​for·​example:​··​<strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>join</​strong></​span></​span>·​',​·​'</​code></​strong>1343 defining·​a·​separator,​·​for·​example:​··​<strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>join</​strong></​span></​span>·​',​·​'</​code></​strong>
1344 </​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>rmblank</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​all·​blank·​spaces·​from·​the·​selected·​text·​or·​the·​whole1344 </​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>rmblank</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Remove·​all·​blank·​spaces·​from·​the·​selected·​text·​or·​the·​whole
1345 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>unwrap</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Unwrap·​the·​selected·​text·​or·​the·​whole·​document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of1345 document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>unwrap</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Unwrap·​the·​selected·​text·​or·​the·​whole·​document.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of
1346 selected·​lines·​and·​replace·​them·​with·​the·​return·​value·​of·​that·​callback.​</​p><div·​class="example"><a·​name="idp151539640"><​/​a><p·​class="title"><b>Exam​ple 5.​6.​ Join·​selected·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​'function(lines)​{return·​lines.​join(",​·​")​}'1346 selected·​lines·​and·​replace·​them·​with·​the·​return·​value·​of·​that·​callback.​</​p><div·​class="example"><a·​name="idp143105976"><​/​a><p·​class="title"><b>Exam​ple 5.​6.​ Join·​selected·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​'function(lines)​{return·​lines.​join(",​·​")​}'
1347 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​'lines.​join(",​·​")​'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of1347 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>each</​strong></​span></​span>·​'lines.​join(",​·​")​'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of
1348 selected·​lines·​and·​remove·​those·​where·​the·​callback·​returns·​false.​</​p><div·​class="example"><a·​name="idp151544376"><​/​a><p·​class="title"><b>Exam​ple 5.​7.​ Remove·​blank·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​'function(1)​{return·​1.​length·​&gt;​·​0;​}'1348 selected·​lines·​and·​remove·​those·​where·​the·​callback·​returns·​false.​</​p><div·​class="example"><a·​name="idp151495224"><​/​a><p·​class="title"><b>Exam​ple 5.​7.​ Remove·​blank·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​'function(1)​{return·​1.​length·​&gt;​·​0;​}'
1349 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​'line.​length·​&gt;​·​0'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of1349 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>filter</​strong></​span></​span>·​'line.​length·​&gt;​·​0'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​{STRING·​script}</​p></​div></​span></​dt><dd><p>Given·​a·​JavaScript·​function·​as·​an·​argument,​·​call·​that·​for·​the·​list·​of
1350 selected·​lines·​and·​replace·​the·​line·​with·​the·​value·​of·​the·​callback.​</​p><div·​class="example"><a·​name="idp151549112"><​/​a><p·​class="title"><b>Exam​ple 5.​8.​ Remove·​blank·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​'function(line)​{return1350 selected·​lines·​and·​replace·​the·​line·​with·​the·​value·​of·​the·​callback.​</​p><div·​class="example"><a·​name="idp151499960"><​/​a><p·​class="title"><b>Exam​ple 5.​8.​ Remove·​blank·​lines</​b></​p><div·​class="example-​contents"><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​'function(line)​{return
1351 line.​replace(/​^s+/​,​"")​;​}'1351 line.​replace(/​^s+/​,​"")​;​}'
1352 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​'line.​replace(/​^s+/​,​"")​'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>duplicateLinesUp</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Duplicate·​the·​selected·​lines·​above·​the·​current·​selection.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>duplicateLinesDown​</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Duplicate·​the·​selected·​lines·​below·​the·​current·​selection.​</​p></​dd></​dl></​div></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="advanced-​editing-​tools-​commandline-​commands-​navigat·​✂1352 </​code></​strong></​p><p>Or,​·​more·​briefly:​</​p><p><strong·​class="userinput"><co​de><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>map</​strong></​span></​span>·​'line.​replace(/​^s+/​,​"")​'</​code></​strong></​p></​div></​div><br·​class="example-​break"></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>duplicateLinesUp</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Duplicate·​the·​selected·​lines·​above·​the·​current·​selection.​</​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>duplicateLinesDown​</​strong></​span></​span></​p></​div></​span></​dt><dd><p>Duplicate·​the·​selected·​lines·​below·​the·​current·​selection.​</​p></​dd></​dl></​div></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="advanced-​editing-​tools-​commandline-​commands-​navigat·​✂
1353 <strong·​class="userinput"><co​de>pattern</​code></​strong>.​·​For·​more·​information,​·​see1353 <strong·​class="userinput"><co​de>pattern</​code></​strong>.​·​For·​more·​information,​·​see
1354 <a·​class="xref"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions">Appendix​ B,​·​<i>Regular·​Expressions</​i></​a></​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>find</​strong></​span></​span>·​{STRING·​pattern}</​p></​div></​span></​dt><dd><p>This·​command·​navigates·​to·​the·​first·​occurrence·​of1354 <a·​class="xref"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions">Appendix​ B,​·​<i>Regular·​Expressions</​i></​a></​p></​dd><dt><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>find</​strong></​span></​span>·​{STRING·​pattern}</​p></​div></​span></​dt><dd><p>This·​command·​navigates·​to·​the·​first·​occurrence·​of
1355 <strong·​class="userinput"><co​de>pattern</​code></​strong>·​according·​to·​the·​configuration.​·​Following1355 <strong·​class="userinput"><co​de>pattern</​code></​strong>·​according·​to·​the·​configuration.​·​Following
1356 occurrences·​can·​be·​found·​using1356 occurrences·​can·​be·​found·​using
1357 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>1357 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>
Offset 2883, 15 lines modifiedOffset 2883, 15 lines modified
2883 window·​(if·​one·​exists·​for·​the·​particular·​item)​·​explaining·​the·​item's2883 window·​(if·​one·​exists·​for·​the·​particular·​item)​·​explaining·​the·​item's
2884 function.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eport·​Bug.​.​.​</​span></​span></​span></​dt><dd><p><span·​class="action">Opens·​the·​Bug·​report·​dialog</​span>·​where·​you·​can2884 function.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eport·​Bug.​.​.​</​span></​span></​span></​dt><dd><p><span·​class="action">Opens·​the·​Bug·​report·​dialog</​span>·​where·​you·​can
2885 report·​a·​bug·​or·​request·​a·​<span·​class="quote">“<span·​class="quote">wishlis​t</​span>”</​span>·​feature.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​witch·​Application·​Language.​.​.​</​span></​span></​span></​dt><dd><p><span·​class="action">Opens·​a·​dialog</​span>·​where·​you·​can2885 report·​a·​bug·​or·​request·​a·​<span·​class="quote">“<span·​class="quote">wishlis​t</​span>”</​span>·​feature.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">S​witch·​Application·​Language.​.​.​</​span></​span></​span></​dt><dd><p><span·​class="action">Opens·​a·​dialog</​span>·​where·​you·​can
2886 edit·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prim​ary·​language</​span></​span>·​and·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Fall​back·​language</​span></​span>2886 edit·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prim​ary·​language</​span></​span>·​and·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Fall​back·​language</​span></​span>
2887 for·​this·​application.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">A​bout·​<span·​class="application">K​ate</​span></​span></​span></​span></​dt><dd><p><span·​class="action">This·​will·​display·​version·​and·​author2887 for·​this·​application.​</​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">A​bout·​<span·​class="application">K​ate</​span></​span></​span></​span></​dt><dd><p><span·​class="action">This·​will·​display·​version·​and·​author
2888 information.​</​span></​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">A​bout·​KDE</​span></​span></​span></​dt><dd><p><span·​class="action">This·​displays·​the·​KDE·​version·​and·​other·​basic2888 information.​</​span></​p></​dd><dt><span·​class="term"><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Help<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">A​bout·​KDE</​span></​span></​span></​dt><dd><p><span·​class="action">This·​displays·​the·​KDE·​version·​and·​other·​basic
2889 information.​</​span></​p></​dd></​dl></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="settings-​menu.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="configuring-​kate.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Settings·​Menu </​td><td·​class="upCell">Menu·​Entries</​td><td·​class="nextCell"> Con​figuring·​<span·​class="application">K​ate</​span></​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="vi-​input-​mode-​chapter.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nex·​✂2889 information.​</​span></​p></​dd></​dl></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="settings-​menu.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="configuring-​kate.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Settings·​Menu </​td><td·​class="upCell">Menu·​Entries</​td><td·​class="nextCell"> Con​figuring·​<span·​class="application">K​ate</​span></​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="vi-​input-​mode-​chapter.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nex·​✂
2890 <a·​class="indexterm"·​name="idp154815416"><​/​a>2890 <a·​class="indexterm"·​name="idp154827704"><​/​a>
2891 <a·​name="find"></​a>2891 <a·​name="find"></​a>
2892 <a·​name="find-​again"></​a>2892 <a·​name="find-​again"></​a>
  
2893 <a·​name="replace"></​a>2893 <a·​name="replace"></​a>
  
2894 <a·​name="undo"></​a>2894 <a·​name="undo"></​a>
2895 <a·​name="redo"></​a>2895 <a·​name="redo"></​a>
Offset 3313, 15 lines modifiedOffset 3313, 15 lines modified
3313 width.​·​</​p></​dd><dt><a·​name="variable-​word-​wrap-​marker-​color"></​a><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>word-​wrap-​marker-​color</​strong></​span></​span>·​[STRING]</​p></​div></​span></​dt><dd><p>Set·​the·​word·​wrap·​marker·​color.​·​The·​value·​must·​be·​something3313 width.​·​</​p></​dd><dt><a·​name="variable-​word-​wrap-​marker-​color"></​a><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>word-​wrap-​marker-​color</​strong></​span></​span>·​[STRING]</​p></​div></​span></​dt><dd><p>Set·​the·​word·​wrap·​marker·​color.​·​The·​value·​must·​be·​something
3314 that·​can·​be·​evaluated·​to·​a·​valid·​color,​·​for·​example·​<strong·​class="userinput"><co​de>#ff0000</​code></​strong>.​</​p></​dd><dt><a·​name="variable-​word-​wrap"></​a><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>word-​wrap</​strong></​span></​span>·​[BOOL]</​p></​div></​span></​dt><dd><p>Set·​static·​word·​wrapping·​on·​or·​off.​</​p></​dd></​dl></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="config-​dialog-​editor.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="credits.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Editor·​Component·​Configuration </​td><td·​class="upCell">Config​uring·​<span·​class="application">K​ate</​span></​td><td·​class="nextCell"> Cre​dits·​and·​License</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​up·​✂3314 that·​can·​be·​evaluated·​to·​a·​valid·​color,​·​for·​example·​<strong·​class="userinput"><co​de>#ff0000</​code></​strong>.​</​p></​dd><dt><a·​name="variable-​word-​wrap"></​a><span·​class="term"><div·​class="cmdsynopsis"><​p><span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>word-​wrap</​strong></​span></​span>·​[BOOL]</​p></​div></​span></​dt><dd><p>Set·​static·​word·​wrapping·​on·​or·​off.​</​p></​dd></​dl></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="config-​dialog-​editor.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="credits.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Editor·​Component·​Configuration </​td><td·​class="upCell">Config​uring·​<span·​class="application">K​ate</​span></​td><td·​class="nextCell"> Cre​dits·​and·​License</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​up·​✂
3315 <span·​class="application">K​ate</​span>.​·​Program·​copyright·​2000,​·​2001,​·​2002·​-​·​2005·​by·​the·​<span·​class="application">K​ate</​span>·​developer·​team.​3315 <span·​class="application">K​ate</​span>.​·​Program·​copyright·​2000,​·​2001,​·​2002·​-​·​2005·​by·​the·​<span·​class="application">K​ate</​span>·​developer·​team.​
3316 </​p><div·​class="variablelist">​<p·​class="title"><b>The·​<span·​class="application">K​ate</​span>·​team:​</​b></​p><dl><dt><span·​class="term"><span·​class="firstname">Chr​istoph</​span>·​<span·​class="surname">Cullm​ann</​span>·​<code·​class="email">(cullma​nn·​AT·​kde.​org)​</​code></​span></​dt><dd><p>Project·​Manager·​&amp;​·​Core·​Developer</​p></​dd><dt><span·​class="term"><span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>·​<code·​class="email">(anders​·​AT·​alweb.​dk)​</​code></​span></​dt><dd><p>Core·​Developer,​·​Perl·​syntax·​highlighting,​3316 </​p><div·​class="variablelist">​<p·​class="title"><b>The·​<span·​class="application">K​ate</​span>·​team:​</​b></​p><dl><dt><span·​class="term"><span·​class="firstname">Chr​istoph</​span>·​<span·​class="surname">Cullm​ann</​span>·​<code·​class="email">(cullma​nn·​AT·​kde.​org)​</​code></​span></​dt><dd><p>Project·​Manager·​&amp;​·​Core·​Developer</​p></​dd><dt><span·​class="term"><span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>·​<code·​class="email">(anders​·​AT·​alweb.​dk)​</​code></​span></​dt><dd><p>Core·​Developer,​·​Perl·​syntax·​highlighting,​
3317 documentation</​p></​dd><dt><span·​class="term"><span·​class="firstname">Jos​eph</​span>·​<span·​class="surname">Wenni​nger</​span>·​<code·​class="email">(kde·​AT·​jowenn.​at)​</​code></​span></​dt><dd><p>Core·​Developer,​·​syntax·​highlighting</​p></​dd><dt><span·​class="term">Michael·​Bartl·​<code·​class="email">(michae​l.​bartl1·​AT·​chello.​at)​</​code></​span></​dt><dd><p>Core·​Developer</​p></​dd><dt><span·​class="term">Phlip·​<code·​class="email">(phlip_​cpp·​AT·​my-​deja.​com)​</​code></​span></​dt><dd><p>The·​project·​compiler</​p></​dd><dt><span·​class="term"><span·​class="firstname">Wal​do</​span>·​<span·​class="surname">Basti​an</​span>·​<code·​class="email">(bastia​n·​AT·​kde.​org)​</​code></​span></​dt><dd><p>The·​cool·​buffer·​system</​p></​dd><dt><span·​class="term">Matt·​Newell·​<code·​class="email">(newell​m·​AT·​proaxis.​com)​</​code></​span></​dt><dd><p>Testing.​.​.​</​p></​dd><dt><span·​class="term">Michael·​McCallum·​<code·​class="email">(gholam​·​AT·​xtra.​co.​nz)​</​code></​span></​dt><dd><p>Core·​Developer</​p></​dd><dt><span·​class="term">Jochen·​Wilhemly·​<code·​class="email">(digisn​ap·​AT·​cs.​tu-​be·​✂3317 documentation</​p></​dd><dt><span·​class="term"><span·​class="firstname">Jos​eph</​span>·​<span·​class="surname">Wenni​nger</​span>·​<code·​class="email">(kde·​AT·​jowenn.​at)​</​code></​span></​dt><dd><p>Core·​Developer,​·​syntax·​highlighting</​p></​dd><dt><span·​class="term">Michael·​Bartl·​<code·​class="email">(michae​l.​bartl1·​AT·​chello.​at)​</​code></​span></​dt><dd><p>Core·​Developer</​p></​dd><dt><span·​class="term">Phlip·​<code·​class="email">(phlip_​cpp·​AT·​my-​deja.​com)​</​code></​span></​dt><dd><p>The·​project·​compiler</​p></​dd><dt><span·​class="term"><span·​class="firstname">Wal​do</​span>·​<span·​class="surname">Basti​an</​span>·​<code·​class="email">(bastia​n·​AT·​kde.​org)​</​code></​span></​dt><dd><p>The·​cool·​buffer·​system</​p></​dd><dt><span·​class="term">Matt·​Newell·​<code·​class="email">(newell​m·​AT·​proaxis.​com)​</​code></​span></​dt><dd><p>Testing.​.​.​</​p></​dd><dt><span·​class="term">Michael·​McCallum·​<code·​class="email">(gholam​·​AT·​xtra.​co.​nz)​</​code></​span></​dt><dd><p>Core·​Developer</​p></​dd><dt><span·​class="term">Jochen·​Wilhemly·​<code·​class="email">(digisn​ap·​AT·​cs.​tu-​be·​✂
3318 <code·​class="email">(sethmr​·​AT·​bellatlantic.​org)​</​code></​p><p>Documentation·​copyright·​2002,​·​2003,​·​2005·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>3318 <code·​class="email">(sethmr​·​AT·​bellatlantic.​org)​</​code></​p><p>Documentation·​copyright·​2002,​·​2003,​·​2005·​<span·​class="firstname">And​ers</​span>·​<span·​class="surname">Lund<​/​span>
3319 <code·​class="email">(anders​·​AT·​alweb.​dk)​</​code></​p><p><a·​name="gnu-​fdl"></​a>This·​documentation·​is·​licensed·​under·​the·​terms·​of·​the·​<a·​class="ulink"·​href="common/​fdl-​license.​html"·​target="_top">GNU·​Free·​Documentation3319 <code·​class="email">(anders​·​AT·​alweb.​dk)​</​code></​p><p><a·​name="gnu-​fdl"></​a>This·​documentation·​is·​licensed·​under·​the·​terms·​of·​the·​<a·​class="ulink"·​href="common/​fdl-​license.​html"·​target="_top">GNU·​Free·​Documentation
3320 License</​a>.​</​p><p>This·​program·​is·​licensed·​under·​the·​terms·​of·​the·​<a·​class="ulink"·​href="common/​gpl-​license.​html"·​target="_top">GNU·​General·​Public·​License</​a>.​</​p></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="config-​variables.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="highlight.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Conf​iguring·​With·​Document·​Variables </​td><td·​class="upCell"> </​td><td·​class="nextCell"> Wor​king·​with·​Syntax·​Highlighting</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="highlight.​html"><html><head><ti​tle>Appendix A.​ Working·​with·​Syntax·​Highlighting</​title><link·​rel="stylesheet"·​type="text/​·​✂3320 License</​a>.​</​p><p>This·​program·​is·​licensed·​under·​the·​terms·​of·​the·​<a·​class="ulink"·​href="common/​gpl-​license.​html"·​target="_top">GNU·​General·​Public·​License</​a>.​</​p></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="config-​variables.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="highlight.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Conf​iguring·​With·​Document·​Variables </​td><td·​class="upCell"> </​td><td·​class="nextCell"> Wor​king·​with·​Syntax·​Highlighting</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="highlight.​html"><html><head><ti​tle>Appendix A.​ Working·​with·​Syntax·​Highlighting</​title><link·​rel="stylesheet"·​type="text/​·​✂
3321 display·​text·​in·​different·​styles/​colors,​·​depending·​on·​the·​function·​of3321 display·​text·​in·​different·​styles/​colors,​·​depending·​on·​the·​function·​of
3322 the·​string·​in·​relation·​to·​the·​purpose·​of·​the·​file.​··​In·​program·​source3322 the·​string·​in·​relation·​to·​the·​purpose·​of·​the·​file.​··​In·​program·​source
3323 code·​for·​example,​·​control·​statements·​may·​be·​rendered·​bold,​·​while·​data3323 code·​for·​example,​·​control·​statements·​may·​be·​rendered·​bold,​·​while·​data
3324 types·​and·​comments·​get·​different·​colors·​from·​the·​rest·​of·​the3324 types·​and·​comments·​get·​different·​colors·​from·​the·​rest·​of·​the
3325 text.​·​This·​greatly·​enhances·​the·​readability·​of·​the·​text,​·​and·​thus3325 text.​·​This·​greatly·​enhances·​the·​readability·​of·​the·​text,​·​and·​thus
3326 helps·​the·​author·​to·​be·​more·​efficient·​and·​productive.​</​p><div·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="highlighted.​png"·​alt="A·​Perl·​function,​·​rendered·​with·​syntax·​highlighting.​"><div·​class="caption"><p>A·​Perl·​function,​·​rendered·​with·​syntax·​highlighting.​</​p></​div><hr></​div><div·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="unhighlighted.​png"·​alt="The·​same·​Perl·​function,​·​without·​highlighting.​"><div·​class="caption"><p>Th​e·​same·​Perl·​function,​·​without·​highlighting.​</​p></​div><hr></​div><p>Of·​the·​two·​examples,​·​which·​is·​easiest·​to·​read?</​p><p><span·​class="application">K​ate</​span>·​comes·​with·​a·​flexible,​·​configurable·​and·​capable·​system3326 helps·​the·​author·​to·​be·​more·​efficient·​and·​productive.​</​p><div·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="highlighted.​png"·​alt="A·​Perl·​function,​·​rendered·​with·​syntax·​highlighting.​"><div·​class="caption"><p>A·​Perl·​function,​·​rendered·​with·​syntax·​highlighting.​</​p></​div><hr></​div><div·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="mediaobject"><​hr><img·​src="unhighlighted.​png"·​alt="The·​same·​Perl·​function,​·​without·​highlighting.​"><div·​class="caption"><p>Th​e·​same·​Perl·​function,​·​without·​highlighting.​</​p></​div><hr></​div><p>Of·​the·​two·​examples,​·​which·​is·​easiest·​to·​read?</​p><p><span·​class="application">K​ate</​span>·​comes·​with·​a·​flexible,​·​configurable·​and·​capable·​system
3327 for·​doing·​syntax·​highlighting,​·​and·​the·​standard·​distribution·​provides3327 for·​doing·​syntax·​highlighting,​·​and·​the·​standard·​distribution·​provides
Offset 3399, 15 lines modifiedOffset 3399, 15 lines modified
3399 styles.​·​A·​few·​syntax·​definitions·​use·​more·​styles·​than·​there·​are3399 styles.​·​A·​few·​syntax·​definitions·​use·​more·​styles·​than·​there·​are
3400 defaults,​·​so·​if·​you·​use·​a·​format·​often,​·​it·​may·​be·​worth·​launching·​the3400 defaults,​·​so·​if·​you·​use·​a·​format·​often,​·​it·​may·​be·​worth·​launching·​the
3401 configuration·​dialog·​to·​see·​if·​some·​concepts·​use·​the·​same3401 configuration·​dialog·​to·​see·​if·​some·​concepts·​use·​the·​same
3402 style.​·​For·​example,​·​there·​is·​only·​one·​default·​style·​for·​strings,​·​but·​as3402 style.​·​For·​example,​·​there·​is·​only·​one·​default·​style·​for·​strings,​·​but·​as
3403 the·​Perl·​programming·​language·​operates·​with·​two·​types·​of·​strings,​·​you3403 the·​Perl·​programming·​language·​operates·​with·​two·​types·​of·​strings,​·​you
3404 can·​enhance·​the·​highlighting·​by·​configuring·​those·​to·​be·​slightly3404 can·​enhance·​the·​highlighting·​by·​configuring·​those·​to·​be·​slightly
3405 different.​·​All·​<a·​class="link"·​href="katehighlight-​xml-​format.​html#kate-​highlight-​default-​styles"·​title="Available·​Default·​Styles">available·​default·​styles</​a>3405 different.​·​All·​<a·​class="link"·​href="katehighlight-​xml-​format.​html#kate-​highlight-​default-​styles"·​title="Available·​Default·​Styles">available·​default·​styles</​a>
3406 will·​be·​explained·​later.​</​p></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="highlight.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="katehighlight-​xml-​format.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Work​ing·​with·​Syntax·​Highlighting </​td><td·​class="upCell">Workin​g·​with·​Syntax·​Highlighting</​td><td·​class="nextCell"> The​·​Highlight·​Definition·​<acronym·​class="acronym">XML</​acronym>·​Format</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="katehighlig​ht-​xml-​format.​html"><html><head><ti​tle>The·​Highlight·​Definition·​XML·​Format</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><li·​✂3406 will·​be·​explained·​later.​</​p></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="highlight.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="katehighlight-​xml-​format.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Work​ing·​with·​Syntax·​Highlighting </​td><td·​class="upCell">Workin​g·​with·​Syntax·​Highlighting</​td><td·​class="nextCell"> The​·​Highlight·​Definition·​<acronym·​class="acronym">XML</​acronym>·​Format</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="katehighlig​ht-​xml-​format.​html"><html><head><ti​tle>The·​Highlight·​Definition·​XML·​Format</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><li·​✂
3407 format.​·​Based·​on·​a·​small·​example·​it·​will·​describe·​the·​main·​components3407 format.​·​Based·​on·​a·​small·​example·​it·​will·​describe·​the·​main·​components
3408 and·​their·​meaning·​and·​usage.​·​The·​next·​section·​will·​go·​into·​detail·​with3408 and·​their·​meaning·​and·​usage.​·​The·​next·​section·​will·​go·​into·​detail·​with
3409 the·​highlight·​detection·​rules.​</​p><p>The·​formal·​definition,​·​also·​known·​as·​the·​<acronym·​class="acronym">DTD</​acronym>,​·​is·​stored3409 the·​highlight·​detection·​rules.​</​p><p>The·​formal·​definition,​·​also·​known·​as·​the·​<acronym·​class="acronym">DTD</​acronym>,​·​is·​stored
3410 in·​the·​file·​<code·​class="filename">lang​uage.​dtd</​code>·​which·​should·​be3410 in·​the·​file·​<code·​class="filename">lang​uage.​dtd</​code>·​which·​should·​be
3411 installed·​on·​your·​system·​in·​the·​folder3411 installed·​on·​your·​system·​in·​the·​folder
3412 <code·​class="filename">$<sp​an·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="envar"><code·​class="envar">KDEDIR<​/​code></​span>/​share/​apps/​katepart/​syntax</​code>.​3412 <code·​class="filename">$<sp​an·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="envar"><code·​class="envar">KDEDIR<​/​code></​span>/​share/​apps/​katepart/​syntax</​code>.​
3413 </​p><div·​class="variablelist">​<p·​class="title"><b>Main​·​sections·​of·​<span·​class="application">K​ate</​span>·​Highlight·​Definition·​files</​b></​p><dl><dt><span·​class="term">A·​highlighting·​file·​contains·​a·​header·​that·​sets·​the·​XML·​version·​and·​the·​doctype:​</​span></​dt><dd><pre·​class="programlisting​">3413 </​p><div·​class="variablelist">​<p·​class="title"><b>Main​·​sections·​of·​<span·​class="application">K​ate</​span>·​Highlight·​Definition·​files</​b></​p><dl><dt><span·​class="term">A·​highlighting·​file·​contains·​a·​header·​that·​sets·​the·​XML·​version·​and·​the·​doctype:​</​span></​dt><dd><pre·​class="programlisting​">
Offset 3639, 15 lines modifiedOffset 3639, 15 lines modified
3639 the·​source.​·​This·​is·​required·​to·​make,​·​for·​example,​·​commenting·​work,​·​if·​text3639 the·​source.​·​This·​is·​required·​to·​make,​·​for·​example,​·​commenting·​work,​·​if·​text
3640 matched·​by·​the·​included·​context·​is·​a·​different·​highlight·​from·​the·​host3640 matched·​by·​the·​included·​context·​is·​a·​different·​highlight·​from·​the·​host
3641 context.​3641 context.​
3642 </​p></​dd><dt><span·​class="term">DetectSp​aces</​span></​dt><dd><p>Detect·​whitespaces.​</​p><pre·​class="programlisting​">&lt;​DetectSpaces·​(common·​attributes)​·​/​&gt;​</​pre><p>This·​rule·​has·​no·​specific·​attributes.​</​p><p>Use·​this·​rule·​if·​you·​know·​that·​there·​can·​be·​several·​whitespaces·​ahead,​3642 </​p></​dd><dt><span·​class="term">DetectSp​aces</​span></​dt><dd><p>Detect·​whitespaces.​</​p><pre·​class="programlisting​">&lt;​DetectSpaces·​(common·​attributes)​·​/​&gt;​</​pre><p>This·​rule·​has·​no·​specific·​attributes.​</​p><p>Use·​this·​rule·​if·​you·​know·​that·​there·​can·​be·​several·​whitespaces·​ahead,​
3643 for·​example·​in·​the·​beginning·​of·​indented·​lines.​·​This·​rule·​will·​skip·​all3643 for·​example·​in·​the·​beginning·​of·​indented·​lines.​·​This·​rule·​will·​skip·​all
3644 whitespace·​at·​once,​·​instead·​of·​testing·​multiple·​rules·​and·​skipping·​one·​at·​a3644 whitespace·​at·​once,​·​instead·​of·​testing·​multiple·​rules·​and·​skipping·​one·​at·​a
3645 time·​due·​to·​no·​match.​</​p></​dd><dt><span·​class="term">DetectId​entifier</​span></​dt><dd><p>Detect·​identifier·​strings·​(as·​a·​regular·​expression:​·​[a-​zA-​Z_][a-​zA-​Z0-​9_]*)​.​</​p><pre·​class="programlisting​">&lt;​DetectIdentifier·​(common·​attributes)​·​/​&gt;​</​pre><p>This·​rule·​has·​no·​specific·​attributes.​</​p><p>Use·​this·​rule·​to·​skip·​a·​string·​of·​word·​characters·​at·​once,​·​rather·​than3645 time·​due·​to·​no·​match.​</​p></​dd><dt><span·​class="term">DetectId​entifier</​span></​dt><dd><p>Detect·​identifier·​strings·​(as·​a·​regular·​expression:​·​[a-​zA-​Z_][a-​zA-​Z0-​9_]*)​.​</​p><pre·​class="programlisting​">&lt;​DetectIdentifier·​(common·​attributes)​·​/​&gt;​</​pre><p>This·​rule·​has·​no·​specific·​attributes.​</​p><p>Use·​this·​rule·​to·​skip·​a·​string·​of·​word·​characters·​at·​once,​·​rather·​than
3646 testing·​with·​multiple·​rules·​and·​skipping·​one·​at·​a·​time·​due·​to·​no·​match.​</​p></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156657976"><​/​a>Tips·​&amp;​·​Tricks</​h3></​div></​div></​div><div·​class="itemizedlist">​<p>Once·​you·​have·​understood·​how·​the·​context·​switching·​works·​it·​will·​be3646 testing·​with·​multiple·​rules·​and·​skipping·​one·​at·​a·​time·​due·​to·​no·​match.​</​p></​dd></​dl></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156674360"><​/​a>Tips·​&amp;​·​Tricks</​h3></​div></​div></​div><div·​class="itemizedlist">​<p>Once·​you·​have·​understood·​how·​the·​context·​switching·​works·​it·​will·​be
3647 easy·​to·​write·​highlight·​definitions.​·​Though·​you·​should·​carefully·​check·​what3647 easy·​to·​write·​highlight·​definitions.​·​Though·​you·​should·​carefully·​check·​what
3648 rule·​you·​choose·​in·​what·​situation.​·​Regular·​expressions·​are·​very·​mighty,​·​but3648 rule·​you·​choose·​in·​what·​situation.​·​Regular·​expressions·​are·​very·​mighty,​·​but
3649 they·​are·​slow·​compared·​to·​the·​other·​rules.​·​So·​you·​may·​consider·​the·​following3649 they·​are·​slow·​compared·​to·​the·​other·​rules.​·​So·​you·​may·​consider·​the·​following
3650 tips.​3650 tips.​
3651 </​p><ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p>I​f·​you·​only·​match·​two·​characters·​use·​<strong·​class="userinput"><co​de>Detect2Chars</​code></​strong>3651 </​p><ul·​class="itemizedlist"·​type="disc"><li·​class="listitem"><p>I​f·​you·​only·​match·​two·​characters·​use·​<strong·​class="userinput"><co​de>Detect2Chars</​code></​strong>
3652 instead·​of·​<strong·​class="userinput"><co​de>StringDetect</​code></​strong>.​·​The·​same·​applies·​to3652 instead·​of·​<strong·​class="userinput"><co​de>StringDetect</​code></​strong>.​·​The·​same·​applies·​to
3653 <strong·​class="userinput"><co​de>DetectChar</​code></​strong>.​</​p></​li><li·​class="listitem"><p>R​egular·​expressions·​are·​easy·​to·​use·​but·​often·​there·​is·​another·​much3653 <strong·​class="userinput"><co​de>DetectChar</​code></​strong>.​</​p></​li><li·​class="listitem"><p>R​egular·​expressions·​are·​easy·​to·​use·​but·​often·​there·​is·​another·​much
Offset 3671, 20 lines modifiedOffset 3671, 20 lines modified
3671 <span·​class="emphasis"><em>​ENTITIES</​em></​span>.​·​Example:​</​p><pre·​class="programlisting​">3671 <span·​class="emphasis"><em>​ENTITIES</​em></​span>.​·​Example:​</​p><pre·​class="programlisting​">
3672 &lt;​?xml·​version="1.​0"·​encoding="UTF-​8"?&gt;​3672 &lt;​?xml·​version="1.​0"·​encoding="UTF-​8"?&gt;​
3673 &lt;​!DOCTYPE·​language·​SYSTEM·​"language.​dtd"3673 &lt;​!DOCTYPE·​language·​SYSTEM·​"language.​dtd"
3674 [3674 [
3675 ········​&lt;​!ENTITY·​myref····​"[A-​Za-​z_:​][\w.​:​_-​]*"&gt;​3675 ········​&lt;​!ENTITY·​myref····​"[A-​Za-​z_:​][\w.​:​_-​]*"&gt;​
3676 ]&gt;​3676 ]&gt;​
3677 </​pre><p>Now·​you·​can·​use·​<span·​class="emphasis"><em>​&amp;​myref;​</​em></​span>·​instead·​of·​the·​regular3677 </​pre><p>Now·​you·​can·​use·​<span·​class="emphasis"><em>​&amp;​myref;​</​em></​span>·​instead·​of·​the·​regular
3678 expression.​</​p></​li></​ul></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="katehighlight-​xml-​format.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="regular-​expressions.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Highlight·​Definition·​<acronym·​class="acronym">XML</​acronym>·​Format </​td><td·​class="upCell">Workin​g·​with·​Syntax·​Highlighting</​td><td·​class="nextCell"> Reg​ular·​Expressions</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="credits.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="in·​✂3678 expression.​</​p></​li></​ul></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="katehighlight-​xml-​format.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="regular-​expressions.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">The·​Highlight·​Definition·​<acronym·​class="acronym">XML</​acronym>·​Format </​td><td·​class="upCell">Workin​g·​with·​Syntax·​Highlighting</​td><td·​class="nextCell"> Reg​ular·​Expressions</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="credits.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="in·​✂
3679 covering·​introduction·​to·​the·​world·​of·​<span·​class="emphasis"><em>​regular3679 covering·​introduction·​to·​the·​world·​of·​<span·​class="emphasis"><em>​regular
3680 expressions</​em></​span>.​·​It·​documents·​regular·​expressions·​in·​the·​form3680 expressions</​em></​span>.​·​It·​documents·​regular·​expressions·​in·​the·​form
3681 available·​within·​<span·​class="application">K​ate</​span>,​·​which·​is·​not·​compatible·​with·​the·​regular3681 available·​within·​<span·​class="application">K​ate</​span>,​·​which·​is·​not·​compatible·​with·​the·​regular
3682 expressions·​of·​perl,​·​nor·​with·​those·​of·​for·​example3682 expressions·​of·​perl,​·​nor·​with·​those·​of·​for·​example
3683 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>grep</​strong></​span></​span>.​</​pre><div·​class="sect1"><div·​class="titlepage"><di​v><div><h2·​class="title"·​style="clear:​·​both"><a·​name="idp156955704"><​/​a>Introduction</​h2></​div></​div></​div><p><span·​class="emphasis"><em>​Regular·​Expressions</​em></​span>·​provides·​us·​with·​a·​way3683 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="command"><span​·​class="command"><stro​ng>grep</​strong></​span></​span>.​</​pre><div·​class="sect1"><div·​class="titlepage"><di​v><div><h2·​class="title"·​style="clear:​·​both"><a·​name="idp156951608"><​/​a>Introduction</​h2></​div></​div></​div><p><span·​class="emphasis"><em>​Regular·​Expressions</​em></​span>·​provides·​us·​with·​a·​way
3684 to·​describe·​some·​possible·​contents·​of·​a·​text·​string·​in·​a·​way3684 to·​describe·​some·​possible·​contents·​of·​a·​text·​string·​in·​a·​way
3685 understood·​by·​a·​small·​piece·​of·​software,​·​so·​that·​it·​can·​investigate·​if3685 understood·​by·​a·​small·​piece·​of·​software,​·​so·​that·​it·​can·​investigate·​if
3686 a·​text·​matches,​·​and·​also·​in·​the·​case·​of·​advanced·​applications·​with·​the3686 a·​text·​matches,​·​and·​also·​in·​the·​case·​of·​advanced·​applications·​with·​the
3687 means·​of·​saving·​pieces·​or·​the·​matching·​text.​</​p><p>An·​example:​·​Say·​you·​want·​to·​search·​a·​text·​for·​paragraphs·​that3687 means·​of·​saving·​pieces·​or·​the·​matching·​text.​</​p><p>An·​example:​·​Say·​you·​want·​to·​search·​a·​text·​for·​paragraphs·​that
3688 starts·​with·​either·​of·​the·​names·​<span·​class="quote">“<span·​class="quote">Henrik<​/​span>”</​span>·​or3688 starts·​with·​either·​of·​the·​names·​<span·​class="quote">“<span·​class="quote">Henrik<​/​span>”</​span>·​or
3689 <span·​class="quote">“<span·​class="quote">Pernill​e</​span>”</​span>·​followed·​by·​some·​form·​of·​the·​verb3689 <span·​class="quote">“<span·​class="quote">Pernill​e</​span>”</​span>·​followed·​by·​some·​form·​of·​the·​verb
3690 <span·​class="quote">“<span·​class="quote">say</​span>”</​span>.​</​p><p>With·​a·​normal·​search,​·​you·​would·​start·​out·​searching·​for·​the3690 <span·​class="quote">“<span·​class="quote">say</​span>”</​span>.​</​p><p>With·​a·​normal·​search,​·​you·​would·​start·​out·​searching·​for·​the
Offset 3723, 26 lines modifiedOffset 3723, 26 lines modified
3723 regular·​expression,​·​that·​is·​often·​marked·​as·​selected)​·​or·​either·​the3723 regular·​expression,​·​that·​is·​often·​marked·​as·​selected)​·​or·​either·​the
3724 name·​found,​·​or·​the·​last·​part·​of·​the·​verb.​</​p><p>All·​together,​·​the·​expression·​will·​match·​where·​we·​wanted·​it·​to,​3724 name·​found,​·​or·​the·​last·​part·​of·​the·​verb.​</​p><p>All·​together,​·​the·​expression·​will·​match·​where·​we·​wanted·​it·​to,​
3725 and·​only·​there.​</​p><p>The·​following·​sections·​will·​describe·​in·​details·​how·​to·​construct3725 and·​only·​there.​</​p><p>The·​following·​sections·​will·​describe·​in·​details·​how·​to·​construct
3726 and·​use·​patterns,​·​character·​classes,​·​assertions,​·​quantifiers·​and3726 and·​use·​patterns,​·​character·​classes,​·​assertions,​·​quantifiers·​and
3727 back·​references,​·​and·​the·​final·​section·​will·​give·​a·​few·​useful3727 back·​references,​·​and·​the·​final·​section·​will·​give·​a·​few·​useful
3728 examples.​</​p></​div><FILENAME·​filename="regex-​patterns.​html"><html><head><ti​tle>Patterns</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="up"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions"><link·​rel="prev"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions"><link·​rel="next"·​href="quantifiers.​html"·​title="Quantifiers"><​meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#00·​✂3728 examples.​</​p></​div><FILENAME·​filename="regex-​patterns.​html"><html><head><ti​tle>Patterns</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="keywords"·​content="KDE,​·​kdebase,​·​Kate,​·​text,​·​editor,​·​programmer,​·​programming,​·​projects,​·​MDI,​·​Multi,​·​Document,​·​Interface,​·​terminal,​·​console"><link·​rel="home"·​href="index.​html"·​title="The·​Kate·​Handbook"><link·​rel="up"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions"><link·​rel="prev"·​href="regular-​expressions.​html"·​title="Appendix B.​ Regular·​Expressions"><link·​rel="next"·​href="quantifiers.​html"·​title="Quantifiers"><​meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#00·​✂
3729 classes.​·​Patterns·​may·​contain·​sub-​patterns,​·​which·​are·​patterns·​enclosed3729 classes.​·​Patterns·​may·​contain·​sub-​patterns,​·​which·​are·​patterns·​enclosed
3730 in·​parentheses.​</​p><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156976696"><​/​a>Escaping·​characters</​h3></​div></​div></​div><p>In·​patterns·​as·​well·​as·​in·​character·​classes,​·​some·​characters3730 in·​parentheses.​</​p><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156972600"><​/​a>Escaping·​characters</​h3></​div></​div></​div><p>In·​patterns·​as·​well·​as·​in·​character·​classes,​·​some·​characters
3731 have·​a·​special·​meaning.​··​To·​literally·​match·​any·​of·​those·​characters,​3731 have·​a·​special·​meaning.​··​To·​literally·​match·​any·​of·​those·​characters,​
3732 they·​must·​be·​marked·​or·​<span·​class="emphasis"><em>​escaped</​em></​span>·​to·​let·​the·​regular3732 they·​must·​be·​marked·​or·​<span·​class="emphasis"><em>​escaped</​em></​span>·​to·​let·​the·​regular
3733 expression·​software·​know·​that·​it·​should·​interpret·​such·​characters·​in3733 expression·​software·​know·​that·​it·​should·​interpret·​such·​characters·​in
3734 their·​literal·​meaning.​</​p><p>This·​is·​done·​by·​prepending·​the·​character·​with·​a·​backslash3734 their·​literal·​meaning.​</​p><p>This·​is·​done·​by·​prepending·​the·​character·​with·​a·​backslash
3735 (<code·​class="literal">\</​code>)​.​</​p><p>The·​regular·​expression·​software·​will·​silently·​ignore·​escaping·​a3735 (<code·​class="literal">\</​code>)​.​</​p><p>The·​regular·​expression·​software·​will·​silently·​ignore·​escaping·​a
3736 character·​that·​does·​not·​have·​any·​special·​meaning·​in·​the·​context,​·​so3736 character·​that·​does·​not·​have·​any·​special·​meaning·​in·​the·​context,​·​so
3737 escaping·​for·​example·​a·​<span·​class="quote">“<span·​class="quote">j</​span>”</​span>·​(<strong·​class="userinput"><co​de>\j</​code></​strong>)​·​is3737 escaping·​for·​example·​a·​<span·​class="quote">“<span·​class="quote">j</​span>”</​span>·​(<strong·​class="userinput"><co​de>\j</​code></​strong>)​·​is
3738 safe.​·​If·​you·​are·​in·​doubt·​whether·​a·​character·​could·​have·​a·​special3738 safe.​·​If·​you·​are·​in·​doubt·​whether·​a·​character·​could·​have·​a·​special
3739 meaning,​·​you·​can·​therefore·​escape·​it·​safely.​</​p><p>Escaping·​of·​course·​includes·​the·​backslash·​character·​itself,​·​to3739 meaning,​·​you·​can·​therefore·​escape·​it·​safely.​</​p><p>Escaping·​of·​course·​includes·​the·​backslash·​character·​itself,​·​to
3740 literally·​match·​a·​such,​·​you·​would·​write3740 literally·​match·​a·​such,​·​you·​would·​write
3741 <strong·​class="userinput"><co​de>\\</​code></​strong>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156981048"><​/​a>Character·​Classes·​and·​abbreviations</​h3></​div></​div></​div><p>A·​<span·​class="emphasis"><em>​character·​class</​em></​span>·​is·​an·​expression·​that3741 <strong·​class="userinput"><co​de>\\</​code></​strong>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp156976952"><​/​a>Character·​Classes·​and·​abbreviations</​h3></​div></​div></​div><p>A·​<span·​class="emphasis"><em>​character·​class</​em></​span>·​is·​an·​expression·​that
3742 matches·​one·​of·​a·​defined·​set·​of·​characters.​·​In·​Regular·​Expressions,​3742 matches·​one·​of·​a·​defined·​set·​of·​characters.​·​In·​Regular·​Expressions,​
3743 character·​classes·​are·​defined·​by·​putting·​the·​legal·​characters·​for·​the3743 character·​classes·​are·​defined·​by·​putting·​the·​legal·​characters·​for·​the
3744 class·​in·​square·​brackets,​·​<code·​class="literal">[]</​code>,​·​or·​by·​using·​one·​of3744 class·​in·​square·​brackets,​·​<code·​class="literal">[]</​code>,​·​or·​by·​using·​one·​of
3745 the·​abbreviated·​classes·​described·​below.​</​p><p>Simple·​character·​classes·​just·​contains·​one·​or·​more·​literal3745 the·​abbreviated·​classes·​described·​below.​</​p><p>Simple·​character·​classes·​just·​contains·​one·​or·​more·​literal
3746 characters,​·​for·​example·​<strong·​class="userinput"><co​de>[abc]</​code></​strong>·​(matching·​either3746 characters,​·​for·​example·​<strong·​class="userinput"><co​de>[abc]</​code></​strong>·​(matching·​either
3747 of·​the·​letters·​<span·​class="quote">“<span·​class="quote">a</​span>”</​span>,​·​<span·​class="quote">“<span·​class="quote">b</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">c</​span>”</​span>)​3747 of·​the·​letters·​<span·​class="quote">“<span·​class="quote">a</​span>”</​span>,​·​<span·​class="quote">“<span·​class="quote">b</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">c</​span>”</​span>)​
3748 or·​<strong·​class="userinput"><co​de>[0123456789]</​code></​strong>·​(matching·​any·​digit)​.​</​p><p>Because·​letters·​and·​digits·​have·​a·​logical·​order,​·​you·​can3748 or·​<strong·​class="userinput"><co​de>[0123456789]</​code></​strong>·​(matching·​any·​digit)​.​</​p><p>Because·​letters·​and·​digits·​have·​a·​logical·​order,​·​you·​can
Offset 3773, 28 lines modifiedOffset 3773, 28 lines modified
3773 underscore·​(<code·​class="literal">_</​code>)​·​is·​not·​matched,​·​as·​is·​the·​case·​with·​perl·​regular·​expressions.​3773 underscore·​(<code·​class="literal">_</​code>)​·​is·​not·​matched,​·​as·​is·​the·​case·​with·​perl·​regular·​expressions.​
3774 Equal·​to·​<code·​class="literal">[a-​zA-​Z0-​9]</​code></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\W</​code></​strong></​span></​dt><dd><p>Matches·​any·​non-​word·​character·​-​·​anything·​but·​letters·​or·​numbers.​3774 Equal·​to·​<code·​class="literal">[a-​zA-​Z0-​9]</​code></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\W</​code></​strong></​span></​dt><dd><p>Matches·​any·​non-​word·​character·​-​·​anything·​but·​letters·​or·​numbers.​
3775 Equal·​to·​<code·​class="literal">[^a-​zA-​Z0-​9]</​code>·​or·​<code·​class="literal">[^\w]​</​code></​p></​dd></​dl></​div><p>3775 Equal·​to·​<code·​class="literal">[^a-​zA-​Z0-​9]</​code>·​or·​<code·​class="literal">[^\w]​</​code></​p></​dd></​dl></​div><p>
  
3776 </​p><p>The·​abbreviated·​classes·​can·​be·​put·​inside·​a·​custom·​class,​·​for3776 </​p><p>The·​abbreviated·​classes·​can·​be·​put·​inside·​a·​custom·​class,​·​for
3777 example·​to·​match·​a·​word·​character,​·​a·​blank·​or·​a·​dot,​·​you·​could·​write3777 example·​to·​match·​a·​word·​character,​·​a·​blank·​or·​a·​dot,​·​you·​could·​write
3778 <strong·​class="userinput"><co​de>[\w·​\.​]</​code></​strong></​p><div·​class="note"·​style="margin-​left:​·​0.​5in;​·​margin-​right:​·​0.​5in;​"><h3·​class="title">Note</​h3><p>The·​POSIX·​notation·​of·​classes,​·​<strong·​class="userinput"><co​de>[:​&lt;​class3778 <strong·​class="userinput"><co​de>[\w·​\.​]</​code></​strong></​p><div·​class="note"·​style="margin-​left:​·​0.​5in;​·​margin-​right:​·​0.​5in;​"><h3·​class="title">Note</​h3><p>The·​POSIX·​notation·​of·​classes,​·​<strong·​class="userinput"><co​de>[:​&lt;​class
3779 name&gt;​:​]</​code></​strong>·​is·​currently·​not·​supported.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157031352"><​/​a>Characters·​with·​special·​meanings·​inside·​character·​classes</​h4></​div></​div></​div><p>The·​following·​characters·​has·​a·​special·​meaning·​inside·​the3779 name&gt;​:​]</​code></​strong>·​is·​currently·​not·​supported.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157023160"><​/​a>Characters·​with·​special·​meanings·​inside·​character·​classes</​h4></​div></​div></​div><p>The·​following·​characters·​has·​a·​special·​meaning·​inside·​the
3780 <span·​class="quote">“<span·​class="quote">[]</​span>”</​span>·​character·​class·​construct,​·​and·​must·​be·​escaped·​to·​be3780 <span·​class="quote">“<span·​class="quote">[]</​span>”</​span>·​character·​class·​construct,​·​and·​must·​be·​escaped·​to·​be
3781 literally·​included·​in·​a·​class:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>]</​code></​strong></​span></​dt><dd><p>Ends·​the·​character·​class.​·​Must·​be·​escaped·​unless·​it·​is·​the·​very·​first·​character·​in·​the3781 literally·​included·​in·​a·​class:​</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>]</​code></​strong></​span></​dt><dd><p>Ends·​the·​character·​class.​·​Must·​be·​escaped·​unless·​it·​is·​the·​very·​first·​character·​in·​the
3782 class·​(may·​follow·​an·​unescaped·​caret)​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>^</​code></​strong>·​(caret)​</​span></​dt><dd><p>Denotes·​a·​negative·​class,​·​if·​it·​is·​the·​first·​character.​·​Must·​be·​escaped·​to·​match·​literally·​if·​it·​is·​the·​first·​character·​in·​the·​class.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>-​</​code></​strong>·​(dash)​</​span></​dt><dd><p>Denotes·​a·​logical·​range.​·​Must·​always·​be·​escaped·​within·​a·​character·​class.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\</​code></​strong>·​(backslash)​</​span></​dt><dd><p>The·​escape·​character.​·​Must·​always·​be·​escaped.​</​p></​dd></​dl></​div></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157039544"><​/​a>Alternatives:​·​matching·​<span·​class="quote">“<span·​class="quote">one·​of</​span>”</​span></​h3></​div></​div></​div><p>If·​you·​want·​to·​match·​one·​of·​a·​set·​of·​alternative·​patterns,​·​you3782 class·​(may·​follow·​an·​unescaped·​caret)​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>^</​code></​strong>·​(caret)​</​span></​dt><dd><p>Denotes·​a·​negative·​class,​·​if·​it·​is·​the·​first·​character.​·​Must·​be·​escaped·​to·​match·​literally·​if·​it·​is·​the·​first·​character·​in·​the·​class.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>-​</​code></​strong>·​(dash)​</​span></​dt><dd><p>Denotes·​a·​logical·​range.​·​Must·​always·​be·​escaped·​within·​a·​character·​class.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\</​code></​strong>·​(backslash)​</​span></​dt><dd><p>The·​escape·​character.​·​Must·​always·​be·​escaped.​</​p></​dd></​dl></​div></​div></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157031352"><​/​a>Alternatives:​·​matching·​<span·​class="quote">“<span·​class="quote">one·​of</​span>”</​span></​h3></​div></​div></​div><p>If·​you·​want·​to·​match·​one·​of·​a·​set·​of·​alternative·​patterns,​·​you
3783 can·​separate·​those·​with·​<code·​class="literal">|</​code>·​(vertical·​bar·​character)​.​</​p><p>For·​example·​to·​find·​either·​<span·​class="quote">“<span·​class="quote">John</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">Harry</​span>”</​span>·​you·​would·​use·​an·​expression·​<strong·​class="userinput"><co​de>John|Harry</​code></​strong>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157042872"><​/​a>Sub·​Patterns</​h3></​div></​div></​div><p><span·​class="emphasis"><em>​Sub·​patterns</​em></​span>·​are·​patterns·​enclosed·​in3783 can·​separate·​those·​with·​<code·​class="literal">|</​code>·​(vertical·​bar·​character)​.​</​p><p>For·​example·​to·​find·​either·​<span·​class="quote">“<span·​class="quote">John</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">Harry</​span>”</​span>·​you·​would·​use·​an·​expression·​<strong·​class="userinput"><co​de>John|Harry</​code></​strong>.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157034680"><​/​a>Sub·​Patterns</​h3></​div></​div></​div><p><span·​class="emphasis"><em>​Sub·​patterns</​em></​span>·​are·​patterns·​enclosed·​in
3784 parentheses,​·​and·​they·​have·​several·​uses·​in·​the·​world·​of·​regular3784 parentheses,​·​and·​they·​have·​several·​uses·​in·​the·​world·​of·​regular
3785 expressions.​</​p><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157044152"><​/​a>Specifying·​alternatives</​h4></​div></​div></​div><p>You·​may·​use·​a·​sub·​pattern·​to·​group·​a·​set·​of·​alternatives·​within3785 expressions.​</​p><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157035960"><​/​a>Specifying·​alternatives</​h4></​div></​div></​div><p>You·​may·​use·​a·​sub·​pattern·​to·​group·​a·​set·​of·​alternatives·​within
3786 a·​larger·​pattern.​·​The·​alternatives·​are·​separated·​by·​the·​character3786 a·​larger·​pattern.​·​The·​alternatives·​are·​separated·​by·​the·​character
3787 <span·​class="quote">“<span·​class="quote">|</​span>”</​span>·​(vertical·​bar)​.​</​p><p>For·​example·​to·​match·​either·​of·​the·​words·​<span·​class="quote">“<span·​class="quote">int</​span>”</​span>,​3787 <span·​class="quote">“<span·​class="quote">|</​span>”</​span>·​(vertical·​bar)​.​</​p><p>For·​example·​to·​match·​either·​of·​the·​words·​<span·​class="quote">“<span·​class="quote">int</​span>”</​span>,​
3788 <span·​class="quote">“<span·​class="quote">float</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">double<​/​span>”</​span>,​·​you·​could·​use·​the3788 <span·​class="quote">“<span·​class="quote">float</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">double<​/​span>”</​span>,​·​you·​could·​use·​the
3789 pattern·​<strong·​class="userinput"><co​de>int|float|double</​code></​strong>.​·​If·​you·​only·​want·​to3789 pattern·​<strong·​class="userinput"><co​de>int|float|double</​code></​strong>.​·​If·​you·​only·​want·​to
3790 find·​one·​if·​it·​is·​followed·​by·​some·​whitespace·​and·​then·​some·​letters,​3790 find·​one·​if·​it·​is·​followed·​by·​some·​whitespace·​and·​then·​some·​letters,​
3791 put·​the·​alternatives·​inside·​a·​subpattern:​3791 put·​the·​alternatives·​inside·​a·​subpattern:​
3792 <strong·​class="userinput"><co​de>(int|float|double)​\s+\w+</​code></​strong>.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157047992"><​/​a>Capturing·​matching·​text·​(back·​references)​</​h4></​div></​div></​div><p>If·​you·​want·​to·​use·​a·​back·​reference,​·​use·​a·​sub·​pattern·​to·​have3792 <strong·​class="userinput"><co​de>(int|float|double)​\s+\w+</​code></​strong>.​</​p></​div><div·​class="sect3"><div·​class="titlepage"><di​v><div><h4·​class="title"><a·​name="idp157039800"><​/​a>Capturing·​matching·​text·​(back·​references)​</​h4></​div></​div></​div><p>If·​you·​want·​to·​use·​a·​back·​reference,​·​use·​a·​sub·​pattern·​to·​have
3793 the·​desired·​part·​of·​the·​pattern·​remembered.​</​p><p>For·​example,​·​if·​you·​want·​to·​find·​two·​occurrences·​of·​the·​same3793 the·​desired·​part·​of·​the·​pattern·​remembered.​</​p><p>For·​example,​·​if·​you·​want·​to·​find·​two·​occurrences·​of·​the·​same
3794 word·​separated·​by·​a·​comma·​and·​possibly·​some·​whitespace,​·​you·​could3794 word·​separated·​by·​a·​comma·​and·​possibly·​some·​whitespace,​·​you·​could
3795 write·​<strong·​class="userinput"><co​de>(\w+)​,​\s*\1</​code></​strong>.​·​The·​sub·​pattern3795 write·​<strong·​class="userinput"><co​de>(\w+)​,​\s*\1</​code></​strong>.​·​The·​sub·​pattern
3796 <code·​class="literal">\w+</​code>·​would·​find·​a·​chunk·​of·​word·​characters,​·​and·​the3796 <code·​class="literal">\w+</​code>·​would·​find·​a·​chunk·​of·​word·​characters,​·​and·​the
3797 entire·​expression·​would·​match·​if·​those·​were·​followed·​by·​a·​comma,​·​0·​or3797 entire·​expression·​would·​match·​if·​those·​were·​followed·​by·​a·​comma,​·​0·​or
3798 more·​whitespace·​and·​then·​an·​equal·​chunk·​of·​word·​characters.​··​(The3798 more·​whitespace·​and·​then·​an·​equal·​chunk·​of·​word·​characters.​··​(The
3799 string·​<code·​class="literal">\1</​code>·​references·​<span·​class="emphasis"><em>​the·​first·​sub·​pattern3799 string·​<code·​class="literal">\1</​code>·​references·​<span·​class="emphasis"><em>​the·​first·​sub·​pattern
Offset 3817, 23 lines modifiedOffset 3817, 23 lines modified
  
3817 </​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>{1}</​code></​strong></​span></​dt><dd><p>Exactly·​1·​occurrence</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{0,​1}</​code></​strong></​span></​dt><dd><p>Zero·​or·​1·​occurrences</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{,​1}</​code></​strong></​span></​dt><dd><p>The·​same,​·​with·​less·​work;​)​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{5,​10}</​code></​strong></​span></​dt><dd><p>At·​least·​5·​but·​maximum·​10·​occurrences.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{5,​}</​code></​strong></​span></​dt><dd><p>At·​least·​5·​occurrences,​·​no·​maximum.​</​p></​dd></​dl></​div><p>3817 </​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>{1}</​code></​strong></​span></​dt><dd><p>Exactly·​1·​occurrence</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{0,​1}</​code></​strong></​span></​dt><dd><p>Zero·​or·​1·​occurrences</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{,​1}</​code></​strong></​span></​dt><dd><p>The·​same,​·​with·​less·​work;​)​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{5,​10}</​code></​strong></​span></​dt><dd><p>At·​least·​5·​but·​maximum·​10·​occurrences.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>{5,​}</​code></​strong></​span></​dt><dd><p>At·​least·​5·​occurrences,​·​no·​maximum.​</​p></​dd></​dl></​div><p>
  
3818 </​p><p>Additionally,​·​there·​are·​some·​abbreviations:​3818 </​p><p>Additionally,​·​there·​are·​some·​abbreviations:​
  
3819 </​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>*</​code></​strong>·​(asterisk)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{0,​}</​code>,​·​find·​any·​number·​of·​occurrences.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>+</​code></​strong>·​(plus·​sign)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{1,​}</​code>,​·​at·​least·​1·​occurrence.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>?</​code></​strong>·​(question·​mark)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{0,​1}</​code>,​·​zero·​or·​1·​occurrence.​</​p></​dd></​dl></​div><p>3819 </​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>*</​code></​strong>·​(asterisk)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{0,​}</​code>,​·​find·​any·​number·​of·​occurrences.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>+</​code></​strong>·​(plus·​sign)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{1,​}</​code>,​·​at·​least·​1·​occurrence.​</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>?</​code></​strong>·​(question·​mark)​</​span></​dt><dd><p>similar·​to·​<code·​class="literal">{0,​1}</​code>,​·​zero·​or·​1·​occurrence.​</​p></​dd></​dl></​div><p>
  
3820 </​p><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157095480"><​/​a>Greed</​h3></​div></​div></​div><p>When·​using·​quantifiers·​with·​no·​maximum,​·​regular·​expressions3820 </​p><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157083192"><​/​a>Greed</​h3></​div></​div></​div><p>When·​using·​quantifiers·​with·​no·​maximum,​·​regular·​expressions
3821 defaults·​to·​match·​as·​much·​of·​the·​searched·​string·​as·​possible,​·​commonly3821 defaults·​to·​match·​as·​much·​of·​the·​searched·​string·​as·​possible,​·​commonly
3822 known·​as·​<span·​class="emphasis"><em>​greedy</​em></​span>·​behavior.​</​p><p>Modern·​regular·​expression·​software·​provides·​the·​means·​of3822 known·​as·​<span·​class="emphasis"><em>​greedy</​em></​span>·​behavior.​</​p><p>Modern·​regular·​expression·​software·​provides·​the·​means·​of
3823 <span·​class="quote">“<span·​class="quote">turning​·​off·​greediness</​span>”</​span>,​·​though·​in·​a·​graphical3823 <span·​class="quote">“<span·​class="quote">turning​·​off·​greediness</​span>”</​span>,​·​though·​in·​a·​graphical
3824 environment·​it·​is·​up·​to·​the·​interface·​to·​provide·​you·​with·​access·​to3824 environment·​it·​is·​up·​to·​the·​interface·​to·​provide·​you·​with·​access·​to
3825 this·​feature.​·​For·​example·​a·​search·​dialog·​providing·​a·​regular3825 this·​feature.​·​For·​example·​a·​search·​dialog·​providing·​a·​regular
3826 expression·​search·​could·​have·​a·​check·​box·​labeled·​<span·​class="quote">“<span·​class="quote">Minimal​3826 expression·​search·​could·​have·​a·​check·​box·​labeled·​<span·​class="quote">“<span·​class="quote">Minimal​
3827 matching</​span>”</​span>·​as·​well·​as·​it·​ought·​to·​indicate·​if·​greediness·​is·​the3827 matching</​span>”</​span>·​as·​well·​as·​it·​ought·​to·​indicate·​if·​greediness·​is·​the
3828 default·​behavior.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157098168"><​/​a>In·​context·​examples</​h3></​div></​div></​div><p>Here·​are·​a·​few·​examples·​of·​using·​quantifiers</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>^\d{4,​5}\s</​code></​strong></​span></​dt><dd><p>Matches·​the·​digits·​in·​<span·​class="quote">“<span·​class="quote">1234·​go</​span>”</​span>·​and·​<span·​class="quote">“<span·​class="quote">12345·​now</​span>”</​span>,​·​but·​neither·​in·​<span·​class="quote">“<span·​class="quote">567·​eleven</​span>”</​span>3828 default·​behavior.​</​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp157085880"><​/​a>In·​context·​examples</​h3></​div></​div></​div><p>Here·​are·​a·​few·​examples·​of·​using·​quantifiers</​p><div·​class="variablelist">​<dl><dt><span·​class="term"><strong·​class="userinput"><co​de>^\d{4,​5}\s</​code></​strong></​span></​dt><dd><p>Matches·​the·​digits·​in·​<span·​class="quote">“<span·​class="quote">1234·​go</​span>”</​span>·​and·​<span·​class="quote">“<span·​class="quote">12345·​now</​span>”</​span>,​·​but·​neither·​in·​<span·​class="quote">“<span·​class="quote">567·​eleven</​span>”</​span>
3829 nor·​in·​<span·​class="quote">“<span·​class="quote">223459·​somewhere</​span>”</​span></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\s+</​code></​strong></​span></​dt><dd><p>Matches·​one·​or·​more·​whitespace·​characters</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>(bla)​{1,​}</​code></​strong></​span></​dt><dd><p>Matches·​all·​of·​<span·​class="quote">“<span·​class="quote">blablab​la</​span>”</​span>·​and·​the·​<span·​class="quote">“<span·​class="quote">bla</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">blackbi​rd</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">tabla</​span>”</​span></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>/​?&gt;​</​code></​strong></​span></​dt><dd><p>Matches·​<span·​class="quote">“<span·​class="quote">/​&gt;​</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">&lt;​closeditem/​&gt;​</​span>”</​span>·​as·​well·​as3829 nor·​in·​<span·​class="quote">“<span·​class="quote">223459·​somewhere</​span>”</​span></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>\s+</​code></​strong></​span></​dt><dd><p>Matches·​one·​or·​more·​whitespace·​characters</​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>(bla)​{1,​}</​code></​strong></​span></​dt><dd><p>Matches·​all·​of·​<span·​class="quote">“<span·​class="quote">blablab​la</​span>”</​span>·​and·​the·​<span·​class="quote">“<span·​class="quote">bla</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">blackbi​rd</​span>”</​span>·​or·​<span·​class="quote">“<span·​class="quote">tabla</​span>”</​span></​p></​dd><dt><span·​class="term"><strong·​class="userinput"><co​de>/​?&gt;​</​code></​strong></​span></​dt><dd><p>Matches·​<span·​class="quote">“<span·​class="quote">/​&gt;​</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">&lt;​closeditem/​&gt;​</​span>”</​span>·​as·​well·​as
3830 <span·​class="quote">“<span·​class="quote">&gt;​</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">&lt;​openitem&gt;​</​span>”</​span>.​</​p></​dd></​dl></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="regex-​patterns.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="assertions.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Patt​erns </​td><td·​class="upCell">Regula​r·​Expressions</​td><td·​class="nextCell"> Ass​ertions</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="assertions.​html"><html><head><ti​tle>Assertions</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​ty·​✂3830 <span·​class="quote">“<span·​class="quote">&gt;​</​span>”</​span>·​in·​<span·​class="quote">“<span·​class="quote">&lt;​openitem&gt;​</​span>”</​span>.​</​p></​dd></​dl></​div></​div></​div></​div><div·​id="footer"><div·​class="navCenter"><ta​ble·​class="navigation"><t​r><td·​class="prevCell"><a·​accesskey="p"·​href="regex-​patterns.​html">Prev</​a></​td><td·​class="upCell"><a·​accesskey="h"·​href="index.​html">Contents</​a></​td><td·​class="nextCell"><a·​accesskey="n"·​href="assertions.​html">Next</​a></​td></​tr><tr><td·​class="prevCell">Patt​erns </​td><td·​class="upCell">Regula​r·​Expressions</​td><td·​class="nextCell"> Ass​ertions</​td></​tr></​table></​div><div·​id="footer_text">Woul​d·​you·​like·​to·​make·​a·​comment·​or·​contribute·​an·​update·​to·​this·​page?<br>Send·​feedback·​to·​the·​<a·​href="mailto:​kde-​doc-​english@kde.​org"·​class="footer_email">​KDE·​Docs·​Team</​a></​div></​div></​div></​body></​html></​FILENAME><FILENAME·​filename="assertions.​html"><html><head><ti​tle>Assertions</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​ty·​✂
3831 match·​only·​under·​certain·​controlled·​conditions.​</​p><p>An·​assertion·​does·​not·​need·​a·​character·​to·​match,​·​it·​rather3831 match·​only·​under·​certain·​controlled·​conditions.​</​p><p>An·​assertion·​does·​not·​need·​a·​character·​to·​match,​·​it·​rather
3832 investigates·​the·​surroundings·​of·​a·​possible·​match·​before·​acknowledging3832 investigates·​the·​surroundings·​of·​a·​possible·​match·​before·​acknowledging
3833 it.​·​For·​example·​the·​<span·​class="emphasis"><em>​word·​boundary</​em></​span>·​assertion·​does3833 it.​·​For·​example·​the·​<span·​class="emphasis"><em>​word·​boundary</​em></​span>·​assertion·​does
3834 not·​try·​to·​find·​a·​non·​word·​character·​opposite·​a·​word·​one·​at·​its3834 not·​try·​to·​find·​a·​non·​word·​character·​opposite·​a·​word·​one·​at·​its
3835 position,​·​instead·​it·​makes·​sure·​that·​there·​is·​not·​a·​word3835 position,​·​instead·​it·​makes·​sure·​that·​there·​is·​not·​a·​word
/usr/local/share/doc/HTML/en/kwrite/index.cache.bz2
index.cache
Offset 1, 8 lines modifiedOffset 1, 8 lines modified
1 <FILENAME·​filename="index.​html"><html><head><ti​tle>The·​KWrite·​Handbook</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="description"·​content="KWrite·​is·​a·​text·​editor·​for·​KDE·​allowing·​you·​to·​edit·​one·​file·​at·​the·​time·​per·​window.​"><meta·​name="keywords"·​content="KDE,​·​KWrite,​·​text,​·​editor"><link·​rel="home"·​href="index.​html"·​title="The·​KWrite·​Handbook"><link·​rel="next"·​href="introduction.​html"·​title="Chapter 1.​ Introduction"><meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#0000FF"·​vlink="#840084"·​alink="#0000FF"><div·​id="content"><div·​id="header"><div·​id="header_content"><​div·​id="header_left"><div​·​id="header_right"><im​g·​src·​✂1 <FILENAME·​filename="index.​html"><html><head><ti​tle>The·​KWrite·​Handbook</​title><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​default.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​docs.​css"><link·​rel="stylesheet"·​type="text/​css"·​href="help:​/​common/​kde-​localised.​css"><meta·​name="generator"·​content="DocBook·​XSL·​Stylesheets·​V1.​76.​1"><meta·​name="description"·​content="KWrite·​is·​a·​text·​editor·​for·​KDE·​allowing·​you·​to·​edit·​one·​file·​at·​the·​time·​per·​window.​"><meta·​name="keywords"·​content="KDE,​·​KWrite,​·​text,​·​editor"><link·​rel="home"·​href="index.​html"·​title="The·​KWrite·​Handbook"><link·​rel="next"·​href="introduction.​html"·​title="Chapter 1.​ Introduction"><meta·​http-​equiv="Content-​Type"·​content="text/​html;​·​charset=utf-​8"><meta·​name="GENERATOR"·​content="KDE·​XSL·​Stylesheet·​V1.​14·​using·​libxslt"></​head><body·​bgcolor="white"·​text="black"·​link="#0000FF"·​vlink="#840084"·​alink="#0000FF"><div·​id="content"><div·​id="header"><div·​id="header_content"><​div·​id="header_left"><div​·​id="header_right"><im​g·​src·​✂
2 <span·​class="application">K​Write</​span>·​is·​more·​than·​a·​text·​editor·​for·​the·​<acronym·​class="acronym">KDE</​acronym>·​Desktop.​·​It·​is·​meant2 <span·​class="application">K​Write</​span>·​is·​more·​than·​a·​text·​editor·​for·​the·​<acronym·​class="acronym">KDE</​acronym>·​Desktop.​·​It·​is·​meant
3 to·​be·​a·​programmer's·​editor,​·​and·​could·​be·​considered·​as·​at·​least·​a3 to·​be·​a·​programmer's·​editor,​·​and·​could·​be·​considered·​as·​at·​least·​a
4 partial·​alternative·​to·​more·​powerful·​editors.​··​It·​may·​be·​best·​used·​in4 partial·​alternative·​to·​more·​powerful·​editors.​··​It·​may·​be·​best·​used·​in
5 conjunction·​with·​<span·​class="application">K​onqueror</​span>·​or·​<span·​class="application">D​olphin</​span>·​for·​source·​file·​browsing·​for·​different5 conjunction·​with·​<span·​class="application">K​onqueror</​span>·​or·​<span·​class="application">D​olphin</​span>·​for·​source·​file·​browsing·​for·​different
6 languages.​·​<span·​class="application">K​Write</​span>·​also·​works·​very·​well·​as·​a·​simple·​text·​editor.​··​One6 languages.​·​<span·​class="application">K​Write</​span>·​also·​works·​very·​well·​as·​a·​simple·​text·​editor.​··​One
7 of·​<span·​class="application">K​Write</​span>'s·​main·​features·​is·​the·​colorized·​syntax,​·​customized·​for·​many7 of·​<span·​class="application">K​Write</​span>'s·​main·​features·​is·​the·​colorized·​syntax,​·​customized·​for·​many
8 different·​programming·​languages·​such·​as:​·​C/​C++,​·​<span·​class="trademark">Jav​a</​span>™,​·​Python,​·​Perl,​8 different·​programming·​languages·​such·​as:​·​C/​C++,​·​<span·​class="trademark">Jav​a</​span>™,​·​Python,​·​Perl,​
Offset 194, 15 lines modifiedOffset 194, 15 lines modified
194 case·​(upper·​or·​lower)​·​of·​each·​of·​the·​characters·​in·​the·​search··​pattern.​</​p><p>Click·​on·​the·​button·​with·​a·​green·​arrow·​icon·​at·​the·​right·​side·​of·​the·​incremental·​search·​bar·​to194 case·​(upper·​or·​lower)​·​of·​each·​of·​the·​characters·​in·​the·​search··​pattern.​</​p><p>Click·​on·​the·​button·​with·​a·​green·​arrow·​icon·​at·​the·​right·​side·​of·​the·​incremental·​search·​bar·​to
195 switch·​to·​the·​power·​search·​and·​replace·​bar.​195 switch·​to·​the·​power·​search·​and·​replace·​bar.​
196 </​p><p>196 </​p><p>
197 To·​repeat·​the·​last·​find·​operation,​·​if·​any,​·​without·​calling·​the·​incremental197 To·​repeat·​the·​last·​find·​operation,​·​if·​any,​·​without·​calling·​the·​incremental
198 search·​bar,​·​use·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​198 search·​bar,​·​use·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Next</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​
199 or199 or
200 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Previous</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​.​200 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">F​ind·​Previous</​span></​span>·​(<span·​class="shortcut"><str​ong><span·​class="keycap"><stron​g>Shift</​strong></​span>+<span·​class="keycap"><stron​g>F3</​strong></​span></​strong></​span>)​.​
201 </​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149881016"><​/​a>Replacing·​Text</​h3></​div></​div></​div><p>To·​replace·​text,​·​launch·​the·​power·​search·​and·​replace·​bar201 </​p></​div><div·​class="sect2"><div·​class="titlepage"><di​v><div><h3·​class="title"><a·​name="idp149262520"><​/​a>Replacing·​Text</​h3></​div></​div></​div><p>To·​replace·​text,​·​launch·​the·​power·​search·​and·​replace·​bar
202 using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eplace</​span></​span>·​command,​·​or·​the202 using·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenu">Edit<​/​span></​span>·​→·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guimenuitem">R​eplace</​span></​span>·​command,​·​or·​the
203 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>R</​strong></​span>·​shortcut.​</​p><p>On·​the·​upper·​left·​side·​of·​the·​bar·​is·​a·​button·​with·​an·​icon·​to·​close·​the·​bar,​·​followed·​by·​a·​small·​text203 <span·​class="keycap"><stron​g>Ctrl</​strong></​span>+<span·​class="keycap"><stron​g>R</​strong></​span>·​shortcut.​</​p><p>On·​the·​upper·​left·​side·​of·​the·​bar·​is·​a·​button·​with·​an·​icon·​to·​close·​the·​bar,​·​followed·​by·​a·​small·​text
204 box·​for·​entering·​the·​search·​pattern.​</​p><p>You·​can·​control·​the·​search·​mode·​by·​selecting·​the·​options·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Plai​n·​Text</​span></​span>,​204 box·​for·​entering·​the·​search·​pattern.​</​p><p>You·​can·​control·​the·​search·​mode·​by·​selecting·​the·​options·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Plai​n·​Text</​span></​span>,​
205 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Whol​e·​Words</​span></​span>,​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Esca​pe·​Sequences</​span></​span>·​or205 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Whol​e·​Words</​span></​span>,​·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Esca​pe·​Sequences</​span></​span>·​or
206 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Regu​lar·​Expression</​span></​span>·​described·​above.​206 <span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Regu​lar·​Expression</​span></​span>·​described·​above.​
207 </​p><p>Use·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Next​</​span></​span>·​or·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prev​ious</​span></​span>·​button·​to·​jump207 </​p><p>Use·​the·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Next​</​span></​span>·​or·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Prev​ious</​span></​span>·​button·​to·​jump
208 to·​the·​next·​or·​previous·​match·​in·​the·​document.​</​p><p>Enter·​the·​text·​to·​replace·​with·​in·​the·​text·​box·​labelled·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Repl​ace</​span></​span>208 to·​the·​next·​or·​previous·​match·​in·​the·​document.​</​p><p>Enter·​the·​text·​to·​replace·​with·​in·​the·​text·​box·​labelled·​<span·​xmlns:​doc="http:​/​/​nwalsh.​com/​xsl/​documentation/​1.​0"·​class="guiitem"><span​·​class="guilabel">Repl​ace</​span></​span>