From 347f0b28701932eba7eb063d9093e446b81debae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 9 Dec 2021 01:40:38 +0100 Subject: Rename Qt => TQt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- CMakeLists.txt | 10 +- README | 56 +- README.MacOS | 6 +- designer/CMakeLists.txt | 10 +- designer/designer.pro | 10 +- designer/qscintillaplugin.cpp | 154 - designer/tqscintillaplugin.cpp | 154 + doc/en/annotated.html | 56 +- doc/en/classQextScintilla-members.html | 1014 ---- doc/en/classQextScintilla.html | 4920 -------------------- doc/en/classQextScintillaAPIs-members.html | 30 - doc/en/classQextScintillaAPIs.html | 151 - doc/en/classQextScintillaBase-members.html | 769 --- doc/en/classQextScintillaBase.html | 3465 -------------- doc/en/classQextScintillaCommand-members.html | 31 - doc/en/classQextScintillaCommand.html | 176 - doc/en/classQextScintillaCommandSet-members.html | 30 - doc/en/classQextScintillaCommandSet.html | 168 - doc/en/classQextScintillaDocument-members.html | 29 - doc/en/classQextScintillaDocument.html | 64 - doc/en/classQextScintillaLexer-members.html | 66 - doc/en/classQextScintillaLexer.html | 910 ---- doc/en/classQextScintillaLexerBash-members.html | 87 - doc/en/classQextScintillaLexerBash.html | 560 --- doc/en/classQextScintillaLexerBatch-members.html | 76 - doc/en/classQextScintillaLexerBatch.html | 345 -- doc/en/classQextScintillaLexerCPP-members.html | 99 - doc/en/classQextScintillaLexerCPP.html | 753 --- doc/en/classQextScintillaLexerCSS-members.html | 89 - doc/en/classQextScintillaLexerCSS.html | 520 --- doc/en/classQextScintillaLexerCSharp-members.html | 101 - doc/en/classQextScintillaLexerCSharp.html | 261 -- doc/en/classQextScintillaLexerDiff-members.html | 75 - doc/en/classQextScintillaLexerDiff.html | 243 - doc/en/classQextScintillaLexerHTML-members.html | 184 - doc/en/classQextScintillaLexerHTML.html | 1014 ---- doc/en/classQextScintillaLexerIDL-members.html | 101 - doc/en/classQextScintillaLexerIDL.html | 186 - doc/en/classQextScintillaLexerJava-members.html | 101 - doc/en/classQextScintillaLexerJava.html | 138 - .../classQextScintillaLexerJavaScript-members.html | 101 - doc/en/classQextScintillaLexerJavaScript.html | 261 -- doc/en/classQextScintillaLexerLua-members.html | 85 - doc/en/classQextScintillaLexerLua.html | 514 -- .../classQextScintillaLexerMakefile-members.html | 75 - doc/en/classQextScintillaLexerMakefile.html | 318 -- doc/en/classQextScintillaLexerPOV-members.html | 91 - doc/en/classQextScintillaLexerPOV.html | 613 --- doc/en/classQextScintillaLexerPerl-members.html | 101 - doc/en/classQextScintillaLexerPerl.html | 621 --- .../classQextScintillaLexerProperties-members.html | 75 - doc/en/classQextScintillaLexerProperties.html | 450 -- doc/en/classQextScintillaLexerPython-members.html | 97 - doc/en/classQextScintillaLexerPython.html | 661 --- doc/en/classQextScintillaLexerRuby-members.html | 99 - doc/en/classQextScintillaLexerRuby.html | 451 -- doc/en/classQextScintillaLexerSQL-members.html | 95 - doc/en/classQextScintillaLexerSQL.html | 629 --- doc/en/classQextScintillaLexerTeX-members.html | 74 - doc/en/classQextScintillaLexerTeX.html | 261 -- doc/en/classQextScintillaMacro-members.html | 34 - doc/en/classQextScintillaMacro.html | 267 -- doc/en/classQextScintillaPrinter-members.html | 33 - doc/en/classQextScintillaPrinter.html | 252 - doc/en/classTQextScintilla-members.html | 1014 ++++ doc/en/classTQextScintilla.html | 4920 ++++++++++++++++++++ doc/en/classTQextScintillaAPIs-members.html | 30 + doc/en/classTQextScintillaAPIs.html | 151 + doc/en/classTQextScintillaBase-members.html | 769 +++ doc/en/classTQextScintillaBase.html | 3465 ++++++++++++++ doc/en/classTQextScintillaCommand-members.html | 31 + doc/en/classTQextScintillaCommand.html | 176 + doc/en/classTQextScintillaCommandSet-members.html | 30 + doc/en/classTQextScintillaCommandSet.html | 168 + doc/en/classTQextScintillaDocument-members.html | 29 + doc/en/classTQextScintillaDocument.html | 64 + doc/en/classTQextScintillaLexer-members.html | 66 + doc/en/classTQextScintillaLexer.html | 910 ++++ doc/en/classTQextScintillaLexerBash-members.html | 87 + doc/en/classTQextScintillaLexerBash.html | 560 +++ doc/en/classTQextScintillaLexerBatch-members.html | 76 + doc/en/classTQextScintillaLexerBatch.html | 345 ++ doc/en/classTQextScintillaLexerCPP-members.html | 99 + doc/en/classTQextScintillaLexerCPP.html | 753 +++ doc/en/classTQextScintillaLexerCSS-members.html | 89 + doc/en/classTQextScintillaLexerCSS.html | 520 +++ doc/en/classTQextScintillaLexerCSharp-members.html | 101 + doc/en/classTQextScintillaLexerCSharp.html | 261 ++ doc/en/classTQextScintillaLexerDiff-members.html | 75 + doc/en/classTQextScintillaLexerDiff.html | 243 + doc/en/classTQextScintillaLexerHTML-members.html | 184 + doc/en/classTQextScintillaLexerHTML.html | 1014 ++++ doc/en/classTQextScintillaLexerIDL-members.html | 101 + doc/en/classTQextScintillaLexerIDL.html | 186 + doc/en/classTQextScintillaLexerJava-members.html | 101 + doc/en/classTQextScintillaLexerJava.html | 138 + ...classTQextScintillaLexerJavaScript-members.html | 101 + doc/en/classTQextScintillaLexerJavaScript.html | 261 ++ doc/en/classTQextScintillaLexerLua-members.html | 85 + doc/en/classTQextScintillaLexerLua.html | 514 ++ .../classTQextScintillaLexerMakefile-members.html | 75 + doc/en/classTQextScintillaLexerMakefile.html | 318 ++ doc/en/classTQextScintillaLexerPOV-members.html | 91 + doc/en/classTQextScintillaLexerPOV.html | 613 +++ doc/en/classTQextScintillaLexerPerl-members.html | 101 + doc/en/classTQextScintillaLexerPerl.html | 621 +++ ...classTQextScintillaLexerProperties-members.html | 75 + doc/en/classTQextScintillaLexerProperties.html | 450 ++ doc/en/classTQextScintillaLexerPython-members.html | 97 + doc/en/classTQextScintillaLexerPython.html | 661 +++ doc/en/classTQextScintillaLexerRuby-members.html | 99 + doc/en/classTQextScintillaLexerRuby.html | 451 ++ doc/en/classTQextScintillaLexerSQL-members.html | 95 + doc/en/classTQextScintillaLexerSQL.html | 629 +++ doc/en/classTQextScintillaLexerTeX-members.html | 74 + doc/en/classTQextScintillaLexerTeX.html | 261 ++ doc/en/classTQextScintillaMacro-members.html | 34 + doc/en/classTQextScintillaMacro.html | 267 ++ doc/en/classTQextScintillaPrinter-members.html | 33 + doc/en/classTQextScintillaPrinter.html | 252 + doc/en/deprecated.html | 10 +- doc/en/functions.html | 124 +- doc/en/functions_0x62.html | 34 +- doc/en/functions_0x63.html | 80 +- doc/en/functions_0x64.html | 28 +- doc/en/functions_0x65.html | 46 +- doc/en/functions_0x66.html | 40 +- doc/en/functions_0x67.html | 10 +- doc/en/functions_0x68.html | 24 +- doc/en/functions_0x69.html | 44 +- doc/en/functions_0x6a.html | 26 +- doc/en/functions_0x6b.html | 18 +- doc/en/functions_0x6c.html | 28 +- doc/en/functions_0x6d.html | 42 +- doc/en/functions_0x6e.html | 8 +- doc/en/functions_0x6f.html | 6 +- doc/en/functions_0x70.html | 100 +- doc/en/functions_0x71.html | 66 +- doc/en/functions_0x72.html | 32 +- doc/en/functions_0x73.html | 584 +-- doc/en/functions_0x74.html | 30 +- doc/en/functions_0x75.html | 18 +- doc/en/functions_0x76.html | 28 +- doc/en/functions_0x77.html | 34 +- doc/en/functions_0x78.html | 6 +- doc/en/functions_0x7a.html | 6 +- doc/en/functions_0x7e.html | 52 +- doc/en/functions_enum.html | 20 +- doc/en/functions_eval.html | 94 +- doc/en/functions_eval_0x62.html | 24 +- doc/en/functions_eval_0x63.html | 48 +- doc/en/functions_eval_0x64.html | 18 +- doc/en/functions_eval_0x65.html | 18 +- doc/en/functions_eval_0x66.html | 2 +- doc/en/functions_eval_0x67.html | 6 +- doc/en/functions_eval_0x68.html | 22 +- doc/en/functions_eval_0x69.html | 12 +- doc/en/functions_eval_0x6a.html | 26 +- doc/en/functions_eval_0x6b.html | 12 +- doc/en/functions_eval_0x6c.html | 14 +- doc/en/functions_eval_0x6d.html | 4 +- doc/en/functions_eval_0x6e.html | 8 +- doc/en/functions_eval_0x6f.html | 6 +- doc/en/functions_eval_0x70.html | 86 +- doc/en/functions_eval_0x71.html | 10 +- doc/en/functions_eval_0x72.html | 10 +- doc/en/functions_eval_0x73.html | 368 +- doc/en/functions_eval_0x74.html | 20 +- doc/en/functions_eval_0x75.html | 12 +- doc/en/functions_eval_0x76.html | 24 +- doc/en/functions_eval_0x77.html | 20 +- doc/en/functions_eval_0x78.html | 6 +- doc/en/functions_func.html | 28 +- doc/en/functions_func_0x62.html | 8 +- doc/en/functions_func_0x63.html | 32 +- doc/en/functions_func_0x64.html | 10 +- doc/en/functions_func_0x65.html | 24 +- doc/en/functions_func_0x66.html | 36 +- doc/en/functions_func_0x67.html | 4 +- doc/en/functions_func_0x68.html | 2 +- doc/en/functions_func_0x69.html | 30 +- doc/en/functions_func_0x6b.html | 6 +- doc/en/functions_func_0x6c.html | 14 +- doc/en/functions_func_0x6d.html | 36 +- doc/en/functions_func_0x70.html | 14 +- doc/en/functions_func_0x71.html | 56 +- doc/en/functions_func_0x72.html | 22 +- doc/en/functions_func_0x73.html | 216 +- doc/en/functions_func_0x74.html | 10 +- doc/en/functions_func_0x75.html | 6 +- doc/en/functions_func_0x76.html | 4 +- doc/en/functions_func_0x77.html | 8 +- doc/en/functions_func_0x7a.html | 6 +- doc/en/functions_func_0x7e.html | 52 +- doc/en/hierarchy.html | 56 +- doc/qscintilla.dxy | 1098 ----- doc/tqscintilla.dxy | 1098 +++++ example/CMakeLists.txt | 4 +- example/README | 6 +- example/application.cpp | 10 +- example/application.h | 8 +- example/application.pro | 2 +- include/Platform.h | 12 +- qscintilla.pc.cmake | 14 - qt/CMakeLists.txt | 80 - qt/PlatQt.cpp | 936 ---- qt/SciListBox.cpp | 333 -- qt/SciListBox.h | 52 - qt/ScintillaQt.cpp | 695 --- qt/ScintillaQt.h | 117 - qt/qextscintilla.cpp | 3036 ------------ qt/qextscintilla.h | 1458 ------ qt/qextscintillaapis.cpp | 213 - qt/qextscintillaapis.h | 84 - qt/qextscintillabase.cpp | 586 --- qt/qextscintillabase.h | 2414 ---------- qt/qextscintillacommand.cpp | 202 - qt/qextscintillacommand.h | 99 - qt/qextscintillacommandset.cpp | 656 --- qt/qextscintillacommandset.h | 82 - qt/qextscintilladocument.cpp | 142 - qt/qextscintilladocument.h | 61 - qt/qextscintillaglobal.h | 62 - qt/qextscintillalexer.cpp | 449 -- qt/qextscintillalexer.h | 275 -- qt/qextscintillalexerbash.cpp | 374 -- qt/qextscintillalexerbash.h | 190 - qt/qextscintillalexerbatch.cpp | 203 - qt/qextscintillalexerbatch.h | 120 - qt/qextscintillalexercpp.cpp | 520 --- qt/qextscintillalexercpp.h | 274 -- qt/qextscintillalexercsharp.cpp | 123 - qt/qextscintillalexercsharp.h | 85 - qt/qextscintillalexercss.cpp | 381 -- qt/qextscintillalexercss.h | 194 - qt/qextscintillalexerdiff.cpp | 128 - qt/qextscintillalexerdiff.h | 101 - qt/qextscintillalexerhtml.cpp | 1137 ----- qt/qextscintillalexerhtml.h | 487 -- qt/qextscintillalexeridl.cpp | 107 - qt/qextscintillalexeridl.h | 73 - qt/qextscintillalexerjava.cpp | 64 - qt/qextscintillalexerjava.h | 62 - qt/qextscintillalexerjavascript.cpp | 125 - qt/qextscintillalexerjavascript.h | 89 - qt/qextscintillalexerlua.cpp | 351 -- qt/qextscintillalexerlua.h | 179 - qt/qextscintillalexermakefile.cpp | 161 - qt/qextscintillalexermakefile.h | 113 - qt/qextscintillalexerperl.cpp | 487 -- qt/qextscintillalexerperl.h | 232 - qt/qextscintillalexerpov.cpp | 493 -- qt/qextscintillalexerpov.h | 215 - qt/qextscintillalexerproperties.cpp | 209 - qt/qextscintillalexerproperties.h | 142 - qt/qextscintillalexerpython.cpp | 412 -- qt/qextscintillalexerpython.h | 245 - qt/qextscintillalexerruby.cpp | 385 -- qt/qextscintillalexerruby.h | 204 - qt/qextscintillalexersql.cpp | 457 -- qt/qextscintillalexersql.h | 227 - qt/qextscintillalexertex.cpp | 211 - qt/qextscintillalexertex.h | 102 - qt/qextscintillamacro.cpp | 334 -- qt/qextscintillamacro.h | 107 - qt/qextscintillaprinter.cpp | 189 - qt/qextscintillaprinter.h | 107 - qt/qscintilla.pro | 220 - qt/qscintilla_de.qm | Bin 27067 -> 0 bytes qt/qscintilla_de.ts | 1635 ------- qt/qscintilla_fr.qm | Bin 29156 -> 0 bytes qt/qscintilla_fr.ts | 1635 ------- qt/qscintilla_pt_br.qm | Bin 29270 -> 0 bytes qt/qscintilla_pt_br.ts | 1635 ------- qt/qscintilla_ru.qm | Bin 17221 -> 0 bytes qt/qscintilla_ru.ts | 1635 ------- src/Editor.cpp | 2 +- src/ExternalLexer.h | 2 +- src/XPM.cpp | 2 +- src/XPM.h | 6 +- tqscintilla.pc.cmake | 14 + tqt/CMakeLists.txt | 80 + tqt/PlatTQt.cpp | 936 ++++ tqt/SciListBox.cpp | 333 ++ tqt/SciListBox.h | 52 + tqt/ScintillaTQt.cpp | 695 +++ tqt/ScintillaTQt.h | 117 + tqt/tqextscintilla.cpp | 3036 ++++++++++++ tqt/tqextscintilla.h | 1458 ++++++ tqt/tqextscintillaapis.cpp | 213 + tqt/tqextscintillaapis.h | 84 + tqt/tqextscintillabase.cpp | 586 +++ tqt/tqextscintillabase.h | 2414 ++++++++++ tqt/tqextscintillacommand.cpp | 202 + tqt/tqextscintillacommand.h | 99 + tqt/tqextscintillacommandset.cpp | 656 +++ tqt/tqextscintillacommandset.h | 82 + tqt/tqextscintilladocument.cpp | 142 + tqt/tqextscintilladocument.h | 61 + tqt/tqextscintillaglobal.h | 62 + tqt/tqextscintillalexer.cpp | 449 ++ tqt/tqextscintillalexer.h | 275 ++ tqt/tqextscintillalexerbash.cpp | 374 ++ tqt/tqextscintillalexerbash.h | 190 + tqt/tqextscintillalexerbatch.cpp | 203 + tqt/tqextscintillalexerbatch.h | 120 + tqt/tqextscintillalexercpp.cpp | 520 +++ tqt/tqextscintillalexercpp.h | 274 ++ tqt/tqextscintillalexercsharp.cpp | 123 + tqt/tqextscintillalexercsharp.h | 85 + tqt/tqextscintillalexercss.cpp | 381 ++ tqt/tqextscintillalexercss.h | 194 + tqt/tqextscintillalexerdiff.cpp | 128 + tqt/tqextscintillalexerdiff.h | 101 + tqt/tqextscintillalexerhtml.cpp | 1137 +++++ tqt/tqextscintillalexerhtml.h | 487 ++ tqt/tqextscintillalexeridl.cpp | 107 + tqt/tqextscintillalexeridl.h | 73 + tqt/tqextscintillalexerjava.cpp | 64 + tqt/tqextscintillalexerjava.h | 62 + tqt/tqextscintillalexerjavascript.cpp | 125 + tqt/tqextscintillalexerjavascript.h | 89 + tqt/tqextscintillalexerlua.cpp | 351 ++ tqt/tqextscintillalexerlua.h | 179 + tqt/tqextscintillalexermakefile.cpp | 161 + tqt/tqextscintillalexermakefile.h | 113 + tqt/tqextscintillalexerperl.cpp | 487 ++ tqt/tqextscintillalexerperl.h | 232 + tqt/tqextscintillalexerpov.cpp | 493 ++ tqt/tqextscintillalexerpov.h | 215 + tqt/tqextscintillalexerproperties.cpp | 209 + tqt/tqextscintillalexerproperties.h | 142 + tqt/tqextscintillalexerpython.cpp | 412 ++ tqt/tqextscintillalexerpython.h | 245 + tqt/tqextscintillalexerruby.cpp | 385 ++ tqt/tqextscintillalexerruby.h | 204 + tqt/tqextscintillalexersql.cpp | 457 ++ tqt/tqextscintillalexersql.h | 227 + tqt/tqextscintillalexertex.cpp | 211 + tqt/tqextscintillalexertex.h | 102 + tqt/tqextscintillamacro.cpp | 334 ++ tqt/tqextscintillamacro.h | 107 + tqt/tqextscintillaprinter.cpp | 189 + tqt/tqextscintillaprinter.h | 107 + tqt/tqscintilla.pro | 220 + tqt/tqscintilla_de.qm | Bin 0 -> 27283 bytes tqt/tqscintilla_de.ts | 1635 +++++++ tqt/tqscintilla_fr.qm | Bin 0 -> 29412 bytes tqt/tqscintilla_fr.ts | 1635 +++++++ tqt/tqscintilla_pt_br.qm | Bin 0 -> 29326 bytes tqt/tqscintilla_pt_br.ts | 1635 +++++++ tqt/tqscintilla_ru.qm | Bin 0 -> 18208 bytes tqt/tqscintilla_ru.ts | 1635 +++++++ 353 files changed, 55119 insertions(+), 55119 deletions(-) delete mode 100644 designer/qscintillaplugin.cpp create mode 100644 designer/tqscintillaplugin.cpp delete mode 100644 doc/en/classQextScintilla-members.html delete mode 100644 doc/en/classQextScintilla.html delete mode 100644 doc/en/classQextScintillaAPIs-members.html delete mode 100644 doc/en/classQextScintillaAPIs.html delete mode 100644 doc/en/classQextScintillaBase-members.html delete mode 100644 doc/en/classQextScintillaBase.html delete mode 100644 doc/en/classQextScintillaCommand-members.html delete mode 100644 doc/en/classQextScintillaCommand.html delete mode 100644 doc/en/classQextScintillaCommandSet-members.html delete mode 100644 doc/en/classQextScintillaCommandSet.html delete mode 100644 doc/en/classQextScintillaDocument-members.html delete mode 100644 doc/en/classQextScintillaDocument.html delete mode 100644 doc/en/classQextScintillaLexer-members.html delete mode 100644 doc/en/classQextScintillaLexer.html delete mode 100644 doc/en/classQextScintillaLexerBash-members.html delete mode 100644 doc/en/classQextScintillaLexerBash.html delete mode 100644 doc/en/classQextScintillaLexerBatch-members.html delete mode 100644 doc/en/classQextScintillaLexerBatch.html delete mode 100644 doc/en/classQextScintillaLexerCPP-members.html delete mode 100644 doc/en/classQextScintillaLexerCPP.html delete mode 100644 doc/en/classQextScintillaLexerCSS-members.html delete mode 100644 doc/en/classQextScintillaLexerCSS.html delete mode 100644 doc/en/classQextScintillaLexerCSharp-members.html delete mode 100644 doc/en/classQextScintillaLexerCSharp.html delete mode 100644 doc/en/classQextScintillaLexerDiff-members.html delete mode 100644 doc/en/classQextScintillaLexerDiff.html delete mode 100644 doc/en/classQextScintillaLexerHTML-members.html delete mode 100644 doc/en/classQextScintillaLexerHTML.html delete mode 100644 doc/en/classQextScintillaLexerIDL-members.html delete mode 100644 doc/en/classQextScintillaLexerIDL.html delete mode 100644 doc/en/classQextScintillaLexerJava-members.html delete mode 100644 doc/en/classQextScintillaLexerJava.html delete mode 100644 doc/en/classQextScintillaLexerJavaScript-members.html delete mode 100644 doc/en/classQextScintillaLexerJavaScript.html delete mode 100644 doc/en/classQextScintillaLexerLua-members.html delete mode 100644 doc/en/classQextScintillaLexerLua.html delete mode 100644 doc/en/classQextScintillaLexerMakefile-members.html delete mode 100644 doc/en/classQextScintillaLexerMakefile.html delete mode 100644 doc/en/classQextScintillaLexerPOV-members.html delete mode 100644 doc/en/classQextScintillaLexerPOV.html delete mode 100644 doc/en/classQextScintillaLexerPerl-members.html delete mode 100644 doc/en/classQextScintillaLexerPerl.html delete mode 100644 doc/en/classQextScintillaLexerProperties-members.html delete mode 100644 doc/en/classQextScintillaLexerProperties.html delete mode 100644 doc/en/classQextScintillaLexerPython-members.html delete mode 100644 doc/en/classQextScintillaLexerPython.html delete mode 100644 doc/en/classQextScintillaLexerRuby-members.html delete mode 100644 doc/en/classQextScintillaLexerRuby.html delete mode 100644 doc/en/classQextScintillaLexerSQL-members.html delete mode 100644 doc/en/classQextScintillaLexerSQL.html delete mode 100644 doc/en/classQextScintillaLexerTeX-members.html delete mode 100644 doc/en/classQextScintillaLexerTeX.html delete mode 100644 doc/en/classQextScintillaMacro-members.html delete mode 100644 doc/en/classQextScintillaMacro.html delete mode 100644 doc/en/classQextScintillaPrinter-members.html delete mode 100644 doc/en/classQextScintillaPrinter.html create mode 100644 doc/en/classTQextScintilla-members.html create mode 100644 doc/en/classTQextScintilla.html create mode 100644 doc/en/classTQextScintillaAPIs-members.html create mode 100644 doc/en/classTQextScintillaAPIs.html create mode 100644 doc/en/classTQextScintillaBase-members.html create mode 100644 doc/en/classTQextScintillaBase.html create mode 100644 doc/en/classTQextScintillaCommand-members.html create mode 100644 doc/en/classTQextScintillaCommand.html create mode 100644 doc/en/classTQextScintillaCommandSet-members.html create mode 100644 doc/en/classTQextScintillaCommandSet.html create mode 100644 doc/en/classTQextScintillaDocument-members.html create mode 100644 doc/en/classTQextScintillaDocument.html create mode 100644 doc/en/classTQextScintillaLexer-members.html create mode 100644 doc/en/classTQextScintillaLexer.html create mode 100644 doc/en/classTQextScintillaLexerBash-members.html create mode 100644 doc/en/classTQextScintillaLexerBash.html create mode 100644 doc/en/classTQextScintillaLexerBatch-members.html create mode 100644 doc/en/classTQextScintillaLexerBatch.html create mode 100644 doc/en/classTQextScintillaLexerCPP-members.html create mode 100644 doc/en/classTQextScintillaLexerCPP.html create mode 100644 doc/en/classTQextScintillaLexerCSS-members.html create mode 100644 doc/en/classTQextScintillaLexerCSS.html create mode 100644 doc/en/classTQextScintillaLexerCSharp-members.html create mode 100644 doc/en/classTQextScintillaLexerCSharp.html create mode 100644 doc/en/classTQextScintillaLexerDiff-members.html create mode 100644 doc/en/classTQextScintillaLexerDiff.html create mode 100644 doc/en/classTQextScintillaLexerHTML-members.html create mode 100644 doc/en/classTQextScintillaLexerHTML.html create mode 100644 doc/en/classTQextScintillaLexerIDL-members.html create mode 100644 doc/en/classTQextScintillaLexerIDL.html create mode 100644 doc/en/classTQextScintillaLexerJava-members.html create mode 100644 doc/en/classTQextScintillaLexerJava.html create mode 100644 doc/en/classTQextScintillaLexerJavaScript-members.html create mode 100644 doc/en/classTQextScintillaLexerJavaScript.html create mode 100644 doc/en/classTQextScintillaLexerLua-members.html create mode 100644 doc/en/classTQextScintillaLexerLua.html create mode 100644 doc/en/classTQextScintillaLexerMakefile-members.html create mode 100644 doc/en/classTQextScintillaLexerMakefile.html create mode 100644 doc/en/classTQextScintillaLexerPOV-members.html create mode 100644 doc/en/classTQextScintillaLexerPOV.html create mode 100644 doc/en/classTQextScintillaLexerPerl-members.html create mode 100644 doc/en/classTQextScintillaLexerPerl.html create mode 100644 doc/en/classTQextScintillaLexerProperties-members.html create mode 100644 doc/en/classTQextScintillaLexerProperties.html create mode 100644 doc/en/classTQextScintillaLexerPython-members.html create mode 100644 doc/en/classTQextScintillaLexerPython.html create mode 100644 doc/en/classTQextScintillaLexerRuby-members.html create mode 100644 doc/en/classTQextScintillaLexerRuby.html create mode 100644 doc/en/classTQextScintillaLexerSQL-members.html create mode 100644 doc/en/classTQextScintillaLexerSQL.html create mode 100644 doc/en/classTQextScintillaLexerTeX-members.html create mode 100644 doc/en/classTQextScintillaLexerTeX.html create mode 100644 doc/en/classTQextScintillaMacro-members.html create mode 100644 doc/en/classTQextScintillaMacro.html create mode 100644 doc/en/classTQextScintillaPrinter-members.html create mode 100644 doc/en/classTQextScintillaPrinter.html delete mode 100644 doc/qscintilla.dxy create mode 100644 doc/tqscintilla.dxy delete mode 100644 qscintilla.pc.cmake delete mode 100644 qt/CMakeLists.txt delete mode 100644 qt/PlatQt.cpp delete mode 100644 qt/SciListBox.cpp delete mode 100644 qt/SciListBox.h delete mode 100644 qt/ScintillaQt.cpp delete mode 100644 qt/ScintillaQt.h delete mode 100644 qt/qextscintilla.cpp delete mode 100644 qt/qextscintilla.h delete mode 100644 qt/qextscintillaapis.cpp delete mode 100644 qt/qextscintillaapis.h delete mode 100644 qt/qextscintillabase.cpp delete mode 100644 qt/qextscintillabase.h delete mode 100644 qt/qextscintillacommand.cpp delete mode 100644 qt/qextscintillacommand.h delete mode 100644 qt/qextscintillacommandset.cpp delete mode 100644 qt/qextscintillacommandset.h delete mode 100644 qt/qextscintilladocument.cpp delete mode 100644 qt/qextscintilladocument.h delete mode 100644 qt/qextscintillaglobal.h delete mode 100644 qt/qextscintillalexer.cpp delete mode 100644 qt/qextscintillalexer.h delete mode 100644 qt/qextscintillalexerbash.cpp delete mode 100644 qt/qextscintillalexerbash.h delete mode 100644 qt/qextscintillalexerbatch.cpp delete mode 100644 qt/qextscintillalexerbatch.h delete mode 100644 qt/qextscintillalexercpp.cpp delete mode 100644 qt/qextscintillalexercpp.h delete mode 100644 qt/qextscintillalexercsharp.cpp delete mode 100644 qt/qextscintillalexercsharp.h delete mode 100644 qt/qextscintillalexercss.cpp delete mode 100644 qt/qextscintillalexercss.h delete mode 100644 qt/qextscintillalexerdiff.cpp delete mode 100644 qt/qextscintillalexerdiff.h delete mode 100644 qt/qextscintillalexerhtml.cpp delete mode 100644 qt/qextscintillalexerhtml.h delete mode 100644 qt/qextscintillalexeridl.cpp delete mode 100644 qt/qextscintillalexeridl.h delete mode 100644 qt/qextscintillalexerjava.cpp delete mode 100644 qt/qextscintillalexerjava.h delete mode 100644 qt/qextscintillalexerjavascript.cpp delete mode 100644 qt/qextscintillalexerjavascript.h delete mode 100644 qt/qextscintillalexerlua.cpp delete mode 100644 qt/qextscintillalexerlua.h delete mode 100644 qt/qextscintillalexermakefile.cpp delete mode 100644 qt/qextscintillalexermakefile.h delete mode 100644 qt/qextscintillalexerperl.cpp delete mode 100644 qt/qextscintillalexerperl.h delete mode 100644 qt/qextscintillalexerpov.cpp delete mode 100644 qt/qextscintillalexerpov.h delete mode 100644 qt/qextscintillalexerproperties.cpp delete mode 100644 qt/qextscintillalexerproperties.h delete mode 100644 qt/qextscintillalexerpython.cpp delete mode 100644 qt/qextscintillalexerpython.h delete mode 100644 qt/qextscintillalexerruby.cpp delete mode 100644 qt/qextscintillalexerruby.h delete mode 100644 qt/qextscintillalexersql.cpp delete mode 100644 qt/qextscintillalexersql.h delete mode 100644 qt/qextscintillalexertex.cpp delete mode 100644 qt/qextscintillalexertex.h delete mode 100644 qt/qextscintillamacro.cpp delete mode 100644 qt/qextscintillamacro.h delete mode 100644 qt/qextscintillaprinter.cpp delete mode 100644 qt/qextscintillaprinter.h delete mode 100644 qt/qscintilla.pro delete mode 100644 qt/qscintilla_de.qm delete mode 100644 qt/qscintilla_de.ts delete mode 100644 qt/qscintilla_fr.qm delete mode 100644 qt/qscintilla_fr.ts delete mode 100644 qt/qscintilla_pt_br.qm delete mode 100644 qt/qscintilla_pt_br.ts delete mode 100644 qt/qscintilla_ru.qm delete mode 100644 qt/qscintilla_ru.ts create mode 100644 tqscintilla.pc.cmake create mode 100644 tqt/CMakeLists.txt create mode 100644 tqt/PlatTQt.cpp create mode 100644 tqt/SciListBox.cpp create mode 100644 tqt/SciListBox.h create mode 100644 tqt/ScintillaTQt.cpp create mode 100644 tqt/ScintillaTQt.h create mode 100644 tqt/tqextscintilla.cpp create mode 100644 tqt/tqextscintilla.h create mode 100644 tqt/tqextscintillaapis.cpp create mode 100644 tqt/tqextscintillaapis.h create mode 100644 tqt/tqextscintillabase.cpp create mode 100644 tqt/tqextscintillabase.h create mode 100644 tqt/tqextscintillacommand.cpp create mode 100644 tqt/tqextscintillacommand.h create mode 100644 tqt/tqextscintillacommandset.cpp create mode 100644 tqt/tqextscintillacommandset.h create mode 100644 tqt/tqextscintilladocument.cpp create mode 100644 tqt/tqextscintilladocument.h create mode 100644 tqt/tqextscintillaglobal.h create mode 100644 tqt/tqextscintillalexer.cpp create mode 100644 tqt/tqextscintillalexer.h create mode 100644 tqt/tqextscintillalexerbash.cpp create mode 100644 tqt/tqextscintillalexerbash.h create mode 100644 tqt/tqextscintillalexerbatch.cpp create mode 100644 tqt/tqextscintillalexerbatch.h create mode 100644 tqt/tqextscintillalexercpp.cpp create mode 100644 tqt/tqextscintillalexercpp.h create mode 100644 tqt/tqextscintillalexercsharp.cpp create mode 100644 tqt/tqextscintillalexercsharp.h create mode 100644 tqt/tqextscintillalexercss.cpp create mode 100644 tqt/tqextscintillalexercss.h create mode 100644 tqt/tqextscintillalexerdiff.cpp create mode 100644 tqt/tqextscintillalexerdiff.h create mode 100644 tqt/tqextscintillalexerhtml.cpp create mode 100644 tqt/tqextscintillalexerhtml.h create mode 100644 tqt/tqextscintillalexeridl.cpp create mode 100644 tqt/tqextscintillalexeridl.h create mode 100644 tqt/tqextscintillalexerjava.cpp create mode 100644 tqt/tqextscintillalexerjava.h create mode 100644 tqt/tqextscintillalexerjavascript.cpp create mode 100644 tqt/tqextscintillalexerjavascript.h create mode 100644 tqt/tqextscintillalexerlua.cpp create mode 100644 tqt/tqextscintillalexerlua.h create mode 100644 tqt/tqextscintillalexermakefile.cpp create mode 100644 tqt/tqextscintillalexermakefile.h create mode 100644 tqt/tqextscintillalexerperl.cpp create mode 100644 tqt/tqextscintillalexerperl.h create mode 100644 tqt/tqextscintillalexerpov.cpp create mode 100644 tqt/tqextscintillalexerpov.h create mode 100644 tqt/tqextscintillalexerproperties.cpp create mode 100644 tqt/tqextscintillalexerproperties.h create mode 100644 tqt/tqextscintillalexerpython.cpp create mode 100644 tqt/tqextscintillalexerpython.h create mode 100644 tqt/tqextscintillalexerruby.cpp create mode 100644 tqt/tqextscintillalexerruby.h create mode 100644 tqt/tqextscintillalexersql.cpp create mode 100644 tqt/tqextscintillalexersql.h create mode 100644 tqt/tqextscintillalexertex.cpp create mode 100644 tqt/tqextscintillalexertex.h create mode 100644 tqt/tqextscintillamacro.cpp create mode 100644 tqt/tqextscintillamacro.h create mode 100644 tqt/tqextscintillaprinter.cpp create mode 100644 tqt/tqextscintillaprinter.h create mode 100644 tqt/tqscintilla.pro create mode 100644 tqt/tqscintilla_de.qm create mode 100644 tqt/tqscintilla_de.ts create mode 100644 tqt/tqscintilla_fr.qm create mode 100644 tqt/tqscintilla_fr.ts create mode 100644 tqt/tqscintilla_pt_br.qm create mode 100644 tqt/tqscintilla_pt_br.ts create mode 100644 tqt/tqscintilla_ru.qm create mode 100644 tqt/tqscintilla_ru.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c35657..fd4e844 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,8 +54,8 @@ option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ##### user requested modules option( BUILD_ALL "Build all" ON ) -option( BUILD_PLUGIN "Build qscintilla plugin" ${BUILD_ALL} ) -option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) +option( BUILD_PLUGIN "Build tqscintilla plugin" ${BUILD_ALL} ) +option( BUILD_DOC "Build documentation" ${BUILD_ALL} ) ##### configure checks @@ -75,7 +75,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories add_subdirectory( src ) -add_subdirectory( qt ) +add_subdirectory( tqt ) tde_conditional_add_subdirectory( BUILD_PLUGIN designer ) tde_conditional_add_project_docs( BUILD_DOC ) @@ -92,9 +92,9 @@ string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${E string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${TQT_INCLUDES_DIR} ) string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} ) -configure_file( qscintilla.pc.cmake qscintilla.pc @ONLY ) +configure_file( tqscintilla.pc.cmake tqscintilla.pc @ONLY ) install( - FILES ${CMAKE_CURRENT_BINARY_DIR}/qscintilla.pc + FILES ${CMAKE_CURRENT_BINARY_DIR}/tqscintilla.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} ) diff --git a/README b/README index b6e04ee..cca78cb 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ - QScintilla - a Port to Qt of Scintilla + TQScintilla - a Port to TQt of Scintilla INTRODUCTION @@ -19,11 +19,11 @@ and italics, multiple foreground and background colours and multiple fonts." Scintilla runs on Windows and on UNIX/Linux using the GTK+ GUI toolkit. -QScintilla is a port or Scintilla to the Qt GUI toolkit from Trolltech and runs -on any operating system supported by Qt (eg. Windows, UNIX/Linux, MacOS/X). Qt +TQScintilla is a port or Scintilla to the TQt GUI toolkit from TDE team and runs +on any operating system supported by TQt (eg. Windows, UNIX/Linux, MacOS/X). TQt v3 or later is required. -This version of QScintilla is based on Scintilla v1.71. +This version of TQScintilla is based on Scintilla v1.71. LICENSING @@ -51,13 +51,13 @@ Scintilla is released under the following license: TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE." -QScintilla, however, uses the same license model as Qt itself. QScintilla is -available under the GNU GPL on UNIX/Linux systems. QScintilla is available +TQScintilla, however, uses the same license model as TQt itself. TQScintilla is +available under the GNU GPL on UNIX/Linux systems. TQScintilla is available under a commercial license on Windows, UNIX/Linux and MacOS/X systems. The -commercial license allows closed source applications using QScintilla to be +commercial license allows closed source applications using TQScintilla to be developed and distributed. -See the file "LICENSE" to see what license this copy of QScintilla is released +See the file "LICENSE" to see what license this copy of TQScintilla is released under. @@ -67,26 +67,26 @@ Check for any other README files in this directory that relate to your particular platform. Feel free to contribute a README for your platform or to provide updates to any existing documentation. -To configure QScintilla, edit the file "qscintilla.pro" in the "qt" directory. -As supplied, QScintilla is built as a shared library/DLL with thread support -enabled, and installed in the same directory as the Qt library. +To configure TQScintilla, edit the file "tqscintilla.pro" in the "tqt" directory. +As supplied, TQScintilla is built as a shared library/DLL with thread support +enabled, and installed in the same directory as the TQt library. -To install the QScintilla library in another directory, edit the value of -"DESTDIR". To build the library in situ (in the "qt" directory) then comment +To install the TQScintilla library in another directory, edit the value of +"DESTDIR". To build the library in situ (in the "tqt" directory) then comment out "DESTDIR" entirely - this will also mean that you will not need root privileges under UNIX/Linux. -If your Qt library was built without thread support, edit the value of "CONFIG" +If your TQt library was built without thread support, edit the value of "CONFIG" and remove "thread". If you want to build a static library, edit the value of "CONFIG" and replace "dll" with "staticlib", and edit the value of "DEFINES" and remove -"QEXTSCINTILLA_MAKE_DLL". +"TQEXTSCINTILLA_MAKE_DLL". -To build QScintilla on UNIX/Linux/MacOS, run (as root): +To build TQScintilla on UNIX/Linux/MacOS, run (as root): - cd qt - qmake qscintilla.pro + cd tqt + qmake tqscintilla.pro make make install @@ -94,27 +94,27 @@ You may also need to run: ldconfig -If you are using the GNU C++ compiler you might want to edit "qt/Makefile" and +If you are using the GNU C++ compiler you might want to edit "tqt/Makefile" and add "-fno-exceptions" to "CXXFLAGS" before running "make". -To build QScintilla on Windows, run: +To build TQScintilla on Windows, run: - cd qt - qmake qscintilla.pro + cd tqt + qmake tqscintilla.pro nmake nmake install - copy %TQTDIR%\lib\qscintilla.dll %TQTDIR%\bin + copy %TQTDIR%\lib\tqscintilla.dll %TQTDIR%\bin -Please do not try to build the GPL version of QScintilla under Windows. It +Please do not try to build the GPL version of TQScintilla under Windows. It will not work and you would be contravening the GPL. -Qt DESIGNER PLUGIN +TQt DESIGNER PLUGIN -QScintilla includes an optional plugin for Qt Designer that allows QScintilla -instances to be included in GUI designs just like any other Qt widget. +TQScintilla includes an optional plugin for TQt Designer that allows TQScintilla +instances to be included in GUI designs just like any other TQt widget. -To build the plugin on all platforms, make sure QScintilla is installed and +To build the plugin on all platforms, make sure TQScintilla is installed and then run (as root or administrator): cd designer diff --git a/README.MacOS b/README.MacOS index 0b6c1c3..41bb337 100644 --- a/README.MacOS +++ b/README.MacOS @@ -1,8 +1,8 @@ - QScintilla on MacOS/X + TQScintilla on MacOS/X -All versions of Qt for MacOS/X up to an including Qt v3.3.2 have a bug which -crashes QScintilla. The following patch needs to be applied to Qt: +All versions of TQt for MacOS/X up to an including Qt v3.3.2 have a bug which +crashes TQScintilla. The following patch needs to be applied to TQt: --- src/kernel/qt_mac.h 2004-04-21 00:15:43 -0000 diff --git a/designer/CMakeLists.txt b/designer/CMakeLists.txt index 91cb885..b38c1f3 100644 --- a/designer/CMakeLists.txt +++ b/designer/CMakeLists.txt @@ -3,7 +3,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${TQT_INCLUDE_DIRS} - ${CMAKE_SOURCE_DIR}/qt + ${CMAKE_SOURCE_DIR}/tqt ) link_directories( @@ -11,14 +11,14 @@ link_directories( ) -##### qscintillaplugin (shared) +##### tqscintillaplugin (shared) -tde_add_library( qscintillaplugin SHARED +tde_add_library( tqscintillaplugin SHARED SOURCES - qscintillaplugin.cpp + tqscintillaplugin.cpp LINK - qscintilla-shared + tqscintilla-shared DESTINATION ${TQT_PLUGINS_DIR}/designer ) diff --git a/designer/designer.pro b/designer/designer.pro index 068a795..ce41ce5 100644 --- a/designer/designer.pro +++ b/designer/designer.pro @@ -1,13 +1,13 @@ -# This is the qmake file for the QScintilla plugin for Qt Designer. +# This is the qmake file for the TQScintilla plugin for TQt Designer. TEMPLATE = lib -TARGET = qscintillaplugin +TARGET = tqscintillaplugin # DESTDIR = $(TQTDIR)/plugins/designer -INCLUDEPATH = ../qt /usr/include/tqt +INCLUDEPATH = ../tqt /usr/include/tqt LIBPATH += ../tmplib CONFIG += qt warn_on release plugin -SOURCES += qscintillaplugin.cpp +SOURCES += tqscintillaplugin.cpp -LIBS += -lqscintilla +LIBS += -ltqscintilla diff --git a/designer/qscintillaplugin.cpp b/designer/qscintillaplugin.cpp deleted file mode 100644 index b0523bb..0000000 --- a/designer/qscintillaplugin.cpp +++ /dev/null @@ -1,154 +0,0 @@ -// This implements the TQScintilla plugin for TQt Designer. - - -#include - -#include "../qt/qextscintilla.h" - - -static const char *qscintilla_pixmap[]={ - "22 22 35 1", - "m c #000000", - "n c #000033", - "p c #003300", - "r c #003333", - "v c #330000", - "o c #330033", - "l c #333300", - "h c #333333", - "c c #333366", - "d c #336666", - "u c #336699", - "E c #3366cc", - "k c #663333", - "i c #663366", - "b c #666666", - "e c #666699", - "A c #6666cc", - "G c #669966", - "f c #669999", - "j c #6699cc", - "y c #6699ff", - "t c #996666", - "a c #999999", - "g c #9999cc", - "s c #9999ff", - "C c #99cc99", - "x c #99cccc", - "w c #99ccff", - "F c #cc99ff", - "q c #cccccc", - "# c #ccccff", - "B c #ccffcc", - "z c #ccffff", - "D c #ffffcc", - ". c none", - "........#abcda........", - "......abefghdidcf.....", - ".....cadhfaehjheck....", - "....leh.m.ncbehjddo...", - "...depn.hqhqhr#mccch..", - "..bb.hcaeh.hqersjhjcd.", - ".tcm.uqn.hc.uvwxhuygha", - ".feh.n.hb.hhzemcwhmuAm", - "Bgehghqqme.eo#wlnysbnj", - "awhdAzn.engjepswhmuyuj", - "bCh#m.de.jpqwbmcwemlcz", - "hcb#xh.nd#qrbswfehwzbm", - "bd#d.A#zor#qmgbzwgjgws", - "ajbcuqhqzchwwbemewchmr", - "Dcn#cwmhgwehgsxbmhEjAc", - ".uanauFrhbgeahAAbcbuhh", - ".bohdAegcccfbbebuucmhe", - "..briuauAediddeclchhh.", - "...hcbhjccdecbceccch..", - "....nhcmeccdccephcp...", - ".....crbhchhhrhhck....", - "......tcmdhohhcnG....." -}; - - -class TQScintillaPlugin : public TQWidgetPlugin -{ -public: - TQScintillaPlugin() {}; - - TQStringList keys() const; - TQWidget *create(const TQString &classname, TQWidget *parent = 0, const char *name = 0); - TQString group(const TQString &) const; - TQIconSet iconSet(const TQString &) const; - TQString includeFile(const TQString &) const; - TQString toolTip(const TQString &) const; - TQString whatsThis(const TQString &) const; - bool isContainer(const TQString &) const; -}; - - -TQStringList TQScintillaPlugin::keys() const -{ - TQStringList list; - - list << "QextScintilla"; - - return list; -} - - -TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name) -{ - if (key == "QextScintilla") - return new QextScintilla(parent, name); - - return 0; -} - - -TQString TQScintillaPlugin::group(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "Input"; - - return TQString(); -} - - -TQIconSet TQScintillaPlugin::iconSet(const TQString &) const -{ - return TQIconSet(TQPixmap(qscintilla_pixmap)); -} - - -TQString TQScintillaPlugin::includeFile(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "qextscintilla.h"; - - return TQString(); -} - - -TQString TQScintillaPlugin::toolTip(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "TQScintilla Programmer's Editor"; - - return TQString(); -} - - -TQString TQScintillaPlugin::whatsThis(const TQString &feature) const -{ - if (feature == "QextScintilla") - return "A port to TQt of the Scintilla programmer's editor"; - - return TQString(); -} - - -bool TQScintillaPlugin::isContainer(const TQString &) const -{ - return FALSE; -} - - -TQ_EXPORT_PLUGIN(TQScintillaPlugin) diff --git a/designer/tqscintillaplugin.cpp b/designer/tqscintillaplugin.cpp new file mode 100644 index 0000000..d383729 --- /dev/null +++ b/designer/tqscintillaplugin.cpp @@ -0,0 +1,154 @@ +// This implements the TQScintilla plugin for TQt Designer. + + +#include + +#include "../tqt/tqextscintilla.h" + + +static const char *tqscintilla_pixmap[]={ + "22 22 35 1", + "m c #000000", + "n c #000033", + "p c #003300", + "r c #003333", + "v c #330000", + "o c #330033", + "l c #333300", + "h c #333333", + "c c #333366", + "d c #336666", + "u c #336699", + "E c #3366cc", + "k c #663333", + "i c #663366", + "b c #666666", + "e c #666699", + "A c #6666cc", + "G c #669966", + "f c #669999", + "j c #6699cc", + "y c #6699ff", + "t c #996666", + "a c #999999", + "g c #9999cc", + "s c #9999ff", + "C c #99cc99", + "x c #99cccc", + "w c #99ccff", + "F c #cc99ff", + "q c #cccccc", + "# c #ccccff", + "B c #ccffcc", + "z c #ccffff", + "D c #ffffcc", + ". c none", + "........#abcda........", + "......abefghdidcf.....", + ".....cadhfaehjheck....", + "....leh.m.ncbehjddo...", + "...depn.hqhqhr#mccch..", + "..bb.hcaeh.hqersjhjcd.", + ".tcm.uqn.hc.uvwxhuygha", + ".feh.n.hb.hhzemcwhmuAm", + "Bgehghqqme.eo#wlnysbnj", + "awhdAzn.engjepswhmuyuj", + "bCh#m.de.jpqwbmcwemlcz", + "hcb#xh.nd#qrbswfehwzbm", + "bd#d.A#zor#qmgbzwgjgws", + "ajbcuqhqzchwwbemewchmr", + "Dcn#cwmhgwehgsxbmhEjAc", + ".uanauFrhbgeahAAbcbuhh", + ".bohdAegcccfbbebuucmhe", + "..briuauAediddeclchhh.", + "...hcbhjccdecbceccch..", + "....nhcmeccdccephcp...", + ".....crbhchhhrhhck....", + "......tcmdhohhcnG....." +}; + + +class TQScintillaPlugin : public TQWidgetPlugin +{ +public: + TQScintillaPlugin() {}; + + TQStringList keys() const; + TQWidget *create(const TQString &classname, TQWidget *parent = 0, const char *name = 0); + TQString group(const TQString &) const; + TQIconSet iconSet(const TQString &) const; + TQString includeFile(const TQString &) const; + TQString toolTip(const TQString &) const; + TQString whatsThis(const TQString &) const; + bool isContainer(const TQString &) const; +}; + + +TQStringList TQScintillaPlugin::keys() const +{ + TQStringList list; + + list << "TQextScintilla"; + + return list; +} + + +TQWidget *TQScintillaPlugin::create(const TQString &key, TQWidget *parent, const char *name) +{ + if (key == "TQextScintilla") + return new TQextScintilla(parent, name); + + return 0; +} + + +TQString TQScintillaPlugin::group(const TQString &feature) const +{ + if (feature == "TQextScintilla") + return "Input"; + + return TQString(); +} + + +TQIconSet TQScintillaPlugin::iconSet(const TQString &) const +{ + return TQIconSet(TQPixmap(tqscintilla_pixmap)); +} + + +TQString TQScintillaPlugin::includeFile(const TQString &feature) const +{ + if (feature == "TQextScintilla") + return "tqextscintilla.h"; + + return TQString(); +} + + +TQString TQScintillaPlugin::toolTip(const TQString &feature) const +{ + if (feature == "TQextScintilla") + return "TQScintilla Programmer's Editor"; + + return TQString(); +} + + +TQString TQScintillaPlugin::whatsThis(const TQString &feature) const +{ + if (feature == "TQextScintilla") + return "A port to TQt of the Scintilla programmer's editor"; + + return TQString(); +} + + +bool TQScintillaPlugin::isContainer(const TQString &) const +{ + return FALSE; +} + + +TQ_EXPORT_PLUGIN(TQScintillaPlugin) diff --git a/doc/en/annotated.html b/doc/en/annotated.html index 0813b1e..20b3bb4 100644 --- a/doc/en/annotated.html +++ b/doc/en/annotated.html @@ -18,34 +18,34 @@
  • Class Members
  • TQScintilla Class List

    Here are the classes, structs, unions and interfaces with brief descriptions: - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    QextScintillaImplements a higher level, more TQt-like, API to the Scintilla editor widget
    QextScintillaAPIsTextual API information used in call tips and for auto-completion
    QextScintillaBaseImplements the Scintilla editor widget and its low-level API
    QextScintillaCommandInternal editor command that may have one or two keys bound to it
    QextScintillaCommandSetSet of all internal editor commands that may have keys bound
    QextScintillaDocumentDocument to be editted
    QextScintillaLexerAbstract class used as a base for specific language lexers
    QextScintillaLexerBashEncapsulates the Scintilla Bash lexer
    QextScintillaLexerBatchEncapsulates the Scintilla batch file lexer
    QextScintillaLexerCPPEncapsulates the Scintilla C++ lexer
    QextScintillaLexerCSharpEncapsulates the Scintilla C# lexer
    QextScintillaLexerCSSEncapsulates the Scintilla CSS lexer
    QextScintillaLexerDiffEncapsulates the Scintilla Diff lexer
    QextScintillaLexerHTMLEncapsulates the Scintilla HTML lexer
    QextScintillaLexerIDLEncapsulates the Scintilla IDL lexer
    QextScintillaLexerJavaEncapsulates the Scintilla Java lexer
    QextScintillaLexerJavaScriptEncapsulates the Scintilla JavaScript lexer
    QextScintillaLexerLuaEncapsulates the Scintilla Lua lexer
    QextScintillaLexerMakefileEncapsulates the Scintilla Makefile lexer
    QextScintillaLexerPerlEncapsulates the Scintilla Perl lexer
    QextScintillaLexerPOVEncapsulates the Scintilla POV lexer
    QextScintillaLexerPropertiesEncapsulates the Scintilla Properties lexer
    QextScintillaLexerPythonEncapsulates the Scintilla Python lexer
    QextScintillaLexerRubyEncapsulates the Scintilla Ruby lexer
    QextScintillaLexerSQLEncapsulates the Scintilla SQL lexer
    QextScintillaLexerTeXEncapsulates the Scintilla TeX lexer
    QextScintillaMacroSequence of recordable editor commands
    QextScintillaPrinterSub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document
    TQextScintillaImplements a higher level, more TQt-like, API to the Scintilla editor widget
    TQextScintillaAPIsTextual API information used in call tips and for auto-completion
    TQextScintillaBaseImplements the Scintilla editor widget and its low-level API
    TQextScintillaCommandInternal editor command that may have one or two keys bound to it
    TQextScintillaCommandSetSet of all internal editor commands that may have keys bound
    TQextScintillaDocumentDocument to be editted
    TQextScintillaLexerAbstract class used as a base for specific language lexers
    TQextScintillaLexerBashEncapsulates the Scintilla Bash lexer
    TQextScintillaLexerBatchEncapsulates the Scintilla batch file lexer
    TQextScintillaLexerCPPEncapsulates the Scintilla C++ lexer
    TQextScintillaLexerCSharpEncapsulates the Scintilla C# lexer
    TQextScintillaLexerCSSEncapsulates the Scintilla CSS lexer
    TQextScintillaLexerDiffEncapsulates the Scintilla Diff lexer
    TQextScintillaLexerHTMLEncapsulates the Scintilla HTML lexer
    TQextScintillaLexerIDLEncapsulates the Scintilla IDL lexer
    TQextScintillaLexerJavaEncapsulates the Scintilla Java lexer
    TQextScintillaLexerJavaScriptEncapsulates the Scintilla JavaScript lexer
    TQextScintillaLexerLuaEncapsulates the Scintilla Lua lexer
    TQextScintillaLexerMakefileEncapsulates the Scintilla Makefile lexer
    TQextScintillaLexerPerlEncapsulates the Scintilla Perl lexer
    TQextScintillaLexerPOVEncapsulates the Scintilla POV lexer
    TQextScintillaLexerPropertiesEncapsulates the Scintilla Properties lexer
    TQextScintillaLexerPythonEncapsulates the Scintilla Python lexer
    TQextScintillaLexerRubyEncapsulates the Scintilla Ruby lexer
    TQextScintillaLexerSQLEncapsulates the Scintilla SQL lexer
    TQextScintillaLexerTeXEncapsulates the Scintilla TeX lexer
    TQextScintillaMacroSequence of recordable editor commands
    TQextScintillaPrinterSub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document

    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  diff --git a/doc/en/classQextScintilla-members.html b/doc/en/classQextScintilla-members.html deleted file mode 100644 index eefb9ec..0000000 --- a/doc/en/classQextScintilla-members.html +++ /dev/null @@ -1,1014 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintilla Member List

    This is the complete list of members for QextScintilla, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    AcsAll enum valueQextScintilla
    AcsAPIs enum valueQextScintilla
    AcsDocument enum valueQextScintilla
    AiClosing enum valueQextScintilla
    AiMaintain enum valueQextScintilla
    AiOpening enum valueQextScintilla
    append(const TQString &text)QextScintilla [virtual, slot]
    autoCompleteFromAll()QextScintilla [virtual, slot]
    autoCompleteFromAPIs()QextScintilla [virtual, slot]
    autoCompleteFromDocument()QextScintilla [virtual, slot]
    autoCompletionCaseSensitivity()QextScintilla
    autoCompletionFillupsEnabled()QextScintilla
    autoCompletionReplaceWord()QextScintilla
    autoCompletionShowSingle()QextScintilla
    AutoCompletionSource enum nameQextScintilla
    autoCompletionSource() const QextScintilla [inline]
    autoCompletionThreshold() const QextScintilla [inline]
    autoIndent() const QextScintilla [inline]
    Background enum valueQextScintilla
    backspaceUnindents()QextScintilla
    beginUndoAction()QextScintilla
    BottomLeftCorner enum valueQextScintilla
    BoxedFoldStyle enum valueQextScintilla
    BoxedMinus enum valueQextScintilla
    BoxedMinusConnected enum valueQextScintilla
    BoxedPlus enum valueQextScintilla
    BoxedPlusConnected enum valueQextScintilla
    BoxedTreeFoldStyle enum valueQextScintilla
    BraceMatch enum nameQextScintilla
    braceMatching() const QextScintilla [inline]
    callTip()QextScintilla [virtual, slot]
    callTipsVisible() const QextScintilla [inline]
    cancelList()QextScintilla
    CARET_EVEN enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_JUMPS enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_SLOP enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_STRICT enum value (defined in QextScintillaBase)QextScintillaBase
    Circle enum valueQextScintilla
    CircledFoldStyle enum valueQextScintilla
    CircledMinus enum valueQextScintilla
    CircledMinusConnected enum valueQextScintilla
    CircledPlus enum valueQextScintilla
    CircledPlusConnected enum valueQextScintilla
    CircledTreeFoldStyle enum valueQextScintilla
    clear()QextScintilla [virtual, slot]
    clearRegisteredImages()QextScintilla
    color() const QextScintilla
    convertEols(EolMode mode)QextScintilla
    copy()QextScintilla [virtual, slot]
    copyAvailable(bool yes)QextScintilla [signal]
    cursorPositionChanged(int line, int pos)QextScintilla [signal]
    cut()QextScintilla [virtual, slot]
    document()QextScintilla [inline]
    DownTriangle enum valueQextScintilla
    EDGE_BACKGROUND enum value (defined in QextScintillaBase)QextScintillaBase
    EDGE_LINE enum value (defined in QextScintillaBase)QextScintillaBase
    EDGE_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    EdgeBackground enum valueQextScintilla
    edgeColor()QextScintilla
    edgeColumn()QextScintilla
    EdgeLine enum valueQextScintilla
    EdgeMode enum nameQextScintilla
    edgeMode()QextScintilla
    EdgeNone enum valueQextScintilla
    endUndoAction()QextScintilla
    ensureCursorVisible()QextScintilla [virtual, slot]
    ensureLineVisible(int line)QextScintilla [virtual, slot]
    EolMac enum valueQextScintilla
    EolMode enum nameQextScintilla
    eolMode()QextScintilla
    EolUnix enum valueQextScintilla
    eolVisibility()QextScintilla
    EolWindows enum valueQextScintilla
    eventFilter(TQObject *o, TQEvent *e)QextScintillaBase [protected]
    findFirst(const TQString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=TRUE, int line=-1, int index=-1, bool show=TRUE)QextScintilla [virtual]
    findNext()QextScintilla [virtual]
    firstVisibleLine()QextScintilla
    focusInEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
    focusNextPrevChild(bool)QextScintillaBase [protected, virtual]
    focusOutEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
    foldAll(bool children=FALSE)QextScintilla [virtual, slot]
    folding() const QextScintilla [inline]
    foldLine(int line)QextScintilla [virtual, slot]
    FoldStyle enum nameQextScintilla
    getCursorPosition(int *line, int *index)QextScintilla
    getSelection(int *lineFrom, int *indexFrom, int *lineTo, int *indexTo)QextScintilla
    hasSelectedText() const QextScintilla [inline]
    indent(int line)QextScintilla [virtual, slot]
    indentation(int line)QextScintilla
    indentationGuides()QextScintilla
    indentationsUseTabs()QextScintilla
    indentationWidth()QextScintilla
    INDIC0_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC1_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC2_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_BOX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_DIAGONAL enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_HIDDEN enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_MAX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_PLAIN enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_ROUNDBOX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_SQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_STRIKE enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_TT enum value (defined in QextScintillaBase)QextScintillaBase
    INDICS_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    insert(const TQString &text)QextScintilla [virtual, slot]
    insertAt(const TQString &text, int line, int index)QextScintilla [virtual, slot]
    Invisible enum valueQextScintilla
    isCallTipActive()QextScintilla
    isListActive()QextScintilla
    isModified()QextScintilla
    isReadOnly()QextScintilla
    isRedoAvailable()QextScintilla
    isUndoAvailable()QextScintilla
    isUtf8()QextScintilla
    keyPressEvent(TQKeyEvent *ke)QextScintillaBase [protected, virtual]
    LeftSideRoundedSplitter enum valueQextScintilla
    LeftSideSplitter enum valueQextScintilla
    length()QextScintilla
    lexer() const QextScintilla
    lineAt(const TQPoint &pos)QextScintilla
    lineLength(int line)QextScintilla
    lines()QextScintilla
    marginClicked(int margin, int line, TQt::ButtonState state)QextScintilla [signal]
    marginLineNumbers(int margin)QextScintilla
    marginMarkerMask(int margin)QextScintilla
    marginSensitivity(int margin)QextScintilla
    marginWidth(int margin)QextScintilla
    markerAdd(int linenr, int mnr)QextScintilla
    markerDefine(MarkerSymbol sym, int mnr=-1)QextScintilla
    markerDefine(char ch, int mnr=-1)QextScintilla
    markerDefine(const TQPixmap *pm, int mnr=-1)QextScintilla
    markerDelete(int linenr, int mnr=-1)QextScintilla
    markerDeleteAll(int mnr=-1)QextScintilla
    markerDeleteHandle(int mhandle)QextScintilla
    markerFindNext(int linenr, unsigned mask)QextScintilla
    markerFindPrevious(int linenr, unsigned mask)QextScintilla
    markerLine(int mhandle)QextScintilla
    markersAtLine(int linenr)QextScintilla
    MarkerSymbol enum nameQextScintilla
    Minus enum valueQextScintilla
    modificationAttempted()QextScintilla [signal]
    modificationChanged(bool m)QextScintilla [signal]
    moveToMatchingBrace()QextScintilla [virtual, slot]
    NoBraceMatch enum valueQextScintilla
    NoFoldStyle enum valueQextScintilla
    paper() const QextScintilla
    paste()QextScintilla [virtual, slot]
    PlainFoldStyle enum valueQextScintilla
    Plus enum valueQextScintilla
    pool()QextScintillaBase [static]
    QextScintilla(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintilla
    QextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase
    TQSCN_SELCHANGED(bool yes)QextScintillaBase [signal]
    recolor(int start=0, int end=-1)QextScintilla [virtual]
    Rectangle enum valueQextScintilla
    redo()QextScintilla [virtual, slot]
    registerImage(int id, const TQPixmap *pm)QextScintilla
    removeSelectedText()QextScintilla [virtual, slot]
    replace(const TQString &replaceStr)QextScintilla [virtual]
    resetFoldMarginColors()QextScintilla
    resetSelectionBackgroundColor()QextScintilla [virtual, slot]
    resetSelectionForegroundColor()QextScintilla [virtual, slot]
    RightArrow enum valueQextScintilla
    RightTriangle enum valueQextScintilla
    RoundedBottomLeftCorner enum valueQextScintilla
    SC_ALPHA_NOALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SC_ALPHA_OPAQUE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_ALPHA_TRANSPARENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_CARET enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_DOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_PAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_LOWER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_MIXED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_UPPER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_8859_15 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_ANSI enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_ARABIC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_BALTIC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_CHINESEBIG5 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_EASTEUROPE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_GB2312 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_GREEK enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_HANGUL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_HEBREW enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_JOHAB enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_MAC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_OEM enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_RUSSIAN enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_SHIFTJIS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_SYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_THAI enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_TURKISH enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_VIETNAMESE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CP_DBCS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CP_UTF8 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CURSORNORMAL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CURSORWAIT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_CR enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_CRLF enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_LF enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_BOX enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LEVELNUMBERS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEAFTER_CONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEAFTER_EXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_CONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_EXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBASE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBOXFOOTERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBOXHEADERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELCONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELHEADERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELNUMBERMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELUNINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELWHITEFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_LASTSTEPINUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARGIN_BACK enum valueQextScintillaBase
    SC_MARGIN_FORE enum valueQextScintillaBase
    SC_MARGIN_NUMBER enum valueQextScintillaBase
    SC_MARGIN_SYMBOL enum valueQextScintillaBase
    SC_MARK_ARROW enum valueQextScintillaBase
    SC_MARK_ARROWDOWN enum valueQextScintillaBase
    SC_MARK_ARROWS enum valueQextScintillaBase
    SC_MARK_BACKGROUND enum valueQextScintillaBase
    SC_MARK_BOXMINUS enum valueQextScintillaBase
    SC_MARK_BOXMINUSCONNECTED enum valueQextScintillaBase
    SC_MARK_BOXPLUS enum valueQextScintillaBase
    SC_MARK_BOXPLUSCONNECTED enum valueQextScintillaBase
    SC_MARK_CHARACTER enum valueQextScintillaBase
    SC_MARK_CIRCLE enum valueQextScintillaBase
    SC_MARK_CIRCLEMINUS enum valueQextScintillaBase
    SC_MARK_CIRCLEMINUSCONNECTED enum valueQextScintillaBase
    SC_MARK_CIRCLEPLUS enum valueQextScintillaBase
    SC_MARK_CIRCLEPLUSCONNECTED enum valueQextScintillaBase
    SC_MARK_DOTDOTDOT enum valueQextScintillaBase
    SC_MARK_EMPTY enum valueQextScintillaBase
    SC_MARK_FULLRECT enum valueQextScintillaBase
    SC_MARK_LCORNER enum valueQextScintillaBase
    SC_MARK_LCORNERCURVE enum valueQextScintillaBase
    SC_MARK_MINUS enum valueQextScintillaBase
    SC_MARK_PIXMAP enum valueQextScintillaBase
    SC_MARK_PLUS enum valueQextScintillaBase
    SC_MARK_ROUNDRECT enum valueQextScintillaBase
    SC_MARK_SHORTARROW enum valueQextScintillaBase
    SC_MARK_SMALLRECT enum valueQextScintillaBase
    SC_MARK_TCORNER enum valueQextScintillaBase
    SC_MARK_TCORNERCURVE enum valueQextScintillaBase
    SC_MARK_VLINE enum valueQextScintillaBase
    SC_MARKNUM_FOLDER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEREND enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERMIDTAIL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEROPEN enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEROPENMID enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERSUB enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERTAIL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MASK_FOLDERS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_BEFOREDELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_BEFOREINSERT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGEFOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGEMARKER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGESTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_DELETETEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_INSERTTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MODEVENTMASKALL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MULTILINEUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MULTISTEPUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_REDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_UNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_USER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_BLACKONWHITE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_COLOURONWHITE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_COLOURONWHITEDEFAULTBG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_INVERTLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_NORMAL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_LINES enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_RECTANGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_STREAM enum value (defined in QextScintillaBase)QextScintillaBase
    SC_TIME_FOREVER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_CHAR enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_WORD enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_END enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_START enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_END_BY_TEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_START_BY_TEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCEN_CHANGE()QextScintillaBase [signal]
    SCFIND_MATCHCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_POSIX enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_REGEXP enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_WHOLEWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_WORDSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDREFDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDSTYLEDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDTEXT enum valueQextScintillaBase
    SCI_ALLOCATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_APPENDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ASSIGNCMDKEY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCACTIVE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCCANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCCOMPLETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETAUTOHIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCANCELATSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCHOOSESINGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCURRENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETDROPRESTOFWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETIGNORECASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETMAXHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETMAXWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETSEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETTYPESEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCPOSSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSELECT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETAUTOHIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETCANCELATSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETCHOOSESINGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETDROPRESTOFWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETFILLUPS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETIGNORECASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETMAXHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETMAXWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETSEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETTYPESEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSTOPS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BACKTAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BEGINUNDOACTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEBADLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEHIGHLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEMATCH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPACTIVE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPCANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPPOSSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETFOREHLT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETHLT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPUSESTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANPASTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANUNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFTRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHTRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHOOSECARETX enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARALLCMDKEYS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARCMDKEY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARDOCUMENTSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARREGISTEREDIMAGES enum valueQextScintillaBase
    SCI_COLOURISE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CONVERTEOLS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPYRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPYTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CREATEDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELETEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELETEBACKNOTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELLINELEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELLINERIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELWORDLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELWORDRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCLINEFROMVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTSTARTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_EDITTOGGLEOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_EMPTYUNDOBUFFER enum valueQextScintillaBase
    SCI_ENDUNDOACTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ENSUREVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ENSUREVISIBLEENFORCEPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FINDCOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FINDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FORMATRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FORMFEED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETANCHOR enum valueQextScintillaBase
    SCI_GETBACKSPACEUNINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETBUFFEREDDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEBACKALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETPERIOD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCHARAT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCODEPAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCONTROLCHARSYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCURLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCURRENTPOS enum valueQextScintillaBase
    SCI_GETCURSOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDIRECTFUNCTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDIRECTPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDOCPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGECOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGECOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGEMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETENDATLASTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETENDSTYLED enum valueQextScintillaBase
    SCI_GETEOLMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFIRSTVISIBLELINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDLEVEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDPARENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETHIGHLIGHTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETHSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETINDENTATIONGUIDES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLASTCHILD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLAYOUTCACHE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLENGTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLEXER enum valueQextScintillaBase
    SCI_GETLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINECOUNT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEINDENTATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEINDENTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESELENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESELSTARTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINMASKN enum valueQextScintillaBase
    SCI_GETMARGINRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINSENSITIVEN enum valueQextScintillaBase
    SCI_GETMARGINTYPEN enum valueQextScintillaBase
    SCI_GETMARGINWIDTHN enum valueQextScintillaBase
    SCI_GETMAXLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMODEVENTMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMODIFY enum valueQextScintillaBase
    SCI_GETMOUSEDOWNCAPTURES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMOUSEDWELLTIME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPASTECONVERTENDINGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTCOLOURMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTMAGNIFICATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTYEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTYINT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETREADONLY enum valueQextScintillaBase
    SCI_GETSCROLLWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSEARCHFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTATUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEAT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEBITS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEBITSNEEDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTABINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTABWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTARGETEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTARGETSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTEXT enum valueQextScintillaBase
    SCI_GETTEXTLENGTH enum valueQextScintillaBase
    SCI_GETTEXTRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTWOPHASEDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUNDOCOLLECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUSEPALETTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUSETABS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVIEWEOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVIEWWS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPSTARTINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPVISUALFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPVISUALFLAGSLOCATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETXOFFSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETZOOM enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GOTOLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GOTOPOS enum valueQextScintillaBase
    SCI_GRABFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HIDELINES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HIDESELECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEDISPLAY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEDISPLAYEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMERECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICGETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICGETSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICSETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICSETSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INSERTTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LEXER_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINECOPY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINECUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWNRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDUPLICATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDDISPLAY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDDISPLAYEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINELENGTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLLDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLLUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESJOIN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESONSCREEN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESSPLIT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINETRANSPOSE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUPRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LOADLEXERLIBRARY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LOWERCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERADD enum valueQextScintillaBase
    SCI_MARKERADDSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERDEFINE enum valueQextScintillaBase
    SCI_MARKERDEFINEPIXMAP enum valueQextScintillaBase
    SCI_MARKERDELETE enum valueQextScintillaBase
    SCI_MARKERDELETEALL enum valueQextScintillaBase
    SCI_MARKERDELETEHANDLE enum valueQextScintillaBase
    SCI_MARKERGET enum valueQextScintillaBase
    SCI_MARKERLINEFROMHANDLE enum valueQextScintillaBase
    SCI_MARKERNEXT enum valueQextScintillaBase
    SCI_MARKERPREVIOUS enum valueQextScintillaBase
    SCI_MARKERSETALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERSETBACK enum valueQextScintillaBase
    SCI_MARKERSETFORE enum valueQextScintillaBase
    SCI_MOVECARETINSIDEVIEW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_NEWLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_NULL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_OPTIONAL_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWNRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUPRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARADOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARADOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARAUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARAUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PASTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POINTXFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POINTYFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONAFTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONBEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMPOINT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMPOINTCLOSE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REGISTERIMAGE enum valueQextScintillaBase
    SCI_RELEASEDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACESEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACETARGET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACETARGETRE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SCROLLCARET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHANCHOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHINTARGET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHNEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHPREV enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTIONDUPLICATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTIONISRECTANGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETANCHOR enum valueQextScintillaBase
    SCI_SETBACKSPACEUNINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETBUFFEREDDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEBACKALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETPERIOD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCHARSDEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCODEPAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCONTROLCHARSYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCURRENTPOS enum valueQextScintillaBase
    SCI_SETCURSOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETDOCPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGECOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGECOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGEMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETENDATLASTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEOLMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDLEVEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDMARGINCOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDMARGINHICOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHIGHLIGHTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEUNDERLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETINDENTATIONGUIDES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETKEYWORDS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLAYOUTCACHE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLEXER enum valueQextScintillaBase
    SCI_SETLEXERLANGUAGE enum valueQextScintillaBase
    SCI_SETLINEINDENTATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINMASKN enum valueQextScintillaBase
    SCI_SETMARGINRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINSENSITIVEN enum valueQextScintillaBase
    SCI_SETMARGINTYPEN enum valueQextScintillaBase
    SCI_SETMARGINWIDTHN enum valueQextScintillaBase
    SCI_SETMODEVENTMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMOUSEDOWNCAPTURES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMOUSEDWELLTIME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPASTECONVERTENDINGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTCOLOURMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTMAGNIFICATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPROPERTY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETREADONLY enum valueQextScintillaBase
    SCI_SETSAVEPOINT enum valueQextScintillaBase
    SCI_SETSCROLLWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSEARCHFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTATUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLEBITS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLING enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLINGEX enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTABINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTABWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTARGETEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTARGETSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTEXT enum valueQextScintillaBase
    SCI_SETTWOPHASEDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUNDOCOLLECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUSEPALETTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUSETABS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVIEWEOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVIEWWS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVISIBLEPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACECHARS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWORDCHARS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPSTARTINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPVISUALFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPVISUALFLAGSLOCATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETXCARETPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETXOFFSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETYCARETPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETZOOM enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SHOWLINES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STARTRECORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STARTSTYLING enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STOPRECORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLECLEARALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLERESETDEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETBOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCHANGEABLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCHARACTERSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETEOLFILLED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETFONT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETHOTSPOT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETITALIC enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETSIZE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETUNDERLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TARGETFROMSELECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TEXTHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TEXTWIDTH enum valueQextScintillaBase
    SCI_TOGGLECARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TOGGLEFOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_UNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_UPPERCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_USEPOPUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_USERLISTSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMERECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VISIBLEFROMDOCLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDSTARTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WRAPCOUNT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ZOOMIN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ZOOMOUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_ADD enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_BACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DIVIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_END enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_ESCAPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_HOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_INSERT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_LEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_NEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_PRIOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_RETURN enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_RIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_SUBTRACT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_TAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_UP enum value (defined in QextScintillaBase)QextScintillaBase
    SCLEX_ADA enum valueQextScintillaBase
    SCLEX_APDL enum valueQextScintillaBase
    SCLEX_ASM enum valueQextScintillaBase
    SCLEX_ASN1 enum valueQextScintillaBase
    SCLEX_ASP enum valueQextScintillaBase
    SCLEX_AU3 enum valueQextScintillaBase
    SCLEX_AVE enum valueQextScintillaBase
    SCLEX_BAAN enum valueQextScintillaBase
    SCLEX_BASH enum valueQextScintillaBase
    SCLEX_BATCH enum valueQextScintillaBase
    SCLEX_BLITZBASIC enum valueQextScintillaBase
    SCLEX_BULLANT enum valueQextScintillaBase
    SCLEX_CAML enum valueQextScintillaBase
    SCLEX_CLW enum valueQextScintillaBase
    SCLEX_CLWNOCASE enum valueQextScintillaBase
    SCLEX_CONF enum valueQextScintillaBase
    SCLEX_CONTAINER enum valueQextScintillaBase
    SCLEX_CPP enum valueQextScintillaBase
    SCLEX_CPPNOCASE enum valueQextScintillaBase
    SCLEX_CSOUND enum valueQextScintillaBase
    SCLEX_CSS enum valueQextScintillaBase
    SCLEX_DIFF enum valueQextScintillaBase
    SCLEX_EIFFEL enum valueQextScintillaBase
    SCLEX_EIFFELKW enum valueQextScintillaBase
    SCLEX_ERLANG enum valueQextScintillaBase
    SCLEX_ERRORLIST enum valueQextScintillaBase
    SCLEX_ESCRIPT enum valueQextScintillaBase
    SCLEX_F77 enum valueQextScintillaBase
    SCLEX_FLAGSHIP enum valueQextScintillaBase
    SCLEX_FORTH enum valueQextScintillaBase
    SCLEX_FORTRAN enum valueQextScintillaBase
    SCLEX_FREEBASIC enum valueQextScintillaBase
    SCLEX_GUI4CLI enum valueQextScintillaBase
    SCLEX_HASKELL enum valueQextScintillaBase
    SCLEX_HTML enum valueQextScintillaBase
    SCLEX_INNOSETUP enum valueQextScintillaBase
    SCLEX_KIX enum valueQextScintillaBase
    SCLEX_LATEX enum valueQextScintillaBase
    SCLEX_LISP enum valueQextScintillaBase
    SCLEX_LOT enum valueQextScintillaBase
    SCLEX_LOUT enum valueQextScintillaBase
    SCLEX_LUA enum valueQextScintillaBase
    SCLEX_MAKEFILE enum valueQextScintillaBase
    SCLEX_MATLAB enum valueQextScintillaBase
    SCLEX_METAPOST enum valueQextScintillaBase
    SCLEX_MMIXAL enum valueQextScintillaBase
    SCLEX_MSSQL enum valueQextScintillaBase
    SCLEX_NNCRONTAB enum valueQextScintillaBase
    SCLEX_NSIS enum valueQextScintillaBase
    SCLEX_NULL enum valueQextScintillaBase
    SCLEX_OCTAVE enum valueQextScintillaBase
    SCLEX_OPAL enum valueQextScintillaBase
    SCLEX_PASCAL enum valueQextScintillaBase
    SCLEX_PERL enum valueQextScintillaBase
    SCLEX_PHP enum valueQextScintillaBase
    SCLEX_PHPSCRIPT enum valueQextScintillaBase
    SCLEX_POV enum valueQextScintillaBase
    SCLEX_POWERBASIC enum valueQextScintillaBase
    SCLEX_PROPERTIES enum valueQextScintillaBase
    SCLEX_PS enum valueQextScintillaBase
    SCLEX_PUREBASIC enum valueQextScintillaBase
    SCLEX_PYTHON enum valueQextScintillaBase
    SCLEX_REBOL enum valueQextScintillaBase
    SCLEX_RUBY enum valueQextScintillaBase
    SCLEX_SCRIPTOL enum valueQextScintillaBase
    SCLEX_SMALLTALK enum valueQextScintillaBase
    SCLEX_SPECMAN enum valueQextScintillaBase
    SCLEX_SPICE enum valueQextScintillaBase
    SCLEX_SQL enum valueQextScintillaBase
    SCLEX_TADS3 enum valueQextScintillaBase
    SCLEX_TCL enum valueQextScintillaBase
    SCLEX_TEX enum valueQextScintillaBase
    SCLEX_VB enum valueQextScintillaBase
    SCLEX_VBSCRIPT enum valueQextScintillaBase
    SCLEX_VERILOG enum valueQextScintillaBase
    SCLEX_VHDL enum valueQextScintillaBase
    SCLEX_XML enum valueQextScintillaBase
    SCLEX_YAML enum valueQextScintillaBase
    SCMOD_ALT enum valueQextScintillaBase
    SCMOD_CTRL enum valueQextScintillaBase
    SCMOD_NORM enum valueQextScintillaBase
    SCMOD_SHIFT enum valueQextScintillaBase
    SCN_AUTOCSELECTION(const char *selection, int position)QextScintillaBase [signal]
    SCN_CALLTIPCLICK(int direction)QextScintillaBase [signal]
    SCN_CHARADDED(int charadded)QextScintillaBase [signal]
    SCN_DOUBLECLICK() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_DWELLEND(int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_DWELLSTART(int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_HOTSPOTCLICK(int position, int modifiers)QextScintillaBase [signal]
    SCN_HOTSPOTDOUBLECLICK(int position, int modifiers)QextScintillaBase [signal]
    SCN_MACRORECORD(unsigned int, unsigned long, long)QextScintillaBase [signal]
    SCN_MARGINCLICK(int position, int modifiers, int margin)QextScintillaBase [signal]
    SCN_MODIFIED(int, int, const char *, int, int, int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_MODIFYATTEMPTRO()QextScintillaBase [signal]
    SCN_NEEDSHOWN(int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_PAINTED()QextScintillaBase [signal]
    SCN_SAVEPOINTLEFT()QextScintillaBase [signal]
    SCN_SAVEPOINTREACHED()QextScintillaBase [signal]
    SCN_STYLENEEDED(int position)QextScintillaBase [signal]
    SCN_UPDATEUI() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_USERLISTSELECTION(const char *, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_ZOOM() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCWS_INVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCWS_VISIBLEAFTERINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCWS_VISIBLEALWAYS enum value (defined in QextScintillaBase)QextScintillaBase
    selectAll(bool select=TRUE)QextScintilla [virtual, slot]
    selectedText()QextScintilla
    selectionChanged()QextScintilla [signal]
    selectToMatchingBrace()QextScintilla [virtual, slot]
    SendScintilla(unsigned int msg, unsigned long wParam=0, long lParam=0)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *wParam, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, long wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, int wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    setAutoCompletionAPIs(QextScintillaAPIs *apis=0)QextScintilla
    setAutoCompletionCaseSensitivity(bool cs)QextScintilla [virtual, slot]
    setAutoCompletionFillups(const char *fillups)QextScintilla
    setAutoCompletionFillupsEnabled(bool enabled)QextScintilla
    setAutoCompletionReplaceWord(bool replace)QextScintilla [virtual, slot]
    setAutoCompletionShowSingle(bool single)QextScintilla [virtual, slot]
    setAutoCompletionSource(AutoCompletionSource source)QextScintilla [virtual, slot]
    setAutoCompletionStartCharacters(const char *start)QextScintilla
    setAutoCompletionThreshold(int thresh)QextScintilla [virtual, slot]
    setAutoIndent(bool autoindent)QextScintilla [virtual, slot]
    setBackspaceUnindents(bool unindent)QextScintilla [virtual, slot]
    setBraceMatching(BraceMatch bm)QextScintilla [virtual, slot]
    setCallTipsAPIs(QextScintillaAPIs *apis=0)QextScintilla
    setCallTipsBackgroundColor(const TQColor &col)QextScintilla
    setCallTipsForegroundColor(const TQColor &col)QextScintilla
    setCallTipsHighlightColor(const TQColor &col)QextScintilla
    setCallTipsVisible(int nr)QextScintilla
    setCaretForegroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setCaretLineBackgroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setCaretLineVisible(bool enable)QextScintilla [virtual, slot]
    setCaretWidth(int width)QextScintilla [virtual, slot]
    setColor(const TQColor &c)QextScintilla [virtual, slot]
    setCursorPosition(int line, int index)QextScintilla [virtual, slot]
    setDocument(const QextScintillaDocument &document)QextScintilla
    setEdgeColor(const TQColor &col)QextScintilla
    setEdgeColumn(int colnr)QextScintilla
    setEdgeMode(EdgeMode mode)QextScintilla
    setEolMode(EolMode mode)QextScintilla [virtual, slot]
    setEolVisibility(bool visible)QextScintilla [virtual, slot]
    setFolding(FoldStyle fold)QextScintilla [virtual, slot]
    setFoldMarginColors(const TQColor &fore, const TQColor &back)QextScintilla
    setFont(const TQFont &f)QextScintilla [virtual]
    setIndentation(int line, int indentation)QextScintilla [virtual, slot]
    setIndentationGuides(bool enable)QextScintilla [virtual, slot]
    setIndentationGuidesBackgroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setIndentationGuidesForegroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setIndentationsUseTabs(bool tabs)QextScintilla [virtual, slot]
    setIndentationWidth(int width)QextScintilla [virtual, slot]
    setLexer(QextScintillaLexer *lexer=0)QextScintilla [virtual, slot]
    setMarginLineNumbers(int margin, bool lnrs)QextScintilla [virtual, slot]
    setMarginMarkerMask(int margin, int mask)QextScintilla [virtual, slot]
    setMarginsBackgroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setMarginSensitivity(int margin, bool sens)QextScintilla [virtual, slot]
    setMarginsFont(const TQFont &f)QextScintilla [virtual, slot]
    setMarginsForegroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setMarginWidth(int margin, int width)QextScintilla [virtual, slot]
    setMarginWidth(int margin, const TQString &s)QextScintilla [virtual, slot]
    setMarkerBackgroundColor(const TQColor &col, int mnr=-1)QextScintilla
    setMarkerForegroundColor(const TQColor &col, int mnr=-1)QextScintilla
    setMatchedBraceBackgroundColor(const TQColor &col)QextScintilla
    setMatchedBraceForegroundColor(const TQColor &col)QextScintilla
    setModified(bool m)QextScintilla [virtual, slot]
    setPaper(const TQColor &c)QextScintilla [virtual, slot]
    setReadOnly(bool ro)QextScintilla [virtual, slot]
    setSelection(int lineFrom, int indexFrom, int lineTo, int indexTo)QextScintilla [virtual, slot]
    setSelectionBackgroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setSelectionForegroundColor(const TQColor &col)QextScintilla [virtual, slot]
    setTabIndents(bool indent)QextScintilla [virtual, slot]
    setTabWidth(int width)QextScintilla [virtual, slot]
    setText(const TQString &text)QextScintilla [virtual, slot]
    setUnmatchedBraceBackgroundColor(const TQColor &col)QextScintilla
    setUnmatchedBraceForegroundColor(const TQColor &col)QextScintilla
    setUtf8(bool cp)QextScintilla [virtual, slot]
    setWhitespaceVisibility(WhitespaceVisibility mode)QextScintilla [virtual, slot]
    setWrapMode(WrapMode mode)QextScintilla [virtual, slot]
    setWrapVisualFlags(WrapVisualFlag eflag, WrapVisualFlag sflag=WrapFlagNone, int sindent=0)QextScintilla
    showUserList(int id, const TQStringList &list)QextScintilla
    sizeHint() const QextScintillaBase [virtual]
    SloppyBraceMatch enum valueQextScintilla
    SmallRectangle enum valueQextScintilla
    standardCommands() const QextScintilla [inline]
    startDrag()QextScintillaBase [protected, virtual]
    StrictBraceMatch enum valueQextScintilla
    STYLE_BRACEBAD enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_BRACELIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_CALLTIP enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_CONTROLCHAR enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_INDENTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_LASTPREDEFINED enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_LINENUMBER enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_MAX enum value (defined in QextScintillaBase)QextScintillaBase
    tabIndents()QextScintilla
    tabWidth()QextScintilla
    text()QextScintilla
    text(int line)QextScintilla
    textChanged()QextScintilla [signal]
    textHeight(int linenr)QextScintilla
    ThreeDots enum valueQextScintilla
    ThreeRightArrows enum valueQextScintilla
    undo()QextScintilla [virtual, slot]
    unindent(int line)QextScintilla [virtual, slot]
    userListActivated(int id, const TQString &string)QextScintilla [signal]
    VerticalLine enum valueQextScintilla
    viewport() const QextScintillaBase
    VISIBLE_SLOP enum value (defined in QextScintillaBase)QextScintillaBase
    VISIBLE_STRICT enum value (defined in QextScintillaBase)QextScintillaBase
    WhitespaceVisibility enum nameQextScintilla
    whitespaceVisibility()QextScintilla
    WrapCharacter enum valueQextScintilla
    WrapFlagByBorder enum valueQextScintilla
    WrapFlagByText enum valueQextScintilla
    WrapFlagNone enum valueQextScintilla
    wrapMode()QextScintilla
    WrapMode enum nameQextScintilla
    WrapNone enum valueQextScintilla
    WrapVisualFlag enum nameQextScintilla
    WrapWord enum valueQextScintilla
    WsInvisible enum valueQextScintilla
    WsVisible enum valueQextScintilla
    WsVisibleAfterIndent enum valueQextScintilla
    zoomIn(int range)QextScintilla [virtual, slot]
    zoomIn()QextScintilla [virtual, slot]
    zoomOut(int range)QextScintilla [virtual, slot]
    zoomOut()QextScintilla [virtual, slot]
    zoomTo(int size)QextScintilla [virtual, slot]
    ~QextScintilla()QextScintilla [virtual]
    ~QextScintillaBase()QextScintillaBase [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintilla.html b/doc/en/classQextScintilla.html deleted file mode 100644 index 1bca3d7..0000000 --- a/doc/en/classQextScintilla.html +++ /dev/null @@ -1,4920 +0,0 @@ - - -TQScintilla: QextScintilla Class Reference - - - - - - -

    QextScintilla Class Reference

    The QextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget. -More... -

    -#include <qextscintilla.h> -

    -Inherits QextScintillaBase. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Signals

    - -

    Public Member Functions

    - -

    Classes

    -
      -
    • struct FindState -
    -

    Detailed Description

    -The QextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget. -

    -QextScintilla implements methods, signals and slots similar to those found in other TQt editor classes. It also provides a higher level interface to features specific to Scintilla such as syntax styling, call tips, auto-indenting and auto-completion than that provided by QextScintillaBase.

    -The API is modelled on TQTextEdit - a method of the same name should behave in the same way. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the different auto-indentation styles. -

    -

    Enumerator:
    - - - - -
    AiMaintain  -A line is automatically indented to match the previous line.
    AiOpening  -If the language supported by the current lexer has a specific start of block character (e.g. { in C++), then a line that begins with that character is indented as well as the lines that make up the block. It may be logically ored with AiClosing.
    AiClosing  -If the language supported by the current lexer has a specific end of block character (e.g. } in C++), then a line that begins with that character is indented as well as the lines that make up the block. It may be logically ored with AiOpening.
    -
    - -
    -

    - -

    - -
    - -

    -This enum defines the different sources for auto-completion lists. -

    -

    Enumerator:
    - - - - -
    AcsDocument  -The source is the current document.
    AcsAPIs  -The source is any installed APIs.
    AcsAll  -The source is all available sources.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::BraceMatch
    -
    -
    - -

    -This enum defines the different brace matching modes. The character pairs {}, [] and () are treated as braces. The Python lexer will also match a : with the end of the corresponding indented block.

    Enumerator:
    - - - - -
    NoBraceMatch  -Brace matching is disabled.
    StrictBraceMatch  -Brace matching is enabled for a brace immediately before the current position.
    SloppyBraceMatch  -Brace matching is enabled for a brace immediately before or after the current position.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::EdgeMode
    -
    -
    - -

    -This enum defines the different edge modes for long lines. -

    -

    Enumerator:
    - - - - -
    EdgeNone  -Long lines are not marked.
    EdgeLine  -A vertical line is drawn at the column set by setEdgeColumn(). This is recommended for monospace fonts.
    EdgeBackground  -The background color of characters after the column limit is changed to the color set by setEdgeColor(). This is recommended for proportional fonts.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::EolMode
    -
    -
    - -

    -This enum defines the different end-of-line modes. -

    -

    Enumerator:
    - - - - -
    EolWindows  -A carriage return/line feed as used on Windows systems.
    EolUnix  -A line feed as used on Unix systems.
    EolMac  -A carriage return as used on Mac systems.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::FoldStyle
    -
    -
    - -

    -This enum defines the different styles for the folding margin. -

    -

    Enumerator:
    - - - - - - - -
    NoFoldStyle  -Folding is disabled.
    PlainFoldStyle  -Plain folding style using plus and minus symbols.
    CircledFoldStyle  -Circled folding style using circled plus and minus symbols.
    BoxedFoldStyle  -Boxed folding style using boxed plus and minus symbols.
    CircledTreeFoldStyle  -Circled tree style using a flattened tree with circled plus and minus symbols and rounded corners.
    BoxedTreeFoldStyle  -Boxed tree style using a flattened tree with boxed plus and minus symbols and right-angled corners.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::MarkerSymbol
    -
    -
    - -

    -This enum defines the different pre-defined marker symbols. -

    -

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Circle  -A circle.
    Rectangle  -A rectangle.
    RightTriangle  -A triangle pointing to the right.
    SmallRectangle  -A smaller rectangle.
    RightArrow  -An arrow pointing to the right.
    Invisible  -An invisible marker that allows code to track the movement of lines.
    DownTriangle  -A triangle pointing down.
    Minus  -A drawn minus sign.
    Plus  -A drawn plus sign.
    VerticalLine  -A vertical line drawn in the background colour.
    BottomLeftCorner  -A bottom left corner drawn in the background colour.
    LeftSideSplitter  -A vertical line with a centre right horizontal line drawn in the background colour.
    BoxedPlus  -A drawn plus sign in a box.
    BoxedPlusConnected  -A drawn plus sign in a connected box.
    BoxedMinus  -A drawn minus sign in a box.
    BoxedMinusConnected  -A drawn minus sign in a connected box.
    RoundedBottomLeftCorner  -A rounded bottom left corner drawn in the background colour.
    LeftSideRoundedSplitter  -A vertical line with a centre right curved line drawn in the background colour.
    CircledPlus  -A drawn plus sign in a circle.
    CircledPlusConnected  -A drawn plus sign in a connected box.
    CircledMinus  -A drawn minus sign in a circle.
    CircledMinusConnected  -A drawn minus sign in a connected circle.
    Background  -No symbol is drawn but the line of text is drawn with the same background colour.
    ThreeDots  -Three drawn dots.
    ThreeRightArrows  -Three drawn arrows pointing right.
    -
    - -
    -

    - -

    - -
    - -

    -This enum defines the different whitespace visibility modes. When whitespace is visible spaces are displayed as small centred dots and tabs are displayed as light arrows pointing to the right.

    Enumerator:
    - - - - -
    WsInvisible  -Whitespace is invisible.
    WsVisible  -Whitespace is always visible.
    WsVisibleAfterIndent  -Whitespace is visible after the whitespace used for indentation.
    -
    - -
    -

    - -

    -
    - - - - -
    enum QextScintilla::WrapMode
    -
    -
    - -

    -This enum defines the different line wrap modes. -

    -

    Enumerator:
    - - - - -
    WrapNone  -Lines are not wrapped.
    WrapWord  -Lines are wrapped at word boundaries.
    WrapCharacter  -Lines are wrapped at character boundaries.
    -
    - -
    -

    - -

    - -
    - -

    -This enum defines the different line wrap visual flags. -

    -

    Enumerator:
    - - - - -
    WrapFlagNone  -No wrap flag is displayed.
    WrapFlagByText  -A wrap flag is displayed by the text.
    WrapFlagByBorder  -A wrap flag is displayed by the border.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    QextScintilla::QextScintilla (TQWidget *  parent = 0,
    const char *  name = 0,
    WFlags  f = 0 
    )
    -
    -
    - -

    -Construct an empty QextScintilla with parent parent, name name, and widget flags f. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintilla::~QextScintilla (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintilla instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    bool QextScintilla::autoCompletionCaseSensitivity (  ) 
    -
    -
    - -

    -Returns TRUE if auto-completion lists are case sensitive.

    -

    See also:
    setAutoCompletionCaseSensitivity()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::autoCompletionFillupsEnabled (  ) 
    -
    -
    - -

    -Returns true if auto-completion fill-up characters are enabled.

    -

    See also:
    setAutoCompletionFillups(), setAutoCompletionFillupsEnabled()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::autoCompletionReplaceWord (  ) 
    -
    -
    - -

    -Returns TRUE if the rest of the word to the right of the current cursor is removed when an item from an auto-completion list is selected.

    -

    See also:
    setAutoCompletionReplaceWord()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::autoCompletionShowSingle (  ) 
    -
    -
    - -

    -Returns TRUE if the only item in an auto-completion list with a single entry is automatically used and the list not displayed.

    -

    See also:
    setAutoCompletionShowSingle()
    - -
    -

    - -

    -
    - - - - - - - - -
    AutoCompletionSource QextScintilla::autoCompletionSource (  )  const [inline]
    -
    -
    - -

    -Returns the current source for the auto-completion list when it is being displayed automatically as the user types.

    -

    See also:
    setAutoCompletionSource()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::autoCompletionThreshold (  )  const [inline]
    -
    -
    - -

    -Returns the current threshold for the automatic display of the auto-completion list as the user types.

    -

    See also:
    setAutoCompletionThreshold()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::autoIndent (  )  const [inline]
    -
    -
    - -

    -Returns TRUE if auto-indentation is enabled.

    -

    See also:
    setAutoIndent()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::backspaceUnindents (  ) 
    -
    -
    - -

    -Returns TRUE if the backspace key unindents a line instead of deleting a character. The default is FALSE.

    -

    See also:
    setBackspaceUnindents(), tabIndents(), setTabIndents()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::beginUndoAction (  ) 
    -
    -
    - -

    -Mark the beginning of a sequence of actions that can be undone by a single call to undo().

    -

    See also:
    endUndoAction(), undo()
    - -
    -

    - -

    -
    - - - - - - - - -
    BraceMatch QextScintilla::braceMatching (  )  const [inline]
    -
    -
    - -

    -Returns the brace matching mode.

    -

    See also:
    setBraceMatching()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::callTipsVisible (  )  const [inline]
    -
    -
    - -

    -Returns the maximum number of call tips that are displayed.

    -

    See also:
    setCallTipsVisible()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::cancelList (  ) 
    -
    -
    - -

    -Cancel any current auto-completion or user defined list. -

    - -

    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::clearRegisteredImages (  ) 
    -
    -
    - -

    -Clear all registered images.

    -

    See also:
    registerImage()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::convertEols (EolMode  mode  ) 
    -
    -
    - -

    -All the lines of the text have their end-of-lines converted to mode mode.

    -

    See also:
    eolMode(), setEolMode()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQColor QextScintilla::color (  )  const
    -
    -
    - -

    -Returns the widget's text (ie. foreground) colour.

    -

    See also:
    setColor()
    - -
    -

    - -

    -
    - - - - - - - - -
    QextScintillaDocument QextScintilla::document (  )  [inline]
    -
    -
    - -

    -Returns the attached document.

    -

    See also:
    setDocument()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::endUndoAction (  ) 
    -
    -
    - -

    -Mark the end of a sequence of actions that can be undone by a single call to undo().

    -

    See also:
    beginUndoAction(), undo()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQColor QextScintilla::edgeColor (  ) 
    -
    -
    - -

    -Returns the color of the marker used to show that a line has exceeded the length set by setEdgeColumn().

    -

    See also:
    setEdgeColor(),

    -setEdgeColumn

    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::edgeColumn (  ) 
    -
    -
    - -

    -Returns the number of the column after which lines are considered to be long.

    -

    See also:
    setEdgeColumn()
    - -
    -

    - -

    -
    - - - - - - - - -
    EdgeMode QextScintilla::edgeMode (  ) 
    -
    -
    - -

    -Returns the edge mode which determines how long lines are marked.

    -

    See also:
    setEdgeMode()
    - -
    -

    - -

    -
    - - - - - - - - -
    EolMode QextScintilla::eolMode (  ) 
    -
    -
    - -

    -Returns the end-of-line mode.

    -

    See also:
    setEolMode()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::eolVisibility (  ) 
    -
    -
    - -

    -Returns the visibility of end-of-lines.

    -

    See also:
    setEolVisibility()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    virtual bool QextScintilla::findFirst (const TQString &  expr,
    bool  re,
    bool  cs,
    bool  wo,
    bool  wrap,
    bool  forward = TRUE,
    int  line = -1,
    int  index = -1,
    bool  show = TRUE 
    ) [virtual]
    -
    -
    - -

    -Find the next occurrence of the string expr and return TRUE if expr was found, otherwise returns FALSE. If expr is found it becomes the current selection.

    -If re is TRUE then expr is interpreted as a regular expression rather than a simple string.

    -If cs is TRUE then the search is case sensitive.

    -If wo is TRUE then the search looks for whole word matches only, otherwise it searches for any matching text.

    -If wrap is TRUE then the search wraps around the end of the text.

    -If forward is TRUE (the default) then the search is forward from the starting position to the end of the text, otherwise it is backwards to the beginning of the text.

    -If either line or index are negative (the default) then the search begins from the current cursor position. Otherwise the search begins at position index of line line.

    -If show is TRUE (the default) then any text found is made visible (ie. it is unfolded).

    -

    See also:
    findNext(), replace()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual bool QextScintilla::findNext (  )  [virtual]
    -
    -
    - -

    -Find the next occurence of the string found using findFirst().

    -

    See also:
    findFirst(), replace()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::firstVisibleLine (  ) 
    -
    -
    - -

    -Returns the number of the first visible line. -

    - -

    -

    - -

    -
    - - - - - - - - -
    FoldStyle QextScintilla::folding (  )  const [inline]
    -
    -
    - -

    -Returns the current folding style.

    -

    See also:
    setFolding()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::getCursorPosition (int *  line,
    int *  index 
    )
    -
    -
    - -

    -Sets *line and *index to the line and index of the cursor.

    -

    See also:
    setCursorPosition()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    void QextScintilla::getSelection (int *  lineFrom,
    int *  indexFrom,
    int *  lineTo,
    int *  indexTo 
    )
    -
    -
    - -

    -If there is a selection, *lineFrom is set to the line number in which the selection begins and *lineTo is set to the line number in which the selection ends. (They could be the same.) *indexFrom is set to the index at which the selection begins within *lineFrom, and *indexTo is set to the index at which the selection ends within *lineTo. If there is no selection, *lineFrom, *indexFrom, *lineTo and *indexTo are all set to -1.

    -

    See also:
    setSelection()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::hasSelectedText (  )  const [inline]
    -
    -
    - -

    -Returns TRUE if some text is selected.

    -

    See also:
    selectedText()
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::indentation (int  line  ) 
    -
    -
    - -

    -Returns the number of characters that line line is indented by.

    -

    See also:
    setIndentation()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::indentationGuides (  ) 
    -
    -
    - -

    -Returns TRUE if the display of indentation guides is enabled.

    -

    See also:
    setIndentationGuides()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::indentationsUseTabs (  ) 
    -
    -
    - -

    -Returns TRUE if indentations are created using tabs and spaces, rather than just spaces. The default is TRUE.

    -

    See also:
    setIndentationsUseTabs()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::indentationWidth (  ) 
    -
    -
    - -

    -Returns the indentation width in characters. The default is 0 which means that the value returned by tabWidth() is actually used.

    -

    See also:
    setIndentationWidth(), tabWidth()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isCallTipActive (  ) 
    -
    -
    - -

    -Returns TRUE if a call tip is currently active. -

    - -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isListActive (  ) 
    -
    -
    - -

    -Returns TRUE if an auto-completion or user defined list is currently active. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isModified (  ) 
    -
    -
    - -

    -Returns TRUE if the text has been modified.

    -

    See also:
    setModified(), modificationChanged()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isReadOnly (  ) 
    -
    -
    - -

    -Returns TRUE if the text edit is read-only.

    -

    See also:
    setReadOnly()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isRedoAvailable (  ) 
    -
    -
    - -

    -Returns TRUE if there is something that can be redone.

    -

    See also:
    redo()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isUndoAvailable (  ) 
    -
    -
    - -

    -Returns TRUE if there is something that can be undone.

    -

    See also:
    undo()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::isUtf8 (  ) 
    -
    -
    - -

    -Returns TRUE if text is interpreted as being UTF8 encoded. The default is to interpret the text as Latin1 encoded.

    -

    See also:
    setUtf8()
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::lineAt (const TQPoint &  pos  ) 
    -
    -
    - -

    -Returns the line which is at position pos or -1 if there is no line at that position. -

    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::lineLength (int  line  ) 
    -
    -
    - -

    -Returns the length of line line or -1 if there is no such line. -

    - -

    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::lines (  ) 
    -
    -
    - -

    -Returns the number of lines of text. -

    - -

    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::length (  ) 
    -
    -
    - -

    -Returns the length of the text edit's text. -

    - -

    -

    - -

    -
    - - - - - - - - -
    QextScintillaLexer* QextScintilla::lexer (  )  const
    -
    -
    - -

    -Returns the current language lexer used to style text. If it is 0 then syntax styling is disabled.

    -

    See also:
    setLexer()
    - -
    -

    - -

    -
    - - - - - - - - - -
    bool QextScintilla::marginLineNumbers (int  margin  ) 
    -
    -
    - -

    -Returns TRUE if line numbers are enabled for margin margin.

    -

    See also:
    setMarginLineNumbers(), QextScintillaBase::SCI_GETMARGINTYPEN
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::marginMarkerMask (int  margin  ) 
    -
    -
    - -

    -Returns the marker mask of margin margin.

    -

    See also:
    setMarginMask(), QextScintillaMarker, QextScintillaBase::SCI_GETMARGINMASKN
    - -
    -

    - -

    -
    - - - - - - - - - -
    bool QextScintilla::marginSensitivity (int  margin  ) 
    -
    -
    - -

    -Returns TRUE if margin margin is sensitive to mouse clicks.

    -

    See also:
    setMarginSensitivity(), marginClicked(), QextScintillaBase::SCI_GETMARGINTYPEN
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::marginWidth (int  margin  ) 
    -
    -
    - -

    -Returns the width in pixels of margin margin.

    -

    See also:
    setMarginWidth(), QextScintillaBase::SCI_GETMARGINWIDTHN
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerDefine (MarkerSymbol  sym,
    int  mnr = -1 
    )
    -
    -
    - -

    -Define a marker using the symbol sym with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined.

    -Markers are small geometric symbols and character used, for example, to indicate the current line or, in debuggers, to indicate breakpoints. If a margin has a width of 0 then its markers are not drawn, but their background colours affect the background colour of the corresponding line of text.

    -There may be up to 32 markers defined and each line of text has a set of these markers associated with it. Markers are drawn according to their numerical identifier. Markers try to move with their text by tracking where the start of their line moves to. For example, when a line is deleted its markers are added to previous line's markers.

    -Each marker is identified by a marker number. Each instance of a marker is identified by a marker handle. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerDefine (char  ch,
    int  mnr = -1 
    )
    -
    -
    - -

    -Define a marker using the character ch with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerDefine (const TQPixmap *  pm,
    int  mnr = -1 
    )
    -
    -
    - -

    -Define a marker using a copy of the pixmap pm with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerAdd (int  linenr,
    int  mnr 
    )
    -
    -
    - -

    -Add a marker number mnr to line number linenr. A handle for the marker is returned which can be used to track the marker's position, or -1 if the mnr was invalid.

    -

    See also:
    markerDelete(), markerDeleteAll(), markerDeleteHandle()
    - -
    -

    - -

    -
    - - - - - - - - - -
    unsigned QextScintilla::markersAtLine (int  linenr  ) 
    -
    -
    - -

    -Returns the 32 bit mask of marker numbers at line number linenr.

    -

    See also:
    markerAdd()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::markerDelete (int  linenr,
    int  mnr = -1 
    )
    -
    -
    - -

    -Delete all markers with the marker number mnr in the line linenr. If mnr is -1 then delete all markers from line linenr.

    -

    See also:
    markerAdd(), markerDeleteAll(), markerDeleteHandle()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::markerDeleteAll (int  mnr = -1  ) 
    -
    -
    - -

    -Delete the all markers with the marker number mnr. If mnr is -1 then delete all markers.

    -

    See also:
    markerAdd(), markerDelete(), markerDeleteHandle()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::markerDeleteHandle (int  mhandle  ) 
    -
    -
    - -

    -Delete the the marker instance with the marker handle mhandle.

    -

    See also:
    markerAdd(), markerDelete(), markerDeleteAll()
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::markerLine (int  mhandle  ) 
    -
    -
    - -

    -Return the line number that contains the marker instance with the marker handle mhandle. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerFindNext (int  linenr,
    unsigned  mask 
    )
    -
    -
    - -

    -Return the number of the next line to contain at least one marker from a 32 bit mask of markers. linenr is the line number to start the search from. mask is the mask of markers to search for.

    -

    See also:
    markerFindPrevious()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    int QextScintilla::markerFindPrevious (int  linenr,
    unsigned  mask 
    )
    -
    -
    - -

    -Return the number of the previous line to contain at least one marker from a 32 bit mask of markers. linenr is the line number to start the search from. mask is the mask of markers to search for.

    -

    See also:
    markerFindNext()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQColor QextScintilla::paper (  )  const
    -
    -
    - -

    -Returns the widget's paper (ie. background) colour.

    -

    See also:
    setPaper()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::recolor (int  start = 0,
    int  end = -1 
    ) [virtual]
    -
    -
    - -

    -Recolours the document between the start and end positions. start defaults to the start of the document and end defaults to the end of the document. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::registerImage (int  id,
    const TQPixmap *  pm 
    )
    -
    -
    - -

    -Register an image pm with ID id. Registered images can be displayed in auto-completion lists.

    -

    See also:
    clearRegisteredImages(), QextScintillaAPIs
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::replace (const TQString &  replaceStr  )  [virtual]
    -
    -
    - -

    -Replace the current selection, set by a previous call to findFirst() or findNext(), with replaceStr.

    -

    See also:
    findFirst(), findNext()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::resetFoldMarginColors (  ) 
    -
    -
    - -

    -Reset the fold margin colours to their defaults.

    -

    See also:
    setFoldMarginColors()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::setFoldMarginColors (const TQColor &  fore,
    const TQColor &  back 
    )
    -
    -
    - -

    -The fold margin may be drawn as a one pixel sized checkerboard pattern of two colours, fore and back.

    -

    See also:
    resetFoldMarginColors()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setAutoCompletionAPIs (QextScintillaAPIs apis = 0  ) 
    -
    -
    - -

    -Sets the APIs used for auto-completion to apis. If apis is 0 then any existing APIs are removed.

    -

    See also:
    autoCompleteFromAPIs(), setCallTipsAPIs()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setAutoCompletionFillups (const char *  fillups  ) 
    -
    -
    - -

    -set its own. Explicitly setting the fill-up characters using this method automatically enables their use.

    -

    See also:
    autoCompletionFillupsEnabled(), setAutoCompletionFillupsEnabled()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setAutoCompletionFillupsEnabled (bool  enabled  ) 
    -
    -
    - -

    -Enable the use of fill-up characters, either those explicitly set or those set by a lexer. By default, fill-up characters are disabled.

    -

    See also:
    autoCompletionFillupsEnabled(), setAutoCompletionFillups()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setAutoCompletionStartCharacters (const char *  start  ) 
    -
    -
    - -

    -A start character is one that, when entered, causes the auto-completion list to be displayed. If a language lexer has been set then this is ignored and the lexer defines the start characters. The default is that no start characters are set.

    -

    See also:
    setAutoCompletionThreshold()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setCallTipsAPIs (QextScintillaAPIs apis = 0  ) 
    -
    -
    - -

    -Sets the APIs used for call tips to apis. If apis is 0 then then call tips are disabled.

    -

    See also:
    setAutoCompletionAPIs()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setCallTipsBackgroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the background colour of call tips to col. The default is white. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setCallTipsForegroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the foreground colour of call tips to col. The default is mid-gray. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setCallTipsHighlightColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the highlighted colour of call tip text to col. The default is dark blue. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setCallTipsVisible (int  nr  ) 
    -
    -
    - -

    -Set the maximum number of call tips that are displayed to nr. If the maximum number is 0 then all applicable call tips are displayed. If the maximum number is -1 then one call tip will be displayed with up and down arrows that allow the use to scroll through the full list. The default is -1.

    -

    See also:
    callTipsVisible()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setDocument (const QextScintillaDocument document  ) 
    -
    -
    - -

    -Attach the document document, replacing the currently attached document.

    -

    See also:
    document()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setEdgeColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the color of the marker used to show that a line has exceeded the length set by setEdgeColumn().

    -

    See also:
    edgeColor(),

    -setEdgeColumn

    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setEdgeColumn (int  colnr  ) 
    -
    -
    - -

    -Set the number of the column after which lines are considered to be long.

    -

    See also:
    edgeColumn()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setEdgeMode (EdgeMode  mode  ) 
    -
    -
    - -

    -Set the edge mode which determines how long lines are marked.

    -

    See also:
    edgeMode()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setFont (const TQFont &  f  )  [virtual]
    -
    -
    - -

    -Set the default font. This has no effect if a language lexer has been set. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::setMarkerBackgroundColor (const TQColor &  col,
    int  mnr = -1 
    )
    -
    -
    - -

    -Set the background colour, including the alpha component, of marker mnr to col. If mnr is -1 then the colour of all markers is set. The default is white.

    -

    See also:
    setMarkerForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::setMarkerForegroundColor (const TQColor &  col,
    int  mnr = -1 
    )
    -
    -
    - -

    -Set the foreground colour of marker mnr to col. If mnr is -1 then the colour of all markers is set. The default is black.

    -

    See also:
    setMarkerBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setMatchedBraceBackgroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the background colour used to display matched braces to col. The default is white.

    -

    See also:
    setMatchedBraceForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setMatchedBraceForegroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the foreground colour used to display matched braces to col. The default is red.

    -

    See also:
    setMatchedBraceBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setUnmatchedBraceBackgroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the background colour used to display unmatched braces to col. The default is white.

    -

    See also:
    setUnmatchedBraceForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::setUnmatchedBraceForegroundColor (const TQColor &  col  ) 
    -
    -
    - -

    -Set the foreground colour used to display unmatched braces to col. The default is blue.

    -

    See also:
    setUnmatchedBraceBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    void QextScintilla::setWrapVisualFlags (WrapVisualFlag  eflag,
    WrapVisualFlag  sflag = WrapFlagNone,
    int  sindent = 0 
    )
    -
    -
    - -

    -Set the visual flags displayed when a line is wrapped. eflag determines if and where the flag at the end of a line is displayed. sflag determines if and where the flag at the start of a line is displayed. sindent is the number of characters a wrapped line is indented by. By default no visual flags are displayed. -

    -

    - -

    -
    - - - - - - - - -
    TQString QextScintilla::selectedText (  ) 
    -
    -
    - -

    -Returns the selected text or an empty string if there is no currently selected text.

    -

    See also:
    hasSelectedText()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::showUserList (int  id,
    const TQStringList &  list 
    )
    -
    -
    - -

    -Displays a user defined list which can be interacted with like an auto-completion list. id is an identifier for the list which is passed as an argument to the userListActivated() signal and must be at least 1. list is the text with which the list is populated.

    -

    See also:
    cancelList(), isListActive(), userListActivated()
    - -
    -

    - -

    -
    - - - - - - - - -
    QextScintillaCommandSet* QextScintilla::standardCommands (  )  const [inline]
    -
    -
    - -

    -The standard command set is returned. -

    - -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintilla::tabIndents (  ) 
    -
    -
    - -

    -Returns TRUE if the tab key indents a line instead of inserting a tab character. The default is TRUE.

    -

    See also:
    setTabIndents(), backspaceUnindents(), setBackspaceUnindents()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintilla::tabWidth (  ) 
    -
    -
    - -

    -Returns the tab width in characters. The default is 8.

    -

    See also:
    setTabWidth()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQString QextScintilla::text (  ) 
    -
    -
    - -

    -Returns the text edit's text.

    -

    See also:
    setText()
    - -
    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintilla::text (int  line  ) 
    -
    -
    - -

    -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns the text of line line.

    -

    See also:
    setText()
    - -
    -

    - -

    -
    - - - - - - - - - -
    int QextScintilla::textHeight (int  linenr  ) 
    -
    -
    - -

    -Returns the height in pixels of the text in line number linenr. -

    - -

    -

    - -

    -
    - - - - - - - - -
    WhitespaceVisibility QextScintilla::whitespaceVisibility (  ) 
    -
    -
    - -

    -Returns the visibility of whitespace.

    -

    See also:
    setWhitespaceVisibility()
    - -
    -

    - -

    -
    - - - - - - - - -
    WrapMode QextScintilla::wrapMode (  ) 
    -
    -
    - -

    -Returns the line wrap mode.

    -

    See also:
    setWrapMode()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::append (const TQString &  text  )  [virtual, slot]
    -
    -
    - -

    -Appends the text text to the end of the text edit. Note that the undo/redo history is cleared by this function. -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::autoCompleteFromAll (  )  [virtual, slot]
    -
    -
    - -

    -Display an auto-completion list based on any installed APIs, the current contents of the document and the characters immediately to the left of the cursor.

    -

    See also:
    autoCompleteFromAPIs(), autoCompleteFromDocument()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::autoCompleteFromAPIs (  )  [virtual, slot]
    -
    -
    - -

    -Display an auto-completion list based on any installed APIs and the characters immediately to the left of the cursor.

    -

    See also:
    autoCompleteFromAll(), autoCompleteFromDocument(), setAutoCompletionAPIs()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::autoCompleteFromDocument (  )  [virtual, slot]
    -
    -
    - -

    -Display an auto-completion list based on the current contents of the document and the characters immediately to the left of the cursor.

    -

    See also:
    autoCompleteFromAll(), autoCompleteFromAPIs()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::callTip (  )  [virtual, slot]
    -
    -
    - -

    -Display a call tip based on the the characters immediately to the left of the cursor. -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::clear (  )  [virtual, slot]
    -
    -
    - -

    -Deletes all the text in the text edit. -

    - -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::copy (  )  [virtual, slot]
    -
    -
    - -

    -Copies any selected text to the clipboard.

    -

    See also:
    copyAvailable(), cut(), paste()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::cut (  )  [virtual, slot]
    -
    -
    - -

    -Copies any selected text to the clipboard and then deletes the text.

    -

    See also:
    copy(), paste()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::ensureCursorVisible (  )  [virtual, slot]
    -
    -
    - -

    -Ensures that the cursor is visible. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::ensureLineVisible (int  line  )  [virtual, slot]
    -
    -
    - -

    -Ensures that the line number line is visible. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::foldAll (bool  children = FALSE  )  [virtual, slot]
    -
    -
    - -

    -If any lines are currently folded then they are all unfolded. Otherwise all lines are folded. This has the same effect as clicking in the fold margin with the shift and control keys pressed. If children is not set (the default) then only the top level fold points are affected, otherwise the state of all fold points are changed. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::foldLine (int  line  )  [virtual, slot]
    -
    -
    - -

    -If the line line is folded then it is unfolded. Otherwise it is folded. This has the same effect as clicking in the fold margin. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::indent (int  line  )  [virtual, slot]
    -
    -
    - -

    -Increases the indentation of line line by an indentation width.

    -

    See also:
    unindent()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::insert (const TQString &  text  )  [virtual, slot]
    -
    -
    - -

    -Insert the text text at the current position. -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::insertAt (const TQString &  text,
    int  line,
    int  index 
    ) [virtual, slot]
    -
    -
    - -

    -Insert the text text in the line line at the position index. -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::moveToMatchingBrace (  )  [virtual, slot]
    -
    -
    - -

    -If the cursor is either side of a brace character then move it to the position of the corresponding brace. -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::paste (  )  [virtual, slot]
    -
    -
    - -

    -Pastes any text from the clipboard into the text edit at the current cursor position.

    -

    See also:
    copy(), cut()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::redo (  )  [virtual, slot]
    -
    -
    - -

    -Redo the last change or sequence of changes.

    -

    See also:
    isRedoAvailable()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::removeSelectedText (  )  [virtual, slot]
    -
    -
    - -

    -Removes any selected text. -

    - -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::resetSelectionBackgroundColor (  )  [virtual, slot]
    -
    -
    - -

    -Resets the background colour of selected text to the default.

    -

    See also:
    setSelectionBackgroundColor(), resetSelectionForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::resetSelectionForegroundColor (  )  [virtual, slot]
    -
    -
    - -

    -Resets the foreground colour of selected text to the default.

    -

    See also:
    setSelectionForegroundColor(), resetSelectionBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::selectAll (bool  select = TRUE  )  [virtual, slot]
    -
    -
    - -

    -If select is TRUE (the default) then all the text is selected. If select is FALSE then any currently selected text is deselected. -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::selectToMatchingBrace (  )  [virtual, slot]
    -
    -
    - -

    -If the cursor is either side of a brace character then move it to the position of the corresponding brace and select the text between the braces. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoCompletionCaseSensitivity (bool  cs  )  [virtual, slot]
    -
    -
    - -

    -If cs is TRUE then auto-completion lists are case sensitive. The default is TRUE.

    -

    See also:
    autoCompletionCaseSensitivity()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoCompletionReplaceWord (bool  replace  )  [virtual, slot]
    -
    -
    - -

    -If replace is TRUE then when an item from an auto-completion list is selected, the rest of the word to the right of the current cursor is removed. The default is FALSE.

    -

    See also:
    autoCompletionReplaceWord()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoCompletionShowSingle (bool  single  )  [virtual, slot]
    -
    -
    - -

    -If single is TRUE then when there is only a single entry in an auto-completion list it is automatically used and the list is not displayed. This only has an effect when auto-completion is explicitly requested (using autoCompleteFromAPIs() and autoCompleteFromDocument()) and has no effect when auto-completion is triggered as the user types. The default is FALSE.

    -

    See also:
    autoCompletionShowSingle()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoCompletionSource (AutoCompletionSource  source  )  [virtual, slot]
    -
    -
    - -

    -Sets the source for the auto-completion list when it is being displayed automatically as the user types to source. The default is AcsDocument.

    -

    See also:
    autoCompletionSource()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoCompletionThreshold (int  thresh  )  [virtual, slot]
    -
    -
    - -

    -Sets the threshold for the automatic display of the auto-completion list as the user types to thresh. The threshold is the number of characters that the user must type before the list is displayed. If the threshold is less than or equal to 0 then the list is disabled. The default is -1.

    -

    See also:
    autoCompletionThreshold(), setAutoCompletionStartCharacters()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setAutoIndent (bool  autoindent  )  [virtual, slot]
    -
    -
    - -

    -If autoindent is TRUE then auto-indentation is enabled. The default is FALSE.

    -

    See also:
    autoIndent()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setBraceMatching (BraceMatch  bm  )  [virtual, slot]
    -
    -
    - -

    -Sets the brace matching mode to bm. The default is NoBraceMatching.

    -

    See also:
    braceMatching()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setBackspaceUnindents (bool  unindent  )  [virtual, slot]
    -
    -
    - -

    -If deindent is TRUE then the backspace key will unindent a line rather then delete a character.

    -

    See also:
    backspaceUnindents(), tabIndents(), setTabIndents()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setCaretForegroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Sets the foreground colour of the caret to col. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setCaretLineBackgroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Sets the background colour, including the alpha component, of the line containing the caret to col.

    -

    See also:
    setCaretLineVisible()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setCaretLineVisible (bool  enable  )  [virtual, slot]
    -
    -
    - -

    -Enables or disables, according to enable, the background color of the line containing the caret.

    -

    See also:
    setCaretLineBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setCaretWidth (int  width  )  [virtual, slot]
    -
    -
    - -

    -Sets the width of the caret to width pixels. A width of 0 makes the caret invisible. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setColor (const TQColor &  c  )  [virtual, slot]
    -
    -
    - -

    -

    See also:
    color()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setCursorPosition (int  line,
    int  index 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the cursor to the line line at the position index.

    -

    See also:
    getCursorPosition()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setEolMode (EolMode  mode  )  [virtual, slot]
    -
    -
    - -

    -Sets the end-of-line mode to mode. The default is the platform's natural mode.

    -

    See also:
    eolMode()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setEolVisibility (bool  visible  )  [virtual, slot]
    -
    -
    - -

    -If visible is TRUE then end-of-lines are made visible. The default is that they are invisible.

    -

    See also:
    eolVisibility()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setFolding (FoldStyle  fold  )  [virtual, slot]
    -
    -
    - -

    -Sets the folding style for margin 2 to fold. The default is NoFoldStyle (ie. folding is disabled).

    -

    See also:
    folding()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setIndentation (int  line,
    int  indentation 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the indentation of line to indentation characters.

    -

    See also:
    indentation()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setIndentationGuides (bool  enable  )  [virtual, slot]
    -
    -
    - -

    -Enables or disables, according to enable, this display of indentation guides.

    -

    See also:
    indentationGuides()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setIndentationGuidesBackgroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Set the background colour of indentation guides to col.

    -

    See also:
    setIndentationGuidesForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setIndentationGuidesForegroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Set the foreground colour of indentation guides to col.

    -

    See also:
    setIndentationGuidesBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setIndentationsUseTabs (bool  tabs  )  [virtual, slot]
    -
    -
    - -

    -If tabs is TRUE then indentations are created using tabs and spaces, rather than just spaces.

    -

    See also:
    indentationsUseTabs()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setIndentationWidth (int  width  )  [virtual, slot]
    -
    -
    - -

    -Sets the indentation width to width characters. If width is 0 then the value returned by tabWidth() is used.

    -

    See also:
    indentationWidth(), tabWidth()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setLexer (QextScintillaLexer lexer = 0  )  [virtual, slot]
    -
    -
    - -

    -Sets the specific language lexer used to style text to lexer. If lexer is 0 then syntax styling is disabled.

    -

    See also:
    lexer()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setMarginsBackgroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Set the background colour of all margins to col. The default is a gray.

    -

    See also:
    setMarginsForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setMarginsFont (const TQFont &  f  )  [virtual, slot]
    -
    -
    - -

    -Set the font used in all margins to f. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setMarginsForegroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Set the foreground colour of all margins to col. The default is black.

    -

    See also:
    setMarginsBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setMarginLineNumbers (int  margin,
    bool  lnrs 
    ) [virtual, slot]
    -
    -
    - -

    -Enables or disables, according to lnrs, the display of line numbers in margin margin.

    -

    See also:
    marginLineNumbers(), QextScintillaBase::SCI_SETMARGINTYPEN
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setMarginMarkerMask (int  margin,
    int  mask 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the marker mask of margin margin to mask. Only those markers whose bit is set in the mask are displayed in the margin.

    -

    See also:
    marginMarkerMask(), QextScintillaMarker, QextScintillaBase::SCI_SETMARGINMASKN
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setMarginSensitivity (int  margin,
    bool  sens 
    ) [virtual, slot]
    -
    -
    - -

    -Enables or disables, according to sens, the sensitivity of margin margin to mouse clicks. If the user clicks in a sensitive margin the marginClicked() signal is emitted.

    -

    See also:
    marginSensitivity(), marginClicked(), QextScintillaBase::SCI_SETMARGINSENSITIVEN
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setMarginWidth (int  margin,
    int  width 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the width of margin margin to width pixels. If the width of a margin is 0 then it is not displayed.

    -

    See also:
    marginWidth(), QextScintillaBase::SCI_SETMARGINWIDTHN
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setMarginWidth (int  margin,
    const TQString &  s 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the width of margin margin so that it is wide enough to display s in the current margin font.

    -

    See also:
    marginWidth(), QextScintillaBase::SCI_SETMARGINWIDTHN
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setModified (bool  m  )  [virtual, slot]
    -
    -
    - -

    -Sets the modified state of the text edit to m. Note that it is only possible to clear the modified state (where m is FALSE). Attempts to set the modified state (where m is TRUE) are ignored.

    -

    See also:
    isModified(), modificationChanged()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setPaper (const TQColor &  c  )  [virtual, slot]
    -
    -
    - -

    -

    See also:
    paper()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setReadOnly (bool  ro  )  [virtual, slot]
    -
    -
    - -

    -Sets the read-only state of the text edit to ro.

    -

    See also:
    isReadOnly()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    virtual void QextScintilla::setSelection (int  lineFrom,
    int  indexFrom,
    int  lineTo,
    int  indexTo 
    ) [virtual, slot]
    -
    -
    - -

    -Sets the selection which starts at position indexFrom in line lineFrom and ends at position indexTo in line lineTo. The cursor is moved to the end of the selection.

    -

    See also:
    getSelection()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setSelectionBackgroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Sets the background colour, including the alpha component, of selected text to col.

    -

    See also:
    resetSelectionBackgroundColor(), setSelectionForegroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setSelectionForegroundColor (const TQColor &  col  )  [virtual, slot]
    -
    -
    - -

    -Sets the foreground colour of selected text to col.

    -

    See also:
    resetSelectionForegroundColor(), setSelectionBackgroundColor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setTabIndents (bool  indent  )  [virtual, slot]
    -
    -
    - -

    -If indent is TRUE then the tab key will indent a line rather then insert a tab character.

    -

    See also:
    tabIndents(), backspaceUnindents(), setBackspaceUnindents()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setTabWidth (int  width  )  [virtual, slot]
    -
    -
    - -

    -Sets the tab width to width characters.

    -

    See also:
    tabWidth()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setText (const TQString &  text  )  [virtual, slot]
    -
    -
    - -

    -Replaces all of the current text with text. Note that the undo/redo history is cleared by this function.

    -

    See also:
    text()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setUtf8 (bool  cp  )  [virtual, slot]
    -
    -
    - -

    -Sets the current text encoding. If cp is TRUE then UTF8 is used, otherwise Latin1 is used.

    -

    See also:
    isUtf8()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setWhitespaceVisibility (WhitespaceVisibility  mode  )  [virtual, slot]
    -
    -
    - -

    -Sets the visibility of whitespace to mode mode. The default is that whitespace is invisible.

    -

    See also:
    whitespaceVisibility()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::setWrapMode (WrapMode  mode  )  [virtual, slot]
    -
    -
    - -

    -Sets the line wrap mode to mode mode. The default is that lines are not wrapped.

    -

    See also:
    wrapMode()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::undo (  )  [virtual, slot]
    -
    -
    - -

    -Undo the last change or sequence of changes.

    -Scintilla has multiple level undo and redo. It will continue to record undoable actions until memory runs out. Sequences of typing or deleting are compressed into single actions to make it easier to undo and redo at a sensible level of detail. Sequences of actions can be combined into actions that are undone as a unit. These sequences occur between calls to beginUndoAction() and endUndoAction(). These sequences can be nested and only the top level sequences are undone as units.

    -

    See also:
    beginUndoAction(), endUndoAction(), isUndoAvailable()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::unindent (int  line  )  [virtual, slot]
    -
    -
    - -

    -Decreases the indentation of line line by an indentation width.

    -

    See also:
    indent()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::zoomIn (int  range  )  [virtual, slot]
    -
    -
    - -

    -Zooms in on the text by by making the base font size range points larger and recalculating all font sizes.

    -

    See also:
    zoomOut(), zoomTo()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::zoomIn (  )  [virtual, slot]
    -
    -
    - -

    -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Zooms in on the text by by making the base font size one point larger and recalculating all font sizes. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::zoomOut (int  range  )  [virtual, slot]
    -
    -
    - -

    -Zooms out on the text by by making the base font size range points smaller and recalculating all font sizes.

    -

    See also:
    zoomIn(), zoomTo()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintilla::zoomOut (  )  [virtual, slot]
    -
    -
    - -

    -This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Zooms out on the text by by making the base font size one point larger and recalculating all font sizes. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintilla::zoomTo (int  size  )  [virtual, slot]
    -
    -
    - -

    -Zooms the text by making the base font size size points and recalculating all font sizes.

    -

    See also:
    zoomIn(), zoomOut()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::cursorPositionChanged (int  line,
    int  pos 
    ) [signal]
    -
    -
    - -

    -This signal is emitted whenever the cursor position changes. line contains the line number and pos contains the character position within the line. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::copyAvailable (bool  yes  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever text is selected or de-selected. yes is TRUE if text has been selected and FALSE if text has been deselected. If yes is TRUE then copy() can be used to copy the selection to the clipboard. If yes is FALSE then copy() does nothing.

    -

    See also:
    copy(), selectionChanged()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    void QextScintilla::marginClicked (int  margin,
    int  line,
    TQt::ButtonState  state 
    ) [signal]
    -
    -
    - -

    -This signal is emitted whenever the user clicks on a sensitive margin. margin is the margin. line is the number of the line where the user clicked. state is the state of the modifier keys (ShiftButton, ControlButton and AltButton) when the user clicked.

    -

    See also:
    marginSensitivity(), setMarginSensitivity()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::modificationAttempted (  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever the user attempts to modify read-only text.

    -

    See also:
    isReadOnly(), setReadOnly()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintilla::modificationChanged (bool  m  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever the modification state of the text changes. m is TRUE if the text has been modified.

    -

    See also:
    isModified(), setModified()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::selectionChanged (  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever the selection changes.

    -

    See also:
    copyAvailable()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintilla::textChanged (  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever the text in the text edit changes. -

    - -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintilla::userListActivated (int  id,
    const TQString &  string 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when an item in a user defined list is activated (selected). id is the list identifier. string is the text of the item.

    -

    See also:
    showUserList()
    - -
    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaAPIs-members.html b/doc/en/classQextScintillaAPIs-members.html deleted file mode 100644 index 61bc533..0000000 --- a/doc/en/classQextScintillaAPIs-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaAPIs Member List

    This is the complete list of members for QextScintillaAPIs, including all inherited members.

    - - - - - -
    add(const TQString &entry)QextScintillaAPIs
    clear()QextScintillaAPIs
    load(const TQString &fname)QextScintillaAPIs
    QextScintillaAPIs()QextScintillaAPIs
    ~QextScintillaAPIs()QextScintillaAPIs


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaAPIs.html b/doc/en/classQextScintillaAPIs.html deleted file mode 100644 index fd2a012..0000000 --- a/doc/en/classQextScintillaAPIs.html +++ /dev/null @@ -1,151 +0,0 @@ - - -TQScintilla: QextScintillaAPIs Class Reference - - - - - - -

    QextScintillaAPIs Class Reference

    The QextScintillaAPIs class represents the textual API information used in call tips and for auto-completion. -More... -

    -#include <qextscintillaapis.h> -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaAPIs class represents the textual API information used in call tips and for auto-completion. -

    -API information is read from one or more files. Each API function is described by a single line of text comprising the function's name, followed by the function's optional comma separated parameters enclosed in parenthesis, and finally followed by optional explanatory text.

    -A function name may be followed by a `?' and a number. The number is used by auto-completion to display a registered TQPixmap with the function name.

    -All function names are used by auto-completion, but only those that include function parameters are used in call tips. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - -
    QextScintillaAPIs::QextScintillaAPIs (  ) 
    -
    -
    - -

    -Constructs a QextScintillaAPIs instance. -

    - -

    -

    - -

    -
    - - - - - - - - -
    QextScintillaAPIs::~QextScintillaAPIs (  ) 
    -
    -
    - -

    -Destroys the QextScintillaAPIs instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - - -
    void QextScintillaAPIs::add (const TQString &  entry  ) 
    -
    -
    - -

    -Add the single API entry entry to the current set. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaAPIs::load (const TQString &  fname  ) 
    -
    -
    - -

    -Load the API information from the file named fname, adding it to the current set. Returns TRUE if successful, otherwise FALSE. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaAPIs::clear (  ) 
    -
    -
    - -

    -Deletes all API information. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaBase-members.html b/doc/en/classQextScintillaBase-members.html deleted file mode 100644 index 8ad3068..0000000 --- a/doc/en/classQextScintillaBase-members.html +++ /dev/null @@ -1,769 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaBase Member List

    This is the complete list of members for QextScintillaBase, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CARET_EVEN enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_JUMPS enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_SLOP enum value (defined in QextScintillaBase)QextScintillaBase
    CARET_STRICT enum value (defined in QextScintillaBase)QextScintillaBase
    EDGE_BACKGROUND enum value (defined in QextScintillaBase)QextScintillaBase
    EDGE_LINE enum value (defined in QextScintillaBase)QextScintillaBase
    EDGE_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    eventFilter(TQObject *o, TQEvent *e)QextScintillaBase [protected]
    focusInEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
    focusNextPrevChild(bool)QextScintillaBase [protected, virtual]
    focusOutEvent(TQFocusEvent *)QextScintillaBase [protected, virtual]
    INDIC0_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC1_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC2_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_BOX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_DIAGONAL enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_HIDDEN enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_MAX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_PLAIN enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_ROUNDBOX enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_SQUIGGLE enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_STRIKE enum value (defined in QextScintillaBase)QextScintillaBase
    INDIC_TT enum value (defined in QextScintillaBase)QextScintillaBase
    INDICS_MASK enum value (defined in QextScintillaBase)QextScintillaBase
    keyPressEvent(TQKeyEvent *ke)QextScintillaBase [protected, virtual]
    pool()QextScintillaBase [static]
    QextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)QextScintillaBase
    TQSCN_SELCHANGED(bool yes)QextScintillaBase [signal]
    SC_ALPHA_NOALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SC_ALPHA_OPAQUE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_ALPHA_TRANSPARENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_CARET enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_DOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CACHE_PAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_LOWER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_MIXED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CASE_UPPER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_8859_15 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_ANSI enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_ARABIC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_BALTIC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_CHINESEBIG5 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_EASTEUROPE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_GB2312 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_GREEK enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_HANGUL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_HEBREW enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_JOHAB enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_MAC enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_OEM enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_RUSSIAN enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_SHIFTJIS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_SYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_THAI enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_TURKISH enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CHARSET_VIETNAMESE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CP_DBCS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CP_UTF8 enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CURSORNORMAL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_CURSORWAIT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_CR enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_CRLF enum value (defined in QextScintillaBase)QextScintillaBase
    SC_EOL_LF enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_BOX enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LEVELNUMBERS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEAFTER_CONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEAFTER_EXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_CONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_EXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBASE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBOXFOOTERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELBOXHEADERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELCONTRACTED enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELHEADERFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELNUMBERMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELUNINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_FOLDLEVELWHITEFLAG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_LASTSTEPINUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARGIN_BACK enum valueQextScintillaBase
    SC_MARGIN_FORE enum valueQextScintillaBase
    SC_MARGIN_NUMBER enum valueQextScintillaBase
    SC_MARGIN_SYMBOL enum valueQextScintillaBase
    SC_MARK_ARROW enum valueQextScintillaBase
    SC_MARK_ARROWDOWN enum valueQextScintillaBase
    SC_MARK_ARROWS enum valueQextScintillaBase
    SC_MARK_BACKGROUND enum valueQextScintillaBase
    SC_MARK_BOXMINUS enum valueQextScintillaBase
    SC_MARK_BOXMINUSCONNECTED enum valueQextScintillaBase
    SC_MARK_BOXPLUS enum valueQextScintillaBase
    SC_MARK_BOXPLUSCONNECTED enum valueQextScintillaBase
    SC_MARK_CHARACTER enum valueQextScintillaBase
    SC_MARK_CIRCLE enum valueQextScintillaBase
    SC_MARK_CIRCLEMINUS enum valueQextScintillaBase
    SC_MARK_CIRCLEMINUSCONNECTED enum valueQextScintillaBase
    SC_MARK_CIRCLEPLUS enum valueQextScintillaBase
    SC_MARK_CIRCLEPLUSCONNECTED enum valueQextScintillaBase
    SC_MARK_DOTDOTDOT enum valueQextScintillaBase
    SC_MARK_EMPTY enum valueQextScintillaBase
    SC_MARK_FULLRECT enum valueQextScintillaBase
    SC_MARK_LCORNER enum valueQextScintillaBase
    SC_MARK_LCORNERCURVE enum valueQextScintillaBase
    SC_MARK_MINUS enum valueQextScintillaBase
    SC_MARK_PIXMAP enum valueQextScintillaBase
    SC_MARK_PLUS enum valueQextScintillaBase
    SC_MARK_ROUNDRECT enum valueQextScintillaBase
    SC_MARK_SHORTARROW enum valueQextScintillaBase
    SC_MARK_SMALLRECT enum valueQextScintillaBase
    SC_MARK_TCORNER enum valueQextScintillaBase
    SC_MARK_TCORNERCURVE enum valueQextScintillaBase
    SC_MARK_VLINE enum valueQextScintillaBase
    SC_MARKNUM_FOLDER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEREND enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERMIDTAIL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEROPEN enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDEROPENMID enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERSUB enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MARKNUM_FOLDERTAIL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MASK_FOLDERS enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_BEFOREDELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_BEFOREINSERT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGEFOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGEMARKER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_CHANGESTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_DELETETEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MOD_INSERTTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MODEVENTMASKALL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MULTILINEUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_MULTISTEPUNDOREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_REDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_UNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PERFORMED_USER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_BLACKONWHITE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_COLOURONWHITE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_COLOURONWHITEDEFAULTBG enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_INVERTLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_PRINT_NORMAL enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_LINES enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_RECTANGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_SEL_STREAM enum value (defined in QextScintillaBase)QextScintillaBase
    SC_TIME_FOREVER enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_CHAR enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAP_WORD enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_END enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_NONE enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAG_START enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_END_BY_TEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SC_WRAPVISUALFLAGLOC_START_BY_TEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCEN_CHANGE()QextScintillaBase [signal]
    SCFIND_MATCHCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_POSIX enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_REGEXP enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_WHOLEWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCFIND_WORDSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDREFDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDSTYLEDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ADDTEXT enum valueQextScintillaBase
    SCI_ALLOCATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_APPENDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ASSIGNCMDKEY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCACTIVE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCCANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCCOMPLETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETAUTOHIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCANCELATSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCHOOSESINGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETCURRENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETDROPRESTOFWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETIGNORECASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETMAXHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETMAXWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETSEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCGETTYPESEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCPOSSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSELECT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETAUTOHIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETCANCELATSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETCHOOSESINGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETDROPRESTOFWORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETFILLUPS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETIGNORECASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETMAXHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETMAXWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETSEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSETTYPESEPARATOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_AUTOCSTOPS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BACKTAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BEGINUNDOACTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEBADLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEHIGHLIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_BRACEMATCH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPACTIVE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPCANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPPOSSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETFOREHLT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSETHLT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CALLTIPUSESTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANCEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANPASTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANREDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CANUNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARLEFTRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHARRIGHTRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CHOOSECARETX enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARALLCMDKEYS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARCMDKEY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARDOCUMENTSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CLEARREGISTEREDIMAGES enum valueQextScintillaBase
    SCI_COLOURISE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CONVERTEOLS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPYRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_COPYTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CREATEDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_CUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELETEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELETEBACKNOTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELLINELEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELLINERIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELWORDLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DELWORDRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCLINEFROMVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_DOCUMENTSTARTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_EDITTOGGLEOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_EMPTYUNDOBUFFER enum valueQextScintillaBase
    SCI_ENDUNDOACTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ENSUREVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ENSUREVISIBLEENFORCEPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FINDCOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FINDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FORMATRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_FORMFEED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETANCHOR enum valueQextScintillaBase
    SCI_GETBACKSPACEUNINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETBUFFEREDDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEBACKALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETPERIOD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCARETWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCHARAT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCODEPAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCONTROLCHARSYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCURLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETCURRENTPOS enum valueQextScintillaBase
    SCI_GETCURSOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDIRECTFUNCTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDIRECTPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETDOCPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGECOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGECOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETEDGEMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETENDATLASTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETENDSTYLED enum valueQextScintillaBase
    SCI_GETEOLMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFIRSTVISIBLELINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDLEVEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETFOLDPARENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETHIGHLIGHTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETHSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETINDENTATIONGUIDES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLASTCHILD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLAYOUTCACHE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLENGTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLEXER enum valueQextScintillaBase
    SCI_GETLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINECOUNT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEINDENTATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEINDENTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESELENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESELSTARTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINMASKN enum valueQextScintillaBase
    SCI_GETMARGINRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMARGINSENSITIVEN enum valueQextScintillaBase
    SCI_GETMARGINTYPEN enum valueQextScintillaBase
    SCI_GETMARGINWIDTHN enum valueQextScintillaBase
    SCI_GETMAXLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMODEVENTMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMODIFY enum valueQextScintillaBase
    SCI_GETMOUSEDOWNCAPTURES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETMOUSEDWELLTIME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPASTECONVERTENDINGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTCOLOURMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTMAGNIFICATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPRINTWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTYEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETPROPERTYINT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETREADONLY enum valueQextScintillaBase
    SCI_GETSCROLLWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSEARCHFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELECTIONSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSELTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTATUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEAT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEBITS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEBITSNEEDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETSTYLEDTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTABINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTABWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTARGETEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTARGETSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTEXT enum valueQextScintillaBase
    SCI_GETTEXTLENGTH enum valueQextScintillaBase
    SCI_GETTEXTRANGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETTWOPHASEDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUNDOCOLLECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUSEPALETTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETUSETABS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVIEWEOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVIEWWS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETVSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPSTARTINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPVISUALFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETWRAPVISUALFLAGSLOCATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETXOFFSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GETZOOM enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GOTOLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_GOTOPOS enum valueQextScintillaBase
    SCI_GRABFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HIDELINES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HIDESELECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEDISPLAY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEDISPLAYEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMERECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_HOMEWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICGETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICGETSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICSETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INDICSETSTYLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_INSERTTEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LEXER_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINECOPY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINECUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDOWNRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEDUPLICATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDDISPLAY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDDISPLAYEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEENDWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINELENGTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLLDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESCROLLUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESJOIN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESONSCREEN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINESSPLIT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINETRANSPOSE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LINEUPRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LOADLEXERLIBRARY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_LOWERCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERADD enum valueQextScintillaBase
    SCI_MARKERADDSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERDEFINE enum valueQextScintillaBase
    SCI_MARKERDEFINEPIXMAP enum valueQextScintillaBase
    SCI_MARKERDELETE enum valueQextScintillaBase
    SCI_MARKERDELETEALL enum valueQextScintillaBase
    SCI_MARKERDELETEHANDLE enum valueQextScintillaBase
    SCI_MARKERGET enum valueQextScintillaBase
    SCI_MARKERLINEFROMHANDLE enum valueQextScintillaBase
    SCI_MARKERNEXT enum valueQextScintillaBase
    SCI_MARKERPREVIOUS enum valueQextScintillaBase
    SCI_MARKERSETALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_MARKERSETBACK enum valueQextScintillaBase
    SCI_MARKERSETFORE enum valueQextScintillaBase
    SCI_MOVECARETINSIDEVIEW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_NEWLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_NULL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_OPTIONAL_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEDOWNRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PAGEUPRECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARADOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARADOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARAUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PARAUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_PASTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POINTXFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POINTYFROMPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONAFTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONBEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMPOINT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_POSITIONFROMPOINTCLOSE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REGISTERIMAGE enum valueQextScintillaBase
    SCI_RELEASEDOCUMENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACESEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACETARGET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_REPLACETARGETRE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SCROLLCARET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHANCHOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHINTARGET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHNEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SEARCHPREV enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTIONDUPLICATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SELECTIONISRECTANGLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETANCHOR enum valueQextScintillaBase
    SCI_SETBACKSPACEUNINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETBUFFEREDDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEBACKALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETLINEVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETPERIOD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCARETWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCHARSDEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCODEPAGE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCONTROLCHARSYMBOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETCURRENTPOS enum valueQextScintillaBase
    SCI_SETCURSOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETDOCPOINTER enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGECOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGECOLUMN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEDGEMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETENDATLASTLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETEOLMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOCUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDEXPANDED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDLEVEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDMARGINCOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETFOLDMARGINHICOLOUR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHIGHLIGHTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHOTSPOTACTIVEUNDERLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETHSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETINDENTATIONGUIDES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETKEYWORDS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLAYOUTCACHE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLEXER enum valueQextScintillaBase
    SCI_SETLEXERLANGUAGE enum valueQextScintillaBase
    SCI_SETLINEINDENTATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETLINESTATE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINMASKN enum valueQextScintillaBase
    SCI_SETMARGINRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMARGINSENSITIVEN enum valueQextScintillaBase
    SCI_SETMARGINTYPEN enum valueQextScintillaBase
    SCI_SETMARGINWIDTHN enum valueQextScintillaBase
    SCI_SETMODEVENTMASK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMOUSEDOWNCAPTURES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETMOUSEDWELLTIME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETOVERTYPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPASTECONVERTENDINGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTCOLOURMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTMAGNIFICATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPRINTWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETPROPERTY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETREADONLY enum valueQextScintillaBase
    SCI_SETSAVEPOINT enum valueQextScintillaBase
    SCI_SETSCROLLWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSEARCHFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSEL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELALPHA enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELECTIONSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSELFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTATUS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLEBITS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLING enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETSTYLINGEX enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTABINDENTS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTABWIDTH enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTARGETEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTARGETSTART enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETTEXT enum valueQextScintillaBase
    SCI_SETTWOPHASEDRAW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUNDOCOLLECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUSEPALETTE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETUSETABS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVIEWEOL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVIEWWS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVISIBLEPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETVSCROLLBAR enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACEBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACECHARS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWHITESPACEFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWORDCHARS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPMODE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPSTARTINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPVISUALFLAGS enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETWRAPVISUALFLAGSLOCATION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETXCARETPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETXOFFSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETYCARETPOLICY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SETZOOM enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_SHOWLINES enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_START enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STARTRECORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STARTSTYLING enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STOPRECORD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEDOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEDOWNEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STUTTEREDPAGEUPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLECLEARALL enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLERESETDEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETBACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETBOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCHANGEABLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETCHARACTERSET enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETEOLFILLED enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETFONT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETFORE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETHOTSPOT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETITALIC enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETSIZE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETUNDERLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_STYLESETVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TARGETFROMSELECTION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TEXTHEIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TEXTWIDTH enum valueQextScintillaBase
    SCI_TOGGLECARETSTICKY enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_TOGGLEFOLD enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_UNDO enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_UPPERCASE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_USEPOPUP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_USERLISTSHOW enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMERECTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEWRAP enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VCHOMEWRAPEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_VISIBLEFROMDOCLINE enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDENDPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTLEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTLEFTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDPARTRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTENDEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDRIGHTEXTEND enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WORDSTARTPOSITION enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_WRAPCOUNT enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ZOOMIN enum value (defined in QextScintillaBase)QextScintillaBase
    SCI_ZOOMOUT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_ADD enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_BACK enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DELETE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DIVIDE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_DOWN enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_END enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_ESCAPE enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_HOME enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_INSERT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_LEFT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_NEXT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_PRIOR enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_RETURN enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_RIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_SUBTRACT enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_TAB enum value (defined in QextScintillaBase)QextScintillaBase
    SCK_UP enum value (defined in QextScintillaBase)QextScintillaBase
    SCLEX_ADA enum valueQextScintillaBase
    SCLEX_APDL enum valueQextScintillaBase
    SCLEX_ASM enum valueQextScintillaBase
    SCLEX_ASN1 enum valueQextScintillaBase
    SCLEX_ASP enum valueQextScintillaBase
    SCLEX_AU3 enum valueQextScintillaBase
    SCLEX_AVE enum valueQextScintillaBase
    SCLEX_BAAN enum valueQextScintillaBase
    SCLEX_BASH enum valueQextScintillaBase
    SCLEX_BATCH enum valueQextScintillaBase
    SCLEX_BLITZBASIC enum valueQextScintillaBase
    SCLEX_BULLANT enum valueQextScintillaBase
    SCLEX_CAML enum valueQextScintillaBase
    SCLEX_CLW enum valueQextScintillaBase
    SCLEX_CLWNOCASE enum valueQextScintillaBase
    SCLEX_CONF enum valueQextScintillaBase
    SCLEX_CONTAINER enum valueQextScintillaBase
    SCLEX_CPP enum valueQextScintillaBase
    SCLEX_CPPNOCASE enum valueQextScintillaBase
    SCLEX_CSOUND enum valueQextScintillaBase
    SCLEX_CSS enum valueQextScintillaBase
    SCLEX_DIFF enum valueQextScintillaBase
    SCLEX_EIFFEL enum valueQextScintillaBase
    SCLEX_EIFFELKW enum valueQextScintillaBase
    SCLEX_ERLANG enum valueQextScintillaBase
    SCLEX_ERRORLIST enum valueQextScintillaBase
    SCLEX_ESCRIPT enum valueQextScintillaBase
    SCLEX_F77 enum valueQextScintillaBase
    SCLEX_FLAGSHIP enum valueQextScintillaBase
    SCLEX_FORTH enum valueQextScintillaBase
    SCLEX_FORTRAN enum valueQextScintillaBase
    SCLEX_FREEBASIC enum valueQextScintillaBase
    SCLEX_GUI4CLI enum valueQextScintillaBase
    SCLEX_HASKELL enum valueQextScintillaBase
    SCLEX_HTML enum valueQextScintillaBase
    SCLEX_INNOSETUP enum valueQextScintillaBase
    SCLEX_KIX enum valueQextScintillaBase
    SCLEX_LATEX enum valueQextScintillaBase
    SCLEX_LISP enum valueQextScintillaBase
    SCLEX_LOT enum valueQextScintillaBase
    SCLEX_LOUT enum valueQextScintillaBase
    SCLEX_LUA enum valueQextScintillaBase
    SCLEX_MAKEFILE enum valueQextScintillaBase
    SCLEX_MATLAB enum valueQextScintillaBase
    SCLEX_METAPOST enum valueQextScintillaBase
    SCLEX_MMIXAL enum valueQextScintillaBase
    SCLEX_MSSQL enum valueQextScintillaBase
    SCLEX_NNCRONTAB enum valueQextScintillaBase
    SCLEX_NSIS enum valueQextScintillaBase
    SCLEX_NULL enum valueQextScintillaBase
    SCLEX_OCTAVE enum valueQextScintillaBase
    SCLEX_OPAL enum valueQextScintillaBase
    SCLEX_PASCAL enum valueQextScintillaBase
    SCLEX_PERL enum valueQextScintillaBase
    SCLEX_PHP enum valueQextScintillaBase
    SCLEX_PHPSCRIPT enum valueQextScintillaBase
    SCLEX_POV enum valueQextScintillaBase
    SCLEX_POWERBASIC enum valueQextScintillaBase
    SCLEX_PROPERTIES enum valueQextScintillaBase
    SCLEX_PS enum valueQextScintillaBase
    SCLEX_PUREBASIC enum valueQextScintillaBase
    SCLEX_PYTHON enum valueQextScintillaBase
    SCLEX_REBOL enum valueQextScintillaBase
    SCLEX_RUBY enum valueQextScintillaBase
    SCLEX_SCRIPTOL enum valueQextScintillaBase
    SCLEX_SMALLTALK enum valueQextScintillaBase
    SCLEX_SPECMAN enum valueQextScintillaBase
    SCLEX_SPICE enum valueQextScintillaBase
    SCLEX_SQL enum valueQextScintillaBase
    SCLEX_TADS3 enum valueQextScintillaBase
    SCLEX_TCL enum valueQextScintillaBase
    SCLEX_TEX enum valueQextScintillaBase
    SCLEX_VB enum valueQextScintillaBase
    SCLEX_VBSCRIPT enum valueQextScintillaBase
    SCLEX_VERILOG enum valueQextScintillaBase
    SCLEX_VHDL enum valueQextScintillaBase
    SCLEX_XML enum valueQextScintillaBase
    SCLEX_YAML enum valueQextScintillaBase
    SCMOD_ALT enum valueQextScintillaBase
    SCMOD_CTRL enum valueQextScintillaBase
    SCMOD_NORM enum valueQextScintillaBase
    SCMOD_SHIFT enum valueQextScintillaBase
    SCN_AUTOCSELECTION(const char *selection, int position)QextScintillaBase [signal]
    SCN_CALLTIPCLICK(int direction)QextScintillaBase [signal]
    SCN_CHARADDED(int charadded)QextScintillaBase [signal]
    SCN_DOUBLECLICK() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_DWELLEND(int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_DWELLSTART(int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_HOTSPOTCLICK(int position, int modifiers)QextScintillaBase [signal]
    SCN_HOTSPOTDOUBLECLICK(int position, int modifiers)QextScintillaBase [signal]
    SCN_MACRORECORD(unsigned int, unsigned long, long)QextScintillaBase [signal]
    SCN_MARGINCLICK(int position, int modifiers, int margin)QextScintillaBase [signal]
    SCN_MODIFIED(int, int, const char *, int, int, int, int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_MODIFYATTEMPTRO()QextScintillaBase [signal]
    SCN_NEEDSHOWN(int, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_PAINTED()QextScintillaBase [signal]
    SCN_SAVEPOINTLEFT()QextScintillaBase [signal]
    SCN_SAVEPOINTREACHED()QextScintillaBase [signal]
    SCN_STYLENEEDED(int position)QextScintillaBase [signal]
    SCN_UPDATEUI() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_USERLISTSELECTION(const char *, int) (defined in QextScintillaBase)QextScintillaBase [signal]
    SCN_ZOOM() (defined in QextScintillaBase)QextScintillaBase [signal]
    SCWS_INVISIBLE enum value (defined in QextScintillaBase)QextScintillaBase
    SCWS_VISIBLEAFTERINDENT enum value (defined in QextScintillaBase)QextScintillaBase
    SCWS_VISIBLEALWAYS enum value (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam=0, long lParam=0)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *wParam, const char *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, long wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, int wParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, const TQColor &col) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in QextScintillaBase)QextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in QextScintillaBase)QextScintillaBase [inline]
    sizeHint() const QextScintillaBase [virtual]
    startDrag()QextScintillaBase [protected, virtual]
    STYLE_BRACEBAD enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_BRACELIGHT enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_CALLTIP enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_CONTROLCHAR enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_DEFAULT enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_INDENTGUIDE enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_LASTPREDEFINED enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_LINENUMBER enum value (defined in QextScintillaBase)QextScintillaBase
    STYLE_MAX enum value (defined in QextScintillaBase)QextScintillaBase
    viewport() const QextScintillaBase
    VISIBLE_SLOP enum value (defined in QextScintillaBase)QextScintillaBase
    VISIBLE_STRICT enum value (defined in QextScintillaBase)QextScintillaBase
    ~QextScintillaBase()QextScintillaBase [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaBase.html b/doc/en/classQextScintillaBase.html deleted file mode 100644 index c4cf43b..0000000 --- a/doc/en/classQextScintillaBase.html +++ /dev/null @@ -1,3465 +0,0 @@ - - -TQScintilla: QextScintillaBase Class Reference - - - - - - -

    QextScintillaBase Class Reference

    The QextScintillaBase class implements the Scintilla editor widget and its low-level API. -More... -

    -#include <qextscintillabase.h> -

    -Inherited by QextScintilla. -

    -List of all members.

    Public Types

    -
      -
    • -SCI_START = 2000 -
    • -SCI_OPTIONAL_START = 3000 -
    • -SCI_LEXER_START = 4000 -
    • SCI_ADDTEXT = 2001 -
    • -SCI_ADDSTYLEDTEXT = 2002 -
    • -SCI_INSERTTEXT = 2003 -
    • -SCI_CLEARALL = 2004 -
    • -SCI_CLEARDOCUMENTSTYLE = 2005 -
    • -SCI_GETLENGTH = 2006 -
    • -SCI_GETCHARAT = 2007 -
    • SCI_GETCURRENTPOS = 2008 -
    • SCI_GETANCHOR = 2009 -
    • -SCI_GETSTYLEAT = 2010 -
    • -SCI_REDO = 2011 -
    • -SCI_SETUNDOCOLLECTION = 2012 -
    • -SCI_SELECTALL = 2013 -
    • SCI_SETSAVEPOINT = 2014 -
    • -SCI_GETSTYLEDTEXT = 2015 -
    • -SCI_CANREDO = 2016 -
    • SCI_MARKERLINEFROMHANDLE = 2017 -
    • SCI_MARKERDELETEHANDLE = 2018 -
    • -SCI_GETUNDOCOLLECTION = 2019 -
    • -SCI_GETVIEWWS = 2020 -
    • -SCI_SETVIEWWS = 2021 -
    • -SCI_POSITIONFROMPOINT = 2022 -
    • -SCI_POSITIONFROMPOINTCLOSE = 2023 -
    • -SCI_GOTOLINE = 2024 -
    • SCI_GOTOPOS = 2025 -
    • SCI_SETANCHOR = 2026 -
    • -SCI_GETCURLINE = 2027 -
    • SCI_GETENDSTYLED = 2028 -
    • -SCI_CONVERTEOLS = 2029 -
    • -SCI_GETEOLMODE = 2030 -
    • -SCI_SETEOLMODE = 2031 -
    • -SCI_STARTSTYLING = 2032 -
    • -SCI_SETSTYLING = 2033 -
    • -SCI_GETBUFFEREDDRAW = 2034 -
    • -SCI_SETBUFFEREDDRAW = 2035 -
    • -SCI_SETTABWIDTH = 2036 -
    • -SCI_GETTABWIDTH = 2121 -
    • -SCI_SETCODEPAGE = 2037 -
    • -SCI_SETUSEPALETTE = 2039 -
    • SCI_MARKERDEFINE = 2040 -
    • SCI_MARKERSETFORE = 2041 -
    • SCI_MARKERSETBACK = 2042 -
    • SCI_MARKERADD = 2043 -
    • SCI_MARKERDELETE = 2044 -
    • SCI_MARKERDELETEALL = 2045 -
    • SCI_MARKERGET = 2046 -
    • SCI_MARKERNEXT = 2047 -
    • SCI_MARKERPREVIOUS = 2048 -
    • SCI_MARKERDEFINEPIXMAP = 2049 -
    • SCI_SETMARGINTYPEN = 2240 -
    • SCI_GETMARGINTYPEN = 2241 -
    • SCI_SETMARGINWIDTHN = 2242 -
    • SCI_GETMARGINWIDTHN = 2243 -
    • SCI_SETMARGINMASKN = 2244 -
    • SCI_GETMARGINMASKN = 2245 -
    • SCI_SETMARGINSENSITIVEN = 2246 -
    • SCI_GETMARGINSENSITIVEN = 2247 -
    • -SCI_STYLECLEARALL = 2050 -
    • -SCI_STYLESETFORE = 2051 -
    • -SCI_STYLESETBACK = 2052 -
    • -SCI_STYLESETBOLD = 2053 -
    • -SCI_STYLESETITALIC = 2054 -
    • -SCI_STYLESETSIZE = 2055 -
    • -SCI_STYLESETFONT = 2056 -
    • -SCI_STYLESETEOLFILLED = 2057 -
    • -SCI_STYLERESETDEFAULT = 2058 -
    • -SCI_STYLESETUNDERLINE = 2059 -
    • -SCI_STYLESETCASE = 2060 -
    • -SCI_STYLESETCHARACTERSET = 2066 -
    • -SCI_SETSELFORE = 2067 -
    • -SCI_SETSELBACK = 2068 -
    • -SCI_SETCARETFORE = 2069 -
    • -SCI_ASSIGNCMDKEY = 2070 -
    • -SCI_CLEARCMDKEY = 2071 -
    • -SCI_CLEARALLCMDKEYS = 2072 -
    • -SCI_SETSTYLINGEX = 2073 -
    • -SCI_STYLESETVISIBLE = 2074 -
    • -SCI_GETCARETPERIOD = 2075 -
    • -SCI_SETCARETPERIOD = 2076 -
    • -SCI_SETWORDCHARS = 2077 -
    • -SCI_BEGINUNDOACTION = 2078 -
    • -SCI_ENDUNDOACTION = 2079 -
    • -SCI_INDICSETSTYLE = 2080 -
    • -SCI_INDICGETSTYLE = 2081 -
    • -SCI_INDICSETFORE = 2082 -
    • -SCI_INDICGETFORE = 2083 -
    • -SCI_SETWHITESPACEFORE = 2084 -
    • -SCI_SETWHITESPACEBACK = 2085 -
    • -SCI_SETSTYLEBITS = 2090 -
    • -SCI_GETSTYLEBITS = 2091 -
    • -SCI_SETLINESTATE = 2092 -
    • -SCI_GETLINESTATE = 2093 -
    • -SCI_GETMAXLINESTATE = 2094 -
    • -SCI_GETCARETLINEVISIBLE = 2095 -
    • -SCI_SETCARETLINEVISIBLE = 2096 -
    • -SCI_GETCARETLINEBACK = 2097 -
    • -SCI_SETCARETLINEBACK = 2098 -
    • -SCI_STYLESETCHANGEABLE = 2099 -
    • -SCI_AUTOCSHOW = 2100 -
    • -SCI_AUTOCCANCEL = 2101 -
    • -SCI_AUTOCACTIVE = 2102 -
    • -SCI_AUTOCPOSSTART = 2103 -
    • -SCI_AUTOCCOMPLETE = 2104 -
    • -SCI_AUTOCSTOPS = 2105 -
    • -SCI_AUTOCSETSEPARATOR = 2106 -
    • -SCI_AUTOCGETSEPARATOR = 2107 -
    • -SCI_AUTOCSELECT = 2108 -
    • -SCI_AUTOCSETCANCELATSTART = 2110 -
    • -SCI_AUTOCGETCANCELATSTART = 2111 -
    • -SCI_AUTOCSETFILLUPS = 2112 -
    • -SCI_AUTOCSETCHOOSESINGLE = 2113 -
    • -SCI_AUTOCGETCHOOSESINGLE = 2114 -
    • -SCI_AUTOCSETIGNORECASE = 2115 -
    • -SCI_AUTOCGETIGNORECASE = 2116 -
    • -SCI_USERLISTSHOW = 2117 -
    • -SCI_AUTOCSETAUTOHIDE = 2118 -
    • -SCI_AUTOCGETAUTOHIDE = 2119 -
    • -SCI_AUTOCSETDROPRESTOFWORD = 2270 -
    • -SCI_AUTOCGETDROPRESTOFWORD = 2271 -
    • -SCI_SETINDENT = 2122 -
    • -SCI_GETINDENT = 2123 -
    • -SCI_SETUSETABS = 2124 -
    • -SCI_GETUSETABS = 2125 -
    • -SCI_SETLINEINDENTATION = 2126 -
    • -SCI_GETLINEINDENTATION = 2127 -
    • -SCI_GETLINEINDENTPOSITION = 2128 -
    • -SCI_GETCOLUMN = 2129 -
    • -SCI_SETHSCROLLBAR = 2130 -
    • -SCI_GETHSCROLLBAR = 2131 -
    • -SCI_SETINDENTATIONGUIDES = 2132 -
    • -SCI_GETINDENTATIONGUIDES = 2133 -
    • -SCI_SETHIGHLIGHTGUIDE = 2134 -
    • -SCI_GETHIGHLIGHTGUIDE = 2135 -
    • -SCI_GETLINEENDPOSITION = 2136 -
    • -SCI_GETCODEPAGE = 2137 -
    • -SCI_GETCARETFORE = 2138 -
    • -SCI_GETUSEPALETTE = 2139 -
    • SCI_GETREADONLY = 2140 -
    • SCI_SETCURRENTPOS = 2141 -
    • -SCI_SETSELECTIONSTART = 2142 -
    • -SCI_GETSELECTIONSTART = 2143 -
    • -SCI_SETSELECTIONEND = 2144 -
    • -SCI_GETSELECTIONEND = 2145 -
    • -SCI_SETPRINTMAGNIFICATION = 2146 -
    • -SCI_GETPRINTMAGNIFICATION = 2147 -
    • -SCI_SETPRINTCOLOURMODE = 2148 -
    • -SCI_GETPRINTCOLOURMODE = 2149 -
    • -SCI_FINDTEXT = 2150 -
    • -SCI_FORMATRANGE = 2151 -
    • -SCI_GETFIRSTVISIBLELINE = 2152 -
    • -SCI_GETLINE = 2153 -
    • -SCI_GETLINECOUNT = 2154 -
    • -SCI_SETMARGINLEFT = 2155 -
    • -SCI_GETMARGINLEFT = 2156 -
    • -SCI_SETMARGINRIGHT = 2157 -
    • -SCI_GETMARGINRIGHT = 2158 -
    • SCI_GETMODIFY = 2159 -
    • -SCI_SETSEL = 2160 -
    • -SCI_GETSELTEXT = 2161 -
    • -SCI_GETTEXTRANGE = 2162 -
    • -SCI_HIDESELECTION = 2163 -
    • -SCI_POINTXFROMPOSITION = 2164 -
    • -SCI_POINTYFROMPOSITION = 2165 -
    • -SCI_LINEFROMPOSITION = 2166 -
    • -SCI_POSITIONFROMLINE = 2167 -
    • -SCI_LINESCROLL = 2168 -
    • -SCI_SCROLLCARET = 2169 -
    • -SCI_REPLACESEL = 2170 -
    • SCI_SETREADONLY = 2171 -
    • -SCI_NULL = 2172 -
    • -SCI_CANPASTE = 2173 -
    • -SCI_CANUNDO = 2174 -
    • SCI_EMPTYUNDOBUFFER = 2175 -
    • -SCI_UNDO = 2176 -
    • -SCI_CUT = 2177 -
    • -SCI_COPY = 2178 -
    • -SCI_PASTE = 2179 -
    • -SCI_CLEAR = 2180 -
    • SCI_SETTEXT = 2181 -
    • SCI_GETTEXT = 2182 -
    • SCI_GETTEXTLENGTH = 2183 -
    • -SCI_GETDIRECTFUNCTION = 2184 -
    • -SCI_GETDIRECTPOINTER = 2185 -
    • -SCI_SETOVERTYPE = 2186 -
    • -SCI_GETOVERTYPE = 2187 -
    • -SCI_SETCARETWIDTH = 2188 -
    • -SCI_GETCARETWIDTH = 2189 -
    • -SCI_SETTARGETSTART = 2190 -
    • -SCI_GETTARGETSTART = 2191 -
    • -SCI_SETTARGETEND = 2192 -
    • -SCI_GETTARGETEND = 2193 -
    • -SCI_REPLACETARGET = 2194 -
    • -SCI_REPLACETARGETRE = 2195 -
    • -SCI_SEARCHINTARGET = 2197 -
    • -SCI_SETSEARCHFLAGS = 2198 -
    • -SCI_GETSEARCHFLAGS = 2199 -
    • -SCI_CALLTIPSHOW = 2200 -
    • -SCI_CALLTIPCANCEL = 2201 -
    • -SCI_CALLTIPACTIVE = 2202 -
    • -SCI_CALLTIPPOSSTART = 2203 -
    • -SCI_CALLTIPSETHLT = 2204 -
    • -SCI_CALLTIPSETBACK = 2205 -
    • -SCI_CALLTIPSETFORE = 2206 -
    • -SCI_CALLTIPSETFOREHLT = 2207 -
    • -SCI_AUTOCSETMAXWIDTH = 2208 -
    • -SCI_AUTOCGETMAXWIDTH = 2209 -
    • -SCI_AUTOCSETMAXHEIGHT = 2210 -
    • -SCI_AUTOCGETMAXHEIGHT = 2211 -
    • -SCI_CALLTIPUSESTYLE = 2212 -
    • -SCI_VISIBLEFROMDOCLINE = 2220 -
    • -SCI_DOCLINEFROMVISIBLE = 2221 -
    • -SCI_SETFOLDLEVEL = 2222 -
    • -SCI_GETFOLDLEVEL = 2223 -
    • -SCI_GETLASTCHILD = 2224 -
    • -SCI_GETFOLDPARENT = 2225 -
    • -SCI_SHOWLINES = 2226 -
    • -SCI_HIDELINES = 2227 -
    • -SCI_GETLINEVISIBLE = 2228 -
    • -SCI_SETFOLDEXPANDED = 2229 -
    • -SCI_GETFOLDEXPANDED = 2230 -
    • -SCI_TOGGLEFOLD = 2231 -
    • -SCI_ENSUREVISIBLE = 2232 -
    • -SCI_SETFOLDFLAGS = 2233 -
    • -SCI_ENSUREVISIBLEENFORCEPOLICY = 2234 -
    • -SCI_WRAPCOUNT = 2235 -
    • -SCI_SETTABINDENTS = 2260 -
    • -SCI_GETTABINDENTS = 2261 -
    • -SCI_SETBACKSPACEUNINDENTS = 2262 -
    • -SCI_GETBACKSPACEUNINDENTS = 2263 -
    • -SCI_SETMOUSEDWELLTIME = 2264 -
    • -SCI_GETMOUSEDWELLTIME = 2265 -
    • -SCI_WORDSTARTPOSITION = 2266 -
    • -SCI_WORDENDPOSITION = 2267 -
    • -SCI_SETWRAPMODE = 2268 -
    • -SCI_GETWRAPMODE = 2269 -
    • -SCI_SETLAYOUTCACHE = 2272 -
    • -SCI_GETLAYOUTCACHE = 2273 -
    • -SCI_SETSCROLLWIDTH = 2274 -
    • -SCI_GETSCROLLWIDTH = 2275 -
    • SCI_TEXTWIDTH = 2276 -
    • -SCI_SETENDATLASTLINE = 2277 -
    • -SCI_GETENDATLASTLINE = 2278 -
    • -SCI_TEXTHEIGHT = 2279 -
    • -SCI_SETVSCROLLBAR = 2280 -
    • -SCI_GETVSCROLLBAR = 2281 -
    • -SCI_APPENDTEXT = 2282 -
    • -SCI_GETTWOPHASEDRAW = 2283 -
    • -SCI_SETTWOPHASEDRAW = 2284 -
    • -SCI_AUTOCGETTYPESEPARATOR = 2285 -
    • -SCI_AUTOCSETTYPESEPARATOR = 2286 -
    • -SCI_TARGETFROMSELECTION = 2287 -
    • -SCI_LINESJOIN = 2288 -
    • -SCI_LINESSPLIT = 2289 -
    • -SCI_SETFOLDMARGINCOLOUR = 2290 -
    • -SCI_SETFOLDMARGINHICOLOUR = 2291 -
    • -SCI_LINEDOWN = 2300 -
    • -SCI_LINEDOWNEXTEND = 2301 -
    • -SCI_LINEUP = 2302 -
    • -SCI_LINEUPEXTEND = 2303 -
    • -SCI_CHARLEFT = 2304 -
    • -SCI_CHARLEFTEXTEND = 2305 -
    • -SCI_CHARRIGHT = 2306 -
    • -SCI_CHARRIGHTEXTEND = 2307 -
    • -SCI_WORDLEFT = 2308 -
    • -SCI_WORDLEFTEXTEND = 2309 -
    • -SCI_WORDRIGHT = 2310 -
    • -SCI_WORDRIGHTEXTEND = 2311 -
    • -SCI_HOME = 2312 -
    • -SCI_HOMEEXTEND = 2313 -
    • -SCI_LINEEND = 2314 -
    • -SCI_LINEENDEXTEND = 2315 -
    • -SCI_DOCUMENTSTART = 2316 -
    • -SCI_DOCUMENTSTARTEXTEND = 2317 -
    • -SCI_DOCUMENTEND = 2318 -
    • -SCI_DOCUMENTENDEXTEND = 2319 -
    • -SCI_PAGEUP = 2320 -
    • -SCI_PAGEUPEXTEND = 2321 -
    • -SCI_PAGEDOWN = 2322 -
    • -SCI_PAGEDOWNEXTEND = 2323 -
    • -SCI_EDITTOGGLEOVERTYPE = 2324 -
    • -SCI_CANCEL = 2325 -
    • -SCI_DELETEBACK = 2326 -
    • -SCI_TAB = 2327 -
    • -SCI_BACKTAB = 2328 -
    • -SCI_NEWLINE = 2329 -
    • -SCI_FORMFEED = 2330 -
    • -SCI_VCHOME = 2331 -
    • -SCI_VCHOMEEXTEND = 2332 -
    • -SCI_ZOOMIN = 2333 -
    • -SCI_ZOOMOUT = 2334 -
    • -SCI_DELWORDLEFT = 2335 -
    • -SCI_DELWORDRIGHT = 2336 -
    • -SCI_LINECUT = 2337 -
    • -SCI_LINEDELETE = 2338 -
    • -SCI_LINETRANSPOSE = 2339 -
    • -SCI_LOWERCASE = 2340 -
    • -SCI_UPPERCASE = 2341 -
    • -SCI_LINESCROLLDOWN = 2342 -
    • -SCI_LINESCROLLUP = 2343 -
    • -SCI_DELETEBACKNOTLINE = 2344 -
    • -SCI_HOMEDISPLAY = 2345 -
    • -SCI_HOMEDISPLAYEXTEND = 2346 -
    • -SCI_LINEENDDISPLAY = 2347 -
    • -SCI_LINEENDDISPLAYEXTEND = 2348 -
    • -SCI_MOVECARETINSIDEVIEW = 2401 -
    • -SCI_LINELENGTH = 2350 -
    • -SCI_BRACEHIGHLIGHT = 2351 -
    • -SCI_BRACEBADLIGHT = 2352 -
    • -SCI_BRACEMATCH = 2353 -
    • -SCI_GETVIEWEOL = 2355 -
    • -SCI_SETVIEWEOL = 2356 -
    • -SCI_GETDOCPOINTER = 2357 -
    • -SCI_SETDOCPOINTER = 2358 -
    • -SCI_SETMODEVENTMASK = 2359 -
    • -SCI_GETEDGECOLUMN = 2360 -
    • -SCI_SETEDGECOLUMN = 2361 -
    • -SCI_GETEDGEMODE = 2362 -
    • -SCI_SETEDGEMODE = 2363 -
    • -SCI_GETEDGECOLOUR = 2364 -
    • -SCI_SETEDGECOLOUR = 2365 -
    • -SCI_SEARCHANCHOR = 2366 -
    • -SCI_SEARCHNEXT = 2367 -
    • -SCI_SEARCHPREV = 2368 -
    • -SCI_LINESONSCREEN = 2370 -
    • -SCI_USEPOPUP = 2371 -
    • -SCI_SELECTIONISRECTANGLE = 2372 -
    • -SCI_SETZOOM = 2373 -
    • -SCI_GETZOOM = 2374 -
    • -SCI_CREATEDOCUMENT = 2375 -
    • -SCI_ADDREFDOCUMENT = 2376 -
    • -SCI_RELEASEDOCUMENT = 2377 -
    • -SCI_GETMODEVENTMASK = 2378 -
    • -SCI_SETFOCUS = 2380 -
    • -SCI_GETFOCUS = 2381 -
    • -SCI_SETSTATUS = 2382 -
    • -SCI_GETSTATUS = 2383 -
    • -SCI_SETMOUSEDOWNCAPTURES = 2384 -
    • -SCI_GETMOUSEDOWNCAPTURES = 2385 -
    • -SCI_SETCURSOR = 2386 -
    • -SCI_GETCURSOR = 2387 -
    • -SCI_SETCONTROLCHARSYMBOL = 2388 -
    • -SCI_GETCONTROLCHARSYMBOL = 2389 -
    • -SCI_WORDPARTLEFT = 2390 -
    • -SCI_WORDPARTLEFTEXTEND = 2391 -
    • -SCI_WORDPARTRIGHT = 2392 -
    • -SCI_WORDPARTRIGHTEXTEND = 2393 -
    • -SCI_SETVISIBLEPOLICY = 2394 -
    • -SCI_DELLINELEFT = 2395 -
    • -SCI_DELLINERIGHT = 2396 -
    • -SCI_SETXOFFSET = 2397 -
    • -SCI_GETXOFFSET = 2398 -
    • -SCI_CHOOSECARETX = 2399 -
    • -SCI_GRABFOCUS = 2400 -
    • -SCI_SETXCARETPOLICY = 2402 -
    • -SCI_SETYCARETPOLICY = 2403 -
    • -SCI_LINEDUPLICATE = 2404 -
    • SCI_REGISTERIMAGE = 2405 -
    • -SCI_SETPRINTWRAPMODE = 2406 -
    • -SCI_GETPRINTWRAPMODE = 2407 -
    • SCI_CLEARREGISTEREDIMAGES = 2408 -
    • -SCI_STYLESETHOTSPOT = 2409 -
    • -SCI_SETHOTSPOTACTIVEFORE = 2410 -
    • -SCI_SETHOTSPOTACTIVEBACK = 2411 -
    • -SCI_SETHOTSPOTACTIVEUNDERLINE = 2412 -
    • -SCI_PARADOWN = 2413 -
    • -SCI_PARADOWNEXTEND = 2414 -
    • -SCI_PARAUP = 2415 -
    • -SCI_PARAUPEXTEND = 2416 -
    • -SCI_POSITIONBEFORE = 2417 -
    • -SCI_POSITIONAFTER = 2418 -
    • -SCI_COPYRANGE = 2419 -
    • -SCI_COPYTEXT = 2420 -
    • -SCI_SETSELECTIONMODE = 2422 -
    • -SCI_GETSELECTIONMODE = 2423 -
    • -SCI_GETLINESELSTARTPOSITION = 2424 -
    • -SCI_GETLINESELENDPOSITION = 2425 -
    • -SCI_LINEDOWNRECTEXTEND = 2426 -
    • -SCI_LINEUPRECTEXTEND = 2427 -
    • -SCI_CHARLEFTRECTEXTEND = 2428 -
    • -SCI_CHARRIGHTRECTEXTEND = 2429 -
    • -SCI_HOMERECTEXTEND = 2430 -
    • -SCI_VCHOMERECTEXTEND = 2431 -
    • -SCI_LINEENDRECTEXTEND = 2432 -
    • -SCI_PAGEUPRECTEXTEND = 2433 -
    • -SCI_PAGEDOWNRECTEXTEND = 2434 -
    • -SCI_STUTTEREDPAGEUP = 2435 -
    • -SCI_STUTTEREDPAGEUPEXTEND = 2436 -
    • -SCI_STUTTEREDPAGEDOWN = 2437 -
    • -SCI_STUTTEREDPAGEDOWNEXTEND = 2438 -
    • -SCI_WORDLEFTEND = 2439 -
    • -SCI_WORDLEFTENDEXTEND = 2440 -
    • -SCI_WORDRIGHTEND = 2441 -
    • -SCI_WORDRIGHTENDEXTEND = 2442 -
    • -SCI_SETWHITESPACECHARS = 2443 -
    • -SCI_SETCHARSDEFAULT = 2444 -
    • -SCI_AUTOCGETCURRENT = 2445 -
    • -SCI_ALLOCATE = 2446 -
    • -SCI_HOMEWRAP = 2349 -
    • -SCI_HOMEWRAPEXTEND = 2450 -
    • -SCI_LINEENDWRAP = 2451 -
    • -SCI_LINEENDWRAPEXTEND = 2452 -
    • -SCI_VCHOMEWRAP = 2453 -
    • -SCI_VCHOMEWRAPEXTEND = 2454 -
    • -SCI_LINECOPY = 2455 -
    • -SCI_FINDCOLUMN = 2456 -
    • -SCI_GETCARETSTICKY = 2457 -
    • -SCI_SETCARETSTICKY = 2458 -
    • -SCI_TOGGLECARETSTICKY = 2459 -
    • -SCI_SETWRAPVISUALFLAGS = 2460 -
    • -SCI_GETWRAPVISUALFLAGS = 2461 -
    • -SCI_SETWRAPVISUALFLAGSLOCATION = 2462 -
    • -SCI_GETWRAPVISUALFLAGSLOCATION = 2463 -
    • -SCI_SETWRAPSTARTINDENT = 2464 -
    • -SCI_GETWRAPSTARTINDENT = 2465 -
    • -SCI_MARKERADDSET = 2466 -
    • -SCI_SETPASTECONVERTENDINGS = 2467 -
    • -SCI_GETPASTECONVERTENDINGS = 2468 -
    • -SCI_SELECTIONDUPLICATE = 2469 -
    • -SCI_SETCARETLINEBACKALPHA = 2470 -
    • -SCI_GETCARETLINEBACKALPHA = 2471 -
    • -SCI_MARKERSETALPHA = 2476 -
    • -SCI_GETSELALPHA = 2477 -
    • -SCI_SETSELALPHA = 2478 -
    • -SCI_STARTRECORD = 3001 -
    • -SCI_STOPRECORD = 3002 -
    • SCI_SETLEXER = 4001 -
    • SCI_GETLEXER = 4002 -
    • -SCI_COLOURISE = 4003 -
    • -SCI_SETPROPERTY = 4004 -
    • -SCI_SETKEYWORDS = 4005 -
    • SCI_SETLEXERLANGUAGE = 4006 -
    • -SCI_LOADLEXERLIBRARY = 4007 -
    • -SCI_GETPROPERTY = 4008 -
    • -SCI_GETPROPERTYEXPANDED = 4009 -
    • -SCI_GETPROPERTYINT = 4010 -
    • -SCI_GETSTYLEBITSNEEDED = 4011 -
    • -SC_ALPHA_TRANSPARENT = 0 -
    • -SC_ALPHA_OPAQUE = 255 -
    • -SC_ALPHA_NOALPHA = 256 -
    • -SC_WRAPVISUALFLAG_NONE = 0x0000 -
    • -SC_WRAPVISUALFLAG_END = 0x0001 -
    • -SC_WRAPVISUALFLAG_START = 0x0002 -
    • -SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000 -
    • -SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001 -
    • -SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 -
    • -SC_SEL_STREAM = 0 -
    • -SC_SEL_RECTANGLE = 1 -
    • -SC_SEL_LINES = 2 -
    • -SCWS_INVISIBLE = 0 -
    • -SCWS_VISIBLEALWAYS = 1 -
    • -SCWS_VISIBLEAFTERINDENT = 2 -
    • -SC_EOL_CRLF = 0 -
    • -SC_EOL_CR = 1 -
    • -SC_EOL_LF = 2 -
    • -SC_CP_DBCS = 1 -
    • -SC_CP_UTF8 = 65001 -
    • SC_MARK_CIRCLE = 0 -
    • SC_MARK_ROUNDRECT = 1 -
    • SC_MARK_ARROW = 2 -
    • SC_MARK_SMALLRECT = 3 -
    • SC_MARK_SHORTARROW = 4 -
    • SC_MARK_EMPTY = 5 -
    • SC_MARK_ARROWDOWN = 6 -
    • SC_MARK_MINUS = 7 -
    • SC_MARK_PLUS = 8 -
    • SC_MARK_VLINE = 9 -
    • SC_MARK_LCORNER = 10 -
    • SC_MARK_TCORNER = 11 -
    • SC_MARK_BOXPLUS = 12 -
    • SC_MARK_BOXPLUSCONNECTED = 13 -
    • SC_MARK_BOXMINUS = 14 -
    • SC_MARK_BOXMINUSCONNECTED = 15 -
    • SC_MARK_LCORNERCURVE = 16 -
    • SC_MARK_TCORNERCURVE = 17 -
    • SC_MARK_CIRCLEPLUS = 18 -
    • SC_MARK_CIRCLEPLUSCONNECTED = 19 -
    • SC_MARK_CIRCLEMINUS = 20 -
    • SC_MARK_CIRCLEMINUSCONNECTED = 21 -
    • SC_MARK_BACKGROUND = 22 -
    • SC_MARK_DOTDOTDOT = 23 -
    • SC_MARK_ARROWS = 24 -
    • SC_MARK_PIXMAP = 25 -
    • SC_MARK_FULLRECT = 26 -
    • SC_MARK_CHARACTER = 10000 -
    • -SC_MARKNUM_FOLDEREND = 25 -
    • -SC_MARKNUM_FOLDEROPENMID = 26 -
    • -SC_MARKNUM_FOLDERMIDTAIL = 27 -
    • -SC_MARKNUM_FOLDERTAIL = 28 -
    • -SC_MARKNUM_FOLDERSUB = 29 -
    • -SC_MARKNUM_FOLDER = 30 -
    • -SC_MARKNUM_FOLDEROPEN = 31 -
    • -SC_MASK_FOLDERS = 0xfe000000 -
    • SC_MARGIN_SYMBOL = 0 -
    • SC_MARGIN_NUMBER = 1 -
    • SC_MARGIN_BACK = 2 -
    • SC_MARGIN_FORE = 3 -
    • -STYLE_DEFAULT = 32 -
    • -STYLE_LINENUMBER = 33 -
    • -STYLE_BRACELIGHT = 34 -
    • -STYLE_BRACEBAD = 35 -
    • -STYLE_CONTROLCHAR = 36 -
    • -STYLE_INDENTGUIDE = 37 -
    • -STYLE_CALLTIP = 38 -
    • -STYLE_LASTPREDEFINED = 39 -
    • -STYLE_MAX = 127 -
    • -SC_CHARSET_ANSI = 0 -
    • -SC_CHARSET_DEFAULT = 1 -
    • -SC_CHARSET_BALTIC = 186 -
    • -SC_CHARSET_CHINESEBIG5 = 136 -
    • -SC_CHARSET_EASTEUROPE = 238 -
    • -SC_CHARSET_GB2312 = 134 -
    • -SC_CHARSET_GREEK = 161 -
    • -SC_CHARSET_HANGUL = 129 -
    • -SC_CHARSET_MAC = 77 -
    • -SC_CHARSET_OEM = 255 -
    • -SC_CHARSET_RUSSIAN = 204 -
    • -SC_CHARSET_SHIFTJIS = 128 -
    • -SC_CHARSET_SYMBOL = 2 -
    • -SC_CHARSET_TURKISH = 162 -
    • -SC_CHARSET_JOHAB = 130 -
    • -SC_CHARSET_HEBREW = 177 -
    • -SC_CHARSET_ARABIC = 178 -
    • -SC_CHARSET_VIETNAMESE = 163 -
    • -SC_CHARSET_THAI = 222 -
    • -SC_CHARSET_8859_15 = 1000 -
    • -SC_CASE_MIXED = 0 -
    • -SC_CASE_UPPER = 1 -
    • -SC_CASE_LOWER = 2 -
    • -INDIC_MAX = 7 -
    • -INDIC_PLAIN = 0 -
    • -INDIC_SQUIGGLE = 1 -
    • -INDIC_TT = 2 -
    • -INDIC_DIAGONAL = 3 -
    • -INDIC_STRIKE = 4 -
    • -INDIC_HIDDEN = 5 -
    • -INDIC_BOX = 6 -
    • -INDIC_ROUNDBOX = 7 -
    • -INDIC0_MASK = 0x20 -
    • -INDIC1_MASK = 0x40 -
    • -INDIC2_MASK = 0x80 -
    • -INDICS_MASK = 0xe0 -
    • -SC_PRINT_NORMAL = 0 -
    • -SC_PRINT_INVERTLIGHT = 1 -
    • -SC_PRINT_BLACKONWHITE = 2 -
    • -SC_PRINT_COLOURONWHITE = 3 -
    • -SC_PRINT_COLOURONWHITEDEFAULTBG = 4 -
    • -SCFIND_WHOLEWORD = 2 -
    • -SCFIND_MATCHCASE = 4 -
    • -SCFIND_WORDSTART = 0x00100000 -
    • -SCFIND_REGEXP = 0x00200000 -
    • -SCFIND_POSIX = 0x00400000 -
    • -SC_FOLDLEVELBASE = 0x00400 -
    • -SC_FOLDLEVELWHITEFLAG = 0x01000 -
    • -SC_FOLDLEVELHEADERFLAG = 0x02000 -
    • -SC_FOLDLEVELBOXHEADERFLAG = 0x04000 -
    • -SC_FOLDLEVELBOXFOOTERFLAG = 0x08000 -
    • -SC_FOLDLEVELCONTRACTED = 0x10000 -
    • -SC_FOLDLEVELUNINDENT = 0x20000 -
    • -SC_FOLDLEVELNUMBERMASK = 0x00fff -
    • -SC_FOLDFLAG_BOX = 0x0001 -
    • -SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002 -
    • -SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004 -
    • -SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008 -
    • -SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010 -
    • -SC_FOLDFLAG_LEVELNUMBERS = 0x0040 -
    • -SC_TIME_FOREVER = 10000000 -
    • -SC_WRAP_NONE = 0 -
    • -SC_WRAP_WORD = 1 -
    • -SC_WRAP_CHAR = 2 -
    • -SC_CACHE_NONE = 0 -
    • -SC_CACHE_CARET = 1 -
    • -SC_CACHE_PAGE = 2 -
    • -SC_CACHE_DOCUMENT = 3 -
    • -EDGE_NONE = 0 -
    • -EDGE_LINE = 1 -
    • -EDGE_BACKGROUND = 2 -
    • -SC_CURSORNORMAL = -1 -
    • -SC_CURSORWAIT = 4 -
    • -VISIBLE_SLOP = 0x01 -
    • -VISIBLE_STRICT = 0x04 -
    • -CARET_SLOP = 0x01 -
    • -CARET_STRICT = 0x04 -
    • -CARET_JUMPS = 0x10 -
    • -CARET_EVEN = 0x08 -
    • -SC_MOD_INSERTTEXT = 0x1 -
    • -SC_MOD_DELETETEXT = 0x2 -
    • -SC_MOD_CHANGESTYLE = 0x4 -
    • -SC_MOD_CHANGEFOLD = 0x8 -
    • -SC_PERFORMED_USER = 0x10 -
    • -SC_PERFORMED_UNDO = 0x20 -
    • -SC_PERFORMED_REDO = 0x40 -
    • -SC_MULTISTEPUNDOREDO = 0x80 -
    • -SC_LASTSTEPINUNDOREDO = 0x100 -
    • -SC_MOD_CHANGEMARKER = 0x200 -
    • -SC_MOD_BEFOREINSERT = 0x400 -
    • -SC_MOD_BEFOREDELETE = 0x800 -
    • -SC_MULTILINEUNDOREDO = 0x1000 -
    • -SC_MODEVENTMASKALL = 0x1fff -
    • -SCK_DOWN = 300 -
    • -SCK_UP = 301 -
    • -SCK_LEFT = 302 -
    • -SCK_RIGHT = 303 -
    • -SCK_HOME = 304 -
    • -SCK_END = 305 -
    • -SCK_PRIOR = 306 -
    • -SCK_NEXT = 307 -
    • -SCK_DELETE = 308 -
    • -SCK_INSERT = 309 -
    • -SCK_ESCAPE = 7 -
    • -SCK_BACK = 8 -
    • -SCK_TAB = 9 -
    • -SCK_RETURN = 13 -
    • -SCK_ADD = 310 -
    • -SCK_SUBTRACT = 311 -
    • -SCK_DIVIDE = 312 -
    • SCMOD_NORM = 0 -
    • SCMOD_SHIFT = 1 -
    • SCMOD_CTRL = 2 -
    • SCMOD_ALT = 4 -
    • SCLEX_CONTAINER = 0 -
    • SCLEX_NULL = 1 -
    • SCLEX_PYTHON = 2 -
    • SCLEX_CPP = 3 -
    • SCLEX_HTML = 4 -
    • SCLEX_XML = 5 -
    • SCLEX_PERL = 6 -
    • SCLEX_SQL = 7 -
    • SCLEX_VB = 8 -
    • SCLEX_PROPERTIES = 9 -
    • SCLEX_ERRORLIST = 10 -
    • SCLEX_MAKEFILE = 11 -
    • SCLEX_BATCH = 12 -
    • SCLEX_LATEX = 14 -
    • SCLEX_LUA = 15 -
    • SCLEX_DIFF = 16 -
    • SCLEX_CONF = 17 -
    • SCLEX_PASCAL = 18 -
    • SCLEX_AVE = 19 -
    • SCLEX_ADA = 20 -
    • SCLEX_LISP = 21 -
    • SCLEX_RUBY = 22 -
    • SCLEX_EIFFEL = 23 -
    • SCLEX_EIFFELKW = 24 -
    • SCLEX_TCL = 25 -
    • SCLEX_NNCRONTAB = 26 -
    • SCLEX_BULLANT = 27 -
    • SCLEX_VBSCRIPT = 28 -
    • SCLEX_ASP = SCLEX_HTML -
    • SCLEX_PHP = SCLEX_HTML -
    • SCLEX_BAAN = 31 -
    • SCLEX_MATLAB = 32 -
    • SCLEX_SCRIPTOL = 33 -
    • SCLEX_ASM = 34 -
    • SCLEX_CPPNOCASE = 35 -
    • SCLEX_FORTRAN = 36 -
    • SCLEX_F77 = 37 -
    • SCLEX_CSS = 38 -
    • SCLEX_POV = 39 -
    • SCLEX_LOUT = 40 -
    • SCLEX_ESCRIPT = 41 -
    • SCLEX_PS = 42 -
    • SCLEX_NSIS = 43 -
    • SCLEX_MMIXAL = 44 -
    • SCLEX_CLW = 45 -
    • SCLEX_CLWNOCASE = 46 -
    • SCLEX_LOT = 47 -
    • SCLEX_YAML = 48 -
    • SCLEX_TEX = 49 -
    • SCLEX_METAPOST = 50 -
    • SCLEX_POWERBASIC = 51 -
    • SCLEX_FORTH = 52 -
    • SCLEX_ERLANG = 53 -
    • SCLEX_OCTAVE = 54 -
    • SCLEX_MSSQL = 55 -
    • SCLEX_VERILOG = 56 -
    • SCLEX_KIX = 57 -
    • SCLEX_GUI4CLI = 58 -
    • SCLEX_SPECMAN = 59 -
    • SCLEX_AU3 = 60 -
    • SCLEX_APDL = 61 -
    • SCLEX_BASH = 62 -
    • SCLEX_ASN1 = 63 -
    • SCLEX_VHDL = 64 -
    • SCLEX_CAML = 65 -
    • SCLEX_BLITZBASIC = 66 -
    • SCLEX_PUREBASIC = 67 -
    • SCLEX_HASKELL = 68 -
    • SCLEX_PHPSCRIPT = 69 -
    • SCLEX_TADS3 = 70 -
    • SCLEX_REBOL = 71 -
    • SCLEX_SMALLTALK = 72 -
    • SCLEX_FLAGSHIP = 73 -
    • SCLEX_CSOUND = 74 -
    • SCLEX_FREEBASIC = 75 -
    • SCLEX_INNOSETUP = 76 -
    • SCLEX_OPAL = 77 -
    • SCLEX_SPICE = 78 -
    • enum {
      -  SCI_START = 2000, -SCI_OPTIONAL_START = 3000, -SCI_LEXER_START = 4000, -
      -  SCI_ADDTEXT = 2001, -SCI_ADDSTYLEDTEXT = 2002, -SCI_INSERTTEXT = 2003, -
      -  SCI_CLEARALL = 2004, -SCI_CLEARDOCUMENTSTYLE = 2005, -SCI_GETLENGTH = 2006, -
      -  SCI_GETCHARAT = 2007, -SCI_GETCURRENTPOS = 2008, -SCI_GETANCHOR = 2009, -
      -  SCI_GETSTYLEAT = 2010, -SCI_REDO = 2011, -SCI_SETUNDOCOLLECTION = 2012, -
      -  SCI_SELECTALL = 2013, -SCI_SETSAVEPOINT = 2014, -SCI_GETSTYLEDTEXT = 2015, -
      -  SCI_CANREDO = 2016, -SCI_MARKERLINEFROMHANDLE = 2017, -SCI_MARKERDELETEHANDLE = 2018, -
      -  SCI_GETUNDOCOLLECTION = 2019, -SCI_GETVIEWWS = 2020, -SCI_SETVIEWWS = 2021, -
      -  SCI_POSITIONFROMPOINT = 2022, -SCI_POSITIONFROMPOINTCLOSE = 2023, -SCI_GOTOLINE = 2024, -
      -  SCI_GOTOPOS = 2025, -SCI_SETANCHOR = 2026, -SCI_GETCURLINE = 2027, -
      -  SCI_GETENDSTYLED = 2028, -SCI_CONVERTEOLS = 2029, -SCI_GETEOLMODE = 2030, -
      -  SCI_SETEOLMODE = 2031, -SCI_STARTSTYLING = 2032, -SCI_SETSTYLING = 2033, -
      -  SCI_GETBUFFEREDDRAW = 2034, -SCI_SETBUFFEREDDRAW = 2035, -SCI_SETTABWIDTH = 2036, -
      -  SCI_GETTABWIDTH = 2121, -SCI_SETCODEPAGE = 2037, -SCI_SETUSEPALETTE = 2039, -
      -  SCI_MARKERDEFINE = 2040, -SCI_MARKERSETFORE = 2041, -SCI_MARKERSETBACK = 2042, -
      -  SCI_MARKERADD = 2043, -SCI_MARKERDELETE = 2044, -SCI_MARKERDELETEALL = 2045, -
      -  SCI_MARKERGET = 2046, -SCI_MARKERNEXT = 2047, -SCI_MARKERPREVIOUS = 2048, -
      -  SCI_MARKERDEFINEPIXMAP = 2049, -SCI_SETMARGINTYPEN = 2240, -SCI_GETMARGINTYPEN = 2241, -
      -  SCI_SETMARGINWIDTHN = 2242, -SCI_GETMARGINWIDTHN = 2243, -SCI_SETMARGINMASKN = 2244, -
      -  SCI_GETMARGINMASKN = 2245, -SCI_SETMARGINSENSITIVEN = 2246, -SCI_GETMARGINSENSITIVEN = 2247, -
      -  SCI_STYLECLEARALL = 2050, -SCI_STYLESETFORE = 2051, -SCI_STYLESETBACK = 2052, -
      -  SCI_STYLESETBOLD = 2053, -SCI_STYLESETITALIC = 2054, -SCI_STYLESETSIZE = 2055, -
      -  SCI_STYLESETFONT = 2056, -SCI_STYLESETEOLFILLED = 2057, -SCI_STYLERESETDEFAULT = 2058, -
      -  SCI_STYLESETUNDERLINE = 2059, -SCI_STYLESETCASE = 2060, -SCI_STYLESETCHARACTERSET = 2066, -
      -  SCI_SETSELFORE = 2067, -SCI_SETSELBACK = 2068, -SCI_SETCARETFORE = 2069, -
      -  SCI_ASSIGNCMDKEY = 2070, -SCI_CLEARCMDKEY = 2071, -SCI_CLEARALLCMDKEYS = 2072, -
      -  SCI_SETSTYLINGEX = 2073, -SCI_STYLESETVISIBLE = 2074, -SCI_GETCARETPERIOD = 2075, -
      -  SCI_SETCARETPERIOD = 2076, -SCI_SETWORDCHARS = 2077, -SCI_BEGINUNDOACTION = 2078, -
      -  SCI_ENDUNDOACTION = 2079, -SCI_INDICSETSTYLE = 2080, -SCI_INDICGETSTYLE = 2081, -
      -  SCI_INDICSETFORE = 2082, -SCI_INDICGETFORE = 2083, -SCI_SETWHITESPACEFORE = 2084, -
      -  SCI_SETWHITESPACEBACK = 2085, -SCI_SETSTYLEBITS = 2090, -SCI_GETSTYLEBITS = 2091, -
      -  SCI_SETLINESTATE = 2092, -SCI_GETLINESTATE = 2093, -SCI_GETMAXLINESTATE = 2094, -
      -  SCI_GETCARETLINEVISIBLE = 2095, -SCI_SETCARETLINEVISIBLE = 2096, -SCI_GETCARETLINEBACK = 2097, -
      -  SCI_SETCARETLINEBACK = 2098, -SCI_STYLESETCHANGEABLE = 2099, -SCI_AUTOCSHOW = 2100, -
      -  SCI_AUTOCCANCEL = 2101, -SCI_AUTOCACTIVE = 2102, -SCI_AUTOCPOSSTART = 2103, -
      -  SCI_AUTOCCOMPLETE = 2104, -SCI_AUTOCSTOPS = 2105, -SCI_AUTOCSETSEPARATOR = 2106, -
      -  SCI_AUTOCGETSEPARATOR = 2107, -SCI_AUTOCSELECT = 2108, -SCI_AUTOCSETCANCELATSTART = 2110, -
      -  SCI_AUTOCGETCANCELATSTART = 2111, -SCI_AUTOCSETFILLUPS = 2112, -SCI_AUTOCSETCHOOSESINGLE = 2113, -
      -  SCI_AUTOCGETCHOOSESINGLE = 2114, -SCI_AUTOCSETIGNORECASE = 2115, -SCI_AUTOCGETIGNORECASE = 2116, -
      -  SCI_USERLISTSHOW = 2117, -SCI_AUTOCSETAUTOHIDE = 2118, -SCI_AUTOCGETAUTOHIDE = 2119, -
      -  SCI_AUTOCSETDROPRESTOFWORD = 2270, -SCI_AUTOCGETDROPRESTOFWORD = 2271, -SCI_SETINDENT = 2122, -
      -  SCI_GETINDENT = 2123, -SCI_SETUSETABS = 2124, -SCI_GETUSETABS = 2125, -
      -  SCI_SETLINEINDENTATION = 2126, -SCI_GETLINEINDENTATION = 2127, -SCI_GETLINEINDENTPOSITION = 2128, -
      -  SCI_GETCOLUMN = 2129, -SCI_SETHSCROLLBAR = 2130, -SCI_GETHSCROLLBAR = 2131, -
      -  SCI_SETINDENTATIONGUIDES = 2132, -SCI_GETINDENTATIONGUIDES = 2133, -SCI_SETHIGHLIGHTGUIDE = 2134, -
      -  SCI_GETHIGHLIGHTGUIDE = 2135, -SCI_GETLINEENDPOSITION = 2136, -SCI_GETCODEPAGE = 2137, -
      -  SCI_GETCARETFORE = 2138, -SCI_GETUSEPALETTE = 2139, -SCI_GETREADONLY = 2140, -
      -  SCI_SETCURRENTPOS = 2141, -SCI_SETSELECTIONSTART = 2142, -SCI_GETSELECTIONSTART = 2143, -
      -  SCI_SETSELECTIONEND = 2144, -SCI_GETSELECTIONEND = 2145, -SCI_SETPRINTMAGNIFICATION = 2146, -
      -  SCI_GETPRINTMAGNIFICATION = 2147, -SCI_SETPRINTCOLOURMODE = 2148, -SCI_GETPRINTCOLOURMODE = 2149, -
      -  SCI_FINDTEXT = 2150, -SCI_FORMATRANGE = 2151, -SCI_GETFIRSTVISIBLELINE = 2152, -
      -  SCI_GETLINE = 2153, -SCI_GETLINECOUNT = 2154, -SCI_SETMARGINLEFT = 2155, -
      -  SCI_GETMARGINLEFT = 2156, -SCI_SETMARGINRIGHT = 2157, -SCI_GETMARGINRIGHT = 2158, -
      -  SCI_GETMODIFY = 2159, -SCI_SETSEL = 2160, -SCI_GETSELTEXT = 2161, -
      -  SCI_GETTEXTRANGE = 2162, -SCI_HIDESELECTION = 2163, -SCI_POINTXFROMPOSITION = 2164, -
      -  SCI_POINTYFROMPOSITION = 2165, -SCI_LINEFROMPOSITION = 2166, -SCI_POSITIONFROMLINE = 2167, -
      -  SCI_LINESCROLL = 2168, -SCI_SCROLLCARET = 2169, -SCI_REPLACESEL = 2170, -
      -  SCI_SETREADONLY = 2171, -SCI_NULL = 2172, -SCI_CANPASTE = 2173, -
      -  SCI_CANUNDO = 2174, -SCI_EMPTYUNDOBUFFER = 2175, -SCI_UNDO = 2176, -
      -  SCI_CUT = 2177, -SCI_COPY = 2178, -SCI_PASTE = 2179, -
      -  SCI_CLEAR = 2180, -SCI_SETTEXT = 2181, -SCI_GETTEXT = 2182, -
      -  SCI_GETTEXTLENGTH = 2183, -SCI_GETDIRECTFUNCTION = 2184, -SCI_GETDIRECTPOINTER = 2185, -
      -  SCI_SETOVERTYPE = 2186, -SCI_GETOVERTYPE = 2187, -SCI_SETCARETWIDTH = 2188, -
      -  SCI_GETCARETWIDTH = 2189, -SCI_SETTARGETSTART = 2190, -SCI_GETTARGETSTART = 2191, -
      -  SCI_SETTARGETEND = 2192, -SCI_GETTARGETEND = 2193, -SCI_REPLACETARGET = 2194, -
      -  SCI_REPLACETARGETRE = 2195, -SCI_SEARCHINTARGET = 2197, -SCI_SETSEARCHFLAGS = 2198, -
      -  SCI_GETSEARCHFLAGS = 2199, -SCI_CALLTIPSHOW = 2200, -SCI_CALLTIPCANCEL = 2201, -
      -  SCI_CALLTIPACTIVE = 2202, -SCI_CALLTIPPOSSTART = 2203, -SCI_CALLTIPSETHLT = 2204, -
      -  SCI_CALLTIPSETBACK = 2205, -SCI_CALLTIPSETFORE = 2206, -SCI_CALLTIPSETFOREHLT = 2207, -
      -  SCI_AUTOCSETMAXWIDTH = 2208, -SCI_AUTOCGETMAXWIDTH = 2209, -SCI_AUTOCSETMAXHEIGHT = 2210, -
      -  SCI_AUTOCGETMAXHEIGHT = 2211, -SCI_CALLTIPUSESTYLE = 2212, -SCI_VISIBLEFROMDOCLINE = 2220, -
      -  SCI_DOCLINEFROMVISIBLE = 2221, -SCI_SETFOLDLEVEL = 2222, -SCI_GETFOLDLEVEL = 2223, -
      -  SCI_GETLASTCHILD = 2224, -SCI_GETFOLDPARENT = 2225, -SCI_SHOWLINES = 2226, -
      -  SCI_HIDELINES = 2227, -SCI_GETLINEVISIBLE = 2228, -SCI_SETFOLDEXPANDED = 2229, -
      -  SCI_GETFOLDEXPANDED = 2230, -SCI_TOGGLEFOLD = 2231, -SCI_ENSUREVISIBLE = 2232, -
      -  SCI_SETFOLDFLAGS = 2233, -SCI_ENSUREVISIBLEENFORCEPOLICY = 2234, -SCI_WRAPCOUNT = 2235, -
      -  SCI_SETTABINDENTS = 2260, -SCI_GETTABINDENTS = 2261, -SCI_SETBACKSPACEUNINDENTS = 2262, -
      -  SCI_GETBACKSPACEUNINDENTS = 2263, -SCI_SETMOUSEDWELLTIME = 2264, -SCI_GETMOUSEDWELLTIME = 2265, -
      -  SCI_WORDSTARTPOSITION = 2266, -SCI_WORDENDPOSITION = 2267, -SCI_SETWRAPMODE = 2268, -
      -  SCI_GETWRAPMODE = 2269, -SCI_SETLAYOUTCACHE = 2272, -SCI_GETLAYOUTCACHE = 2273, -
      -  SCI_SETSCROLLWIDTH = 2274, -SCI_GETSCROLLWIDTH = 2275, -SCI_TEXTWIDTH = 2276, -
      -  SCI_SETENDATLASTLINE = 2277, -SCI_GETENDATLASTLINE = 2278, -SCI_TEXTHEIGHT = 2279, -
      -  SCI_SETVSCROLLBAR = 2280, -SCI_GETVSCROLLBAR = 2281, -SCI_APPENDTEXT = 2282, -
      -  SCI_GETTWOPHASEDRAW = 2283, -SCI_SETTWOPHASEDRAW = 2284, -SCI_AUTOCGETTYPESEPARATOR = 2285, -
      -  SCI_AUTOCSETTYPESEPARATOR = 2286, -SCI_TARGETFROMSELECTION = 2287, -SCI_LINESJOIN = 2288, -
      -  SCI_LINESSPLIT = 2289, -SCI_SETFOLDMARGINCOLOUR = 2290, -SCI_SETFOLDMARGINHICOLOUR = 2291, -
      -  SCI_LINEDOWN = 2300, -SCI_LINEDOWNEXTEND = 2301, -SCI_LINEUP = 2302, -
      -  SCI_LINEUPEXTEND = 2303, -SCI_CHARLEFT = 2304, -SCI_CHARLEFTEXTEND = 2305, -
      -  SCI_CHARRIGHT = 2306, -SCI_CHARRIGHTEXTEND = 2307, -SCI_WORDLEFT = 2308, -
      -  SCI_WORDLEFTEXTEND = 2309, -SCI_WORDRIGHT = 2310, -SCI_WORDRIGHTEXTEND = 2311, -
      -  SCI_HOME = 2312, -SCI_HOMEEXTEND = 2313, -SCI_LINEEND = 2314, -
      -  SCI_LINEENDEXTEND = 2315, -SCI_DOCUMENTSTART = 2316, -SCI_DOCUMENTSTARTEXTEND = 2317, -
      -  SCI_DOCUMENTEND = 2318, -SCI_DOCUMENTENDEXTEND = 2319, -SCI_PAGEUP = 2320, -
      -  SCI_PAGEUPEXTEND = 2321, -SCI_PAGEDOWN = 2322, -SCI_PAGEDOWNEXTEND = 2323, -
      -  SCI_EDITTOGGLEOVERTYPE = 2324, -SCI_CANCEL = 2325, -SCI_DELETEBACK = 2326, -
      -  SCI_TAB = 2327, -SCI_BACKTAB = 2328, -SCI_NEWLINE = 2329, -
      -  SCI_FORMFEED = 2330, -SCI_VCHOME = 2331, -SCI_VCHOMEEXTEND = 2332, -
      -  SCI_ZOOMIN = 2333, -SCI_ZOOMOUT = 2334, -SCI_DELWORDLEFT = 2335, -
      -  SCI_DELWORDRIGHT = 2336, -SCI_LINECUT = 2337, -SCI_LINEDELETE = 2338, -
      -  SCI_LINETRANSPOSE = 2339, -SCI_LOWERCASE = 2340, -SCI_UPPERCASE = 2341, -
      -  SCI_LINESCROLLDOWN = 2342, -SCI_LINESCROLLUP = 2343, -SCI_DELETEBACKNOTLINE = 2344, -
      -  SCI_HOMEDISPLAY = 2345, -SCI_HOMEDISPLAYEXTEND = 2346, -SCI_LINEENDDISPLAY = 2347, -
      -  SCI_LINEENDDISPLAYEXTEND = 2348, -SCI_MOVECARETINSIDEVIEW = 2401, -SCI_LINELENGTH = 2350, -
      -  SCI_BRACEHIGHLIGHT = 2351, -SCI_BRACEBADLIGHT = 2352, -SCI_BRACEMATCH = 2353, -
      -  SCI_GETVIEWEOL = 2355, -SCI_SETVIEWEOL = 2356, -SCI_GETDOCPOINTER = 2357, -
      -  SCI_SETDOCPOINTER = 2358, -SCI_SETMODEVENTMASK = 2359, -SCI_GETEDGECOLUMN = 2360, -
      -  SCI_SETEDGECOLUMN = 2361, -SCI_GETEDGEMODE = 2362, -SCI_SETEDGEMODE = 2363, -
      -  SCI_GETEDGECOLOUR = 2364, -SCI_SETEDGECOLOUR = 2365, -SCI_SEARCHANCHOR = 2366, -
      -  SCI_SEARCHNEXT = 2367, -SCI_SEARCHPREV = 2368, -SCI_LINESONSCREEN = 2370, -
      -  SCI_USEPOPUP = 2371, -SCI_SELECTIONISRECTANGLE = 2372, -SCI_SETZOOM = 2373, -
      -  SCI_GETZOOM = 2374, -SCI_CREATEDOCUMENT = 2375, -SCI_ADDREFDOCUMENT = 2376, -
      -  SCI_RELEASEDOCUMENT = 2377, -SCI_GETMODEVENTMASK = 2378, -SCI_SETFOCUS = 2380, -
      -  SCI_GETFOCUS = 2381, -SCI_SETSTATUS = 2382, -SCI_GETSTATUS = 2383, -
      -  SCI_SETMOUSEDOWNCAPTURES = 2384, -SCI_GETMOUSEDOWNCAPTURES = 2385, -SCI_SETCURSOR = 2386, -
      -  SCI_GETCURSOR = 2387, -SCI_SETCONTROLCHARSYMBOL = 2388, -SCI_GETCONTROLCHARSYMBOL = 2389, -
      -  SCI_WORDPARTLEFT = 2390, -SCI_WORDPARTLEFTEXTEND = 2391, -SCI_WORDPARTRIGHT = 2392, -
      -  SCI_WORDPARTRIGHTEXTEND = 2393, -SCI_SETVISIBLEPOLICY = 2394, -SCI_DELLINELEFT = 2395, -
      -  SCI_DELLINERIGHT = 2396, -SCI_SETXOFFSET = 2397, -SCI_GETXOFFSET = 2398, -
      -  SCI_CHOOSECARETX = 2399, -SCI_GRABFOCUS = 2400, -SCI_SETXCARETPOLICY = 2402, -
      -  SCI_SETYCARETPOLICY = 2403, -SCI_LINEDUPLICATE = 2404, -SCI_REGISTERIMAGE = 2405, -
      -  SCI_SETPRINTWRAPMODE = 2406, -SCI_GETPRINTWRAPMODE = 2407, -SCI_CLEARREGISTEREDIMAGES = 2408, -
      -  SCI_STYLESETHOTSPOT = 2409, -SCI_SETHOTSPOTACTIVEFORE = 2410, -SCI_SETHOTSPOTACTIVEBACK = 2411, -
      -  SCI_SETHOTSPOTACTIVEUNDERLINE = 2412, -SCI_PARADOWN = 2413, -SCI_PARADOWNEXTEND = 2414, -
      -  SCI_PARAUP = 2415, -SCI_PARAUPEXTEND = 2416, -SCI_POSITIONBEFORE = 2417, -
      -  SCI_POSITIONAFTER = 2418, -SCI_COPYRANGE = 2419, -SCI_COPYTEXT = 2420, -
      -  SCI_SETSELECTIONMODE = 2422, -SCI_GETSELECTIONMODE = 2423, -SCI_GETLINESELSTARTPOSITION = 2424, -
      -  SCI_GETLINESELENDPOSITION = 2425, -SCI_LINEDOWNRECTEXTEND = 2426, -SCI_LINEUPRECTEXTEND = 2427, -
      -  SCI_CHARLEFTRECTEXTEND = 2428, -SCI_CHARRIGHTRECTEXTEND = 2429, -SCI_HOMERECTEXTEND = 2430, -
      -  SCI_VCHOMERECTEXTEND = 2431, -SCI_LINEENDRECTEXTEND = 2432, -SCI_PAGEUPRECTEXTEND = 2433, -
      -  SCI_PAGEDOWNRECTEXTEND = 2434, -SCI_STUTTEREDPAGEUP = 2435, -SCI_STUTTEREDPAGEUPEXTEND = 2436, -
      -  SCI_STUTTEREDPAGEDOWN = 2437, -SCI_STUTTEREDPAGEDOWNEXTEND = 2438, -SCI_WORDLEFTEND = 2439, -
      -  SCI_WORDLEFTENDEXTEND = 2440, -SCI_WORDRIGHTEND = 2441, -SCI_WORDRIGHTENDEXTEND = 2442, -
      -  SCI_SETWHITESPACECHARS = 2443, -SCI_SETCHARSDEFAULT = 2444, -SCI_AUTOCGETCURRENT = 2445, -
      -  SCI_ALLOCATE = 2446, -SCI_HOMEWRAP = 2349, -SCI_HOMEWRAPEXTEND = 2450, -
      -  SCI_LINEENDWRAP = 2451, -SCI_LINEENDWRAPEXTEND = 2452, -SCI_VCHOMEWRAP = 2453, -
      -  SCI_VCHOMEWRAPEXTEND = 2454, -SCI_LINECOPY = 2455, -SCI_FINDCOLUMN = 2456, -
      -  SCI_GETCARETSTICKY = 2457, -SCI_SETCARETSTICKY = 2458, -SCI_TOGGLECARETSTICKY = 2459, -
      -  SCI_SETWRAPVISUALFLAGS = 2460, -SCI_GETWRAPVISUALFLAGS = 2461, -SCI_SETWRAPVISUALFLAGSLOCATION = 2462, -
      -  SCI_GETWRAPVISUALFLAGSLOCATION = 2463, -SCI_SETWRAPSTARTINDENT = 2464, -SCI_GETWRAPSTARTINDENT = 2465, -
      -  SCI_MARKERADDSET = 2466, -SCI_SETPASTECONVERTENDINGS = 2467, -SCI_GETPASTECONVERTENDINGS = 2468, -
      -  SCI_SELECTIONDUPLICATE = 2469, -SCI_SETCARETLINEBACKALPHA = 2470, -SCI_GETCARETLINEBACKALPHA = 2471, -
      -  SCI_MARKERSETALPHA = 2476, -SCI_GETSELALPHA = 2477, -SCI_SETSELALPHA = 2478, -
      -  SCI_STARTRECORD = 3001, -SCI_STOPRECORD = 3002, -SCI_SETLEXER = 4001, -
      -  SCI_GETLEXER = 4002, -SCI_COLOURISE = 4003, -SCI_SETPROPERTY = 4004, -
      -  SCI_SETKEYWORDS = 4005, -SCI_SETLEXERLANGUAGE = 4006, -SCI_LOADLEXERLIBRARY = 4007, -
      -  SCI_GETPROPERTY = 4008, -SCI_GETPROPERTYEXPANDED = 4009, -SCI_GETPROPERTYINT = 4010, -
      -  SCI_GETSTYLEBITSNEEDED = 4011 -
      - } -
    • enum { SC_ALPHA_TRANSPARENT = 0, -SC_ALPHA_OPAQUE = 255, -SC_ALPHA_NOALPHA = 256 - } -
    • enum { SC_WRAPVISUALFLAG_NONE = 0x0000, -SC_WRAPVISUALFLAG_END = 0x0001, -SC_WRAPVISUALFLAG_START = 0x0002 - } -
    • enum { SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000, -SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001, -SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 - } -
    • enum { SC_SEL_STREAM = 0, -SC_SEL_RECTANGLE = 1, -SC_SEL_LINES = 2 - } -
    • enum { SCWS_INVISIBLE = 0, -SCWS_VISIBLEALWAYS = 1, -SCWS_VISIBLEAFTERINDENT = 2 - } -
    • enum { SC_EOL_CRLF = 0, -SC_EOL_CR = 1, -SC_EOL_LF = 2 - } -
    • enum { SC_CP_DBCS = 1, -SC_CP_UTF8 = 65001 - } -
    • enum {
      -  SC_MARK_CIRCLE = 0, -SC_MARK_ROUNDRECT = 1, -SC_MARK_ARROW = 2, -
      -  SC_MARK_SMALLRECT = 3, -SC_MARK_SHORTARROW = 4, -SC_MARK_EMPTY = 5, -
      -  SC_MARK_ARROWDOWN = 6, -SC_MARK_MINUS = 7, -SC_MARK_PLUS = 8, -
      -  SC_MARK_VLINE = 9, -SC_MARK_LCORNER = 10, -SC_MARK_TCORNER = 11, -
      -  SC_MARK_BOXPLUS = 12, -SC_MARK_BOXPLUSCONNECTED = 13, -SC_MARK_BOXMINUS = 14, -
      -  SC_MARK_BOXMINUSCONNECTED = 15, -SC_MARK_LCORNERCURVE = 16, -SC_MARK_TCORNERCURVE = 17, -
      -  SC_MARK_CIRCLEPLUS = 18, -SC_MARK_CIRCLEPLUSCONNECTED = 19, -SC_MARK_CIRCLEMINUS = 20, -
      -  SC_MARK_CIRCLEMINUSCONNECTED = 21, -SC_MARK_BACKGROUND = 22, -SC_MARK_DOTDOTDOT = 23, -
      -  SC_MARK_ARROWS = 24, -SC_MARK_PIXMAP = 25, -SC_MARK_FULLRECT = 26, -
      -  SC_MARK_CHARACTER = 10000 -
      - } -
    • enum {
      -  SC_MARKNUM_FOLDEREND = 25, -SC_MARKNUM_FOLDEROPENMID = 26, -SC_MARKNUM_FOLDERMIDTAIL = 27, -
      -  SC_MARKNUM_FOLDERTAIL = 28, -SC_MARKNUM_FOLDERSUB = 29, -SC_MARKNUM_FOLDER = 30, -
      -  SC_MARKNUM_FOLDEROPEN = 31, -SC_MASK_FOLDERS = 0xfe000000 -
      - } -
    • enum {
      -  SC_MARGIN_SYMBOL = 0, -SC_MARGIN_NUMBER = 1, -SC_MARGIN_BACK = 2, -
      -  SC_MARGIN_FORE = 3 -
      - } -
    • enum {
      -  STYLE_DEFAULT = 32, -STYLE_LINENUMBER = 33, -STYLE_BRACELIGHT = 34, -
      -  STYLE_BRACEBAD = 35, -STYLE_CONTROLCHAR = 36, -STYLE_INDENTGUIDE = 37, -
      -  STYLE_CALLTIP = 38, -STYLE_LASTPREDEFINED = 39, -STYLE_MAX = 127 -
      - } -
    • enum {
      -  SC_CHARSET_ANSI = 0, -SC_CHARSET_DEFAULT = 1, -SC_CHARSET_BALTIC = 186, -
      -  SC_CHARSET_CHINESEBIG5 = 136, -SC_CHARSET_EASTEUROPE = 238, -SC_CHARSET_GB2312 = 134, -
      -  SC_CHARSET_GREEK = 161, -SC_CHARSET_HANGUL = 129, -SC_CHARSET_MAC = 77, -
      -  SC_CHARSET_OEM = 255, -SC_CHARSET_RUSSIAN = 204, -SC_CHARSET_SHIFTJIS = 128, -
      -  SC_CHARSET_SYMBOL = 2, -SC_CHARSET_TURKISH = 162, -SC_CHARSET_JOHAB = 130, -
      -  SC_CHARSET_HEBREW = 177, -SC_CHARSET_ARABIC = 178, -SC_CHARSET_VIETNAMESE = 163, -
      -  SC_CHARSET_THAI = 222, -SC_CHARSET_8859_15 = 1000 -
      - } -
    • enum { SC_CASE_MIXED = 0, -SC_CASE_UPPER = 1, -SC_CASE_LOWER = 2 - } -
    • enum {
      -  INDIC_MAX = 7, -INDIC_PLAIN = 0, -INDIC_SQUIGGLE = 1, -
      -  INDIC_TT = 2, -INDIC_DIAGONAL = 3, -INDIC_STRIKE = 4, -
      -  INDIC_HIDDEN = 5, -INDIC_BOX = 6, -INDIC_ROUNDBOX = 7, -
      -  INDIC0_MASK = 0x20, -INDIC1_MASK = 0x40, -INDIC2_MASK = 0x80, -
      -  INDICS_MASK = 0xe0 -
      - } -
    • enum {
      -  SC_PRINT_NORMAL = 0, -SC_PRINT_INVERTLIGHT = 1, -SC_PRINT_BLACKONWHITE = 2, -
      -  SC_PRINT_COLOURONWHITE = 3, -SC_PRINT_COLOURONWHITEDEFAULTBG = 4 -
      - } -
    • enum {
      -  SCFIND_WHOLEWORD = 2, -SCFIND_MATCHCASE = 4, -SCFIND_WORDSTART = 0x00100000, -
      -  SCFIND_REGEXP = 0x00200000, -SCFIND_POSIX = 0x00400000 -
      - } -
    • enum {
      -  SC_FOLDLEVELBASE = 0x00400, -SC_FOLDLEVELWHITEFLAG = 0x01000, -SC_FOLDLEVELHEADERFLAG = 0x02000, -
      -  SC_FOLDLEVELBOXHEADERFLAG = 0x04000, -SC_FOLDLEVELBOXFOOTERFLAG = 0x08000, -SC_FOLDLEVELCONTRACTED = 0x10000, -
      -  SC_FOLDLEVELUNINDENT = 0x20000, -SC_FOLDLEVELNUMBERMASK = 0x00fff -
      - } -
    • enum {
      -  SC_FOLDFLAG_BOX = 0x0001, -SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002, -SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004, -
      -  SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008, -SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010, -SC_FOLDFLAG_LEVELNUMBERS = 0x0040 -
      - } -
    • enum { SC_TIME_FOREVER = 10000000 - } -
    • enum { SC_WRAP_NONE = 0, -SC_WRAP_WORD = 1, -SC_WRAP_CHAR = 2 - } -
    • enum {
      -  SC_CACHE_NONE = 0, -SC_CACHE_CARET = 1, -SC_CACHE_PAGE = 2, -
      -  SC_CACHE_DOCUMENT = 3 -
      - } -
    • enum { EDGE_NONE = 0, -EDGE_LINE = 1, -EDGE_BACKGROUND = 2 - } -
    • enum { SC_CURSORNORMAL = -1, -SC_CURSORWAIT = 4 - } -
    • enum { VISIBLE_SLOP = 0x01, -VISIBLE_STRICT = 0x04 - } -
    • enum {
      -  CARET_SLOP = 0x01, -CARET_STRICT = 0x04, -CARET_JUMPS = 0x10, -
      -  CARET_EVEN = 0x08 -
      - } -
    • enum {
      -  SC_MOD_INSERTTEXT = 0x1, -SC_MOD_DELETETEXT = 0x2, -SC_MOD_CHANGESTYLE = 0x4, -
      -  SC_MOD_CHANGEFOLD = 0x8, -SC_PERFORMED_USER = 0x10, -SC_PERFORMED_UNDO = 0x20, -
      -  SC_PERFORMED_REDO = 0x40, -SC_MULTISTEPUNDOREDO = 0x80, -SC_LASTSTEPINUNDOREDO = 0x100, -
      -  SC_MOD_CHANGEMARKER = 0x200, -SC_MOD_BEFOREINSERT = 0x400, -SC_MOD_BEFOREDELETE = 0x800, -
      -  SC_MULTILINEUNDOREDO = 0x1000, -SC_MODEVENTMASKALL = 0x1fff -
      - } -
    • enum {
      -  SCK_DOWN = 300, -SCK_UP = 301, -SCK_LEFT = 302, -
      -  SCK_RIGHT = 303, -SCK_HOME = 304, -SCK_END = 305, -
      -  SCK_PRIOR = 306, -SCK_NEXT = 307, -SCK_DELETE = 308, -
      -  SCK_INSERT = 309, -SCK_ESCAPE = 7, -SCK_BACK = 8, -
      -  SCK_TAB = 9, -SCK_RETURN = 13, -SCK_ADD = 310, -
      -  SCK_SUBTRACT = 311, -SCK_DIVIDE = 312 -
      - } -
    • enum {
      -  SCMOD_NORM = 0, -SCMOD_SHIFT = 1, -SCMOD_CTRL = 2, -
      -  SCMOD_ALT = 4 -
      - } -
    • enum {
      -  SCLEX_CONTAINER = 0, -SCLEX_NULL = 1, -SCLEX_PYTHON = 2, -
      -  SCLEX_CPP = 3, -SCLEX_HTML = 4, -SCLEX_XML = 5, -
      -  SCLEX_PERL = 6, -SCLEX_SQL = 7, -SCLEX_VB = 8, -
      -  SCLEX_PROPERTIES = 9, -SCLEX_ERRORLIST = 10, -SCLEX_MAKEFILE = 11, -
      -  SCLEX_BATCH = 12, -SCLEX_LATEX = 14, -SCLEX_LUA = 15, -
      -  SCLEX_DIFF = 16, -SCLEX_CONF = 17, -SCLEX_PASCAL = 18, -
      -  SCLEX_AVE = 19, -SCLEX_ADA = 20, -SCLEX_LISP = 21, -
      -  SCLEX_RUBY = 22, -SCLEX_EIFFEL = 23, -SCLEX_EIFFELKW = 24, -
      -  SCLEX_TCL = 25, -SCLEX_NNCRONTAB = 26, -SCLEX_BULLANT = 27, -
      -  SCLEX_VBSCRIPT = 28, -SCLEX_ASP = SCLEX_HTML, -SCLEX_PHP = SCLEX_HTML, -
      -  SCLEX_BAAN = 31, -SCLEX_MATLAB = 32, -SCLEX_SCRIPTOL = 33, -
      -  SCLEX_ASM = 34, -SCLEX_CPPNOCASE = 35, -SCLEX_FORTRAN = 36, -
      -  SCLEX_F77 = 37, -SCLEX_CSS = 38, -SCLEX_POV = 39, -
      -  SCLEX_LOUT = 40, -SCLEX_ESCRIPT = 41, -SCLEX_PS = 42, -
      -  SCLEX_NSIS = 43, -SCLEX_MMIXAL = 44, -SCLEX_CLW = 45, -
      -  SCLEX_CLWNOCASE = 46, -SCLEX_LOT = 47, -SCLEX_YAML = 48, -
      -  SCLEX_TEX = 49, -SCLEX_METAPOST = 50, -SCLEX_POWERBASIC = 51, -
      -  SCLEX_FORTH = 52, -SCLEX_ERLANG = 53, -SCLEX_OCTAVE = 54, -
      -  SCLEX_MSSQL = 55, -SCLEX_VERILOG = 56, -SCLEX_KIX = 57, -
      -  SCLEX_GUI4CLI = 58, -SCLEX_SPECMAN = 59, -SCLEX_AU3 = 60, -
      -  SCLEX_APDL = 61, -SCLEX_BASH = 62, -SCLEX_ASN1 = 63, -
      -  SCLEX_VHDL = 64, -SCLEX_CAML = 65, -SCLEX_BLITZBASIC = 66, -
      -  SCLEX_PUREBASIC = 67, -SCLEX_HASKELL = 68, -SCLEX_PHPSCRIPT = 69, -
      -  SCLEX_TADS3 = 70, -SCLEX_REBOL = 71, -SCLEX_SMALLTALK = 72, -
      -  SCLEX_FLAGSHIP = 73, -SCLEX_CSOUND = 74, -SCLEX_FREEBASIC = 75, -
      -  SCLEX_INNOSETUP = 76, -SCLEX_OPAL = 77, -SCLEX_SPICE = 78 -
      - } -
    -

    Signals

    - -

    Public Member Functions

    -
      -
    • QextScintillaBase (TQWidget *parent=0, const char *name=0, WFlags f=0) -
    • virtual ~QextScintillaBase () -
    • long SendScintilla (unsigned int msg, unsigned long wParam=0, long lParam=0) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, const char *lParam) -
    • -long SendScintilla (unsigned int msg, const char *lParam) -
    • -long SendScintilla (unsigned int msg, const char *wParam, const char *lParam) -
    • -long SendScintilla (unsigned int msg, long wParam) -
    • -long SendScintilla (unsigned int msg, int wParam) -
    • -long SendScintilla (unsigned int msg, long cpMin, long cpMax, char *lpstrText) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, const TQColor &col) -
    • -long SendScintilla (unsigned int msg, const TQColor &col) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) -
    • -long SendScintilla (unsigned int msg, unsigned long wParam, const TQPixmap *lParam) -
    • virtual TQSize sizeHint () const -
    • TQWidget * viewport () const -
    -

    Static Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaBase class implements the Scintilla editor widget and its low-level API. -

    -Scintilla (http://www.scintilla.org) is a powerful C++ editor class that supports many features including syntax styling, error indicators, code completion and call tips. It is particularly useful as a programmer's editor.

    -QextScintillaBase is a port to TQt of Scintilla. It implements the standard Scintilla API which consists of a number of messages each taking up to two arguments.

    -See QextScintilla for the implementation of a higher level API that is more consistent with the rest of the TQt toolkit. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -The low-level Scintilla API is implemented as a set of messages each of which takes up to two parameters (wParam and lParam) and optionally return a value. This enum defines all the possible messages.

    -

    See also:
    SendScintilla()
    -
    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SCI_ADDTEXT  -This message appends some text to the end of the document. wParam is the length of the text. lParam is the text to be appended.
    SCI_GETCURRENTPOS  -This message returns the current position.

    -

    See also:
    SCI_SETCURRENTPOS
    -
    SCI_GETANCHOR  -This message returns the anchor.

    -

    See also:
    SCI_SETANCHOR
    -
    SCI_SETSAVEPOINT  -This message marks the current state of the text as the the save point. This is usually done when the text is saved or loaded.

    -

    See also:
    SCN_SAVEPOINTREACHED(), SCN_SAVEPOINTLEFT()
    -
    SCI_MARKERLINEFROMHANDLE  -This message returns the line that contains a particular instance of a marker. wParam is the handle of the marker.

    -

    See also:
    SCI_MARKERADD
    -
    SCI_MARKERDELETEHANDLE  -This message removes a particular instance of a marker. wParam is the handle of the marker.

    -

    See also:
    SCI_MARKERADD
    -
    SCI_GOTOPOS  -This message clears the current selection and sets the current position. wParam is the new current position.

    -

    See also:
    SCI_SETCURRENTPOS
    -
    SCI_SETANCHOR  -This message sets the anchor. wParam is the new anchor.

    -

    See also:
    SCI_GETANCHOR
    -
    SCI_GETENDSTYLED  -This message returns the character position of the start of the text that needs to be syntax styled.

    -

    See also:
    SCN_STYLENEEDED()
    -
    SCI_MARKERDEFINE  -This message sets the symbol used to draw one of 32 markers. Some markers have pre-defined uses, see the SC_MARKNUM_* values. wParam is the number of the marker. lParam is the marker symbol and is one of the SC_MARK_* values.

    -

    See also:
    SCI_MARKERADD, SCI_MARKERDEFINEPIXMAP
    -
    SCI_MARKERSETFORE  -This message sets the foreground colour used to draw a marker. A colour is represented as a 24 bit value. The 8 least significant bits correspond to red, the middle 8 bits correspond to green, and the 8 most significant bits correspond to blue. The default value is 0x000000. wParam is the number of the marker. lParam is the colour.

    -

    See also:
    SCI_MARKERSETBACK
    -
    SCI_MARKERSETBACK  -This message sets the background colour used to draw a marker. A colour is represented as a 24 bit value. The 8 least significant bits correspond to red, the middle 8 bits correspond to green, and the 8 most significant bits correspond to blue. The default value is 0xffffff. wParam is the number of the marker. lParam is the colour.

    -

    See also:
    SCI_MARKERSETFORE
    -
    SCI_MARKERADD  -This message adds a marker to a line. A handle for the marker is returned which can be used to track the marker's position. wParam is the line number. lParam is the number of the marker.

    -

    See also:
    SCI_MARKERDELETE, SCI_MARKERDELETEALL, SCI_MARKERDELETEHANDLE
    -
    SCI_MARKERDELETE  -This message deletes a marker from a line. wParam is the line number. lParam is the number of the marker.

    -

    See also:
    SCI_MARKERADD, SCI_MARKERDELETEALL
    -
    SCI_MARKERDELETEALL  -This message deletes all occurences of a marker. wParam is the number of the marker. If wParam is -1 then all markers are removed.

    -

    See also:
    SCI_MARKERADD, SCI_MARKERDELETE
    -
    SCI_MARKERGET  -This message returns the 32 bit mask of markers at a line. wParam is the line number.
    SCI_MARKERNEXT  -This message looks for the next line to contain at least one marker contained in a 32 bit mask of markers and returns the line number. wParam is the line number to start the search from. lParam is the mask of markers to search for.

    -

    See also:
    SCI_MARKERPREVIOUS
    -
    SCI_MARKERPREVIOUS  -This message looks for the previous line to contain at least one marker contained in a 32 bit mask of markers and returns the line number. wParam is the line number to start the search from. lParam is the mask of markers to search for.

    -

    See also:
    SCI_MARKERNEXT
    -
    SCI_MARKERDEFINEPIXMAP  -This message sets the symbol used to draw one of the 32 markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker symbol. wParam is the number of the marker. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    -

    See also:
    SCI_MARKERDEFINE
    -
    SCI_SETMARGINTYPEN  -This message sets what can be displayed in a margin. wParam is the number of the margin: 0, 1 or 2. lParam is the logical or of the SC_MARGIN_* values.

    -

    See also:
    SCI_GETMARGINTYPEN
    -
    SCI_GETMARGINTYPEN  -This message returns what can be displayed in a margin. wParam is the number of the margin: 0, 1 or 2.

    -

    See also:
    SCI_SETMARGINTYPEN
    -
    SCI_SETMARGINWIDTHN  -This message sets the width of a margin in pixels. wParam is the number of the margin: 0, 1 or 2. lParam is the new margin width.

    -

    See also:
    SCI_GETMARGINWIDTHN
    -
    SCI_GETMARGINWIDTHN  -This message returns the width of a margin in pixels. wParam is the number of the margin: 0, 1 or 2.

    -

    See also:
    SCI_SETMARGINWIDTHN
    -
    SCI_SETMARGINMASKN  -This message sets the mask of a margin. The mask is a 32 value with one bit for each possible marker. If a bit is set then the corresponding marker is displayed. By default, all markers are displayed. wParam is the number of the margin: 0, 1 or 2. lParam is the new margin mask.

    -

    See also:
    SCI_GETMARGINMASKN, SCI_MARKERDEFINE
    -
    SCI_GETMARGINMASKN  -This message returns the mask of a margin. wParam is the number of the margin: 0, 1 or 2.

    -

    See also:
    SCI_SETMARGINMASKN
    -
    SCI_SETMARGINSENSITIVEN  -This message sets the sensitivity of a margin to mouse clicks. wParam is the number of the margin: 0, 1 or 2. lParam is non-zero to make the margin sensitive to mouse clicks. When the mouse is clicked the SCN_MARGINCLICK() signal is emitted.

    -

    See also:
    SCI_GETMARGINSENSITIVEN, SCN_MARGINCLICK()
    -
    SCI_GETMARGINSENSITIVEN  -This message returns the sensitivity of a margin to mouse clicks. wParam is the number of the margin: 0, 1 or 2.

    -

    See also:
    SCI_SETMARGINSENSITIVEN, SCN_MARGINCLICK()
    -
    SCI_GETREADONLY  -This message returns a non-zero value if the document is read-only.

    -

    See also:
    SCI_SETREADONLY
    -
    SCI_SETCURRENTPOS  -This message sets the current position. wParam is the new current position.

    -

    See also:
    SCI_GETCURRENTPOS
    -
    SCI_GETMODIFY  -This message returns a non-zero value if the document has been modified.
    SCI_SETREADONLY  -This message sets the read-only state of the document. wParam is the new read-only state of the document.

    -

    See also:
    SCI_GETREADONLY
    -
    SCI_EMPTYUNDOBUFFER  -This message empties the undo buffer.
    SCI_SETTEXT  -This message sets the text of the document. wParam is unused. lParam is the new text of the document.

    -

    See also:
    SCI_GETTEXT
    -
    SCI_GETTEXT  -This message gets the text of the document. wParam is size of the buffer that the text is copied to. lParam is the address of the buffer that the text is copied to.

    -

    See also:
    SCI_SETTEXT
    -
    SCI_GETTEXTLENGTH  -This message returns the length of the document.
    SCI_TEXTWIDTH  -This message returns the width of some text when rendered in a particular style. wParam is the style number and is one of the STYLE_* values or one of the styles defined by a lexer. lParam is a pointer to the text.
    SCI_REGISTERIMAGE  -This message takes a copy of an image and registers it so that it can be refered to by a unique integer identifier. wParam is the image's identifier. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    -

    See also:
    SCI_CLEARREGISTEREDIMAGES
    -
    SCI_CLEARREGISTEREDIMAGES  -This message de-registers all currently registered images.

    -

    See also:
    SCI_REGISTERIMAGE
    -
    SCI_SETLEXER  -This message sets the number of the lexer to use for syntax styling. wParam is the number of the lexer and is one of the SCLEX_* values.
    SCI_GETLEXER  -This message returns the number of the lexer being used for syntax styling.
    SCI_SETLEXERLANGUAGE  -This message sets the name of the lexer to use for syntax styling. wParam is unused. lParam is the name of the lexer.
    -
    - -
    -

    - -

    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the different selection modes.

    -

    See also:
    SCI_GETSELECTIONMODE, SCI_SETSELECTIONMODE
    - -
    -

    - -

    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the different marker symbols.

    -

    See also:
    SCI_MARKERDEFINE
    -
    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SC_MARK_CIRCLE  -A circle.
    SC_MARK_ROUNDRECT  -A rectangle.
    SC_MARK_ARROW  -A triangle pointing to the right.
    SC_MARK_SMALLRECT  -A smaller rectangle.
    SC_MARK_SHORTARROW  -An arrow pointing to the right.
    SC_MARK_EMPTY  -An invisible marker that allows code to track the movement of lines.
    SC_MARK_ARROWDOWN  -A triangle pointing down.
    SC_MARK_MINUS  -A drawn minus sign.
    SC_MARK_PLUS  -A drawn plus sign.
    SC_MARK_VLINE  -A vertical line drawn in the background colour.
    SC_MARK_LCORNER  -A bottom left corner drawn in the background colour.
    SC_MARK_TCORNER  -A vertical line with a centre right horizontal line drawn in the background colour.
    SC_MARK_BOXPLUS  -A drawn plus sign in a box.
    SC_MARK_BOXPLUSCONNECTED  -A drawn plus sign in a connected box.
    SC_MARK_BOXMINUS  -A drawn minus sign in a box.
    SC_MARK_BOXMINUSCONNECTED  -A drawn minus sign in a connected box.
    SC_MARK_LCORNERCURVE  -A rounded bottom left corner drawn in the background colour.
    SC_MARK_TCORNERCURVE  -A vertical line with a centre right curved line drawn in the background colour.
    SC_MARK_CIRCLEPLUS  -A drawn plus sign in a circle.
    SC_MARK_CIRCLEPLUSCONNECTED  -A drawn plus sign in a connected box.
    SC_MARK_CIRCLEMINUS  -A drawn minus sign in a circle.
    SC_MARK_CIRCLEMINUSCONNECTED  -A drawn minus sign in a connected circle.
    SC_MARK_BACKGROUND  -No symbol is drawn but the line of text is drawn with the same background colour.
    SC_MARK_DOTDOTDOT  -Three drawn dots.
    SC_MARK_ARROWS  -Three drawn arrows pointing right.
    SC_MARK_PIXMAP  -An XPM format pixmap.
    SC_MARK_FULLRECT  -A full rectangle.
    SC_MARK_CHARACTER  -Characters can be used as symbols by adding this to the ASCII value of the character.
    -
    - -
    -

    - -

    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines what can be displayed in a margin.

    -

    See also:
    SCI_GETMARGINTYPEN, SCI_SETMARGINTYPEN
    -
    Enumerator:
    - - - - - -
    SC_MARGIN_SYMBOL  -The margin can display symbols. Note that all margins can display symbols.
    SC_MARGIN_NUMBER  -The margin will display line numbers.
    SC_MARGIN_BACK  -The margin's background color will be set to the default background color.
    SC_MARGIN_FORE  -The margin's background color will be set to the default foreground color.
    -
    - -
    -

    - -

    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the different modifier keys. -

    -

    Enumerator:
    - - - - - -
    SCMOD_NORM  -No modifier key.
    SCMOD_SHIFT  -Shift key.
    SCMOD_CTRL  -Control key.
    SCMOD_ALT  -Alt key.
    -
    - -
    -

    - -

    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the different language lexers.

    -

    See also:
    SCI_GETLEXER, SCI_SETLEXER
    -
    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SCLEX_CONTAINER  -No lexer is selected and the SCN_STYLENEEDED signal is emitted so that the application can style the text as needed. This is the default.
    SCLEX_NULL  -Select the null lexer that does no syntax styling.
    SCLEX_PYTHON  -Select the Python lexer.
    SCLEX_CPP  -Select the C++ lexer.
    SCLEX_HTML  -Select the HTML lexer.
    SCLEX_XML  -Select the XML lexer.
    SCLEX_PERL  -Select the Perl lexer.
    SCLEX_SQL  -Select the SQL lexer.
    SCLEX_VB  -Select the Visual Basic lexer.
    SCLEX_PROPERTIES  -Select the lexer for properties style files.
    SCLEX_ERRORLIST  -Select the lexer for error list style files.
    SCLEX_MAKEFILE  -Select the Makefile lexer.
    SCLEX_BATCH  -Select the Windows batch file lexer.
    SCLEX_LATEX  -Select the LaTex lexer.
    SCLEX_LUA  -Select the Lua lexer.
    SCLEX_DIFF  -Select the lexer for diff output.
    SCLEX_CONF  -Select the lexer for Apache configuration files.
    SCLEX_PASCAL  -Select the Pascal lexer.
    SCLEX_AVE  -Select the Avenue lexer.
    SCLEX_ADA  -Select the Ada lexer.
    SCLEX_LISP  -Select the Lisp lexer.
    SCLEX_RUBY  -Select the Ruby lexer.
    SCLEX_EIFFEL  -Select the Eiffel lexer.
    SCLEX_EIFFELKW  -Select the Eiffel lexer folding at keywords.
    SCLEX_TCL  -Select the Tcl lexer.
    SCLEX_NNCRONTAB  -Select the lexer for nnCron files.
    SCLEX_BULLANT  -Select the Bullant lexer.
    SCLEX_VBSCRIPT  -Select the VBScript lexer.
    SCLEX_ASP  -Select the ASP lexer.
    SCLEX_PHP  -Select the PHP lexer.
    SCLEX_BAAN  -Select the Baan lexer.
    SCLEX_MATLAB  -Select the Matlab lexer.
    SCLEX_SCRIPTOL  -Select the Scriptol lexer.
    SCLEX_ASM  -Select the assembler lexer.
    SCLEX_CPPNOCASE  -Select the C++ lexer with case insensitive keywords.
    SCLEX_FORTRAN  -Select the FORTRAN lexer.
    SCLEX_F77  -Select the FORTRAN77 lexer.
    SCLEX_CSS  -Select the CSS lexer.
    SCLEX_POV  -Select the POV lexer.
    SCLEX_LOUT  -Select the Basser Lout typesetting language lexer.
    SCLEX_ESCRIPT  -Select the EScript lexer.
    SCLEX_PS  -Select the PostScript lexer.
    SCLEX_NSIS  -Select the NSIS lexer.
    SCLEX_MMIXAL  -Select the MMIX assembly language lexer.
    SCLEX_CLW  -Select the Clarion lexer.
    SCLEX_CLWNOCASE  -Select the Clarion lexer with case insensitive keywords.
    SCLEX_LOT  -Select the MPT text log file lexer.
    SCLEX_YAML  -Select the YAML lexer.
    SCLEX_TEX  -Select the TeX lexer.
    SCLEX_METAPOST  -Select the Metapost lexer.
    SCLEX_POWERBASIC  -Select the PowerBASIC lexer.
    SCLEX_FORTH  -Select the Forth lexer.
    SCLEX_ERLANG  -Select the Erlang lexer.
    SCLEX_OCTAVE  -Select the Octave lexer.
    SCLEX_MSSQL  -Select the MS SQL lexer.
    SCLEX_VERILOG  -Select the Verilog lexer.
    SCLEX_KIX  -Select the KIX-Scripts lexer.
    SCLEX_GUI4CLI  -Select the Gui4Cli lexer.
    SCLEX_SPECMAN  -Select the Specman E lexer.
    SCLEX_AU3  -Select the AutoIt3 lexer.
    SCLEX_APDL  -Select the APDL lexer.
    SCLEX_BASH  -Select the Bash lexer.
    SCLEX_ASN1  -Select the ASN.1 lexer.
    SCLEX_VHDL  -Select the VHDL lexer.
    SCLEX_CAML  -Select the Caml lexer.
    SCLEX_BLITZBASIC  -Select the BlitzBasic lexer.
    SCLEX_PUREBASIC  -Select the PureBasic lexer.
    SCLEX_HASKELL  -Select the Haskell lexer.
    SCLEX_PHPSCRIPT  -Select the PHPScript lexer.
    SCLEX_TADS3  -Select the TADS3 lexer.
    SCLEX_REBOL  -Select the REBOL lexer.
    SCLEX_SMALLTALK  -Select the Smalltalk lexer.
    SCLEX_FLAGSHIP  -Select the FlagShip lexer.
    SCLEX_CSOUND  -Select the Csound lexer.
    SCLEX_FREEBASIC  -Select the FreeBasic lexer.
    SCLEX_INNOSETUP  -Select the InnoSetup lexer.
    SCLEX_OPAL  -Select the Opal lexer.
    SCLEX_SPICE  -Select the Spice lexer.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    QextScintillaBase::QextScintillaBase (TQWidget *  parent = 0,
    const char *  name = 0,
    WFlags  f = 0 
    )
    -
    -
    - -

    -Construct an empty QextScintillaBase with parent parent, name name, and widget flags f. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaBase::~QextScintillaBase (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaBase instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    static QextScintillaBase* QextScintillaBase::pool (  )  [static]
    -
    -
    - -

    -Returns a pointer to a QextScintillaBase instance, or 0 if there isn't one. This can be used by the higher level API to send messages that aren't associated with a particular instance. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    long QextScintillaBase::SendScintilla (unsigned int  msg,
    unsigned long  wParam = 0,
    long  lParam = 0 
    )
    -
    -
    - -

    -Send the Scintilla message msg with the optional parameters wParam and lParam. -

    -

    - -

    -
    - - - - - - - - -
    virtual TQSize QextScintillaBase::sizeHint (  )  const [virtual]
    -
    -
    - -

    -Returns the recommended size of the widget. -

    - -

    -

    - -

    -
    - - - - - - - - -
    TQWidget* QextScintillaBase::viewport (  )  const
    -
    -
    - -

    -Returns the viewport widget. This is the widget that actually contains the text. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintillaBase::TQSCN_SELCHANGED (bool  yes  )  [signal]
    -
    -
    - -

    -This signal is emitted when text is selected or de-selected. yes is TRUE if text has been selected and FALSE if text has been deselected. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaBase::SCN_AUTOCSELECTION (const char *  selection,
    int  position 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the user selects an item in an auto-completion list. It is emitted before the selection is inserted. The insertion can be cancelled by sending an SCI_AUTOCANCEL message from a connected slot. position is the start position of the word being completed. selection is the text of the selection. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaBase::SCEN_CHANGE (  )  [signal]
    -
    -
    - -

    -This signal is emitted when the document has changed for any reason. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintillaBase::SCN_CALLTIPCLICK (int  direction  )  [signal]
    -
    -
    - -

    -This signal ir emitted when the user clicks on a calltip. position is 1 if the user clicked on the up arrow, 2 if the user clicked on the down arrow, and 0 if the user clicked elsewhere. -

    -

    - -

    -
    - - - - - - - - - -
    void QextScintillaBase::SCN_CHARADDED (int  charadded  )  [signal]
    -
    -
    - -

    -This signal is emitted whenever the user enters an ordinary character into the text. charadded is the character. It can be used to decide to display a call tip or an auto-completion list. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaBase::SCN_HOTSPOTCLICK (int  position,
    int  modifiers 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the user clicks on text in a style with the hotspot attribute set. position is the position in the text where the click occured. modifiers is the logical or of the modifier keys that were pressed when the user clicked. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaBase::SCN_HOTSPOTDOUBLECLICK (int  position,
    int  modifiers 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the user double clicks on text in a style with the hotspot attribute set. position is the position in the text where the double click occured. modifiers is the logical or of the modifier keys that were pressed when the user double clicked. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    void QextScintillaBase::SCN_MACRORECORD (unsigned  int,
    unsigned  long,
    long  
    ) [signal]
    -
    -
    - -

    -This signal is emitted when a recordable editor command has been executed. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    void QextScintillaBase::SCN_MARGINCLICK (int  position,
    int  modifiers,
    int  margin 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the user clicks on a sensitive margin. position is the position of the start of the line against which the user clicked. modifiers is the logical or of the modifier keys that were pressed when the user clicked. margin is the number of the margin the user clicked in: 0, 1 or 2.

    -

    See also:
    SCI_GETMARGINSENSITIVEN, SCI_SETMARGINSENSITIVEN
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintillaBase::SCN_MODIFYATTEMPTRO (  )  [signal]
    -
    -
    - -

    -This signal is emitted when the user attempts to modify read-only text. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaBase::SCN_PAINTED (  )  [signal]
    -
    -
    - -

    -This signal is emitted when painting has been completed. It is useful to trigger some other change but to have the paint be done first to appear more reponsive to the user. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaBase::SCN_SAVEPOINTLEFT (  )  [signal]
    -
    -
    - -

    -This signal is emitted when the current state of the text no longer corresponds to the state of the text at the save point.

    -

    See also:
    SCI_SETSAVEPOINT, SCN_SAVEPOINTREACHED()
    - -
    -

    - -

    -
    - - - - - - - - -
    void QextScintillaBase::SCN_SAVEPOINTREACHED (  )  [signal]
    -
    -
    - -

    -This signal is emitted when the current state of the text corresponds to the state of the text at the save point. This allows feedback to be given to the user as to whether the text has been modified since it was last saved.

    -

    See also:
    SCI_SETSAVEPOINT, SCN_SAVEPOINTLEFT()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintillaBase::SCN_STYLENEEDED (int  position  )  [signal]
    -
    -
    - -

    -This signal is emitted when a range of text needs to be syntax styled. The range is from the value returned by the SCI_GETENDSTYLED message and position. It is only emitted if the currently selected lexer is SCNLEX_CONTAINER.

    -

    See also:
    SCI_COLOURISE, SCI_GETENDSTYLED
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaBase::eventFilter (TQObject *  o,
    TQEvent *  e 
    ) [protected]
    -
    -
    - -

    -Re-implemented to filter certain events. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaBase::keyPressEvent (TQKeyEvent *  ke  )  [protected, virtual]
    -
    -
    - -

    -Re-implemented to handle the key presses for the widget. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaBase::focusInEvent (TQFocusEvent *   )  [protected, virtual]
    -
    -
    - -

    -Re-implemented to tell Scintilla it has the focus. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaBase::focusOutEvent (TQFocusEvent *   )  [protected, virtual]
    -
    -
    - -

    -Re-implemented to tell Scintilla it has lost the focus. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    virtual bool QextScintillaBase::focusNextPrevChild (bool   )  [protected, virtual]
    -
    -
    - -

    -Re-implemented to allow tabs to be entered as text. -

    - -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintillaBase::startDrag (  )  [protected, virtual]
    -
    -
    - -

    -Start a drag operation. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaCommand-members.html b/doc/en/classQextScintillaCommand-members.html deleted file mode 100644 index 6035608..0000000 --- a/doc/en/classQextScintillaCommand-members.html +++ /dev/null @@ -1,31 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaCommand Member List

    This is the complete list of members for QextScintillaCommand, including all inherited members.

    - - - - - - -
    alternateKey() const QextScintillaCommand [inline]
    description() const QextScintillaCommand
    key() const QextScintillaCommand [inline]
    setAlternateKey(int altkey)QextScintillaCommand
    setKey(int key)QextScintillaCommand
    validKey(int key)QextScintillaCommand [static]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaCommand.html b/doc/en/classQextScintillaCommand.html deleted file mode 100644 index 233682a..0000000 --- a/doc/en/classQextScintillaCommand.html +++ /dev/null @@ -1,176 +0,0 @@ - - -TQScintilla: QextScintillaCommand Class Reference - - - - - - -

    QextScintillaCommand Class Reference

    The QextScintillaCommand class represents an internal editor command that may have one or two keys bound to it. -More... -

    -#include <qextscintillacommand.h> -

    -List of all members.

    Public Member Functions

    - -

    Static Public Member Functions

    - -

    Detailed Description

    -The QextScintillaCommand class represents an internal editor command that may have one or two keys bound to it. -

    -Methods are provided to change the keys bound to the command and to remove a key binding. Each command has a user friendly description of the command for use in key mapping dialogs. -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - - -
    void QextScintillaCommand::setKey (int  key  ) 
    -
    -
    - -

    -Binds the key key to the command. If key is 0 then the key binding is removed. If key is invalid then the key binding is unchanged. Valid keys are any visible or control character or any of Key_Down, Key_Up, Key_Left, Key_Right, Key_Home, Key_End, Key_Prior, Key_Next, Key_Delete, Key_Insert, Key_Escape, Key_Backspace, Key_Tab and Key_Return. Keys may be modified with any combination of SHIFT, CTRL and ALT.

    -

    See also:
    key(), setAlternateKey(), validKey()
    - -
    -

    - -

    -
    - - - - - - - - - -
    void QextScintillaCommand::setAlternateKey (int  altkey  ) 
    -
    -
    - -

    -Binds the alternate key altkey to the command. If key is 0 then the alternate key binding is removed.

    -

    See also:
    alternateKey(), setKey(), validKey()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintillaCommand::key (  )  const [inline]
    -
    -
    - -

    -The key that is currently bound to the command is returned.

    -

    See also:
    setKey(), alternateKey()
    - -
    -

    - -

    -
    - - - - - - - - -
    int QextScintillaCommand::alternateKey (  )  const [inline]
    -
    -
    - -

    -The alternate key that is currently bound to the command is returned.

    -

    See also:
    setAlternateKey(), key()
    - -
    -

    - -

    -
    - - - - - - - - - -
    static bool QextScintillaCommand::validKey (int  key  )  [static]
    -
    -
    - -

    -If the key key is valid then TRUE is returned. -

    - -

    -

    - -

    -
    - - - - - - - - -
    TQString QextScintillaCommand::description (  )  const
    -
    -
    - -

    -The user friendly description of the command is returned. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaCommandSet-members.html b/doc/en/classQextScintillaCommandSet-members.html deleted file mode 100644 index bf3de15..0000000 --- a/doc/en/classQextScintillaCommandSet-members.html +++ /dev/null @@ -1,30 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaCommandSet Member List

    This is the complete list of members for QextScintillaCommandSet, including all inherited members.

    - - - - - -
    clearAlternateKeys()QextScintillaCommandSet
    clearKeys()QextScintillaCommandSet
    commands()QextScintillaCommandSet [inline]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaCommandSet
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaCommandSet


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaCommandSet.html b/doc/en/classQextScintillaCommandSet.html deleted file mode 100644 index 2bdca65..0000000 --- a/doc/en/classQextScintillaCommandSet.html +++ /dev/null @@ -1,168 +0,0 @@ - - -TQScintilla: QextScintillaCommandSet Class Reference - - - - - - -

    QextScintillaCommandSet Class Reference

    The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. -More... -

    -#include <qextscintillacommandset.h> -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. -

    -Methods are provided to access the individual commands and to read and write the current bindings from and to settings files. -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaCommandSet::readSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    -
    -
    - -

    -The key bindings for each command in the set are read from the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    -

    See also:
    writeSettings()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaCommandSet::writeSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    -
    -
    - -

    -The key bindings for each command in the set are written to the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    -

    See also:
    readSettings()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQPtrList<QextScintillaCommand>& QextScintillaCommandSet::commands (  )  [inline]
    -
    -
    - -

    -The commands in the set are returned as a list. -

    - -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaCommandSet::clearKeys (  ) 
    -
    -
    - -

    -The primary keys bindings for all commands are removed. -

    - -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaCommandSet::clearAlternateKeys (  ) 
    -
    -
    - -

    -The alternate keys bindings for all commands are removed. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaDocument-members.html b/doc/en/classQextScintillaDocument-members.html deleted file mode 100644 index 07b5170..0000000 --- a/doc/en/classQextScintillaDocument-members.html +++ /dev/null @@ -1,29 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaDocument Member List

    This is the complete list of members for QextScintillaDocument, including all inherited members.

    - - - - -
    operator=(const QextScintillaDocument &) (defined in QextScintillaDocument)QextScintillaDocument
    QextScintillaDocument()QextScintillaDocument
    QextScintillaDocument(const QextScintillaDocument &) (defined in QextScintillaDocument)QextScintillaDocument
    ~QextScintillaDocument() (defined in QextScintillaDocument)QextScintillaDocument [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaDocument.html b/doc/en/classQextScintillaDocument.html deleted file mode 100644 index 135221d..0000000 --- a/doc/en/classQextScintillaDocument.html +++ /dev/null @@ -1,64 +0,0 @@ - - -TQScintilla: QextScintillaDocument Class Reference - - - - - - -

    QextScintillaDocument Class Reference

    The QextScintillaDocument class represents a document to be editted. -More... -

    -#include <qextscintilladocument.h> -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaDocument class represents a document to be editted. -

    -It is an opaque class that can be attached to multiple instances of QextScintilla to create different simultaneous views of the same document. QextScintillaDocument uses implicit sharing so that copying class instances is a cheap operation. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - -
    QextScintillaDocument::QextScintillaDocument (  ) 
    -
    -
    - -

    -Create a new unattached document. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexer-members.html b/doc/en/classQextScintillaLexer-members.html deleted file mode 100644 index 13eb717..0000000 --- a/doc/en/classQextScintillaLexer-members.html +++ /dev/null @@ -1,66 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexer Member List

    This is the complete list of members for QextScintillaLexer, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexer [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const =0QextScintillaLexer [pure virtual]
    eolFill(int style) const QextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    font(int style) const QextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    keywords(int set) const QextScintillaLexer [virtual]
    language() const =0QextScintillaLexer [pure virtual]
    lexer() const =0QextScintillaLexer [pure virtual]
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexer.html b/doc/en/classQextScintillaLexer.html deleted file mode 100644 index 7edb194..0000000 --- a/doc/en/classQextScintillaLexer.html +++ /dev/null @@ -1,910 +0,0 @@ - - -TQScintilla: QextScintillaLexer Class Reference - - - - - - -

    QextScintillaLexer Class Reference

    The QextScintillaLexer class is an abstract class used as a base for specific language lexers. -More... -

    -#include <qextscintillalexer.h> -

    -Inherited by QextScintillaLexerBash, QextScintillaLexerBatch, QextScintillaLexerCPP, QextScintillaLexerCSS, QextScintillaLexerDiff, QextScintillaLexerHTML, QextScintillaLexerLua, QextScintillaLexerMakefile, QextScintillaLexerPerl, QextScintillaLexerPOV, QextScintillaLexerProperties, QextScintillaLexerPython, QextScintillaLexerRuby, QextScintillaLexerSQL, and QextScintillaLexerTeX. -

    -List of all members.

    Public Slots

    - -

    Signals

    - -

    Public Member Functions

    -
      -
    • QextScintillaLexer (TQObject *parent=0, const char *name=0) -
    • virtual ~QextScintillaLexer () -
    • virtual const char * language () const =0 -
    • virtual const char * lexer () const =0 -
    • -virtual const char * autoCompletionFillups () const -
    • -virtual const char * autoCompletionStartCharacters () const -
    • int autoIndentStyle () -
    • -virtual const char * blockEnd (int *style=0) const -
    • -virtual int blockLookback () const -
    • -virtual const char * blockStart (int *style=0) const -
    • -virtual const char * blockStartKeyword (int *style=0) const -
    • -virtual int braceStyle () const -
    • -virtual const char * wordCharacters () const -
    • virtual TQColor color (int style) const -
    • virtual bool eolFill (int style) const -
    • virtual TQFont font (int style) const -
    • virtual const char * keywords (int set) const -
    • -virtual int defaultStyle () const -
    • virtual TQString description (int style) const =0 -
    • virtual TQColor paper (int style) const -
    • virtual TQFont defaultFont () const -
    • virtual TQColor defaultColor () const -
    • virtual TQColor defaultPaper () const -
    • virtual void refreshProperties () -
    • bool readSettings (TQSettings &qs, const char *prefix="/Scintilla") -
    • bool writeSettings (TQSettings &qs, const char *prefix="/Scintilla") const -
    -

    Protected Member Functions

    -
      -
    • virtual bool readProperties (TQSettings &qs, const TQString &prefix) -
    • virtual bool writeProperties (TQSettings &qs, const TQString &prefix) const -
    -

    Detailed Description

    -The QextScintillaLexer class is an abstract class used as a base for specific language lexers. -

    -A Scintilla lexer scans the text breaking it up into separate language objects, e.g. keywords, strings, operators. The lexer then uses a different style to draw each object. A style is identified by a style number and has a number of attributes, including colour and font. A specific language lexer will implement appropriate default styles which can be overriden by an application by further sub-classing the specific language lexer.

    -A specific language lexer may provide one or more sets of words to be recognised as keywords. Most lexers only provide one set, but some may support languages embedded in other languages and provide several sets.

    -QextScintillaLexer provides convenience methods for saving and restoring user preferences for fonts and colours. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexer::QextScintillaLexer (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexer with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexer::~QextScintillaLexer (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexer instance. -

    - -

    -

    -


    Member Function Documentation

    - -

    - -

    -
    - - - - - - - - -
    virtual const char* QextScintillaLexer::lexer (  )  const [pure virtual]
    -
    - -

    - -

    -
    - - - - - - - - -
    int QextScintillaLexer::autoIndentStyle (  ) 
    -
    -
    - -

    -Returns the auto-indentation style. The default is 0 if the language is block structured, or QextScintilla::AiMaintain if not.

    -

    See also:
    setAutoIndentStyle(), QextScintilla::AiMaintain, QextScintilla::AiOpening, QextScintilla::AiClosing
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual TQColor QextScintillaLexer::color (int  style  )  const [virtual]
    -
    - -

    - -

    -
    - - - - - - - - - -
    virtual bool QextScintillaLexer::eolFill (int  style  )  const [virtual]
    -
    - -

    - -

    -
    - - - - - - - - - -
    virtual TQFont QextScintillaLexer::font (int  style  )  const [virtual]
    -
    - -

    - -

    -
    - - - - - - - - - -
    virtual const char* QextScintillaLexer::keywords (int  set  )  const [virtual]
    -
    - -

    - -

    -
    - - - - - - - - - -
    virtual TQString QextScintillaLexer::description (int  style  )  const [pure virtual]
    -
    - -

    - -

    -
    - - - - - - - - - -
    virtual TQColor QextScintillaLexer::paper (int  style  )  const [virtual]
    -
    - -

    - -

    -
    - - - - - - - - -
    virtual TQFont QextScintillaLexer::defaultFont (  )  const [virtual]
    -
    -
    - -

    -Returns the default font for all styles.

    -

    See also:
    setDefaultFont()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual TQColor QextScintillaLexer::defaultColor (  )  const [virtual]
    -
    -
    - -

    -Returns the default text colour for all styles.

    -

    See also:
    setDefaultColor()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual TQColor QextScintillaLexer::defaultPaper (  )  const [virtual]
    -
    -
    - -

    -Returns the default paper colour for all styles.

    -

    See also:
    setDefaultPaper()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintillaLexer::refreshProperties (  )  [virtual]
    -
    - -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexer::readSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    -
    -
    - -

    -The colour, paper, font and end-of-line for each style number, and all lexer specific properties are read from the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    -

    See also:
    writeSettings(), QextScintilla::setLexer()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexer::writeSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    ) const
    -
    -
    - -

    -The colour, paper, font and end-of-line for each style number, and all lexer specific properties are written to the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    -

    See also:
    readSettings()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexer::setAutoIndentStyle (int  autoindentstyle  )  [virtual, slot]
    -
    -
    - -

    -The auto-indentation style is set to autoindentstyle.

    -

    See also:
    autoIndentStyle(), QextScintilla::AiMaintain, QextScintilla::AiOpening, QextScintilla::AiClosing
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintillaLexer::setColor (const TQColor &  c,
    int  style = -1 
    ) [virtual, slot]
    -
    -
    - -

    -The foreground colour for style number style is set to c. If style is -1 then the colour is set for all styles. -

    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexer::setDefaultFont (const TQFont &  f  )  [virtual, slot]
    -
    -
    - -

    -The default font for all styles is set to f.

    -

    See also:
    defaultFont()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexer::setDefaultColor (const TQColor &  c  )  [virtual, slot]
    -
    -
    - -

    -The default text colour for all styles is set to c.

    -

    See also:
    defaultColor(), color()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexer::setDefaultPaper (const TQColor &  c  )  [virtual, slot]
    -
    -
    - -

    -The default paper colour for all styles is set to c.

    -

    See also:
    defaultPaper(), paper()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintillaLexer::setEolFill (bool  eoffill,
    int  style = -1 
    ) [virtual, slot]
    -
    -
    - -

    -The end-of-line fill for style number style is set to eoffill. If style is -1 then the fill is set for all styles. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintillaLexer::setFont (const TQFont &  f,
    int  style = -1 
    ) [virtual, slot]
    -
    -
    - -

    -The font for style number style is set to f. If style is -1 then the font is set for all styles. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual void QextScintillaLexer::setPaper (const TQColor &  c,
    int  style = -1 
    ) [virtual, slot]
    -
    -
    - -

    -The background colour for style number style is set to c. If style is -1 then the colour is set for all styles. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaLexer::colorChanged (const TQColor &  c,
    int  style 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the foreground colour of style number style has changed. The new colour is c. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaLexer::eolFillChanged (bool  eoffilled,
    int  style 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the end-of-file fill of style number style has changed. The new fill is eoffilled. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaLexer::fontChanged (const TQFont &  f,
    int  style 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the font of style number style has changed. The new font is f. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaLexer::paperChanged (const TQColor &  c,
    int  style 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the background colour of style number style has changed. The new colour is c. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    void QextScintillaLexer::propertyChanged (const char *  prop,
    const char *  val 
    ) [signal]
    -
    -
    - -

    -This signal is emitted when the value of the lexer property prop needs to be changed. The new value is val. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual bool QextScintillaLexer::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented in QextScintillaLexerBash, QextScintillaLexerCPP, QextScintillaLexerCSS, QextScintillaLexerHTML, QextScintillaLexerLua, QextScintillaLexerPerl, QextScintillaLexerPOV, QextScintillaLexerProperties, QextScintillaLexerPython, and QextScintillaLexerSQL. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    virtual bool QextScintillaLexer::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented in QextScintillaLexerBash, QextScintillaLexerCPP, QextScintillaLexerCSS, QextScintillaLexerHTML, QextScintillaLexerLua, QextScintillaLexerPerl, QextScintillaLexerPOV, QextScintillaLexerProperties, QextScintillaLexerPython, and QextScintillaLexerSQL. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerBash-members.html b/doc/en/classQextScintillaLexerBash-members.html deleted file mode 100644 index 427456b..0000000 --- a/doc/en/classQextScintillaLexerBash-members.html +++ /dev/null @@ -1,87 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerBash Member List

    This is the complete list of members for QextScintillaLexerBash, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    Backticks enum valueQextScintillaLexerBash
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerBash)QextScintillaLexerBash [virtual]
    color(int style) const QextScintillaLexerBash [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerBash
    Default enum valueQextScintillaLexerBash
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerBash [virtual]
    DoubleQuotedString enum valueQextScintillaLexerBash
    eolFill(int style) const QextScintillaLexerBash [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    Error enum valueQextScintillaLexerBash
    foldComments() const QextScintillaLexerBash
    foldCompact() const QextScintillaLexerBash
    font(int style) const QextScintillaLexerBash [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    HereDocumentDelimiter enum valueQextScintillaLexerBash
    Identifier enum valueQextScintillaLexerBash
    Keyword enum valueQextScintillaLexerBash
    keywords(int set) const QextScintillaLexerBash [virtual]
    language() const QextScintillaLexerBash [virtual]
    lexer() const QextScintillaLexerBash [virtual]
    Number enum valueQextScintillaLexerBash
    Operator enum valueQextScintillaLexerBash
    paper(int style) const QextScintillaLexerBash [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    ParameterExpansion enum valueQextScintillaLexerBash
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerBash(TQObject *parent=0, const char *name=0)QextScintillaLexerBash
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerBash [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerBash [virtual]
    Scalar enum valueQextScintillaLexerBash
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerBash [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerBash [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedHereDocument enum valueQextScintillaLexerBash
    SingleQuotedString enum valueQextScintillaLexerBash
    WhiteSpace enum valueQextScintillaLexerBash
    wordCharacters() const (defined in QextScintillaLexerBash)QextScintillaLexerBash [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerBash [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerBash()QextScintillaLexerBash [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerBash.html b/doc/en/classQextScintillaLexerBash.html deleted file mode 100644 index ed75e02..0000000 --- a/doc/en/classQextScintillaLexerBash.html +++ /dev/null @@ -1,560 +0,0 @@ - - -TQScintilla: QextScintillaLexerBash Class Reference - - - - - - -

    QextScintillaLexerBash Class Reference

    The QextScintillaLexerBash class encapsulates the Scintilla Bash lexer. -More... -

    -#include <qextscintillalexerbash.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerBash class encapsulates the Scintilla Bash lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Bash lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - -
    Default  -The default.
    WhiteSpace  -
    Deprecated:
    White space.
    -
    Error  -An error.
    Comment  -A comment.
    Number  -A number.
    Keyword  -A keyword.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    Operator  -An operator.
    Identifier  -An identifier.
    Scalar  -A scalar.
    ParameterExpansion  -Parameter expansion.
    Backticks  -Backticks.
    HereDocumentDelimiter  -A here document delimiter.
    SingleQuotedHereDocument  -A single quoted here document.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerBash::QextScintillaLexerBash (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerBash with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerBash::~QextScintillaLexerBash (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerBash instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerBash::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerBash::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerBash::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerBash::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerBash::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerBash::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerBash::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerBash::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerBash::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerBash::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerBash::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerBash::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerBash::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerBash::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerBash::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerBatch-members.html b/doc/en/classQextScintillaLexerBatch-members.html deleted file mode 100644 index b1fac99..0000000 --- a/doc/en/classQextScintillaLexerBatch-members.html +++ /dev/null @@ -1,76 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerBatch Member List

    This is the complete list of members for QextScintillaLexerBatch, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerBatch [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerBatch
    Default enum valueQextScintillaLexerBatch
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerBatch [virtual]
    eolFill(int style) const QextScintillaLexerBatch [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    ExternalCommand enum valueQextScintillaLexerBatch
    font(int style) const QextScintillaLexerBatch [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    HideCommandChar enum valueQextScintillaLexerBatch
    Keyword enum valueQextScintillaLexerBatch
    keywords(int set) const QextScintillaLexerBatch [virtual]
    Label enum valueQextScintillaLexerBatch
    language() const QextScintillaLexerBatch [virtual]
    lexer() const QextScintillaLexerBatch [virtual]
    Operator enum valueQextScintillaLexerBatch
    paper(int style) const QextScintillaLexerBatch [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerBatch(TQObject *parent=0, const char *name=0)QextScintillaLexerBatch
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    Variable enum valueQextScintillaLexerBatch
    wordCharacters() const (defined in QextScintillaLexerBatch)QextScintillaLexerBatch [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerBatch()QextScintillaLexerBatch [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerBatch.html b/doc/en/classQextScintillaLexerBatch.html deleted file mode 100644 index 2cf91ff..0000000 --- a/doc/en/classQextScintillaLexerBatch.html +++ /dev/null @@ -1,345 +0,0 @@ - - -TQScintilla: QextScintillaLexerBatch Class Reference - - - - - - -

    QextScintillaLexerBatch Class Reference

    The QextScintillaLexerBatch class encapsulates the Scintilla batch file lexer. -More... -

    -#include <qextscintillalexerbatch.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerBatch class encapsulates the Scintilla batch file lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the batch file lexer.

    Enumerator:
    - - - - - - - - - -
    Default  -The default.
    Comment  -A comment.
    Keyword  -A keyword.
    Label  -A label.
    HideCommandChar  -An hide command character.
    ExternalCommand  -An external command .
    Variable  -A variable.
    Operator  -An operator.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerBatch::QextScintillaLexerBatch (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerBatch with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerBatch::~QextScintillaLexerBatch (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerBatch instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerBatch::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerBatch::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerBatch::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerBatch::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerBatch::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerBatch::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerBatch::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerBatch::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCPP-members.html b/doc/en/classQextScintillaLexerCPP-members.html deleted file mode 100644 index 3eb0b82..0000000 --- a/doc/en/classQextScintillaLexerCPP-members.html +++ /dev/null @@ -1,99 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerCPP Member List

    This is the complete list of members for QextScintillaLexerCPP, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerCPP [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    CommentDocKeywordError enum valueQextScintillaLexerCPP
    CommentLine enum valueQextScintillaLexerCPP
    CommentLineDoc enum valueQextScintillaLexerCPP
    Default enum valueQextScintillaLexerCPP
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerCPP [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCPP
    eolFill(int style) const QextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldAtElse() const QextScintillaLexerCPP
    foldComments() const QextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    keywords(int set) const QextScintillaLexerCPP [virtual]
    KeywordSet2 enum valueQextScintillaLexerCPP
    language() const QextScintillaLexerCPP [virtual]
    lexer() const QextScintillaLexerCPP [virtual]
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    UnclosedString enum valueQextScintillaLexerCPP
    UUID enum valueQextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCPP.html b/doc/en/classQextScintillaLexerCPP.html deleted file mode 100644 index 37fca88..0000000 --- a/doc/en/classQextScintillaLexerCPP.html +++ /dev/null @@ -1,753 +0,0 @@ - - -TQScintilla: QextScintillaLexerCPP Class Reference - - - - - - -

    QextScintillaLexerCPP Class Reference

    The QextScintillaLexerCPP class encapsulates the Scintilla C++ lexer. -More... -

    -#include <qextscintillalexercpp.h> -

    -Inherits QextScintillaLexer. -

    -Inherited by QextScintillaLexerCSharp, QextScintillaLexerIDL, QextScintillaLexerJava, and QextScintillaLexerJavaScript. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerCPP class encapsulates the Scintilla C++ lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the C++ lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    WhiteSpace  -
    Deprecated:
    White space.
    -
    Comment  -A C comment.
    CommentLine  -A C++ comment line.
    CommentDoc  -A JavaDoc/Doxygen style C comment.
    Number  -A number.
    Keyword  -A keyword.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    UUID  -An IDL UUID.
    PreProcessor  -A pre-processor block.
    Operator  -An operator.
    Identifier  -An identifier.
    UnclosedString  -The end of a line where a string is not closed.
    VerbatimString  -A C# verbatim string.
    Regex  -A JavaScript regular expression.
    CommentLineDoc  -A JavaDoc/Doxygen style C++ comment line.
    KeywordSet2  -A keyword defined in keyword set number 2. The class must be sub-classed and re-implement keywords() to make use of this style.
    CommentDocKeyword  -A JavaDoc/Doxygen keyword.
    CommentDocKeywordError  -A JavaDoc/Doxygen keyword error.
    GlobalClass  -A global class or typedef defined in keyword set number 4. The class must be sub-classed and re-implement keywords() to make use of this style.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerCPP::QextScintillaLexerCPP (TQObject *  parent = 0,
    const char *  name = 0,
    bool  caseInsensitiveKeywords = FALSE 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerCPP with parent parent and name name. parent is typically the QextScintilla instance. caseInsensitiveKeywords is TRUE if the lexer ignores the case of keywords. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerCPP::~QextScintillaLexerCPP (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerCPP instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerCPP::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, QextScintillaLexerIDL, QextScintillaLexerJava, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerCPP::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerCPP::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, QextScintillaLexerIDL, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerCPP::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerCPP::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerCPP::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, QextScintillaLexerIDL, QextScintillaLexerJava, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerCPP::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, QextScintillaLexerIDL, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerCPP::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -Reimplemented in QextScintillaLexerCSharp, and QextScintillaLexerJavaScript. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerCPP::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCPP::foldAtElse (  )  const
    -
    -
    - -

    -Returns TRUE if "} else {" lines can be folded.

    -

    See also:
    setFoldAtElse()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCPP::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCPP::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCPP::foldPreprocessor (  )  const
    -
    -
    - -

    -Returns TRUE if preprocessor blocks can be folded.

    -

    See also:
    setFoldPreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCPP::stylePreprocessor (  )  const
    -
    -
    - -

    -Returns TRUE if preprocessor lines (after the preprocessor directive) are styled.

    -

    See also:
    setStylePreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCPP::setFoldAtElse (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then "} else {" lines can be folded. The default is FALSE.

    -

    See also:
    foldAtElse()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCPP::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCPP::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCPP::setFoldPreprocessor (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then preprocessor blocks can be folded. The default is TRUE.

    -

    See also:
    foldPreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCPP::setStylePreprocessor (bool  style  )  [virtual, slot]
    -
    -
    - -

    -If style is TRUE then preprocessor lines (after the preprocessor directive) are styled. The default is FALSE.

    -

    See also:
    stylePreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerCPP::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    -

    See also:
    writeProperties()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerCPP::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    -

    See also:
    readProperties()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCSS-members.html b/doc/en/classQextScintillaLexerCSS-members.html deleted file mode 100644 index db8ba96..0000000 --- a/doc/en/classQextScintillaLexerCSS-members.html +++ /dev/null @@ -1,89 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerCSS Member List

    This is the complete list of members for QextScintillaLexerCSS, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    AtRule enum valueQextScintillaLexerCSS
    Attribute enum valueQextScintillaLexerCSS
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCSS)QextScintillaLexerCSS [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCSS)QextScintillaLexerCSS [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    ClassSelector enum valueQextScintillaLexerCSS
    color(int style) const QextScintillaLexerCSS [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCSS
    CSS1Property enum valueQextScintillaLexerCSS
    CSS2Property enum valueQextScintillaLexerCSS
    Default enum valueQextScintillaLexerCSS
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerCSS [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCSS
    eolFill(int style) const QextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldComments() const QextScintillaLexerCSS
    foldCompact() const QextScintillaLexerCSS
    font(int style) const QextScintillaLexerCSS [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    IDSelector enum valueQextScintillaLexerCSS
    Important enum valueQextScintillaLexerCSS
    keywords(int set) const QextScintillaLexerCSS [virtual]
    language() const QextScintillaLexerCSS [virtual]
    lexer() const QextScintillaLexerCSS [virtual]
    Operator enum valueQextScintillaLexerCSS
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    PseudoClass enum valueQextScintillaLexerCSS
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCSS(TQObject *parent=0, const char *name=0)QextScintillaLexerCSS
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCSS [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCSS [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCSS [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCSS [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCSS
    Tag enum valueQextScintillaLexerCSS
    UnknownProperty enum valueQextScintillaLexerCSS
    UnknownPseudoClass enum valueQextScintillaLexerCSS
    Value enum valueQextScintillaLexerCSS
    wordCharacters() const (defined in QextScintillaLexerCSS)QextScintillaLexerCSS [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCSS [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCSS()QextScintillaLexerCSS [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCSS.html b/doc/en/classQextScintillaLexerCSS.html deleted file mode 100644 index f1b666f..0000000 --- a/doc/en/classQextScintillaLexerCSS.html +++ /dev/null @@ -1,520 +0,0 @@ - - -TQScintilla: QextScintillaLexerCSS Class Reference - - - - - - -

    QextScintillaLexerCSS Class Reference

    The QextScintillaLexerCSS class encapsulates the Scintilla CSS lexer. -More... -

    -#include <qextscintillalexercss.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerCSS class encapsulates the Scintilla CSS lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the CSS lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    Tag  -A tag.
    ClassSelector  -A class selector.
    PseudoClass  -A pseudo-class.
    UnknownPseudoClass  -An pseudo-class.
    Operator  -An operator.
    CSS1Property  -A CSS1 property.
    UnknownProperty  -An unknown property.
    Value  -A value.
    Comment  -A comment.
    IDSelector  -An ID selector.
    Important  -An important value.
    AtRule  -An @-rule.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    CSS2Property  -A CSS2 property.
    Attribute  -An attribute.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerCSS::QextScintillaLexerCSS (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerCSS with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerCSS::~QextScintillaLexerCSS (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerCSS instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerCSS::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerCSS::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerCSS::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerCSS::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerCSS::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerCSS::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerCSS::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCSS::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerCSS::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCSS::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerCSS::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerCSS::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerCSS::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCSharp-members.html b/doc/en/classQextScintillaLexerCSharp-members.html deleted file mode 100644 index 29defd4..0000000 --- a/doc/en/classQextScintillaLexerCSharp-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerCSharp Member List

    This is the complete list of members for QextScintillaLexerCSharp, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerCSharp [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    CommentDocKeywordError enum valueQextScintillaLexerCPP
    CommentLine enum valueQextScintillaLexerCPP
    CommentLineDoc enum valueQextScintillaLexerCPP
    Default enum valueQextScintillaLexerCPP
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerCSharp [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCPP
    eolFill(int style) const QextScintillaLexerCSharp [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldAtElse() const QextScintillaLexerCPP
    foldComments() const QextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCSharp [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    keywords(int set) const QextScintillaLexerCSharp [virtual]
    KeywordSet2 enum valueQextScintillaLexerCPP
    language() const QextScintillaLexerCSharp [virtual]
    lexer() const QextScintillaLexerCPP [virtual]
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCSharp [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerCSharp(TQObject *parent=0, const char *name=0)QextScintillaLexerCSharp
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    UnclosedString enum valueQextScintillaLexerCPP
    UUID enum valueQextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerCSharp()QextScintillaLexerCSharp [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerCSharp.html b/doc/en/classQextScintillaLexerCSharp.html deleted file mode 100644 index ea5e8a3..0000000 --- a/doc/en/classQextScintillaLexerCSharp.html +++ /dev/null @@ -1,261 +0,0 @@ - - -TQScintilla: QextScintillaLexerCSharp Class Reference - - - - - - -

    QextScintillaLexerCSharp Class Reference

    The QextScintillaLexerCSharp class encapsulates the Scintilla C# lexer. -More... -

    -#include <qextscintillalexercsharp.h> -

    -Inherits QextScintillaLexerCPP. -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerCSharp class encapsulates the Scintilla C# lexer. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerCSharp::QextScintillaLexerCSharp (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerCSharp with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerCSharp::~QextScintillaLexerCSharp (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerCSharp instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerCSharp::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerCSharp::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerCSharp::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerCSharp::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerCSharp::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerCSharp::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerCSharp::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerDiff-members.html b/doc/en/classQextScintillaLexerDiff-members.html deleted file mode 100644 index d1a0b65..0000000 --- a/doc/en/classQextScintillaLexerDiff-members.html +++ /dev/null @@ -1,75 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerDiff Member List

    This is the complete list of members for QextScintillaLexerDiff, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerDiff [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Command enum valueQextScintillaLexerDiff
    Comment enum valueQextScintillaLexerDiff
    Default enum valueQextScintillaLexerDiff
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerDiff [virtual]
    eolFill(int style) const QextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    font(int style) const QextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Header enum valueQextScintillaLexerDiff
    keywords(int set) const QextScintillaLexer [virtual]
    language() const QextScintillaLexerDiff [virtual]
    lexer() const QextScintillaLexerDiff [virtual]
    LineAdded enum valueQextScintillaLexerDiff
    LineRemoved enum valueQextScintillaLexerDiff
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Position enum valueQextScintillaLexerDiff
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerDiff(TQObject *parent=0, const char *name=0)QextScintillaLexerDiff
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in QextScintillaLexerDiff)QextScintillaLexerDiff [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerDiff()QextScintillaLexerDiff [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerDiff.html b/doc/en/classQextScintillaLexerDiff.html deleted file mode 100644 index c2c2207..0000000 --- a/doc/en/classQextScintillaLexerDiff.html +++ /dev/null @@ -1,243 +0,0 @@ - - -TQScintilla: QextScintillaLexerDiff Class Reference - - - - - - -

    QextScintillaLexerDiff Class Reference

    The QextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. -More... -

    -#include <qextscintillalexerdiff.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Diff lexer.

    Enumerator:
    - - - - - - - - -
    Default  -The default.
    Comment  -A comment.
    Command  -A command.
    Header  -A header.
    Position  -A position.
    LineRemoved  -A removed line.
    LineAdded  -An added line.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerDiff::QextScintillaLexerDiff (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerDiff with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerDiff::~QextScintillaLexerDiff (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerDiff instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerDiff::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerDiff::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerDiff::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerDiff::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerHTML-members.html b/doc/en/classQextScintillaLexerHTML-members.html deleted file mode 100644 index de1b57c..0000000 --- a/doc/en/classQextScintillaLexerHTML-members.html +++ /dev/null @@ -1,184 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerHTML Member List

    This is the complete list of members for QextScintillaLexerHTML, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ASPAtStart enum valueQextScintillaLexerHTML
    ASPJavaScriptComment enum valueQextScintillaLexerHTML
    ASPJavaScriptCommentDoc enum valueQextScintillaLexerHTML
    ASPJavaScriptCommentLine enum valueQextScintillaLexerHTML
    ASPJavaScriptDefault enum valueQextScintillaLexerHTML
    ASPJavaScriptDoubleQuotedString enum valueQextScintillaLexerHTML
    ASPJavaScriptKeyword enum valueQextScintillaLexerHTML
    ASPJavaScriptNumber enum valueQextScintillaLexerHTML
    ASPJavaScriptRegex enum valueQextScintillaLexerHTML
    ASPJavaScriptSingleQuotedString enum valueQextScintillaLexerHTML
    ASPJavaScriptStart enum valueQextScintillaLexerHTML
    ASPJavaScriptSymbol enum valueQextScintillaLexerHTML
    ASPJavaScriptUnclosedString enum valueQextScintillaLexerHTML
    ASPJavaScriptWord enum valueQextScintillaLexerHTML
    ASPPythonClassName enum valueQextScintillaLexerHTML
    ASPPythonComment enum valueQextScintillaLexerHTML
    ASPPythonDefault enum valueQextScintillaLexerHTML
    ASPPythonDoubleQuotedString enum valueQextScintillaLexerHTML
    ASPPythonFunctionMethodName enum valueQextScintillaLexerHTML
    ASPPythonIdentifier enum valueQextScintillaLexerHTML
    ASPPythonKeyword enum valueQextScintillaLexerHTML
    ASPPythonNumber enum valueQextScintillaLexerHTML
    ASPPythonOperator enum valueQextScintillaLexerHTML
    ASPPythonSingleQuotedString enum valueQextScintillaLexerHTML
    ASPPythonStart enum valueQextScintillaLexerHTML
    ASPPythonTripleDoubleQuotedString enum valueQextScintillaLexerHTML
    ASPPythonTripleSingleQuotedString enum valueQextScintillaLexerHTML
    ASPStart enum valueQextScintillaLexerHTML
    ASPVBScriptComment enum valueQextScintillaLexerHTML
    ASPVBScriptDefault enum valueQextScintillaLexerHTML
    ASPVBScriptIdentifier enum valueQextScintillaLexerHTML
    ASPVBScriptKeyword enum valueQextScintillaLexerHTML
    ASPVBScriptNumber enum valueQextScintillaLexerHTML
    ASPVBScriptStart enum valueQextScintillaLexerHTML
    ASPVBScriptString enum valueQextScintillaLexerHTML
    ASPVBScriptUnclosedString enum valueQextScintillaLexerHTML
    ASPXCComment enum valueQextScintillaLexerHTML
    Attribute enum valueQextScintillaLexerHTML
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    caseSensitiveTags() const QextScintillaLexerHTML
    CDATA enum valueQextScintillaLexerHTML
    color(int style) const QextScintillaLexerHTML [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Default enum valueQextScintillaLexerHTML
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerHTML [virtual]
    Entity enum valueQextScintillaLexerHTML
    eolFill(int style) const QextScintillaLexerHTML [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldCompact() const QextScintillaLexerHTML
    foldPreprocessor() const QextScintillaLexerHTML
    font(int style) const QextScintillaLexerHTML [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    HTMLComment enum valueQextScintillaLexerHTML
    HTMLDoubleQuotedString enum valueQextScintillaLexerHTML
    HTMLNumber enum valueQextScintillaLexerHTML
    HTMLSingleQuotedString enum valueQextScintillaLexerHTML
    HTMLValue enum valueQextScintillaLexerHTML
    JavaScriptComment enum valueQextScintillaLexerHTML
    JavaScriptCommentDoc enum valueQextScintillaLexerHTML
    JavaScriptCommentLine enum valueQextScintillaLexerHTML
    JavaScriptDefault enum valueQextScintillaLexerHTML
    JavaScriptDoubleQuotedString enum valueQextScintillaLexerHTML
    JavaScriptKeyword enum valueQextScintillaLexerHTML
    JavaScriptNumber enum valueQextScintillaLexerHTML
    JavaScriptRegex enum valueQextScintillaLexerHTML
    JavaScriptSingleQuotedString enum valueQextScintillaLexerHTML
    JavaScriptStart enum valueQextScintillaLexerHTML
    JavaScriptSymbol enum valueQextScintillaLexerHTML
    JavaScriptUnclosedString enum valueQextScintillaLexerHTML
    JavaScriptWord enum valueQextScintillaLexerHTML
    keywords(int set) const QextScintillaLexerHTML [virtual]
    language() const QextScintillaLexerHTML [virtual]
    lexer() const QextScintillaLexerHTML [virtual]
    OtherInTag enum valueQextScintillaLexerHTML
    paper(int style) const QextScintillaLexerHTML [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PHPComment enum valueQextScintillaLexerHTML
    PHPCommentLine enum valueQextScintillaLexerHTML
    PHPDefault enum valueQextScintillaLexerHTML
    PHPDoubleQuotedString enum valueQextScintillaLexerHTML
    PHPDoubleQuotedVariable enum valueQextScintillaLexerHTML
    PHPKeyword enum valueQextScintillaLexerHTML
    PHPNumber enum valueQextScintillaLexerHTML
    PHPOperator enum valueQextScintillaLexerHTML
    PHPSingleQuotedString enum valueQextScintillaLexerHTML
    PHPStart enum valueQextScintillaLexerHTML
    PHPVariable enum valueQextScintillaLexerHTML
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    PythonClassName enum valueQextScintillaLexerHTML
    PythonComment enum valueQextScintillaLexerHTML
    PythonDefault enum valueQextScintillaLexerHTML
    PythonDoubleQuotedString enum valueQextScintillaLexerHTML
    PythonFunctionMethodName enum valueQextScintillaLexerHTML
    PythonIdentifier enum valueQextScintillaLexerHTML
    PythonKeyword enum valueQextScintillaLexerHTML
    PythonNumber enum valueQextScintillaLexerHTML
    PythonOperator enum valueQextScintillaLexerHTML
    PythonSingleQuotedString enum valueQextScintillaLexerHTML
    PythonStart enum valueQextScintillaLexerHTML
    PythonTripleDoubleQuotedString enum valueQextScintillaLexerHTML
    PythonTripleSingleQuotedString enum valueQextScintillaLexerHTML
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerHTML(TQObject *parent=0, const char *name=0)QextScintillaLexerHTML
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerHTML [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerHTML [virtual]
    Script enum valueQextScintillaLexerHTML
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setCaseSensitiveTags(bool sens)QextScintillaLexerHTML [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerHTML [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerHTML [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SGMLBlockDefault enum valueQextScintillaLexerHTML
    SGMLCommand enum valueQextScintillaLexerHTML
    SGMLComment enum valueQextScintillaLexerHTML
    SGMLDefault enum valueQextScintillaLexerHTML
    SGMLDoubleQuotedString enum valueQextScintillaLexerHTML
    SGMLEntity enum valueQextScintillaLexerHTML
    SGMLError enum valueQextScintillaLexerHTML
    SGMLParameter enum valueQextScintillaLexerHTML
    SGMLParameterComment enum valueQextScintillaLexerHTML
    SGMLSingleQuotedString enum valueQextScintillaLexerHTML
    SGMLSpecial enum valueQextScintillaLexerHTML
    Tag enum valueQextScintillaLexerHTML
    UnknownAttribute enum valueQextScintillaLexerHTML
    UnknownTag enum valueQextScintillaLexerHTML
    VBScriptComment enum valueQextScintillaLexerHTML
    VBScriptDefault enum valueQextScintillaLexerHTML
    VBScriptIdentifier enum valueQextScintillaLexerHTML
    VBScriptKeyword enum valueQextScintillaLexerHTML
    VBScriptNumber enum valueQextScintillaLexerHTML
    VBScriptStart enum valueQextScintillaLexerHTML
    VBScriptString enum valueQextScintillaLexerHTML
    VBScriptUnclosedString enum valueQextScintillaLexerHTML
    wordCharacters() const (defined in QextScintillaLexerHTML)QextScintillaLexerHTML [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerHTML [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    XMLEnd enum valueQextScintillaLexerHTML
    XMLStart enum valueQextScintillaLexerHTML
    XMLTagEnd enum valueQextScintillaLexerHTML
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerHTML()QextScintillaLexerHTML [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerHTML.html b/doc/en/classQextScintillaLexerHTML.html deleted file mode 100644 index ea613ba..0000000 --- a/doc/en/classQextScintillaLexerHTML.html +++ /dev/null @@ -1,1014 +0,0 @@ - - -TQScintilla: QextScintillaLexerHTML Class Reference - - - - - - -

    QextScintillaLexerHTML Class Reference

    The QextScintillaLexerHTML class encapsulates the Scintilla HTML lexer. -More... -

    -#include <qextscintillalexerhtml.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerHTML class encapsulates the Scintilla HTML lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the HTML lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    Tag  -A tag.
    UnknownTag  -An unknown tag.
    Attribute  -An attribute.
    UnknownAttribute  -An unknown attribute.
    HTMLNumber  -An HTML number.
    HTMLDoubleQuotedString  -An HTML double-quoted string.
    HTMLSingleQuotedString  -An HTML single-quoted string.
    OtherInTag  -Other text within a tag.
    HTMLComment  -An HTML comment.
    Entity  -An entity.
    XMLTagEnd  -The end of an XML style tag.
    XMLStart  -The start of an XML fragment.
    XMLEnd  -The end of an XML fragment.
    Script  -A script tag.
    ASPAtStart  -The start of an ASP fragment with @.
    ASPStart  -The start of an ASP fragment.
    CDATA  -CDATA.
    PHPStart  -The start of a PHP fragment.
    HTMLValue  -An unquoted HTML value.
    ASPXCComment  -An ASP X-Code comment.
    SGMLDefault  -The default for SGML.
    SGMLCommand  -An SGML command.
    SGMLParameter  -The first parameter of an SGML command.
    SGMLDoubleQuotedString  -An SGML double-quoted string.
    SGMLSingleQuotedString  -An SGML single-quoted string.
    SGMLError  -An SGML error.
    SGMLSpecial  -An SGML special entity.
    SGMLEntity  -An SGML entity.
    SGMLComment  -An SGML comment.
    SGMLParameterComment  -A comment with the first parameter of an SGML command.
    SGMLBlockDefault  -The default for an SGML block.
    JavaScriptStart  -The start of a JavaScript fragment.
    JavaScriptDefault  -The default for JavaScript.
    JavaScriptComment  -A JavaScript comment.
    JavaScriptCommentLine  -A JavaScript line comment.
    JavaScriptCommentDoc  -A JavaDoc style JavaScript comment.
    JavaScriptNumber  -A JavaScript number.
    JavaScriptWord  -A JavaScript word.
    JavaScriptKeyword  -A JavaScript keyword.
    JavaScriptDoubleQuotedString  -A JavaScript double-quoted string.
    JavaScriptSingleQuotedString  -A JavaScript single-quoted string.
    JavaScriptSymbol  -A JavaScript symbol.
    JavaScriptUnclosedString  -The end of a JavaScript line where a string is not closed.
    JavaScriptRegex  -A JavaScript regular expression.
    ASPJavaScriptStart  -The start of an ASP JavaScript fragment.
    ASPJavaScriptDefault  -The default for ASP JavaScript.
    ASPJavaScriptComment  -An ASP JavaScript comment.
    ASPJavaScriptCommentLine  -An ASP JavaScript line comment.
    ASPJavaScriptCommentDoc  -An ASP JavaDoc style JavaScript comment.
    ASPJavaScriptNumber  -An ASP JavaScript number.
    ASPJavaScriptWord  -An ASP JavaScript word.
    ASPJavaScriptKeyword  -An ASP JavaScript keyword.
    ASPJavaScriptDoubleQuotedString  -An ASP JavaScript double-quoted string.
    ASPJavaScriptSingleQuotedString  -An ASP JavaScript single-quoted string.
    ASPJavaScriptSymbol  -An ASP JavaScript symbol.
    ASPJavaScriptUnclosedString  -The end of an ASP JavaScript line where a string is not closed.
    ASPJavaScriptRegex  -An ASP JavaScript regular expression.
    VBScriptStart  -The start of a VBScript fragment.
    VBScriptDefault  -The default for VBScript.
    VBScriptComment  -A VBScript comment.
    VBScriptNumber  -A VBScript number.
    VBScriptKeyword  -A VBScript keyword.
    VBScriptString  -A VBScript string.
    VBScriptIdentifier  -A VBScript identifier.
    VBScriptUnclosedString  -The end of a VBScript line where a string is not closed.
    ASPVBScriptStart  -The start of an ASP VBScript fragment.
    ASPVBScriptDefault  -The default for ASP VBScript.
    ASPVBScriptComment  -An ASP VBScript comment.
    ASPVBScriptNumber  -An ASP VBScript number.
    ASPVBScriptKeyword  -An ASP VBScript keyword.
    ASPVBScriptString  -An ASP VBScript string.
    ASPVBScriptIdentifier  -An ASP VBScript identifier.
    ASPVBScriptUnclosedString  -The end of an ASP VBScript line where a string is not closed.
    PythonStart  -The start of a Python fragment.
    PythonDefault  -The default for Python.
    PythonComment  -A Python comment.
    PythonNumber  -A Python number.
    PythonDoubleQuotedString  -A Python double-quoted string.
    PythonSingleQuotedString  -A Python single-quoted string.
    PythonKeyword  -A Python keyword.
    PythonTripleSingleQuotedString  -A Python triple single-quoted string.
    PythonTripleDoubleQuotedString  -A Python triple double-quoted string.
    PythonClassName  -The name of a Python class.
    PythonFunctionMethodName  -The name of a Python function or method.
    PythonOperator  -A Python operator.
    PythonIdentifier  -A Python identifier.
    ASPPythonStart  -The start of an ASP Python fragment.
    ASPPythonDefault  -The default for ASP Python.
    ASPPythonComment  -An ASP Python comment.
    ASPPythonNumber  -An ASP Python number.
    ASPPythonDoubleQuotedString  -An ASP Python double-quoted string.
    ASPPythonSingleQuotedString  -An ASP Python single-quoted string.
    ASPPythonKeyword  -An ASP Python keyword.
    ASPPythonTripleSingleQuotedString  -An ASP Python triple single-quoted string.
    ASPPythonTripleDoubleQuotedString  -An ASP Python triple double-quoted string.
    ASPPythonClassName  -The name of an ASP Python class.
    ASPPythonFunctionMethodName  -The name of an ASP Python function or method.
    ASPPythonOperator  -An ASP Python operator.
    ASPPythonIdentifier  -An ASP Python identifier.
    PHPDefault  -The default for PHP.
    PHPDoubleQuotedString  -A PHP double-quoted string.
    PHPSingleQuotedString  -A PHP single-quoted string.
    PHPKeyword  -A PHP keyword.
    PHPNumber  -A PHP number.
    PHPVariable  -A PHP variable.
    PHPComment  -A PHP comment.
    PHPCommentLine  -A PHP line comment.
    PHPDoubleQuotedVariable  -A PHP double-quoted variable.
    PHPOperator  -A PHP operator.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerHTML::QextScintillaLexerHTML (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerHTML with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerHTML::~QextScintillaLexerHTML (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerHTML instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerHTML::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerHTML::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerHTML::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerHTML::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerHTML::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerHTML::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerHTML::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerHTML::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerHTML::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerHTML::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerHTML::foldPreprocessor (  )  const
    -
    -
    - -

    -Returns TRUE if preprocessor blocks can be folded.

    -

    See also:
    setFoldPreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerHTML::caseSensitiveTags (  )  const
    -
    -
    - -

    -Returns TRUE if tags are case sensitive.

    -

    See also:
    setCaseSensitiveTags()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerHTML::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerHTML::setFoldPreprocessor (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then preprocessor blocks can be folded. The default is FALSE.

    -

    See also:
    foldPreprocessor()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerHTML::setCaseSensitiveTags (bool  sens  )  [virtual, slot]
    -
    -
    - -

    -If sens is TRUE then tags are case sensitive. The default is FALSE.

    -

    See also:
    caseSensitiveTags()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerHTML::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerHTML::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerIDL-members.html b/doc/en/classQextScintillaLexerIDL-members.html deleted file mode 100644 index 26a7d39..0000000 --- a/doc/en/classQextScintillaLexerIDL-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerIDL Member List

    This is the complete list of members for QextScintillaLexerIDL, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerIDL [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    CommentDocKeywordError enum valueQextScintillaLexerCPP
    CommentLine enum valueQextScintillaLexerCPP
    CommentLineDoc enum valueQextScintillaLexerCPP
    Default enum valueQextScintillaLexerCPP
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerIDL [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCPP
    eolFill(int style) const QextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldAtElse() const QextScintillaLexerCPP
    foldComments() const QextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    keywords(int set) const QextScintillaLexerIDL [virtual]
    KeywordSet2 enum valueQextScintillaLexerCPP
    language() const QextScintillaLexerIDL [virtual]
    lexer() const QextScintillaLexerCPP [virtual]
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerIDL(TQObject *parent=0, const char *name=0)QextScintillaLexerIDL
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    UnclosedString enum valueQextScintillaLexerCPP
    UUID enum valueQextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerIDL()QextScintillaLexerIDL [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerIDL.html b/doc/en/classQextScintillaLexerIDL.html deleted file mode 100644 index 9bd3766..0000000 --- a/doc/en/classQextScintillaLexerIDL.html +++ /dev/null @@ -1,186 +0,0 @@ - - -TQScintilla: QextScintillaLexerIDL Class Reference - - - - - - -

    QextScintillaLexerIDL Class Reference

    The QextScintillaLexerIDL class encapsulates the Scintilla IDL lexer. -More... -

    -#include <qextscintillalexeridl.h> -

    -Inherits QextScintillaLexerCPP. -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerIDL class encapsulates the Scintilla IDL lexer. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerIDL::QextScintillaLexerIDL (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerIDL with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerIDL::~QextScintillaLexerIDL (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerIDL instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerIDL::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerIDL::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerIDL::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerIDL::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerJava-members.html b/doc/en/classQextScintillaLexerJava-members.html deleted file mode 100644 index 462f12f..0000000 --- a/doc/en/classQextScintillaLexerJava-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerJava Member List

    This is the complete list of members for QextScintillaLexerJava, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerCPP [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    CommentDocKeywordError enum valueQextScintillaLexerCPP
    CommentLine enum valueQextScintillaLexerCPP
    CommentLineDoc enum valueQextScintillaLexerCPP
    Default enum valueQextScintillaLexerCPP
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerCPP [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCPP
    eolFill(int style) const QextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldAtElse() const QextScintillaLexerCPP
    foldComments() const QextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    keywords(int set) const QextScintillaLexerJava [virtual]
    KeywordSet2 enum valueQextScintillaLexerCPP
    language() const QextScintillaLexerJava [virtual]
    lexer() const QextScintillaLexerCPP [virtual]
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerJava(TQObject *parent=0, const char *name=0)QextScintillaLexerJava
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    UnclosedString enum valueQextScintillaLexerCPP
    UUID enum valueQextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerJava()QextScintillaLexerJava [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerJava.html b/doc/en/classQextScintillaLexerJava.html deleted file mode 100644 index 7be015d..0000000 --- a/doc/en/classQextScintillaLexerJava.html +++ /dev/null @@ -1,138 +0,0 @@ - - -TQScintilla: QextScintillaLexerJava Class Reference - - - - - - -

    QextScintillaLexerJava Class Reference

    The QextScintillaLexerJava class encapsulates the Scintilla Java lexer. -More... -

    -#include <qextscintillalexerjava.h> -

    -Inherits QextScintillaLexerCPP. -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerJava class encapsulates the Scintilla Java lexer. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerJava::QextScintillaLexerJava (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerJava with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerJava::~QextScintillaLexerJava (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerJava instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerJava::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerJava::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerJavaScript-members.html b/doc/en/classQextScintillaLexerJavaScript-members.html deleted file mode 100644 index d4d1e1b..0000000 --- a/doc/en/classQextScintillaLexerJavaScript-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerJavaScript Member List

    This is the complete list of members for QextScintillaLexerJavaScript, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    braceStyle() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    color(int style) const QextScintillaLexerJavaScript [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerCPP
    CommentDoc enum valueQextScintillaLexerCPP
    CommentDocKeyword enum valueQextScintillaLexerCPP
    CommentDocKeywordError enum valueQextScintillaLexerCPP
    CommentLine enum valueQextScintillaLexerCPP
    CommentLineDoc enum valueQextScintillaLexerCPP
    Default enum valueQextScintillaLexerCPP
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerJavaScript [virtual]
    DoubleQuotedString enum valueQextScintillaLexerCPP
    eolFill(int style) const QextScintillaLexerJavaScript [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldAtElse() const QextScintillaLexerCPP
    foldComments() const QextScintillaLexerCPP
    foldCompact() const QextScintillaLexerCPP
    foldPreprocessor() const QextScintillaLexerCPP
    font(int style) const QextScintillaLexerJavaScript [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    GlobalClass enum valueQextScintillaLexerCPP
    Identifier enum valueQextScintillaLexerCPP
    Keyword enum valueQextScintillaLexerCPP
    keywords(int set) const QextScintillaLexerJavaScript [virtual]
    KeywordSet2 enum valueQextScintillaLexerCPP
    language() const QextScintillaLexerJavaScript [virtual]
    lexer() const QextScintillaLexerCPP [virtual]
    Number enum valueQextScintillaLexerCPP
    Operator enum valueQextScintillaLexerCPP
    paper(int style) const QextScintillaLexerJavaScript [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PreProcessor enum valueQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)QextScintillaLexerCPP
    QextScintillaLexerJavaScript(TQObject *parent=0, const char *name=0)QextScintillaLexerJavaScript
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerCPP [virtual]
    Regex enum valueQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)QextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)QextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerCPP
    stylePreprocessor() const QextScintillaLexerCPP
    UnclosedString enum valueQextScintillaLexerCPP
    UUID enum valueQextScintillaLexerCPP
    VerbatimString enum valueQextScintillaLexerCPP
    WhiteSpace enum valueQextScintillaLexerCPP
    wordCharacters() const (defined in QextScintillaLexerCPP)QextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerCPP()QextScintillaLexerCPP [virtual]
    ~QextScintillaLexerJavaScript()QextScintillaLexerJavaScript [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerJavaScript.html b/doc/en/classQextScintillaLexerJavaScript.html deleted file mode 100644 index a1e469e..0000000 --- a/doc/en/classQextScintillaLexerJavaScript.html +++ /dev/null @@ -1,261 +0,0 @@ - - -TQScintilla: QextScintillaLexerJavaScript Class Reference - - - - - - -

    QextScintillaLexerJavaScript Class Reference

    The QextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. -More... -

    -#include <qextscintillalexerjavascript.h> -

    -Inherits QextScintillaLexerCPP. -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerJavaScript::QextScintillaLexerJavaScript (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerJavaScript with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerJavaScript::~QextScintillaLexerJavaScript (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerJavaScript instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerJavaScript::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerJavaScript::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerJavaScript::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerJavaScript::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerJavaScript::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerJavaScript::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerJavaScript::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexerCPP. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerLua-members.html b/doc/en/classQextScintillaLexerLua-members.html deleted file mode 100644 index 2ae1a99..0000000 --- a/doc/en/classQextScintillaLexerLua-members.html +++ /dev/null @@ -1,85 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerLua Member List

    This is the complete list of members for QextScintillaLexerLua, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    BasicFunctions enum valueQextScintillaLexerLua
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerLua)QextScintillaLexerLua [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerLua)QextScintillaLexerLua [virtual]
    Character enum valueQextScintillaLexerLua
    color(int style) const QextScintillaLexerLua [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerLua
    CoroutinesIOSystemFacilities enum valueQextScintillaLexerLua
    Default enum valueQextScintillaLexerLua
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerLua [virtual]
    eolFill(int style) const QextScintillaLexerLua [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldCompact() const QextScintillaLexerLua
    font(int style) const QextScintillaLexerLua [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Identifier enum valueQextScintillaLexerLua
    Keyword enum valueQextScintillaLexerLua
    keywords(int set) const QextScintillaLexerLua [virtual]
    language() const QextScintillaLexerLua [virtual]
    lexer() const QextScintillaLexerLua [virtual]
    LineComment enum valueQextScintillaLexerLua
    LiteralString enum valueQextScintillaLexerLua
    Number enum valueQextScintillaLexerLua
    Operator enum valueQextScintillaLexerLua
    paper(int style) const QextScintillaLexerLua [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Preprocessor enum valueQextScintillaLexerLua
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerLua(TQObject *parent=0, const char *name=0)QextScintillaLexerLua
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerLua [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerLua [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerLua [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    String enum valueQextScintillaLexerLua
    StringTableMathsFunctions enum valueQextScintillaLexerLua
    UnclosedString enum valueQextScintillaLexerLua
    wordCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerLua [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerLua()QextScintillaLexerLua [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerLua.html b/doc/en/classQextScintillaLexerLua.html deleted file mode 100644 index e854bc7..0000000 --- a/doc/en/classQextScintillaLexerLua.html +++ /dev/null @@ -1,514 +0,0 @@ - - -TQScintilla: QextScintillaLexerLua Class Reference - - - - - - -

    QextScintillaLexerLua Class Reference

    The QextScintillaLexerLua class encapsulates the Scintilla Lua lexer. -More... -

    -#include <qextscintillalexerlua.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerLua class encapsulates the Scintilla Lua lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Lua lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - -
    Default  -The default.
    Comment  -A block comment.
    LineComment  -A line comment.
    Number  -A number.
    Keyword  -A keyword.
    String  -A string.
    Character  -A character.
    LiteralString  -A literal string.
    Preprocessor  -Preprocessor.
    Operator  -An operator.
    Identifier  -An identifier.
    UnclosedString  -The end of a line where a string is not closed.
    BasicFunctions  -Basic functions.
    StringTableMathsFunctions  -String, table and maths functions.
    CoroutinesIOSystemFacilities  -Coroutines, I/O and system facilities.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerLua::QextScintillaLexerLua (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerLua with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerLua::~QextScintillaLexerLua (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerLua instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerLua::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerLua::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerLua::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerLua::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerLua::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerLua::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerLua::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerLua::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerLua::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerLua::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerLua::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerLua::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerLua::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerMakefile-members.html b/doc/en/classQextScintillaLexerMakefile-members.html deleted file mode 100644 index e505441..0000000 --- a/doc/en/classQextScintillaLexerMakefile-members.html +++ /dev/null @@ -1,75 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerMakefile Member List

    This is the complete list of members for QextScintillaLexerMakefile, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerMakefile [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerMakefile
    Default enum valueQextScintillaLexerMakefile
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerMakefile [virtual]
    eolFill(int style) const QextScintillaLexerMakefile [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    Error enum valueQextScintillaLexerMakefile
    font(int style) const QextScintillaLexerMakefile [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    keywords(int set) const QextScintillaLexer [virtual]
    language() const QextScintillaLexerMakefile [virtual]
    lexer() const QextScintillaLexerMakefile [virtual]
    Operator enum valueQextScintillaLexerMakefile
    paper(int style) const QextScintillaLexerMakefile [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Preprocessor enum valueQextScintillaLexerMakefile
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerMakefile(TQObject *parent=0, const char *name=0)QextScintillaLexerMakefile
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    Target enum valueQextScintillaLexerMakefile
    Variable enum valueQextScintillaLexerMakefile
    wordCharacters() const (defined in QextScintillaLexerMakefile)QextScintillaLexerMakefile [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerMakefile()QextScintillaLexerMakefile [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerMakefile.html b/doc/en/classQextScintillaLexerMakefile.html deleted file mode 100644 index e307d8a..0000000 --- a/doc/en/classQextScintillaLexerMakefile.html +++ /dev/null @@ -1,318 +0,0 @@ - - -TQScintilla: QextScintillaLexerMakefile Class Reference - - - - - - -

    QextScintillaLexerMakefile Class Reference

    The QextScintillaLexerMakefile class encapsulates the Scintilla Makefile lexer. -More... -

    -#include <qextscintillalexermakefile.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerMakefile class encapsulates the Scintilla Makefile lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Makefile lexer.

    Enumerator:
    - - - - - - - - -
    Default  -The default.
    Comment  -A comment.
    Preprocessor  -A pre-processor directive.
    Variable  -A variable.
    Operator  -An operator.
    Target  -A target.
    Error  -An error.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerMakefile::QextScintillaLexerMakefile (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerMakefile with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerMakefile::~QextScintillaLexerMakefile (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerMakefile instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerMakefile::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerMakefile::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerMakefile::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerMakefile::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerMakefile::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerMakefile::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerMakefile::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPOV-members.html b/doc/en/classQextScintillaLexerPOV-members.html deleted file mode 100644 index aaecd93..0000000 --- a/doc/en/classQextScintillaLexerPOV-members.html +++ /dev/null @@ -1,91 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerPOV Member List

    This is the complete list of members for QextScintillaLexerPOV, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    BadDirective enum valueQextScintillaLexerPOV
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerPOV)QextScintillaLexerPOV [virtual]
    color(int style) const QextScintillaLexerPOV [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerPOV
    CommentLine enum valueQextScintillaLexerPOV
    Default enum valueQextScintillaLexerPOV
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerPOV [virtual]
    Directive enum valueQextScintillaLexerPOV
    eolFill(int style) const QextScintillaLexerPOV [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldComments() const QextScintillaLexerPOV
    foldCompact() const QextScintillaLexerPOV
    foldDirectives() const QextScintillaLexerPOV
    font(int style) const QextScintillaLexerPOV [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Identifier enum valueQextScintillaLexerPOV
    keywords(int set) const QextScintillaLexerPOV [virtual]
    KeywordSet6 enum valueQextScintillaLexerPOV
    KeywordSet7 enum valueQextScintillaLexerPOV
    KeywordSet8 enum valueQextScintillaLexerPOV
    language() const QextScintillaLexerPOV [virtual]
    lexer() const QextScintillaLexerPOV [virtual]
    Number enum valueQextScintillaLexerPOV
    ObjectsCSGAppearance enum valueQextScintillaLexerPOV
    Operator enum valueQextScintillaLexerPOV
    paper(int style) const QextScintillaLexerPOV [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PredefinedFunctions enum valueQextScintillaLexerPOV
    PredefinedIdentifiers enum valueQextScintillaLexerPOV
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerPOV(TQObject *parent=0, const char *name=0)QextScintillaLexerPOV
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerPOV [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerPOV [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerPOV [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerPOV [virtual, slot]
    setFoldDirectives(bool fold)QextScintillaLexerPOV [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    String enum valueQextScintillaLexerPOV
    TypesModifiersItems enum valueQextScintillaLexerPOV
    UnclosedString enum valueQextScintillaLexerPOV
    wordCharacters() const (defined in QextScintillaLexerPOV)QextScintillaLexerPOV [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerPOV [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerPOV()QextScintillaLexerPOV [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPOV.html b/doc/en/classQextScintillaLexerPOV.html deleted file mode 100644 index 96572db..0000000 --- a/doc/en/classQextScintillaLexerPOV.html +++ /dev/null @@ -1,613 +0,0 @@ - - -TQScintilla: QextScintillaLexerPOV Class Reference - - - - - - -

    QextScintillaLexerPOV Class Reference

    The QextScintillaLexerPOV class encapsulates the Scintilla POV lexer. -More... -

    -#include <qextscintillalexerpov.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerPOV class encapsulates the Scintilla POV lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the POV lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    Comment  -A comment.
    CommentLine  -A comment line.
    Number  -A number.
    Operator  -An operator.
    Identifier  -An identifier.
    String  -A string.
    UnclosedString  -The end of a line where a string is not closed.
    Directive  -A directive.
    BadDirective  -A bad directive.
    ObjectsCSGAppearance  -Objects, CSG and appearance.
    TypesModifiersItems  -Types, modifiers and items.
    PredefinedIdentifiers  -Predefined identifiers.
    PredefinedFunctions  -Predefined identifiers.
    KeywordSet6  -A keyword defined in keyword set number 6. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet7  -A keyword defined in keyword set number 7. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet8  -A keyword defined in keyword set number 8. The class must be sub-classed and re-implement keywords() to make use of this style.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerPOV::QextScintillaLexerPOV (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerPOV with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerPOV::~QextScintillaLexerPOV (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerPOV instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerPOV::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerPOV::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPOV::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerPOV::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerPOV::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerPOV::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerPOV::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPOV::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerPOV::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPOV::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPOV::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPOV::foldDirectives (  )  const
    -
    -
    - -

    -Returns TRUE if directives can be folded.

    -

    See also:
    setFoldDirectives()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPOV::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPOV::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPOV::setFoldDirectives (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then directives can be folded. The default is FALSE.

    -

    See also:
    foldDirectives()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPOV::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPOV::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPerl-members.html b/doc/en/classQextScintillaLexerPerl-members.html deleted file mode 100644 index d780171..0000000 --- a/doc/en/classQextScintillaLexerPerl-members.html +++ /dev/null @@ -1,101 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerPerl Member List

    This is the complete list of members for QextScintillaLexerPerl, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Array enum valueQextScintillaLexerPerl
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    BacktickHereDocument enum valueQextScintillaLexerPerl
    Backticks enum valueQextScintillaLexerPerl
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerPerl)QextScintillaLexerPerl [virtual]
    color(int style) const QextScintillaLexerPerl [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerPerl
    DataSection enum valueQextScintillaLexerPerl
    Default enum valueQextScintillaLexerPerl
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerPerl [virtual]
    DoubleQuotedHereDocument enum valueQextScintillaLexerPerl
    DoubleQuotedString enum valueQextScintillaLexerPerl
    eolFill(int style) const QextScintillaLexerPerl [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    Error enum valueQextScintillaLexerPerl
    foldComments() const QextScintillaLexerPerl
    foldCompact() const QextScintillaLexerPerl
    font(int style) const QextScintillaLexerPerl [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Hash enum valueQextScintillaLexerPerl
    HereDocumentDelimiter enum valueQextScintillaLexerPerl
    Identifier enum valueQextScintillaLexerPerl
    Keyword enum valueQextScintillaLexerPerl
    keywords(int set) const QextScintillaLexerPerl [virtual]
    language() const QextScintillaLexerPerl [virtual]
    lexer() const QextScintillaLexerPerl [virtual]
    Number enum valueQextScintillaLexerPerl
    Operator enum valueQextScintillaLexerPerl
    paper(int style) const QextScintillaLexerPerl [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    POD enum valueQextScintillaLexerPerl
    PODVerbatim enum valueQextScintillaLexerPerl
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerPerl(TQObject *parent=0, const char *name=0)QextScintillaLexerPerl
    QuotedStringQ enum valueQextScintillaLexerPerl
    QuotedStringQQ enum valueQextScintillaLexerPerl
    QuotedStringQR enum valueQextScintillaLexerPerl
    QuotedStringQW enum valueQextScintillaLexerPerl
    QuotedStringQX enum valueQextScintillaLexerPerl
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerPerl [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerPerl [virtual]
    Regex enum valueQextScintillaLexerPerl
    Scalar enum valueQextScintillaLexerPerl
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerPerl [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerPerl [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedHereDocument enum valueQextScintillaLexerPerl
    SingleQuotedString enum valueQextScintillaLexerPerl
    Substitution enum valueQextScintillaLexerPerl
    SymbolTable enum valueQextScintillaLexerPerl
    WhiteSpace enum valueQextScintillaLexerPerl
    wordCharacters() const (defined in QextScintillaLexerPerl)QextScintillaLexerPerl [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerPerl [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerPerl()QextScintillaLexerPerl [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPerl.html b/doc/en/classQextScintillaLexerPerl.html deleted file mode 100644 index 45e9dc5..0000000 --- a/doc/en/classQextScintillaLexerPerl.html +++ /dev/null @@ -1,621 +0,0 @@ - - -TQScintilla: QextScintillaLexerPerl Class Reference - - - - - - -

    QextScintillaLexerPerl Class Reference

    The QextScintillaLexerPerl class encapsulates the Scintilla Perl lexer. -More... -

    -#include <qextscintillalexerperl.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerPerl class encapsulates the Scintilla Perl lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Perl lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    WhiteSpace  -
    Deprecated:
    White space.
    -
    Error  -An error.
    Comment  -A comment.
    POD  -A POD.
    Number  -A number.
    Keyword  -A keyword.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    Operator  -An operator.
    Identifier  -An identifier.
    Scalar  -A scalar.
    Array  -An array.
    Hash  -A hash.
    SymbolTable  -A symbol table.
    Regex  -A regular expression.
    Substitution  -A substitution.
    Backticks  -Backticks.
    DataSection  -A data section.
    HereDocumentDelimiter  -A here document delimiter.
    SingleQuotedHereDocument  -A single quoted here document.
    DoubleQuotedHereDocument  -A double quoted here document.
    BacktickHereDocument  -A backtick here document.
    QuotedStringQ  -A quoted string (q).
    QuotedStringQQ  -A quoted string (qq).
    QuotedStringQX  -A quoted string (qx).
    QuotedStringQR  -A quoted string (qr).
    QuotedStringQW  -A quoted string (qw).
    PODVerbatim  -A verbatim POD.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerPerl::QextScintillaLexerPerl (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerPerl with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerPerl::~QextScintillaLexerPerl (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerPerl instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerPerl::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerPerl::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPerl::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerPerl::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerPerl::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerPerl::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerPerl::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPerl::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerPerl::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPerl::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPerl::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPerl::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPerl::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPerl::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPerl::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerProperties-members.html b/doc/en/classQextScintillaLexerProperties-members.html deleted file mode 100644 index dd0aaac..0000000 --- a/doc/en/classQextScintillaLexerProperties-members.html +++ /dev/null @@ -1,75 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerProperties Member List

    This is the complete list of members for QextScintillaLexerProperties, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Assignment enum valueQextScintillaLexerProperties
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerProperties [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerProperties
    Default enum valueQextScintillaLexerProperties
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    DefaultValue enum valueQextScintillaLexerProperties
    description(int style) const QextScintillaLexerProperties [virtual]
    eolFill(int style) const QextScintillaLexerProperties [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldCompact() const QextScintillaLexerProperties
    font(int style) const QextScintillaLexerProperties [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    keywords(int set) const QextScintillaLexer [virtual]
    language() const QextScintillaLexerProperties [virtual]
    lexer() const QextScintillaLexerProperties [virtual]
    paper(int style) const QextScintillaLexerProperties [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerProperties(TQObject *parent=0, const char *name=0)QextScintillaLexerProperties
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerProperties [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerProperties [virtual]
    Section enum valueQextScintillaLexerProperties
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerProperties [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in QextScintillaLexerProperties)QextScintillaLexerProperties [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerProperties [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerProperties()QextScintillaLexerProperties [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerProperties.html b/doc/en/classQextScintillaLexerProperties.html deleted file mode 100644 index 94f274b..0000000 --- a/doc/en/classQextScintillaLexerProperties.html +++ /dev/null @@ -1,450 +0,0 @@ - - -TQScintilla: QextScintillaLexerProperties Class Reference - - - - - - -

    QextScintillaLexerProperties Class Reference

    The QextScintillaLexerProperties class encapsulates the Scintilla Properties lexer. -More... -

    -#include <qextscintillalexerproperties.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerProperties class encapsulates the Scintilla Properties lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Properties lexer.

    Enumerator:
    - - - - - - -
    Default  -The default.
    Comment  -A comment.
    Section  -A section.
    Assignment  -An assignment operator.
    DefaultValue  -A default value.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerProperties::QextScintillaLexerProperties (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerProperties with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerProperties::~QextScintillaLexerProperties (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerProperties instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerProperties::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerProperties::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerProperties::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerProperties::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerProperties::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerProperties::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerProperties::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerProperties::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerProperties::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerProperties::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerProperties::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    -

    See also:
    writeProperties()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerProperties::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    -

    See also:
    readProperties()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPython-members.html b/doc/en/classQextScintillaLexerPython-members.html deleted file mode 100644 index 6cf9f56..0000000 --- a/doc/en/classQextScintillaLexerPython-members.html +++ /dev/null @@ -1,97 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerPython Member List

    This is the complete list of members for QextScintillaLexerPython, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexerPython)QextScintillaLexerPython [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexerPython)QextScintillaLexerPython [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerPython)QextScintillaLexerPython [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerPython)QextScintillaLexerPython [virtual]
    ClassName enum valueQextScintillaLexerPython
    color(int style) const QextScintillaLexerPython [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerPython
    CommentBlock enum valueQextScintillaLexerPython
    Decorator enum valueQextScintillaLexerPython
    Default enum valueQextScintillaLexerPython
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerPython [virtual]
    DoubleQuotedString enum valueQextScintillaLexerPython
    eolFill(int style) const QextScintillaLexerPython [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldComments() const QextScintillaLexerPython
    foldQuotes() const QextScintillaLexerPython
    font(int style) const QextScintillaLexerPython [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    FunctionMethodName enum valueQextScintillaLexerPython
    HighlightedIdentifier enum valueQextScintillaLexerPython
    Identifier enum valueQextScintillaLexerPython
    Inconsistent enum valueQextScintillaLexerPython
    indentationWarning() const QextScintillaLexerPython
    IndentationWarning enum nameQextScintillaLexerPython
    Keyword enum valueQextScintillaLexerPython
    keywords(int set) const QextScintillaLexerPython [virtual]
    language() const QextScintillaLexerPython [virtual]
    lexer() const QextScintillaLexerPython [virtual]
    NoWarning enum valueQextScintillaLexerPython
    Number enum valueQextScintillaLexerPython
    Operator enum valueQextScintillaLexerPython
    paper(int style) const QextScintillaLexerPython [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerPython(TQObject *parent=0, const char *name=0)QextScintillaLexerPython
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerPython [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerPython [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerPython [virtual, slot]
    setFoldQuotes(bool fold)QextScintillaLexerPython [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setIndentationWarning(IndentationWarning warn)QextScintillaLexerPython [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerPython
    Spaces enum valueQextScintillaLexerPython
    Tabs enum valueQextScintillaLexerPython
    TabsAfterSpaces enum valueQextScintillaLexerPython
    TripleDoubleQuotedString enum valueQextScintillaLexerPython
    TripleSingleQuotedString enum valueQextScintillaLexerPython
    UnclosedString enum valueQextScintillaLexerPython
    WhiteSpace enum valueQextScintillaLexerPython
    wordCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerPython [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerPython()QextScintillaLexerPython [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerPython.html b/doc/en/classQextScintillaLexerPython.html deleted file mode 100644 index 15430a0..0000000 --- a/doc/en/classQextScintillaLexerPython.html +++ /dev/null @@ -1,661 +0,0 @@ - - -TQScintilla: QextScintillaLexerPython Class Reference - - - - - - -

    QextScintillaLexerPython Class Reference

    The QextScintillaLexerPython class encapsulates the Scintilla Python lexer. -More... -

    -#include <qextscintillalexerpython.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerPython class encapsulates the Scintilla Python lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Python lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    WhiteSpace  -
    Deprecated:
    White space.
    -
    Comment  -A comment.
    Number  -A number.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    Keyword  -A keyword.
    TripleSingleQuotedString  -A triple single-quoted string.
    TripleDoubleQuotedString  -A triple double-quoted string.
    ClassName  -The name of a class.
    FunctionMethodName  -The name of a function or method.
    Operator  -An operator.
    Identifier  -An identifier.
    CommentBlock  -A comment block.
    UnclosedString  -The end of a line where a string is not closed.
    HighlightedIdentifier  -A highlighted identifier. These are defined by keyword set 2. Reimplement keywords() to define keyword set 2.
    Decorator  -A decorator.
    -
    - -
    -

    - -

    - -
    - -

    -This enum defines the different conditions that can cause indentations to be displayed as being bad.

    Enumerator:
    - - - - - - -
    NoWarning  -Bad indentation is not displayed differently.
    Inconsistent  -The indentation is inconsistent when compared to the previous line, ie. it is made up of a different combination of tabs and/or spaces.
    TabsAfterSpaces  -The indentation is made up of spaces followed by tabs.
    Spaces  -The indentation contains spaces.
    Tabs  -The indentation contains tabs.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerPython::QextScintillaLexerPython (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerPython with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerPython::~QextScintillaLexerPython (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerPython instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerPython::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerPython::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPython::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerPython::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerPython::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerPython::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerPython::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerPython::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerPython::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPython::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if indented comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerPython::foldQuotes (  )  const
    -
    -
    - -

    -Returns TRUE if triple quoted strings can be folded.

    -

    See also:
    setFoldQuotes()
    - -
    -

    - -

    -
    - - - - - - - - -
    IndentationWarning QextScintillaLexerPython::indentationWarning (  )  const
    -
    -
    - -

    -Returns the condition that will cause bad indentations to be displayed.

    -

    See also:
    setIndentationWarning()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPython::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then indented comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPython::setFoldQuotes (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then triple quoted strings can be folded. The default is FALSE.

    -

    See also:
    foldQuotes()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerPython::setIndentationWarning (IndentationWarning  warn  )  [virtual, slot]
    -
    -
    - -

    -Sets the condition that will cause bad indentations to be displayed.

    -

    See also:
    indentationWarning()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPython::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerPython::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerRuby-members.html b/doc/en/classQextScintillaLexerRuby-members.html deleted file mode 100644 index f4516c8..0000000 --- a/doc/en/classQextScintillaLexerRuby-members.html +++ /dev/null @@ -1,99 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerRuby Member List

    This is the complete list of members for QextScintillaLexerRuby, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    Backticks enum valueQextScintillaLexerRuby
    blockEnd(int *style=0) const (defined in QextScintillaLexerRuby)QextScintillaLexerRuby [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexerRuby)QextScintillaLexerRuby [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexerRuby)QextScintillaLexerRuby [virtual]
    braceStyle() const (defined in QextScintillaLexerRuby)QextScintillaLexerRuby [virtual]
    ClassName enum valueQextScintillaLexerRuby
    ClassVariable enum valueQextScintillaLexerRuby
    color(int style) const QextScintillaLexerRuby [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerRuby
    DataSection enum valueQextScintillaLexerRuby
    Default enum valueQextScintillaLexerRuby
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    DemotedKeyword enum valueQextScintillaLexerRuby
    description(int style) const QextScintillaLexerRuby [virtual]
    DoubleQuotedString enum valueQextScintillaLexerRuby
    eolFill(int style) const QextScintillaLexerRuby [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    Error enum valueQextScintillaLexerRuby
    font(int style) const QextScintillaLexerRuby [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    FunctionMethodName enum valueQextScintillaLexerRuby
    Global enum valueQextScintillaLexerRuby
    HereDocument enum valueQextScintillaLexerRuby
    HereDocumentDelimiter enum valueQextScintillaLexerRuby
    Identifier enum valueQextScintillaLexerRuby
    InstanceVariable enum valueQextScintillaLexerRuby
    Keyword enum valueQextScintillaLexerRuby
    keywords(int set) const QextScintillaLexerRuby [virtual]
    language() const QextScintillaLexerRuby [virtual]
    lexer() const QextScintillaLexerRuby [virtual]
    ModuleName enum valueQextScintillaLexerRuby
    Number enum valueQextScintillaLexerRuby
    Operator enum valueQextScintillaLexerRuby
    paper(int style) const QextScintillaLexerRuby [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PercentStringq enum valueQextScintillaLexerRuby
    PercentStringQ enum valueQextScintillaLexerRuby
    PercentStringr enum valueQextScintillaLexerRuby
    PercentStringw enum valueQextScintillaLexerRuby
    PercentStringx enum valueQextScintillaLexerRuby
    POD enum valueQextScintillaLexerRuby
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerRuby(TQObject *parent=0, const char *name=0)QextScintillaLexerRuby
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    Regex enum valueQextScintillaLexerRuby
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerRuby
    Stderr enum valueQextScintillaLexerRuby
    Stdin enum valueQextScintillaLexerRuby
    Stdout enum valueQextScintillaLexerRuby
    Symbol enum valueQextScintillaLexerRuby
    wordCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerRuby()QextScintillaLexerRuby [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerRuby.html b/doc/en/classQextScintillaLexerRuby.html deleted file mode 100644 index 2cd7653..0000000 --- a/doc/en/classQextScintillaLexerRuby.html +++ /dev/null @@ -1,451 +0,0 @@ - - -TQScintilla: QextScintillaLexerRuby Class Reference - - - - - - -

    QextScintillaLexerRuby Class Reference

    The QextScintillaLexerRuby class encapsulates the Scintilla Ruby lexer. -More... -

    -#include <qextscintillalexerruby.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Member Functions

    -
      -
    • QextScintillaLexerRuby (TQObject *parent=0, const char *name=0) -
    • virtual ~QextScintillaLexerRuby () -
    • const char * language () const -
    • const char * lexer () const -
    • -const char * blockEnd (int *style=0) const -
    • -const char * blockStart (int *style=0) const -
    • -const char * blockStartKeyword (int *style=0) const -
    • -int braceStyle () const -
    • TQColor color (int style) const -
    • bool eolFill (int style) const -
    • TQFont font (int style) const -
    • const char * keywords (int set) const -
    • TQString description (int style) const -
    • TQColor paper (int style) const -
    -

    Detailed Description

    -The QextScintillaLexerRuby class encapsulates the Scintilla Ruby lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the Ruby lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    Error  -An error.
    Comment  -A comment.
    POD  -A POD.
    Number  -A number.
    Keyword  -A keyword.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    ClassName  -The name of a class.
    FunctionMethodName  -The name of a function or method.
    Operator  -An operator.
    Identifier  -An identifier.
    Regex  -A regular expression.
    Global  -A global.
    Symbol  -A symbol.
    ModuleName  -The name of a module.
    InstanceVariable  -An instance variable.
    ClassVariable  -A class variable.
    Backticks  -Backticks.
    DataSection  -A data section.
    HereDocumentDelimiter  -A here document delimiter.
    HereDocument  -A here document.
    PercentStringq  -A q string.
    PercentStringQ  -A Q string.
    PercentStringx  -A x string.
    PercentStringr  -A r string.
    PercentStringw  -A w string.
    DemotedKeyword  -A demoted keyword.
    Stdin  -stdin.
    Stdout  -stdout.
    Stderr  -stderr.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerRuby::QextScintillaLexerRuby (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerRuby with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerRuby::~QextScintillaLexerRuby (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerRuby instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerRuby::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerRuby::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerRuby::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerRuby::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerRuby::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerRuby::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerRuby::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerRuby::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerSQL-members.html b/doc/en/classQextScintillaLexerSQL-members.html deleted file mode 100644 index 72e0380..0000000 --- a/doc/en/classQextScintillaLexerSQL-members.html +++ /dev/null @@ -1,95 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerSQL Member List

    This is the complete list of members for QextScintillaLexerSQL, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    backslashEscapes() const QextScintillaLexerSQL
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexerSQL)QextScintillaLexerSQL [virtual]
    color(int style) const QextScintillaLexerSQL [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Comment enum valueQextScintillaLexerSQL
    CommentDoc enum valueQextScintillaLexerSQL
    CommentDocKeyword enum valueQextScintillaLexerSQL
    CommentDocKeywordError enum valueQextScintillaLexerSQL
    CommentLine enum valueQextScintillaLexerSQL
    CommentLineHash enum valueQextScintillaLexerSQL
    Default enum valueQextScintillaLexerSQL
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerSQL [virtual]
    DoubleQuotedString enum valueQextScintillaLexerSQL
    eolFill(int style) const QextScintillaLexerSQL [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    foldComments() const QextScintillaLexerSQL
    foldCompact() const QextScintillaLexerSQL
    font(int style) const QextScintillaLexerSQL [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Identifier enum valueQextScintillaLexerSQL
    Keyword enum valueQextScintillaLexerSQL
    keywords(int set) const QextScintillaLexerSQL [virtual]
    KeywordSet5 enum valueQextScintillaLexerSQL
    KeywordSet6 enum valueQextScintillaLexerSQL
    KeywordSet7 enum valueQextScintillaLexerSQL
    KeywordSet8 enum valueQextScintillaLexerSQL
    language() const QextScintillaLexerSQL [virtual]
    lexer() const QextScintillaLexerSQL [virtual]
    LineComment enum valueQextScintillaLexerSQL
    Number enum valueQextScintillaLexerSQL
    Operator enum valueQextScintillaLexerSQL
    paper(int style) const QextScintillaLexerSQL [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    PlusComment enum valueQextScintillaLexerSQL
    PlusKeyword enum valueQextScintillaLexerSQL
    PlusPrompt enum valueQextScintillaLexerSQL
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerSQL(TQObject *parent=0, const char *name=0)QextScintillaLexerSQL
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexerSQL [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexerSQL [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setBackslashEscapes(bool enable)QextScintillaLexerSQL [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)QextScintillaLexerSQL [virtual, slot]
    setFoldCompact(bool fold)QextScintillaLexerSQL [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueQextScintillaLexerSQL
    wordCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexerSQL [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerSQL()QextScintillaLexerSQL [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerSQL.html b/doc/en/classQextScintillaLexerSQL.html deleted file mode 100644 index a62cae3..0000000 --- a/doc/en/classQextScintillaLexerSQL.html +++ /dev/null @@ -1,629 +0,0 @@ - - -TQScintilla: QextScintillaLexerSQL Class Reference - - - - - - -

    QextScintillaLexerSQL Class Reference

    The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. -More... -

    -#include <qextscintillalexersql.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Slots

    - -

    Public Member Functions

    - -

    Protected Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the SQL lexer.

    Enumerator:
    - - - - - - - - - - - - - - - - - - - - - - -
    Default  -The default.
    Comment  -A comment.
    CommentLine  -A line comment.
    LineComment  -
    Deprecated:
    A line comment.
    -
    CommentDoc  -A JavaDoc/Doxygen style comment.
    Number  -A number.
    Keyword  -A keyword.
    DoubleQuotedString  -A double-quoted string.
    SingleQuotedString  -A single-quoted string.
    PlusKeyword  -An SQL*Plus keyword.
    PlusPrompt  -An SQL*Plus prompt.
    Operator  -An operator.
    Identifier  -An identifier.
    PlusComment  -An SQL*Plus comment.
    CommentLineHash  -A '#' line comment.
    CommentDocKeyword  -A JavaDoc/Doxygen keyword.
    CommentDocKeywordError  -A JavaDoc/Doxygen keyword error.
    KeywordSet5  -A keyword defined in keyword set number 5. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet6  -A keyword defined in keyword set number 6. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet7  -A keyword defined in keyword set number 7. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet8  -A keyword defined in keyword set number 8. The class must be sub-classed and re-implement keywords() to make use of this style.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerSQL::QextScintillaLexerSQL (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerSQL with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerSQL::~QextScintillaLexerSQL (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerSQL instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerSQL::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerSQL::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerSQL::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaLexerSQL::eolFill (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the end-of-line fill for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQFont QextScintillaLexerSQL::font (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the font for style number style. -

    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerSQL::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerSQL::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerSQL::paper (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the background colour of the text for style number style.

    -

    See also:
    color()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    void QextScintillaLexerSQL::refreshProperties (  )  [virtual]
    -
    -
    - -

    -Causes all properties to be refreshed by emitting the propertyChanged() signal as required. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerSQL::foldComments (  )  const
    -
    -
    - -

    -Returns TRUE if multi-line comment blocks can be folded.

    -

    See also:
    setFoldComments()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerSQL::foldCompact (  )  const
    -
    -
    - -

    -Returns TRUE if trailing blank lines are included in a fold block.

    -

    See also:
    setFoldCompact()
    - -
    -

    - -

    -
    - - - - - - - - -
    bool QextScintillaLexerSQL::backslashEscapes (  )  const
    -
    -
    - -

    -Returns TRUE if backslash escapes are enabled.

    -

    See also:
    setBackslashEscapes()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerSQL::setFoldComments (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    -

    See also:
    foldComments()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerSQL::setFoldCompact (bool  fold  )  [virtual, slot]
    -
    -
    - -

    -If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    -

    See also:
    foldCompact()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaLexerSQL::setBackslashEscapes (bool  enable  )  [virtual, slot]
    -
    -
    - -

    -If enable is TRUE then backslash escapes are enabled. The default is FALSE.

    -

    See also:
    backslashEscapes()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerSQL::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    -
    -
    - -

    -The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - -
    bool QextScintillaLexerSQL::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    -
    -
    - -

    -The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. -

    -Reimplemented from QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerTeX-members.html b/doc/en/classQextScintillaLexerTeX-members.html deleted file mode 100644 index eb58e8f..0000000 --- a/doc/en/classQextScintillaLexerTeX-members.html +++ /dev/null @@ -1,74 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaLexerTeX Member List

    This is the complete list of members for QextScintillaLexerTeX, including all inherited members.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    autoCompletionFillups() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    autoIndentStyle()QextScintillaLexer
    blockEnd(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockLookback() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    braceStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    color(int style) const QextScintillaLexerTeX [virtual]
    colorChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    Command enum valueQextScintillaLexerTeX
    Default enum valueQextScintillaLexerTeX
    defaultColor() const QextScintillaLexer [virtual]
    defaultFont() const QextScintillaLexer [virtual]
    defaultPaper() const QextScintillaLexer [virtual]
    defaultStyle() const (defined in QextScintillaLexer)QextScintillaLexer [virtual]
    description(int style) const QextScintillaLexerTeX [virtual]
    eolFill(int style) const QextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)QextScintillaLexer [signal]
    font(int style) const QextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)QextScintillaLexer [signal]
    Group enum valueQextScintillaLexerTeX
    keywords(int set) const QextScintillaLexerTeX [virtual]
    language() const QextScintillaLexerTeX [virtual]
    lexer() const QextScintillaLexerTeX [virtual]
    paper(int style) const QextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)QextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)QextScintillaLexer [signal]
    QextScintillaLexer(TQObject *parent=0, const char *name=0)QextScintillaLexer
    QextScintillaLexerTeX(TQObject *parent=0, const char *name=0)QextScintillaLexerTeX
    readProperties(TQSettings &qs, const TQString &prefix)QextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")QextScintillaLexer
    refreshProperties()QextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)QextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)QextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)QextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)QextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)QextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)QextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)QextScintillaLexer [virtual, slot]
    Special enum valueQextScintillaLexerTeX
    Symbol enum valueQextScintillaLexerTeX
    Text enum valueQextScintillaLexerTeX
    wordCharacters() const (defined in QextScintillaLexerTeX)QextScintillaLexerTeX [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const QextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const QextScintillaLexer
    ~QextScintillaLexer()QextScintillaLexer [virtual]
    ~QextScintillaLexerTeX()QextScintillaLexerTeX [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaLexerTeX.html b/doc/en/classQextScintillaLexerTeX.html deleted file mode 100644 index 7ccfb85..0000000 --- a/doc/en/classQextScintillaLexerTeX.html +++ /dev/null @@ -1,261 +0,0 @@ - - -TQScintilla: QextScintillaLexerTeX Class Reference - - - - - - -

    QextScintillaLexerTeX Class Reference

    The QextScintillaLexerTeX class encapsulates the Scintilla TeX lexer. -More... -

    -#include <qextscintillalexertex.h> -

    -Inherits QextScintillaLexer. -

    -List of all members.

    Public Types

    - -

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaLexerTeX class encapsulates the Scintilla TeX lexer. -

    -


    Member Enumeration Documentation

    - -
    -
    - - - - -
    anonymous enum
    -
    -
    - -

    -This enum defines the meanings of the different styles used by the TeX lexer.

    Enumerator:
    - - - - - - - -
    Default  -The default.
    Special  -A special.
    Group  -A group.
    Symbol  -A symbol.
    Command  -A command.
    Text  -Text.
    -
    - -
    -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaLexerTeX::QextScintillaLexerTeX (TQObject *  parent = 0,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaLexerTeX with parent parent and name name. parent is typically the QextScintilla instance. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaLexerTeX::~QextScintillaLexerTeX (  )  [virtual]
    -
    -
    - -

    -Destroys the QextScintillaLexerTeX instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    const char* QextScintillaLexerTeX::language (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the language. -

    - -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - -
    const char* QextScintillaLexerTeX::lexer (  )  const [virtual]
    -
    -
    - -

    -Returns the name of the lexer. Some lexers support a number of languages. -

    -Implements QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQColor QextScintillaLexerTeX::color (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the foreground colour of the text for style number style.

    -

    See also:
    paper()
    - -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    const char* QextScintillaLexerTeX::keywords (int  set  )  const [virtual]
    -
    -
    - -

    -Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. -

    -Reimplemented from QextScintillaLexer. -

    -

    - -

    -
    - - - - - - - - - -
    TQString QextScintillaLexerTeX::description (int  style  )  const [virtual]
    -
    -
    - -

    -Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. -

    -Implements QextScintillaLexer. -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaMacro-members.html b/doc/en/classQextScintillaMacro-members.html deleted file mode 100644 index ca93786..0000000 --- a/doc/en/classQextScintillaMacro-members.html +++ /dev/null @@ -1,34 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaMacro Member List

    This is the complete list of members for QextScintillaMacro, including all inherited members.

    - - - - - - - - - -
    clear()QextScintillaMacro
    endRecording()QextScintillaMacro [virtual, slot]
    load(const TQCString &asc)QextScintillaMacro
    play()QextScintillaMacro [virtual, slot]
    QextScintillaMacro(QextScintilla *parent, const char *name=0)QextScintillaMacro
    QextScintillaMacro(const TQCString &asc, QextScintilla *parent, const char *name=0)QextScintillaMacro
    save() const QextScintillaMacro
    startRecording()QextScintillaMacro [virtual, slot]
    ~QextScintillaMacro()QextScintillaMacro [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaMacro.html b/doc/en/classQextScintillaMacro.html deleted file mode 100644 index d0f4db8..0000000 --- a/doc/en/classQextScintillaMacro.html +++ /dev/null @@ -1,267 +0,0 @@ - - -TQScintilla: QextScintillaMacro Class Reference - - - - - - -

    QextScintillaMacro Class Reference

    The QextScintillaMacro class represents a sequence of recordable editor commands. -More... -

    -#include <qextscintillamacro.h> -

    -List of all members.

    Public Slots

    - -

    Public Member Functions

    - -

    Classes

    -
      -
    • struct Macro -
    -

    Detailed Description

    -The QextScintillaMacro class represents a sequence of recordable editor commands. -

    -Methods are provided to convert convert a macro to and from a textual representation so that they can be easily written to and read from permanent storage. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    QextScintillaMacro::QextScintillaMacro (QextScintilla parent,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaMacro with parent parent and name name. -

    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    QextScintillaMacro::QextScintillaMacro (const TQCString &  asc,
    QextScintilla parent,
    const char *  name = 0 
    )
    -
    -
    - -

    -Construct a QextScintillaMacro from the printable ASCII representation asc, with parent parent and name name. -

    -

    - -

    -
    - - - - - - - - -
    virtual QextScintillaMacro::~QextScintillaMacro (  )  [virtual]
    -
    -
    - -

    -Destroy the QextScintillaMacro instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - -
    void QextScintillaMacro::clear (  ) 
    -
    -
    - -

    -Clear the contents of the macro. -

    - -

    -

    - -

    -
    - - - - - - - - - -
    bool QextScintillaMacro::load (const TQCString &  asc  ) 
    -
    -
    - -

    -Load the macro from the printable ASCII representation asc. Returns TRUE if there was no error.

    -

    See also:
    save()
    - -
    -

    - -

    -
    - - - - - - - - -
    TQCString QextScintillaMacro::save (  )  const
    -
    -
    - -

    -Return a printable ASCII representation of the macro. It is guaranteed that only printable ASCII characters are used and that double quote characters will not be used.

    -

    See also:
    load()
    - -
    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintillaMacro::play (  )  [virtual, slot]
    -
    -
    - -

    -Play the macro. -

    - -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintillaMacro::startRecording (  )  [virtual, slot]
    -
    -
    - -

    -Start recording user commands and add them to the macro. -

    - -

    -

    - -

    -
    - - - - - - - - -
    virtual void QextScintillaMacro::endRecording (  )  [virtual, slot]
    -
    -
    - -

    -Stop recording user commands. -

    - -

    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaPrinter-members.html b/doc/en/classQextScintillaPrinter-members.html deleted file mode 100644 index 1542328..0000000 --- a/doc/en/classQextScintillaPrinter-members.html +++ /dev/null @@ -1,33 +0,0 @@ - - -TQScintilla: Member List - - - - - - -

    QextScintillaPrinter Member List

    This is the complete list of members for QextScintillaPrinter, including all inherited members.

    - - - - - - - - -
    formatPage(TQPainter &painter, bool drawing, TQRect &area, int pagenr)QextScintillaPrinter [virtual]
    magnification() const QextScintillaPrinter [inline]
    printRange(QextScintillaBase *qsb, int from=-1, int to=-1)QextScintillaPrinter [virtual]
    QextScintillaPrinter(PrinterMode mode=ScreenResolution)QextScintillaPrinter
    setMagnification(int magnification)QextScintillaPrinter [virtual]
    setWrapMode(QextScintilla::WrapMode wmode)QextScintillaPrinter [virtual]
    wrapMode() const QextScintillaPrinter [inline]
    ~QextScintillaPrinter()QextScintillaPrinter


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classQextScintillaPrinter.html b/doc/en/classQextScintillaPrinter.html deleted file mode 100644 index a53693e..0000000 --- a/doc/en/classQextScintillaPrinter.html +++ /dev/null @@ -1,252 +0,0 @@ - - -TQScintilla: QextScintillaPrinter Class Reference - - - - - - -

    QextScintillaPrinter Class Reference

    The QextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document. -More... -

    -#include <qextscintillaprinter.h> -

    -List of all members.

    Public Member Functions

    - -

    Detailed Description

    -The QextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document. -

    -The class can be further sub-classed to alter to layout of the text, adding headers and footers for example. -

    -


    Constructor & Destructor Documentation

    - -
    -
    - - - - - - - - - -
    QextScintillaPrinter::QextScintillaPrinter (PrinterMode  mode = ScreenResolution  ) 
    -
    -
    - -

    -Constructs a printer paint device with mode mode. -

    - -

    -

    - -

    -
    - - - - - - - - -
    QextScintillaPrinter::~QextScintillaPrinter (  ) 
    -
    -
    - -

    -Destroys the QextScintillaPrinter instance. -

    - -

    -

    -


    Member Function Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    virtual void QextScintillaPrinter::formatPage (TQPainter &  painter,
    bool  drawing,
    TQRect &  area,
    int  pagenr 
    ) [virtual]
    -
    -
    - -

    -Format a page, by adding headers and footers for example, before the document text is drawn on it. painter is the painter to be used to add customised text and graphics. drawing is TRUE if the page is actually being drawn rather than being sized. painter drawing methods must only be called when drawing is TRUE. area is the area of the page that will be used to draw the text. This should be modified if it is necessary to reserve space for any customised text or graphics. By default the area is relative to the printable area of the page. Use TQPrinter::setFullPage() because calling printRange() if you want to try and print over the whole page. pagenr is the number of the page. The first page is numbered 1. -

    -

    - -

    -
    - - - - - - - - -
    int QextScintillaPrinter::magnification (  )  const [inline]
    -
    -
    - -

    -Return the number of points to add to each font when printing.

    -

    See also:
    setMagnification()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaPrinter::setMagnification (int  magnification  )  [virtual]
    -
    -
    - -

    -Sets the number of points to add to each font when printing to magnification.

    -

    See also:
    magnification()
    - -
    -

    - -

    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    virtual int QextScintillaPrinter::printRange (QextScintillaBase qsb,
    int  from = -1,
    int  to = -1 
    ) [virtual]
    -
    -
    - -

    -Print a range of lines from the Scintilla instance qsb. from is the first line to print and a negative value signifies the first line of text. to is the last line to print and a negative value signifies the last line of text. TRUE is returned if there was no error. -

    -

    - -

    -
    - - - - - - - - -
    QextScintilla::WrapMode QextScintillaPrinter::wrapMode (  )  const [inline]
    -
    -
    - -

    -Return the line wrap mode used when printing. The default is QextScintilla::WrapWord.

    -

    See also:
    setWrapMode()
    - -
    -

    - -

    -
    - - - - - - - - - -
    virtual void QextScintillaPrinter::setWrapMode (QextScintilla::WrapMode  wmode  )  [virtual]
    -
    -
    - -

    -Sets the line wrap mode used when printing to wmode.

    -

    See also:
    wrapMode()
    - -
    -

    -


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  - -doxygen 1.4.7
    - - diff --git a/doc/en/classTQextScintilla-members.html b/doc/en/classTQextScintilla-members.html new file mode 100644 index 0000000..a53e9d6 --- /dev/null +++ b/doc/en/classTQextScintilla-members.html @@ -0,0 +1,1014 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintilla Member List

    This is the complete list of members for TQextScintilla, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AcsAll enum valueTQextScintilla
    AcsAPIs enum valueTQextScintilla
    AcsDocument enum valueTQextScintilla
    AiClosing enum valueTQextScintilla
    AiMaintain enum valueTQextScintilla
    AiOpening enum valueTQextScintilla
    append(const TQString &text)TQextScintilla [virtual, slot]
    autoCompleteFromAll()TQextScintilla [virtual, slot]
    autoCompleteFromAPIs()TQextScintilla [virtual, slot]
    autoCompleteFromDocument()TQextScintilla [virtual, slot]
    autoCompletionCaseSensitivity()TQextScintilla
    autoCompletionFillupsEnabled()TQextScintilla
    autoCompletionReplaceWord()TQextScintilla
    autoCompletionShowSingle()TQextScintilla
    AutoCompletionSource enum nameTQextScintilla
    autoCompletionSource() const TQextScintilla [inline]
    autoCompletionThreshold() const TQextScintilla [inline]
    autoIndent() const TQextScintilla [inline]
    Background enum valueTQextScintilla
    backspaceUnindents()TQextScintilla
    beginUndoAction()TQextScintilla
    BottomLeftCorner enum valueTQextScintilla
    BoxedFoldStyle enum valueTQextScintilla
    BoxedMinus enum valueTQextScintilla
    BoxedMinusConnected enum valueTQextScintilla
    BoxedPlus enum valueTQextScintilla
    BoxedPlusConnected enum valueTQextScintilla
    BoxedTreeFoldStyle enum valueTQextScintilla
    BraceMatch enum nameTQextScintilla
    braceMatching() const TQextScintilla [inline]
    callTip()TQextScintilla [virtual, slot]
    callTipsVisible() const TQextScintilla [inline]
    cancelList()TQextScintilla
    CARET_EVEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_JUMPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_SLOP enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_STRICT enum value (defined in TQextScintillaBase)TQextScintillaBase
    Circle enum valueTQextScintilla
    CircledFoldStyle enum valueTQextScintilla
    CircledMinus enum valueTQextScintilla
    CircledMinusConnected enum valueTQextScintilla
    CircledPlus enum valueTQextScintilla
    CircledPlusConnected enum valueTQextScintilla
    CircledTreeFoldStyle enum valueTQextScintilla
    clear()TQextScintilla [virtual, slot]
    clearRegisteredImages()TQextScintilla
    color() const TQextScintilla
    convertEols(EolMode mode)TQextScintilla
    copy()TQextScintilla [virtual, slot]
    copyAvailable(bool yes)TQextScintilla [signal]
    cursorPositionChanged(int line, int pos)TQextScintilla [signal]
    cut()TQextScintilla [virtual, slot]
    document()TQextScintilla [inline]
    DownTriangle enum valueTQextScintilla
    EDGE_BACKGROUND enum value (defined in TQextScintillaBase)TQextScintillaBase
    EDGE_LINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    EDGE_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    EdgeBackground enum valueTQextScintilla
    edgeColor()TQextScintilla
    edgeColumn()TQextScintilla
    EdgeLine enum valueTQextScintilla
    EdgeMode enum nameTQextScintilla
    edgeMode()TQextScintilla
    EdgeNone enum valueTQextScintilla
    endUndoAction()TQextScintilla
    ensureCursorVisible()TQextScintilla [virtual, slot]
    ensureLineVisible(int line)TQextScintilla [virtual, slot]
    EolMac enum valueTQextScintilla
    EolMode enum nameTQextScintilla
    eolMode()TQextScintilla
    EolUnix enum valueTQextScintilla
    eolVisibility()TQextScintilla
    EolWindows enum valueTQextScintilla
    eventFilter(TQObject *o, TQEvent *e)TQextScintillaBase [protected]
    findFirst(const TQString &expr, bool re, bool cs, bool wo, bool wrap, bool forward=TRUE, int line=-1, int index=-1, bool show=TRUE)TQextScintilla [virtual]
    findNext()TQextScintilla [virtual]
    firstVisibleLine()TQextScintilla
    focusInEvent(TQFocusEvent *)TQextScintillaBase [protected, virtual]
    focusNextPrevChild(bool)TQextScintillaBase [protected, virtual]
    focusOutEvent(TQFocusEvent *)TQextScintillaBase [protected, virtual]
    foldAll(bool children=FALSE)TQextScintilla [virtual, slot]
    folding() const TQextScintilla [inline]
    foldLine(int line)TQextScintilla [virtual, slot]
    FoldStyle enum nameTQextScintilla
    getCursorPosition(int *line, int *index)TQextScintilla
    getSelection(int *lineFrom, int *indexFrom, int *lineTo, int *indexTo)TQextScintilla
    hasSelectedText() const TQextScintilla [inline]
    indent(int line)TQextScintilla [virtual, slot]
    indentation(int line)TQextScintilla
    indentationGuides()TQextScintilla
    indentationsUseTabs()TQextScintilla
    indentationWidth()TQextScintilla
    INDIC0_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC1_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC2_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_BOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_DIAGONAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_HIDDEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_MAX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_PLAIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_ROUNDBOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_SQUIGGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_STRIKE enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_TT enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDICS_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    insert(const TQString &text)TQextScintilla [virtual, slot]
    insertAt(const TQString &text, int line, int index)TQextScintilla [virtual, slot]
    Invisible enum valueTQextScintilla
    isCallTipActive()TQextScintilla
    isListActive()TQextScintilla
    isModified()TQextScintilla
    isReadOnly()TQextScintilla
    isRedoAvailable()TQextScintilla
    isUndoAvailable()TQextScintilla
    isUtf8()TQextScintilla
    keyPressEvent(TQKeyEvent *ke)TQextScintillaBase [protected, virtual]
    LeftSideRoundedSplitter enum valueTQextScintilla
    LeftSideSplitter enum valueTQextScintilla
    length()TQextScintilla
    lexer() const TQextScintilla
    lineAt(const TQPoint &pos)TQextScintilla
    lineLength(int line)TQextScintilla
    lines()TQextScintilla
    marginClicked(int margin, int line, TQt::ButtonState state)TQextScintilla [signal]
    marginLineNumbers(int margin)TQextScintilla
    marginMarkerMask(int margin)TQextScintilla
    marginSensitivity(int margin)TQextScintilla
    marginWidth(int margin)TQextScintilla
    markerAdd(int linenr, int mnr)TQextScintilla
    markerDefine(MarkerSymbol sym, int mnr=-1)TQextScintilla
    markerDefine(char ch, int mnr=-1)TQextScintilla
    markerDefine(const TQPixmap *pm, int mnr=-1)TQextScintilla
    markerDelete(int linenr, int mnr=-1)TQextScintilla
    markerDeleteAll(int mnr=-1)TQextScintilla
    markerDeleteHandle(int mhandle)TQextScintilla
    markerFindNext(int linenr, unsigned mask)TQextScintilla
    markerFindPrevious(int linenr, unsigned mask)TQextScintilla
    markerLine(int mhandle)TQextScintilla
    markersAtLine(int linenr)TQextScintilla
    MarkerSymbol enum nameTQextScintilla
    Minus enum valueTQextScintilla
    modificationAttempted()TQextScintilla [signal]
    modificationChanged(bool m)TQextScintilla [signal]
    moveToMatchingBrace()TQextScintilla [virtual, slot]
    NoBraceMatch enum valueTQextScintilla
    NoFoldStyle enum valueTQextScintilla
    paper() const TQextScintilla
    paste()TQextScintilla [virtual, slot]
    PlainFoldStyle enum valueTQextScintilla
    Plus enum valueTQextScintilla
    pool()TQextScintillaBase [static]
    TQextScintilla(TQWidget *parent=0, const char *name=0, WFlags f=0)TQextScintilla
    TQextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)TQextScintillaBase
    TQSCN_SELCHANGED(bool yes)TQextScintillaBase [signal]
    recolor(int start=0, int end=-1)TQextScintilla [virtual]
    Rectangle enum valueTQextScintilla
    redo()TQextScintilla [virtual, slot]
    registerImage(int id, const TQPixmap *pm)TQextScintilla
    removeSelectedText()TQextScintilla [virtual, slot]
    replace(const TQString &replaceStr)TQextScintilla [virtual]
    resetFoldMarginColors()TQextScintilla
    resetSelectionBackgroundColor()TQextScintilla [virtual, slot]
    resetSelectionForegroundColor()TQextScintilla [virtual, slot]
    RightArrow enum valueTQextScintilla
    RightTriangle enum valueTQextScintilla
    RoundedBottomLeftCorner enum valueTQextScintilla
    SC_ALPHA_NOALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_ALPHA_OPAQUE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_ALPHA_TRANSPARENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_CARET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_DOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_PAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_LOWER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_MIXED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_UPPER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_8859_15 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_ANSI enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_ARABIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_BALTIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_CHINESEBIG5 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_EASTEUROPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_GB2312 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_GREEK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_HANGUL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_HEBREW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_JOHAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_MAC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_OEM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_RUSSIAN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_SHIFTJIS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_SYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_THAI enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_TURKISH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_VIETNAMESE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CP_DBCS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CP_UTF8 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CURSORNORMAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CURSORWAIT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_CR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_CRLF enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_LF enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_BOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LEVELNUMBERS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEAFTER_CONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEAFTER_EXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_CONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_EXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBOXFOOTERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBOXHEADERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELCONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELHEADERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELNUMBERMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELUNINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELWHITEFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_LASTSTEPINUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARGIN_BACK enum valueTQextScintillaBase
    SC_MARGIN_FORE enum valueTQextScintillaBase
    SC_MARGIN_NUMBER enum valueTQextScintillaBase
    SC_MARGIN_SYMBOL enum valueTQextScintillaBase
    SC_MARK_ARROW enum valueTQextScintillaBase
    SC_MARK_ARROWDOWN enum valueTQextScintillaBase
    SC_MARK_ARROWS enum valueTQextScintillaBase
    SC_MARK_BACKGROUND enum valueTQextScintillaBase
    SC_MARK_BOXMINUS enum valueTQextScintillaBase
    SC_MARK_BOXMINUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_BOXPLUS enum valueTQextScintillaBase
    SC_MARK_BOXPLUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_CHARACTER enum valueTQextScintillaBase
    SC_MARK_CIRCLE enum valueTQextScintillaBase
    SC_MARK_CIRCLEMINUS enum valueTQextScintillaBase
    SC_MARK_CIRCLEMINUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_CIRCLEPLUS enum valueTQextScintillaBase
    SC_MARK_CIRCLEPLUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_DOTDOTDOT enum valueTQextScintillaBase
    SC_MARK_EMPTY enum valueTQextScintillaBase
    SC_MARK_FULLRECT enum valueTQextScintillaBase
    SC_MARK_LCORNER enum valueTQextScintillaBase
    SC_MARK_LCORNERCURVE enum valueTQextScintillaBase
    SC_MARK_MINUS enum valueTQextScintillaBase
    SC_MARK_PIXMAP enum valueTQextScintillaBase
    SC_MARK_PLUS enum valueTQextScintillaBase
    SC_MARK_ROUNDRECT enum valueTQextScintillaBase
    SC_MARK_SHORTARROW enum valueTQextScintillaBase
    SC_MARK_SMALLRECT enum valueTQextScintillaBase
    SC_MARK_TCORNER enum valueTQextScintillaBase
    SC_MARK_TCORNERCURVE enum valueTQextScintillaBase
    SC_MARK_VLINE enum valueTQextScintillaBase
    SC_MARKNUM_FOLDER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEREND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERMIDTAIL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEROPEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEROPENMID enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERSUB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERTAIL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MASK_FOLDERS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_BEFOREDELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_BEFOREINSERT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGEFOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGEMARKER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGESTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_DELETETEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_INSERTTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MODEVENTMASKALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MULTILINEUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MULTISTEPUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_REDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_UNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_USER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_BLACKONWHITE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_COLOURONWHITE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_COLOURONWHITEDEFAULTBG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_INVERTLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_NORMAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_LINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_RECTANGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_STREAM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_TIME_FOREVER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_CHAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_WORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_END enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_END_BY_TEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_START_BY_TEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCEN_CHANGE()TQextScintillaBase [signal]
    SCFIND_MATCHCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_POSIX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_REGEXP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_WHOLEWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_WORDSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDREFDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDSTYLEDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDTEXT enum valueTQextScintillaBase
    SCI_ALLOCATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_APPENDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ASSIGNCMDKEY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCACTIVE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCCANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCCOMPLETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETAUTOHIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCANCELATSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCHOOSESINGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCURRENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETDROPRESTOFWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETIGNORECASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETMAXHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETMAXWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETSEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETTYPESEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCPOSSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSELECT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETAUTOHIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETCANCELATSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETCHOOSESINGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETDROPRESTOFWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETFILLUPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETIGNORECASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETMAXHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETMAXWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETSEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETTYPESEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSTOPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BACKTAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BEGINUNDOACTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEBADLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEHIGHLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEMATCH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPACTIVE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPCANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPPOSSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETFOREHLT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETHLT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPUSESTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANPASTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANUNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFTRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHTRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHOOSECARETX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARALLCMDKEYS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARCMDKEY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARDOCUMENTSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARREGISTEREDIMAGES enum valueTQextScintillaBase
    SCI_COLOURISE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CONVERTEOLS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPYRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPYTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CREATEDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELETEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELETEBACKNOTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELLINELEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELLINERIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELWORDLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELWORDRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCLINEFROMVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTSTARTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_EDITTOGGLEOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_EMPTYUNDOBUFFER enum valueTQextScintillaBase
    SCI_ENDUNDOACTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ENSUREVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ENSUREVISIBLEENFORCEPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FINDCOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FINDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FORMATRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FORMFEED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETANCHOR enum valueTQextScintillaBase
    SCI_GETBACKSPACEUNINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETBUFFEREDDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEBACKALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETPERIOD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCHARAT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCODEPAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCONTROLCHARSYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCURLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCURRENTPOS enum valueTQextScintillaBase
    SCI_GETCURSOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDIRECTFUNCTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDIRECTPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDOCPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGECOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGECOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGEMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETENDATLASTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETENDSTYLED enum valueTQextScintillaBase
    SCI_GETEOLMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFIRSTVISIBLELINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDLEVEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDPARENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETHIGHLIGHTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETHSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETINDENTATIONGUIDES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLASTCHILD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLAYOUTCACHE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLENGTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLEXER enum valueTQextScintillaBase
    SCI_GETLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINECOUNT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEINDENTATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEINDENTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESELENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESELSTARTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINMASKN enum valueTQextScintillaBase
    SCI_GETMARGINRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINSENSITIVEN enum valueTQextScintillaBase
    SCI_GETMARGINTYPEN enum valueTQextScintillaBase
    SCI_GETMARGINWIDTHN enum valueTQextScintillaBase
    SCI_GETMAXLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMODEVENTMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMODIFY enum valueTQextScintillaBase
    SCI_GETMOUSEDOWNCAPTURES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMOUSEDWELLTIME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPASTECONVERTENDINGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTCOLOURMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTMAGNIFICATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTYEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTYINT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETREADONLY enum valueTQextScintillaBase
    SCI_GETSCROLLWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSEARCHFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTATUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEAT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEBITS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEBITSNEEDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTABINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTABWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTARGETEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTARGETSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTEXT enum valueTQextScintillaBase
    SCI_GETTEXTLENGTH enum valueTQextScintillaBase
    SCI_GETTEXTRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTWOPHASEDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUNDOCOLLECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUSEPALETTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUSETABS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVIEWEOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVIEWWS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPSTARTINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPVISUALFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPVISUALFLAGSLOCATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETXOFFSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETZOOM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GOTOLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GOTOPOS enum valueTQextScintillaBase
    SCI_GRABFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HIDELINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HIDESELECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEDISPLAY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEDISPLAYEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMERECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICGETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICGETSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICSETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICSETSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INSERTTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LEXER_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINECOPY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINECUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWNRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDUPLICATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDDISPLAY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDDISPLAYEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINELENGTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLLDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLLUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESJOIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESONSCREEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESSPLIT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINETRANSPOSE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUPRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LOADLEXERLIBRARY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LOWERCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERADD enum valueTQextScintillaBase
    SCI_MARKERADDSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERDEFINE enum valueTQextScintillaBase
    SCI_MARKERDEFINEPIXMAP enum valueTQextScintillaBase
    SCI_MARKERDELETE enum valueTQextScintillaBase
    SCI_MARKERDELETEALL enum valueTQextScintillaBase
    SCI_MARKERDELETEHANDLE enum valueTQextScintillaBase
    SCI_MARKERGET enum valueTQextScintillaBase
    SCI_MARKERLINEFROMHANDLE enum valueTQextScintillaBase
    SCI_MARKERNEXT enum valueTQextScintillaBase
    SCI_MARKERPREVIOUS enum valueTQextScintillaBase
    SCI_MARKERSETALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERSETBACK enum valueTQextScintillaBase
    SCI_MARKERSETFORE enum valueTQextScintillaBase
    SCI_MOVECARETINSIDEVIEW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_NEWLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_NULL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_OPTIONAL_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWNRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUPRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARADOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARADOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARAUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARAUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PASTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POINTXFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POINTYFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONAFTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONBEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMPOINT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMPOINTCLOSE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REGISTERIMAGE enum valueTQextScintillaBase
    SCI_RELEASEDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACESEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACETARGET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACETARGETRE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SCROLLCARET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHANCHOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHINTARGET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHNEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHPREV enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTIONDUPLICATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTIONISRECTANGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETANCHOR enum valueTQextScintillaBase
    SCI_SETBACKSPACEUNINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETBUFFEREDDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEBACKALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETPERIOD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCHARSDEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCODEPAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCONTROLCHARSYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCURRENTPOS enum valueTQextScintillaBase
    SCI_SETCURSOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETDOCPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGECOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGECOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGEMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETENDATLASTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEOLMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDLEVEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDMARGINCOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDMARGINHICOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHIGHLIGHTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEUNDERLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETINDENTATIONGUIDES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETKEYWORDS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLAYOUTCACHE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLEXER enum valueTQextScintillaBase
    SCI_SETLEXERLANGUAGE enum valueTQextScintillaBase
    SCI_SETLINEINDENTATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINMASKN enum valueTQextScintillaBase
    SCI_SETMARGINRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINSENSITIVEN enum valueTQextScintillaBase
    SCI_SETMARGINTYPEN enum valueTQextScintillaBase
    SCI_SETMARGINWIDTHN enum valueTQextScintillaBase
    SCI_SETMODEVENTMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMOUSEDOWNCAPTURES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMOUSEDWELLTIME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPASTECONVERTENDINGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTCOLOURMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTMAGNIFICATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPROPERTY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETREADONLY enum valueTQextScintillaBase
    SCI_SETSAVEPOINT enum valueTQextScintillaBase
    SCI_SETSCROLLWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSEARCHFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTATUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLEBITS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLING enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLINGEX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTABINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTABWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTARGETEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTARGETSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTEXT enum valueTQextScintillaBase
    SCI_SETTWOPHASEDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUNDOCOLLECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUSEPALETTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUSETABS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVIEWEOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVIEWWS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVISIBLEPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACECHARS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWORDCHARS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPSTARTINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPVISUALFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPVISUALFLAGSLOCATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETXCARETPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETXOFFSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETYCARETPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETZOOM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SHOWLINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STARTRECORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STARTSTYLING enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STOPRECORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLECLEARALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLERESETDEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETBOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCHANGEABLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCHARACTERSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETEOLFILLED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETFONT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETHOTSPOT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETITALIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETSIZE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETUNDERLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TARGETFROMSELECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TEXTHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TEXTWIDTH enum valueTQextScintillaBase
    SCI_TOGGLECARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TOGGLEFOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_UNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_UPPERCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_USEPOPUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_USERLISTSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMERECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VISIBLEFROMDOCLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDSTARTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WRAPCOUNT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ZOOMIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ZOOMOUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_ADD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_BACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DIVIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_END enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_ESCAPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_HOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_INSERT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_LEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_NEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_PRIOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_RETURN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_RIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_SUBTRACT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_TAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_UP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCLEX_ADA enum valueTQextScintillaBase
    SCLEX_APDL enum valueTQextScintillaBase
    SCLEX_ASM enum valueTQextScintillaBase
    SCLEX_ASN1 enum valueTQextScintillaBase
    SCLEX_ASP enum valueTQextScintillaBase
    SCLEX_AU3 enum valueTQextScintillaBase
    SCLEX_AVE enum valueTQextScintillaBase
    SCLEX_BAAN enum valueTQextScintillaBase
    SCLEX_BASH enum valueTQextScintillaBase
    SCLEX_BATCH enum valueTQextScintillaBase
    SCLEX_BLITZBASIC enum valueTQextScintillaBase
    SCLEX_BULLANT enum valueTQextScintillaBase
    SCLEX_CAML enum valueTQextScintillaBase
    SCLEX_CLW enum valueTQextScintillaBase
    SCLEX_CLWNOCASE enum valueTQextScintillaBase
    SCLEX_CONF enum valueTQextScintillaBase
    SCLEX_CONTAINER enum valueTQextScintillaBase
    SCLEX_CPP enum valueTQextScintillaBase
    SCLEX_CPPNOCASE enum valueTQextScintillaBase
    SCLEX_CSOUND enum valueTQextScintillaBase
    SCLEX_CSS enum valueTQextScintillaBase
    SCLEX_DIFF enum valueTQextScintillaBase
    SCLEX_EIFFEL enum valueTQextScintillaBase
    SCLEX_EIFFELKW enum valueTQextScintillaBase
    SCLEX_ERLANG enum valueTQextScintillaBase
    SCLEX_ERRORLIST enum valueTQextScintillaBase
    SCLEX_ESCRIPT enum valueTQextScintillaBase
    SCLEX_F77 enum valueTQextScintillaBase
    SCLEX_FLAGSHIP enum valueTQextScintillaBase
    SCLEX_FORTH enum valueTQextScintillaBase
    SCLEX_FORTRAN enum valueTQextScintillaBase
    SCLEX_FREEBASIC enum valueTQextScintillaBase
    SCLEX_GUI4CLI enum valueTQextScintillaBase
    SCLEX_HASKELL enum valueTQextScintillaBase
    SCLEX_HTML enum valueTQextScintillaBase
    SCLEX_INNOSETUP enum valueTQextScintillaBase
    SCLEX_KIX enum valueTQextScintillaBase
    SCLEX_LATEX enum valueTQextScintillaBase
    SCLEX_LISP enum valueTQextScintillaBase
    SCLEX_LOT enum valueTQextScintillaBase
    SCLEX_LOUT enum valueTQextScintillaBase
    SCLEX_LUA enum valueTQextScintillaBase
    SCLEX_MAKEFILE enum valueTQextScintillaBase
    SCLEX_MATLAB enum valueTQextScintillaBase
    SCLEX_METAPOST enum valueTQextScintillaBase
    SCLEX_MMIXAL enum valueTQextScintillaBase
    SCLEX_MSSQL enum valueTQextScintillaBase
    SCLEX_NNCRONTAB enum valueTQextScintillaBase
    SCLEX_NSIS enum valueTQextScintillaBase
    SCLEX_NULL enum valueTQextScintillaBase
    SCLEX_OCTAVE enum valueTQextScintillaBase
    SCLEX_OPAL enum valueTQextScintillaBase
    SCLEX_PASCAL enum valueTQextScintillaBase
    SCLEX_PERL enum valueTQextScintillaBase
    SCLEX_PHP enum valueTQextScintillaBase
    SCLEX_PHPSCRIPT enum valueTQextScintillaBase
    SCLEX_POV enum valueTQextScintillaBase
    SCLEX_POWERBASIC enum valueTQextScintillaBase
    SCLEX_PROPERTIES enum valueTQextScintillaBase
    SCLEX_PS enum valueTQextScintillaBase
    SCLEX_PUREBASIC enum valueTQextScintillaBase
    SCLEX_PYTHON enum valueTQextScintillaBase
    SCLEX_REBOL enum valueTQextScintillaBase
    SCLEX_RUBY enum valueTQextScintillaBase
    SCLEX_SCRIPTOL enum valueTQextScintillaBase
    SCLEX_SMALLTALK enum valueTQextScintillaBase
    SCLEX_SPECMAN enum valueTQextScintillaBase
    SCLEX_SPICE enum valueTQextScintillaBase
    SCLEX_SQL enum valueTQextScintillaBase
    SCLEX_TADS3 enum valueTQextScintillaBase
    SCLEX_TCL enum valueTQextScintillaBase
    SCLEX_TEX enum valueTQextScintillaBase
    SCLEX_VB enum valueTQextScintillaBase
    SCLEX_VBSCRIPT enum valueTQextScintillaBase
    SCLEX_VERILOG enum valueTQextScintillaBase
    SCLEX_VHDL enum valueTQextScintillaBase
    SCLEX_XML enum valueTQextScintillaBase
    SCLEX_YAML enum valueTQextScintillaBase
    SCMOD_ALT enum valueTQextScintillaBase
    SCMOD_CTRL enum valueTQextScintillaBase
    SCMOD_NORM enum valueTQextScintillaBase
    SCMOD_SHIFT enum valueTQextScintillaBase
    SCN_AUTOCSELECTION(const char *selection, int position)TQextScintillaBase [signal]
    SCN_CALLTIPCLICK(int direction)TQextScintillaBase [signal]
    SCN_CHARADDED(int charadded)TQextScintillaBase [signal]
    SCN_DOUBLECLICK() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_DWELLEND(int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_DWELLSTART(int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_HOTSPOTCLICK(int position, int modifiers)TQextScintillaBase [signal]
    SCN_HOTSPOTDOUBLECLICK(int position, int modifiers)TQextScintillaBase [signal]
    SCN_MACRORECORD(unsigned int, unsigned long, long)TQextScintillaBase [signal]
    SCN_MARGINCLICK(int position, int modifiers, int margin)TQextScintillaBase [signal]
    SCN_MODIFIED(int, int, const char *, int, int, int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_MODIFYATTEMPTRO()TQextScintillaBase [signal]
    SCN_NEEDSHOWN(int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_PAINTED()TQextScintillaBase [signal]
    SCN_SAVEPOINTLEFT()TQextScintillaBase [signal]
    SCN_SAVEPOINTREACHED()TQextScintillaBase [signal]
    SCN_STYLENEEDED(int position)TQextScintillaBase [signal]
    SCN_UPDATEUI() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_USERLISTSELECTION(const char *, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_ZOOM() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCWS_INVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCWS_VISIBLEAFTERINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCWS_VISIBLEALWAYS enum value (defined in TQextScintillaBase)TQextScintillaBase
    selectAll(bool select=TRUE)TQextScintilla [virtual, slot]
    selectedText()TQextScintilla
    selectionChanged()TQextScintilla [signal]
    selectToMatchingBrace()TQextScintilla [virtual, slot]
    SendScintilla(unsigned int msg, unsigned long wParam=0, long lParam=0)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *wParam, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, long wParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, int wParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, const TQColor &col) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    setAutoCompletionAPIs(TQextScintillaAPIs *apis=0)TQextScintilla
    setAutoCompletionCaseSensitivity(bool cs)TQextScintilla [virtual, slot]
    setAutoCompletionFillups(const char *fillups)TQextScintilla
    setAutoCompletionFillupsEnabled(bool enabled)TQextScintilla
    setAutoCompletionReplaceWord(bool replace)TQextScintilla [virtual, slot]
    setAutoCompletionShowSingle(bool single)TQextScintilla [virtual, slot]
    setAutoCompletionSource(AutoCompletionSource source)TQextScintilla [virtual, slot]
    setAutoCompletionStartCharacters(const char *start)TQextScintilla
    setAutoCompletionThreshold(int thresh)TQextScintilla [virtual, slot]
    setAutoIndent(bool autoindent)TQextScintilla [virtual, slot]
    setBackspaceUnindents(bool unindent)TQextScintilla [virtual, slot]
    setBraceMatching(BraceMatch bm)TQextScintilla [virtual, slot]
    setCallTipsAPIs(TQextScintillaAPIs *apis=0)TQextScintilla
    setCallTipsBackgroundColor(const TQColor &col)TQextScintilla
    setCallTipsForegroundColor(const TQColor &col)TQextScintilla
    setCallTipsHighlightColor(const TQColor &col)TQextScintilla
    setCallTipsVisible(int nr)TQextScintilla
    setCaretForegroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setCaretLineBackgroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setCaretLineVisible(bool enable)TQextScintilla [virtual, slot]
    setCaretWidth(int width)TQextScintilla [virtual, slot]
    setColor(const TQColor &c)TQextScintilla [virtual, slot]
    setCursorPosition(int line, int index)TQextScintilla [virtual, slot]
    setDocument(const TQextScintillaDocument &document)TQextScintilla
    setEdgeColor(const TQColor &col)TQextScintilla
    setEdgeColumn(int colnr)TQextScintilla
    setEdgeMode(EdgeMode mode)TQextScintilla
    setEolMode(EolMode mode)TQextScintilla [virtual, slot]
    setEolVisibility(bool visible)TQextScintilla [virtual, slot]
    setFolding(FoldStyle fold)TQextScintilla [virtual, slot]
    setFoldMarginColors(const TQColor &fore, const TQColor &back)TQextScintilla
    setFont(const TQFont &f)TQextScintilla [virtual]
    setIndentation(int line, int indentation)TQextScintilla [virtual, slot]
    setIndentationGuides(bool enable)TQextScintilla [virtual, slot]
    setIndentationGuidesBackgroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setIndentationGuidesForegroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setIndentationsUseTabs(bool tabs)TQextScintilla [virtual, slot]
    setIndentationWidth(int width)TQextScintilla [virtual, slot]
    setLexer(TQextScintillaLexer *lexer=0)TQextScintilla [virtual, slot]
    setMarginLineNumbers(int margin, bool lnrs)TQextScintilla [virtual, slot]
    setMarginMarkerMask(int margin, int mask)TQextScintilla [virtual, slot]
    setMarginsBackgroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setMarginSensitivity(int margin, bool sens)TQextScintilla [virtual, slot]
    setMarginsFont(const TQFont &f)TQextScintilla [virtual, slot]
    setMarginsForegroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setMarginWidth(int margin, int width)TQextScintilla [virtual, slot]
    setMarginWidth(int margin, const TQString &s)TQextScintilla [virtual, slot]
    setMarkerBackgroundColor(const TQColor &col, int mnr=-1)TQextScintilla
    setMarkerForegroundColor(const TQColor &col, int mnr=-1)TQextScintilla
    setMatchedBraceBackgroundColor(const TQColor &col)TQextScintilla
    setMatchedBraceForegroundColor(const TQColor &col)TQextScintilla
    setModified(bool m)TQextScintilla [virtual, slot]
    setPaper(const TQColor &c)TQextScintilla [virtual, slot]
    setReadOnly(bool ro)TQextScintilla [virtual, slot]
    setSelection(int lineFrom, int indexFrom, int lineTo, int indexTo)TQextScintilla [virtual, slot]
    setSelectionBackgroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setSelectionForegroundColor(const TQColor &col)TQextScintilla [virtual, slot]
    setTabIndents(bool indent)TQextScintilla [virtual, slot]
    setTabWidth(int width)TQextScintilla [virtual, slot]
    setText(const TQString &text)TQextScintilla [virtual, slot]
    setUnmatchedBraceBackgroundColor(const TQColor &col)TQextScintilla
    setUnmatchedBraceForegroundColor(const TQColor &col)TQextScintilla
    setUtf8(bool cp)TQextScintilla [virtual, slot]
    setWhitespaceVisibility(WhitespaceVisibility mode)TQextScintilla [virtual, slot]
    setWrapMode(WrapMode mode)TQextScintilla [virtual, slot]
    setWrapVisualFlags(WrapVisualFlag eflag, WrapVisualFlag sflag=WrapFlagNone, int sindent=0)TQextScintilla
    showUserList(int id, const TQStringList &list)TQextScintilla
    sizeHint() const TQextScintillaBase [virtual]
    SloppyBraceMatch enum valueTQextScintilla
    SmallRectangle enum valueTQextScintilla
    standardCommands() const TQextScintilla [inline]
    startDrag()TQextScintillaBase [protected, virtual]
    StrictBraceMatch enum valueTQextScintilla
    STYLE_BRACEBAD enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_BRACELIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_CALLTIP enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_CONTROLCHAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_INDENTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_LASTPREDEFINED enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_LINENUMBER enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_MAX enum value (defined in TQextScintillaBase)TQextScintillaBase
    tabIndents()TQextScintilla
    tabWidth()TQextScintilla
    text()TQextScintilla
    text(int line)TQextScintilla
    textChanged()TQextScintilla [signal]
    textHeight(int linenr)TQextScintilla
    ThreeDots enum valueTQextScintilla
    ThreeRightArrows enum valueTQextScintilla
    undo()TQextScintilla [virtual, slot]
    unindent(int line)TQextScintilla [virtual, slot]
    userListActivated(int id, const TQString &string)TQextScintilla [signal]
    VerticalLine enum valueTQextScintilla
    viewport() const TQextScintillaBase
    VISIBLE_SLOP enum value (defined in TQextScintillaBase)TQextScintillaBase
    VISIBLE_STRICT enum value (defined in TQextScintillaBase)TQextScintillaBase
    WhitespaceVisibility enum nameTQextScintilla
    whitespaceVisibility()TQextScintilla
    WrapCharacter enum valueTQextScintilla
    WrapFlagByBorder enum valueTQextScintilla
    WrapFlagByText enum valueTQextScintilla
    WrapFlagNone enum valueTQextScintilla
    wrapMode()TQextScintilla
    WrapMode enum nameTQextScintilla
    WrapNone enum valueTQextScintilla
    WrapVisualFlag enum nameTQextScintilla
    WrapWord enum valueTQextScintilla
    WsInvisible enum valueTQextScintilla
    WsVisible enum valueTQextScintilla
    WsVisibleAfterIndent enum valueTQextScintilla
    zoomIn(int range)TQextScintilla [virtual, slot]
    zoomIn()TQextScintilla [virtual, slot]
    zoomOut(int range)TQextScintilla [virtual, slot]
    zoomOut()TQextScintilla [virtual, slot]
    zoomTo(int size)TQextScintilla [virtual, slot]
    ~TQextScintilla()TQextScintilla [virtual]
    ~TQextScintillaBase()TQextScintillaBase [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintilla.html b/doc/en/classTQextScintilla.html new file mode 100644 index 0000000..17d8dc8 --- /dev/null +++ b/doc/en/classTQextScintilla.html @@ -0,0 +1,4920 @@ + + +TQScintilla: TQextScintilla Class Reference + + + + + + +

    TQextScintilla Class Reference

    The TQextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget. +More... +

    +#include <tqextscintilla.h> +

    +Inherits TQextScintillaBase. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Signals

    + +

    Public Member Functions

    + +

    Classes

    +
      +
    • struct FindState +
    +

    Detailed Description

    +The TQextScintilla class implements a higher level, more TQt-like, API to the Scintilla editor widget. +

    +TQextScintilla implements methods, signals and slots similar to those found in other TQt editor classes. It also provides a higher level interface to features specific to Scintilla such as syntax styling, call tips, auto-indenting and auto-completion than that provided by TQextScintillaBase.

    +The API is modelled on TQTextEdit - a method of the same name should behave in the same way. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the different auto-indentation styles. +

    +

    Enumerator:
    + + + + +
    AiMaintain  +A line is automatically indented to match the previous line.
    AiOpening  +If the language supported by the current lexer has a specific start of block character (e.g. { in C++), then a line that begins with that character is indented as well as the lines that make up the block. It may be logically ored with AiClosing.
    AiClosing  +If the language supported by the current lexer has a specific end of block character (e.g. } in C++), then a line that begins with that character is indented as well as the lines that make up the block. It may be logically ored with AiOpening.
    +
    + +
    +

    + +

    + +
    + +

    +This enum defines the different sources for auto-completion lists. +

    +

    Enumerator:
    + + + + +
    AcsDocument  +The source is the current document.
    AcsAPIs  +The source is any installed APIs.
    AcsAll  +The source is all available sources.
    +
    + +
    +

    + +

    +
    + + + + +
    enum TQextScintilla::BraceMatch
    +
    +
    + +

    +This enum defines the different brace matching modes. The character pairs {}, [] and () are treated as braces. The Python lexer will also match a : with the end of the corresponding indented block.

    Enumerator:
    + + + + +
    NoBraceMatch  +Brace matching is disabled.
    StrictBraceMatch  +Brace matching is enabled for a brace immediately before the current position.
    SloppyBraceMatch  +Brace matching is enabled for a brace immediately before or after the current position.
    +
    + +
    +

    + +

    +
    + + + + +
    enum TQextScintilla::EdgeMode
    +
    +
    + +

    +This enum defines the different edge modes for long lines. +

    +

    Enumerator:
    + + + + +
    EdgeNone  +Long lines are not marked.
    EdgeLine  +A vertical line is drawn at the column set by setEdgeColumn(). This is recommended for monospace fonts.
    EdgeBackground  +The background color of characters after the column limit is changed to the color set by setEdgeColor(). This is recommended for proportional fonts.
    +
    + +
    +

    + +

    +
    + + + + +
    enum TQextScintilla::EolMode
    +
    +
    + +

    +This enum defines the different end-of-line modes. +

    +

    Enumerator:
    + + + + +
    EolWindows  +A carriage return/line feed as used on Windows systems.
    EolUnix  +A line feed as used on Unix systems.
    EolMac  +A carriage return as used on Mac systems.
    +
    + +
    +

    + +

    +
    + + + + +
    enum TQextScintilla::FoldStyle
    +
    +
    + +

    +This enum defines the different styles for the folding margin. +

    +

    Enumerator:
    + + + + + + + +
    NoFoldStyle  +Folding is disabled.
    PlainFoldStyle  +Plain folding style using plus and minus symbols.
    CircledFoldStyle  +Circled folding style using circled plus and minus symbols.
    BoxedFoldStyle  +Boxed folding style using boxed plus and minus symbols.
    CircledTreeFoldStyle  +Circled tree style using a flattened tree with circled plus and minus symbols and rounded corners.
    BoxedTreeFoldStyle  +Boxed tree style using a flattened tree with boxed plus and minus symbols and right-angled corners.
    +
    + +
    +

    + +

    + +
    + +

    +This enum defines the different pre-defined marker symbols. +

    +

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Circle  +A circle.
    Rectangle  +A rectangle.
    RightTriangle  +A triangle pointing to the right.
    SmallRectangle  +A smaller rectangle.
    RightArrow  +An arrow pointing to the right.
    Invisible  +An invisible marker that allows code to track the movement of lines.
    DownTriangle  +A triangle pointing down.
    Minus  +A drawn minus sign.
    Plus  +A drawn plus sign.
    VerticalLine  +A vertical line drawn in the background colour.
    BottomLeftCorner  +A bottom left corner drawn in the background colour.
    LeftSideSplitter  +A vertical line with a centre right horizontal line drawn in the background colour.
    BoxedPlus  +A drawn plus sign in a box.
    BoxedPlusConnected  +A drawn plus sign in a connected box.
    BoxedMinus  +A drawn minus sign in a box.
    BoxedMinusConnected  +A drawn minus sign in a connected box.
    RoundedBottomLeftCorner  +A rounded bottom left corner drawn in the background colour.
    LeftSideRoundedSplitter  +A vertical line with a centre right curved line drawn in the background colour.
    CircledPlus  +A drawn plus sign in a circle.
    CircledPlusConnected  +A drawn plus sign in a connected box.
    CircledMinus  +A drawn minus sign in a circle.
    CircledMinusConnected  +A drawn minus sign in a connected circle.
    Background  +No symbol is drawn but the line of text is drawn with the same background colour.
    ThreeDots  +Three drawn dots.
    ThreeRightArrows  +Three drawn arrows pointing right.
    +
    + +
    +

    + +

    + +
    + +

    +This enum defines the different whitespace visibility modes. When whitespace is visible spaces are displayed as small centred dots and tabs are displayed as light arrows pointing to the right.

    Enumerator:
    + + + + +
    WsInvisible  +Whitespace is invisible.
    WsVisible  +Whitespace is always visible.
    WsVisibleAfterIndent  +Whitespace is visible after the whitespace used for indentation.
    +
    + +
    +

    + +

    +
    + + + + +
    enum TQextScintilla::WrapMode
    +
    +
    + +

    +This enum defines the different line wrap modes. +

    +

    Enumerator:
    + + + + +
    WrapNone  +Lines are not wrapped.
    WrapWord  +Lines are wrapped at word boundaries.
    WrapCharacter  +Lines are wrapped at character boundaries.
    +
    + +
    +

    + +

    + +
    + +

    +This enum defines the different line wrap visual flags. +

    +

    Enumerator:
    + + + + +
    WrapFlagNone  +No wrap flag is displayed.
    WrapFlagByText  +A wrap flag is displayed by the text.
    WrapFlagByBorder  +A wrap flag is displayed by the border.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    TQextScintilla::TQextScintilla (TQWidget *  parent = 0,
    const char *  name = 0,
    WFlags  f = 0 
    )
    +
    +
    + +

    +Construct an empty TQextScintilla with parent parent, name name, and widget flags f. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintilla::~TQextScintilla (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintilla instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    bool TQextScintilla::autoCompletionCaseSensitivity (  ) 
    +
    +
    + +

    +Returns TRUE if auto-completion lists are case sensitive.

    +

    See also:
    setAutoCompletionCaseSensitivity()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::autoCompletionFillupsEnabled (  ) 
    +
    +
    + +

    +Returns true if auto-completion fill-up characters are enabled.

    +

    See also:
    setAutoCompletionFillups(), setAutoCompletionFillupsEnabled()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::autoCompletionReplaceWord (  ) 
    +
    +
    + +

    +Returns TRUE if the rest of the word to the right of the current cursor is removed when an item from an auto-completion list is selected.

    +

    See also:
    setAutoCompletionReplaceWord()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::autoCompletionShowSingle (  ) 
    +
    +
    + +

    +Returns TRUE if the only item in an auto-completion list with a single entry is automatically used and the list not displayed.

    +

    See also:
    setAutoCompletionShowSingle()
    + +
    +

    + +

    +
    + + + + + + + + +
    AutoCompletionSource TQextScintilla::autoCompletionSource (  )  const [inline]
    +
    +
    + +

    +Returns the current source for the auto-completion list when it is being displayed automatically as the user types.

    +

    See also:
    setAutoCompletionSource()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::autoCompletionThreshold (  )  const [inline]
    +
    +
    + +

    +Returns the current threshold for the automatic display of the auto-completion list as the user types.

    +

    See also:
    setAutoCompletionThreshold()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::autoIndent (  )  const [inline]
    +
    +
    + +

    +Returns TRUE if auto-indentation is enabled.

    +

    See also:
    setAutoIndent()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::backspaceUnindents (  ) 
    +
    +
    + +

    +Returns TRUE if the backspace key unindents a line instead of deleting a character. The default is FALSE.

    +

    See also:
    setBackspaceUnindents(), tabIndents(), setTabIndents()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::beginUndoAction (  ) 
    +
    +
    + +

    +Mark the beginning of a sequence of actions that can be undone by a single call to undo().

    +

    See also:
    endUndoAction(), undo()
    + +
    +

    + +

    +
    + + + + + + + + +
    BraceMatch TQextScintilla::braceMatching (  )  const [inline]
    +
    +
    + +

    +Returns the brace matching mode.

    +

    See also:
    setBraceMatching()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::callTipsVisible (  )  const [inline]
    +
    +
    + +

    +Returns the maximum number of call tips that are displayed.

    +

    See also:
    setCallTipsVisible()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::cancelList (  ) 
    +
    +
    + +

    +Cancel any current auto-completion or user defined list. +

    + +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::clearRegisteredImages (  ) 
    +
    +
    + +

    +Clear all registered images.

    +

    See also:
    registerImage()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::convertEols (EolMode  mode  ) 
    +
    +
    + +

    +All the lines of the text have their end-of-lines converted to mode mode.

    +

    See also:
    eolMode(), setEolMode()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQColor TQextScintilla::color (  )  const
    +
    +
    + +

    +Returns the widget's text (ie. foreground) colour.

    +

    See also:
    setColor()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQextScintillaDocument TQextScintilla::document (  )  [inline]
    +
    +
    + +

    +Returns the attached document.

    +

    See also:
    setDocument()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::endUndoAction (  ) 
    +
    +
    + +

    +Mark the end of a sequence of actions that can be undone by a single call to undo().

    +

    See also:
    beginUndoAction(), undo()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQColor TQextScintilla::edgeColor (  ) 
    +
    +
    + +

    +Returns the color of the marker used to show that a line has exceeded the length set by setEdgeColumn().

    +

    See also:
    setEdgeColor(),

    +setEdgeColumn

    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::edgeColumn (  ) 
    +
    +
    + +

    +Returns the number of the column after which lines are considered to be long.

    +

    See also:
    setEdgeColumn()
    + +
    +

    + +

    +
    + + + + + + + + +
    EdgeMode TQextScintilla::edgeMode (  ) 
    +
    +
    + +

    +Returns the edge mode which determines how long lines are marked.

    +

    See also:
    setEdgeMode()
    + +
    +

    + +

    +
    + + + + + + + + +
    EolMode TQextScintilla::eolMode (  ) 
    +
    +
    + +

    +Returns the end-of-line mode.

    +

    See also:
    setEolMode()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::eolVisibility (  ) 
    +
    +
    + +

    +Returns the visibility of end-of-lines.

    +

    See also:
    setEolVisibility()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual bool TQextScintilla::findFirst (const TQString &  expr,
    bool  re,
    bool  cs,
    bool  wo,
    bool  wrap,
    bool  forward = TRUE,
    int  line = -1,
    int  index = -1,
    bool  show = TRUE 
    ) [virtual]
    +
    +
    + +

    +Find the next occurrence of the string expr and return TRUE if expr was found, otherwise returns FALSE. If expr is found it becomes the current selection.

    +If re is TRUE then expr is interpreted as a regular expression rather than a simple string.

    +If cs is TRUE then the search is case sensitive.

    +If wo is TRUE then the search looks for whole word matches only, otherwise it searches for any matching text.

    +If wrap is TRUE then the search wraps around the end of the text.

    +If forward is TRUE (the default) then the search is forward from the starting position to the end of the text, otherwise it is backwards to the beginning of the text.

    +If either line or index are negative (the default) then the search begins from the current cursor position. Otherwise the search begins at position index of line line.

    +If show is TRUE (the default) then any text found is made visible (ie. it is unfolded).

    +

    See also:
    findNext(), replace()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual bool TQextScintilla::findNext (  )  [virtual]
    +
    +
    + +

    +Find the next occurence of the string found using findFirst().

    +

    See also:
    findFirst(), replace()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::firstVisibleLine (  ) 
    +
    +
    + +

    +Returns the number of the first visible line. +

    + +

    +

    + +

    +
    + + + + + + + + +
    FoldStyle TQextScintilla::folding (  )  const [inline]
    +
    +
    + +

    +Returns the current folding style.

    +

    See also:
    setFolding()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::getCursorPosition (int *  line,
    int *  index 
    )
    +
    +
    + +

    +Sets *line and *index to the line and index of the cursor.

    +

    See also:
    setCursorPosition()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::getSelection (int *  lineFrom,
    int *  indexFrom,
    int *  lineTo,
    int *  indexTo 
    )
    +
    +
    + +

    +If there is a selection, *lineFrom is set to the line number in which the selection begins and *lineTo is set to the line number in which the selection ends. (They could be the same.) *indexFrom is set to the index at which the selection begins within *lineFrom, and *indexTo is set to the index at which the selection ends within *lineTo. If there is no selection, *lineFrom, *indexFrom, *lineTo and *indexTo are all set to -1.

    +

    See also:
    setSelection()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::hasSelectedText (  )  const [inline]
    +
    +
    + +

    +Returns TRUE if some text is selected.

    +

    See also:
    selectedText()
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::indentation (int  line  ) 
    +
    +
    + +

    +Returns the number of characters that line line is indented by.

    +

    See also:
    setIndentation()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::indentationGuides (  ) 
    +
    +
    + +

    +Returns TRUE if the display of indentation guides is enabled.

    +

    See also:
    setIndentationGuides()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::indentationsUseTabs (  ) 
    +
    +
    + +

    +Returns TRUE if indentations are created using tabs and spaces, rather than just spaces. The default is TRUE.

    +

    See also:
    setIndentationsUseTabs()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::indentationWidth (  ) 
    +
    +
    + +

    +Returns the indentation width in characters. The default is 0 which means that the value returned by tabWidth() is actually used.

    +

    See also:
    setIndentationWidth(), tabWidth()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isCallTipActive (  ) 
    +
    +
    + +

    +Returns TRUE if a call tip is currently active. +

    + +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isListActive (  ) 
    +
    +
    + +

    +Returns TRUE if an auto-completion or user defined list is currently active. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isModified (  ) 
    +
    +
    + +

    +Returns TRUE if the text has been modified.

    +

    See also:
    setModified(), modificationChanged()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isReadOnly (  ) 
    +
    +
    + +

    +Returns TRUE if the text edit is read-only.

    +

    See also:
    setReadOnly()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isRedoAvailable (  ) 
    +
    +
    + +

    +Returns TRUE if there is something that can be redone.

    +

    See also:
    redo()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isUndoAvailable (  ) 
    +
    +
    + +

    +Returns TRUE if there is something that can be undone.

    +

    See also:
    undo()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::isUtf8 (  ) 
    +
    +
    + +

    +Returns TRUE if text is interpreted as being UTF8 encoded. The default is to interpret the text as Latin1 encoded.

    +

    See also:
    setUtf8()
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::lineAt (const TQPoint &  pos  ) 
    +
    +
    + +

    +Returns the line which is at position pos or -1 if there is no line at that position. +

    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::lineLength (int  line  ) 
    +
    +
    + +

    +Returns the length of line line or -1 if there is no such line. +

    + +

    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::lines (  ) 
    +
    +
    + +

    +Returns the number of lines of text. +

    + +

    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::length (  ) 
    +
    +
    + +

    +Returns the length of the text edit's text. +

    + +

    +

    + +

    +
    + + + + + + + + +
    TQextScintillaLexer* TQextScintilla::lexer (  )  const
    +
    +
    + +

    +Returns the current language lexer used to style text. If it is 0 then syntax styling is disabled.

    +

    See also:
    setLexer()
    + +
    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintilla::marginLineNumbers (int  margin  ) 
    +
    +
    + +

    +Returns TRUE if line numbers are enabled for margin margin.

    +

    See also:
    setMarginLineNumbers(), TQextScintillaBase::SCI_GETMARGINTYPEN
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::marginMarkerMask (int  margin  ) 
    +
    +
    + +

    +Returns the marker mask of margin margin.

    +

    See also:
    setMarginMask(), TQextScintillaMarker, TQextScintillaBase::SCI_GETMARGINMASKN
    + +
    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintilla::marginSensitivity (int  margin  ) 
    +
    +
    + +

    +Returns TRUE if margin margin is sensitive to mouse clicks.

    +

    See also:
    setMarginSensitivity(), marginClicked(), TQextScintillaBase::SCI_GETMARGINTYPEN
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::marginWidth (int  margin  ) 
    +
    +
    + +

    +Returns the width in pixels of margin margin.

    +

    See also:
    setMarginWidth(), TQextScintillaBase::SCI_GETMARGINWIDTHN
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerDefine (MarkerSymbol  sym,
    int  mnr = -1 
    )
    +
    +
    + +

    +Define a marker using the symbol sym with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined.

    +Markers are small geometric symbols and character used, for example, to indicate the current line or, in debuggers, to indicate breakpoints. If a margin has a width of 0 then its markers are not drawn, but their background colours affect the background colour of the corresponding line of text.

    +There may be up to 32 markers defined and each line of text has a set of these markers associated with it. Markers are drawn according to their numerical identifier. Markers try to move with their text by tracking where the start of their line moves to. For example, when a line is deleted its markers are added to previous line's markers.

    +Each marker is identified by a marker number. Each instance of a marker is identified by a marker handle. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerDefine (char  ch,
    int  mnr = -1 
    )
    +
    +
    + +

    +Define a marker using the character ch with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerDefine (const TQPixmap *  pm,
    int  mnr = -1 
    )
    +
    +
    + +

    +Define a marker using a copy of the pixmap pm with the marker number mnr. If mnr is -1 then the marker number is automatically allocated. The marker number is returned or -1 if the marker number was already allocated or too many markers have been defined. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerAdd (int  linenr,
    int  mnr 
    )
    +
    +
    + +

    +Add a marker number mnr to line number linenr. A handle for the marker is returned which can be used to track the marker's position, or -1 if the mnr was invalid.

    +

    See also:
    markerDelete(), markerDeleteAll(), markerDeleteHandle()
    + +
    +

    + +

    +
    + + + + + + + + + +
    unsigned TQextScintilla::markersAtLine (int  linenr  ) 
    +
    +
    + +

    +Returns the 32 bit mask of marker numbers at line number linenr.

    +

    See also:
    markerAdd()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::markerDelete (int  linenr,
    int  mnr = -1 
    )
    +
    +
    + +

    +Delete all markers with the marker number mnr in the line linenr. If mnr is -1 then delete all markers from line linenr.

    +

    See also:
    markerAdd(), markerDeleteAll(), markerDeleteHandle()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::markerDeleteAll (int  mnr = -1  ) 
    +
    +
    + +

    +Delete the all markers with the marker number mnr. If mnr is -1 then delete all markers.

    +

    See also:
    markerAdd(), markerDelete(), markerDeleteHandle()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::markerDeleteHandle (int  mhandle  ) 
    +
    +
    + +

    +Delete the the marker instance with the marker handle mhandle.

    +

    See also:
    markerAdd(), markerDelete(), markerDeleteAll()
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::markerLine (int  mhandle  ) 
    +
    +
    + +

    +Return the line number that contains the marker instance with the marker handle mhandle. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerFindNext (int  linenr,
    unsigned  mask 
    )
    +
    +
    + +

    +Return the number of the next line to contain at least one marker from a 32 bit mask of markers. linenr is the line number to start the search from. mask is the mask of markers to search for.

    +

    See also:
    markerFindPrevious()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int TQextScintilla::markerFindPrevious (int  linenr,
    unsigned  mask 
    )
    +
    +
    + +

    +Return the number of the previous line to contain at least one marker from a 32 bit mask of markers. linenr is the line number to start the search from. mask is the mask of markers to search for.

    +

    See also:
    markerFindNext()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQColor TQextScintilla::paper (  )  const
    +
    +
    + +

    +Returns the widget's paper (ie. background) colour.

    +

    See also:
    setPaper()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::recolor (int  start = 0,
    int  end = -1 
    ) [virtual]
    +
    +
    + +

    +Recolours the document between the start and end positions. start defaults to the start of the document and end defaults to the end of the document. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::registerImage (int  id,
    const TQPixmap *  pm 
    )
    +
    +
    + +

    +Register an image pm with ID id. Registered images can be displayed in auto-completion lists.

    +

    See also:
    clearRegisteredImages(), TQextScintillaAPIs
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::replace (const TQString &  replaceStr  )  [virtual]
    +
    +
    + +

    +Replace the current selection, set by a previous call to findFirst() or findNext(), with replaceStr.

    +

    See also:
    findFirst(), findNext()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::resetFoldMarginColors (  ) 
    +
    +
    + +

    +Reset the fold margin colours to their defaults.

    +

    See also:
    setFoldMarginColors()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::setFoldMarginColors (const TQColor &  fore,
    const TQColor &  back 
    )
    +
    +
    + +

    +The fold margin may be drawn as a one pixel sized checkerboard pattern of two colours, fore and back.

    +

    See also:
    resetFoldMarginColors()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setAutoCompletionAPIs (TQextScintillaAPIs apis = 0  ) 
    +
    +
    + +

    +Sets the APIs used for auto-completion to apis. If apis is 0 then any existing APIs are removed.

    +

    See also:
    autoCompleteFromAPIs(), setCallTipsAPIs()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setAutoCompletionFillups (const char *  fillups  ) 
    +
    +
    + +

    +set its own. Explicitly setting the fill-up characters using this method automatically enables their use.

    +

    See also:
    autoCompletionFillupsEnabled(), setAutoCompletionFillupsEnabled()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setAutoCompletionFillupsEnabled (bool  enabled  ) 
    +
    +
    + +

    +Enable the use of fill-up characters, either those explicitly set or those set by a lexer. By default, fill-up characters are disabled.

    +

    See also:
    autoCompletionFillupsEnabled(), setAutoCompletionFillups()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setAutoCompletionStartCharacters (const char *  start  ) 
    +
    +
    + +

    +A start character is one that, when entered, causes the auto-completion list to be displayed. If a language lexer has been set then this is ignored and the lexer defines the start characters. The default is that no start characters are set.

    +

    See also:
    setAutoCompletionThreshold()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setCallTipsAPIs (TQextScintillaAPIs apis = 0  ) 
    +
    +
    + +

    +Sets the APIs used for call tips to apis. If apis is 0 then then call tips are disabled.

    +

    See also:
    setAutoCompletionAPIs()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setCallTipsBackgroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the background colour of call tips to col. The default is white. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setCallTipsForegroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the foreground colour of call tips to col. The default is mid-gray. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setCallTipsHighlightColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the highlighted colour of call tip text to col. The default is dark blue. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setCallTipsVisible (int  nr  ) 
    +
    +
    + +

    +Set the maximum number of call tips that are displayed to nr. If the maximum number is 0 then all applicable call tips are displayed. If the maximum number is -1 then one call tip will be displayed with up and down arrows that allow the use to scroll through the full list. The default is -1.

    +

    See also:
    callTipsVisible()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setDocument (const TQextScintillaDocument document  ) 
    +
    +
    + +

    +Attach the document document, replacing the currently attached document.

    +

    See also:
    document()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setEdgeColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the color of the marker used to show that a line has exceeded the length set by setEdgeColumn().

    +

    See also:
    edgeColor(),

    +setEdgeColumn

    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setEdgeColumn (int  colnr  ) 
    +
    +
    + +

    +Set the number of the column after which lines are considered to be long.

    +

    See also:
    edgeColumn()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setEdgeMode (EdgeMode  mode  ) 
    +
    +
    + +

    +Set the edge mode which determines how long lines are marked.

    +

    See also:
    edgeMode()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setFont (const TQFont &  f  )  [virtual]
    +
    +
    + +

    +Set the default font. This has no effect if a language lexer has been set. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::setMarkerBackgroundColor (const TQColor &  col,
    int  mnr = -1 
    )
    +
    +
    + +

    +Set the background colour, including the alpha component, of marker mnr to col. If mnr is -1 then the colour of all markers is set. The default is white.

    +

    See also:
    setMarkerForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::setMarkerForegroundColor (const TQColor &  col,
    int  mnr = -1 
    )
    +
    +
    + +

    +Set the foreground colour of marker mnr to col. If mnr is -1 then the colour of all markers is set. The default is black.

    +

    See also:
    setMarkerBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setMatchedBraceBackgroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the background colour used to display matched braces to col. The default is white.

    +

    See also:
    setMatchedBraceForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setMatchedBraceForegroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the foreground colour used to display matched braces to col. The default is red.

    +

    See also:
    setMatchedBraceBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setUnmatchedBraceBackgroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the background colour used to display unmatched braces to col. The default is white.

    +

    See also:
    setUnmatchedBraceForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::setUnmatchedBraceForegroundColor (const TQColor &  col  ) 
    +
    +
    + +

    +Set the foreground colour used to display unmatched braces to col. The default is blue.

    +

    See also:
    setUnmatchedBraceBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::setWrapVisualFlags (WrapVisualFlag  eflag,
    WrapVisualFlag  sflag = WrapFlagNone,
    int  sindent = 0 
    )
    +
    +
    + +

    +Set the visual flags displayed when a line is wrapped. eflag determines if and where the flag at the end of a line is displayed. sflag determines if and where the flag at the start of a line is displayed. sindent is the number of characters a wrapped line is indented by. By default no visual flags are displayed. +

    +

    + +

    +
    + + + + + + + + +
    TQString TQextScintilla::selectedText (  ) 
    +
    +
    + +

    +Returns the selected text or an empty string if there is no currently selected text.

    +

    See also:
    hasSelectedText()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::showUserList (int  id,
    const TQStringList &  list 
    )
    +
    +
    + +

    +Displays a user defined list which can be interacted with like an auto-completion list. id is an identifier for the list which is passed as an argument to the userListActivated() signal and must be at least 1. list is the text with which the list is populated.

    +

    See also:
    cancelList(), isListActive(), userListActivated()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQextScintillaCommandSet* TQextScintilla::standardCommands (  )  const [inline]
    +
    +
    + +

    +The standard command set is returned. +

    + +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintilla::tabIndents (  ) 
    +
    +
    + +

    +Returns TRUE if the tab key indents a line instead of inserting a tab character. The default is TRUE.

    +

    See also:
    setTabIndents(), backspaceUnindents(), setBackspaceUnindents()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintilla::tabWidth (  ) 
    +
    +
    + +

    +Returns the tab width in characters. The default is 8.

    +

    See also:
    setTabWidth()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQString TQextScintilla::text (  ) 
    +
    +
    + +

    +Returns the text edit's text.

    +

    See also:
    setText()
    + +
    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintilla::text (int  line  ) 
    +
    +
    + +

    +This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Returns the text of line line.

    +

    See also:
    setText()
    + +
    +

    + +

    +
    + + + + + + + + + +
    int TQextScintilla::textHeight (int  linenr  ) 
    +
    +
    + +

    +Returns the height in pixels of the text in line number linenr. +

    + +

    +

    + +

    +
    + + + + + + + + +
    WhitespaceVisibility TQextScintilla::whitespaceVisibility (  ) 
    +
    +
    + +

    +Returns the visibility of whitespace.

    +

    See also:
    setWhitespaceVisibility()
    + +
    +

    + +

    +
    + + + + + + + + +
    WrapMode TQextScintilla::wrapMode (  ) 
    +
    +
    + +

    +Returns the line wrap mode.

    +

    See also:
    setWrapMode()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::append (const TQString &  text  )  [virtual, slot]
    +
    +
    + +

    +Appends the text text to the end of the text edit. Note that the undo/redo history is cleared by this function. +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::autoCompleteFromAll (  )  [virtual, slot]
    +
    +
    + +

    +Display an auto-completion list based on any installed APIs, the current contents of the document and the characters immediately to the left of the cursor.

    +

    See also:
    autoCompleteFromAPIs(), autoCompleteFromDocument()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::autoCompleteFromAPIs (  )  [virtual, slot]
    +
    +
    + +

    +Display an auto-completion list based on any installed APIs and the characters immediately to the left of the cursor.

    +

    See also:
    autoCompleteFromAll(), autoCompleteFromDocument(), setAutoCompletionAPIs()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::autoCompleteFromDocument (  )  [virtual, slot]
    +
    +
    + +

    +Display an auto-completion list based on the current contents of the document and the characters immediately to the left of the cursor.

    +

    See also:
    autoCompleteFromAll(), autoCompleteFromAPIs()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::callTip (  )  [virtual, slot]
    +
    +
    + +

    +Display a call tip based on the the characters immediately to the left of the cursor. +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::clear (  )  [virtual, slot]
    +
    +
    + +

    +Deletes all the text in the text edit. +

    + +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::copy (  )  [virtual, slot]
    +
    +
    + +

    +Copies any selected text to the clipboard.

    +

    See also:
    copyAvailable(), cut(), paste()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::cut (  )  [virtual, slot]
    +
    +
    + +

    +Copies any selected text to the clipboard and then deletes the text.

    +

    See also:
    copy(), paste()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::ensureCursorVisible (  )  [virtual, slot]
    +
    +
    + +

    +Ensures that the cursor is visible. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::ensureLineVisible (int  line  )  [virtual, slot]
    +
    +
    + +

    +Ensures that the line number line is visible. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::foldAll (bool  children = FALSE  )  [virtual, slot]
    +
    +
    + +

    +If any lines are currently folded then they are all unfolded. Otherwise all lines are folded. This has the same effect as clicking in the fold margin with the shift and control keys pressed. If children is not set (the default) then only the top level fold points are affected, otherwise the state of all fold points are changed. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::foldLine (int  line  )  [virtual, slot]
    +
    +
    + +

    +If the line line is folded then it is unfolded. Otherwise it is folded. This has the same effect as clicking in the fold margin. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::indent (int  line  )  [virtual, slot]
    +
    +
    + +

    +Increases the indentation of line line by an indentation width.

    +

    See also:
    unindent()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::insert (const TQString &  text  )  [virtual, slot]
    +
    +
    + +

    +Insert the text text at the current position. +

    + +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::insertAt (const TQString &  text,
    int  line,
    int  index 
    ) [virtual, slot]
    +
    +
    + +

    +Insert the text text in the line line at the position index. +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::moveToMatchingBrace (  )  [virtual, slot]
    +
    +
    + +

    +If the cursor is either side of a brace character then move it to the position of the corresponding brace. +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::paste (  )  [virtual, slot]
    +
    +
    + +

    +Pastes any text from the clipboard into the text edit at the current cursor position.

    +

    See also:
    copy(), cut()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::redo (  )  [virtual, slot]
    +
    +
    + +

    +Redo the last change or sequence of changes.

    +

    See also:
    isRedoAvailable()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::removeSelectedText (  )  [virtual, slot]
    +
    +
    + +

    +Removes any selected text. +

    + +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::resetSelectionBackgroundColor (  )  [virtual, slot]
    +
    +
    + +

    +Resets the background colour of selected text to the default.

    +

    See also:
    setSelectionBackgroundColor(), resetSelectionForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::resetSelectionForegroundColor (  )  [virtual, slot]
    +
    +
    + +

    +Resets the foreground colour of selected text to the default.

    +

    See also:
    setSelectionForegroundColor(), resetSelectionBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::selectAll (bool  select = TRUE  )  [virtual, slot]
    +
    +
    + +

    +If select is TRUE (the default) then all the text is selected. If select is FALSE then any currently selected text is deselected. +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::selectToMatchingBrace (  )  [virtual, slot]
    +
    +
    + +

    +If the cursor is either side of a brace character then move it to the position of the corresponding brace and select the text between the braces. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoCompletionCaseSensitivity (bool  cs  )  [virtual, slot]
    +
    +
    + +

    +If cs is TRUE then auto-completion lists are case sensitive. The default is TRUE.

    +

    See also:
    autoCompletionCaseSensitivity()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoCompletionReplaceWord (bool  replace  )  [virtual, slot]
    +
    +
    + +

    +If replace is TRUE then when an item from an auto-completion list is selected, the rest of the word to the right of the current cursor is removed. The default is FALSE.

    +

    See also:
    autoCompletionReplaceWord()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoCompletionShowSingle (bool  single  )  [virtual, slot]
    +
    +
    + +

    +If single is TRUE then when there is only a single entry in an auto-completion list it is automatically used and the list is not displayed. This only has an effect when auto-completion is explicitly requested (using autoCompleteFromAPIs() and autoCompleteFromDocument()) and has no effect when auto-completion is triggered as the user types. The default is FALSE.

    +

    See also:
    autoCompletionShowSingle()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoCompletionSource (AutoCompletionSource  source  )  [virtual, slot]
    +
    +
    + +

    +Sets the source for the auto-completion list when it is being displayed automatically as the user types to source. The default is AcsDocument.

    +

    See also:
    autoCompletionSource()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoCompletionThreshold (int  thresh  )  [virtual, slot]
    +
    +
    + +

    +Sets the threshold for the automatic display of the auto-completion list as the user types to thresh. The threshold is the number of characters that the user must type before the list is displayed. If the threshold is less than or equal to 0 then the list is disabled. The default is -1.

    +

    See also:
    autoCompletionThreshold(), setAutoCompletionStartCharacters()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setAutoIndent (bool  autoindent  )  [virtual, slot]
    +
    +
    + +

    +If autoindent is TRUE then auto-indentation is enabled. The default is FALSE.

    +

    See also:
    autoIndent()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setBraceMatching (BraceMatch  bm  )  [virtual, slot]
    +
    +
    + +

    +Sets the brace matching mode to bm. The default is NoBraceMatching.

    +

    See also:
    braceMatching()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setBackspaceUnindents (bool  unindent  )  [virtual, slot]
    +
    +
    + +

    +If deindent is TRUE then the backspace key will unindent a line rather then delete a character.

    +

    See also:
    backspaceUnindents(), tabIndents(), setTabIndents()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setCaretForegroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Sets the foreground colour of the caret to col. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setCaretLineBackgroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Sets the background colour, including the alpha component, of the line containing the caret to col.

    +

    See also:
    setCaretLineVisible()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setCaretLineVisible (bool  enable  )  [virtual, slot]
    +
    +
    + +

    +Enables or disables, according to enable, the background color of the line containing the caret.

    +

    See also:
    setCaretLineBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setCaretWidth (int  width  )  [virtual, slot]
    +
    +
    + +

    +Sets the width of the caret to width pixels. A width of 0 makes the caret invisible. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setColor (const TQColor &  c  )  [virtual, slot]
    +
    +
    + +

    +

    See also:
    color()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setCursorPosition (int  line,
    int  index 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the cursor to the line line at the position index.

    +

    See also:
    getCursorPosition()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setEolMode (EolMode  mode  )  [virtual, slot]
    +
    +
    + +

    +Sets the end-of-line mode to mode. The default is the platform's natural mode.

    +

    See also:
    eolMode()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setEolVisibility (bool  visible  )  [virtual, slot]
    +
    +
    + +

    +If visible is TRUE then end-of-lines are made visible. The default is that they are invisible.

    +

    See also:
    eolVisibility()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setFolding (FoldStyle  fold  )  [virtual, slot]
    +
    +
    + +

    +Sets the folding style for margin 2 to fold. The default is NoFoldStyle (ie. folding is disabled).

    +

    See also:
    folding()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setIndentation (int  line,
    int  indentation 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the indentation of line to indentation characters.

    +

    See also:
    indentation()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setIndentationGuides (bool  enable  )  [virtual, slot]
    +
    +
    + +

    +Enables or disables, according to enable, this display of indentation guides.

    +

    See also:
    indentationGuides()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setIndentationGuidesBackgroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Set the background colour of indentation guides to col.

    +

    See also:
    setIndentationGuidesForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setIndentationGuidesForegroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Set the foreground colour of indentation guides to col.

    +

    See also:
    setIndentationGuidesBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setIndentationsUseTabs (bool  tabs  )  [virtual, slot]
    +
    +
    + +

    +If tabs is TRUE then indentations are created using tabs and spaces, rather than just spaces.

    +

    See also:
    indentationsUseTabs()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setIndentationWidth (int  width  )  [virtual, slot]
    +
    +
    + +

    +Sets the indentation width to width characters. If width is 0 then the value returned by tabWidth() is used.

    +

    See also:
    indentationWidth(), tabWidth()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setLexer (TQextScintillaLexer lexer = 0  )  [virtual, slot]
    +
    +
    + +

    +Sets the specific language lexer used to style text to lexer. If lexer is 0 then syntax styling is disabled.

    +

    See also:
    lexer()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setMarginsBackgroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Set the background colour of all margins to col. The default is a gray.

    +

    See also:
    setMarginsForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setMarginsFont (const TQFont &  f  )  [virtual, slot]
    +
    +
    + +

    +Set the font used in all margins to f. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setMarginsForegroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Set the foreground colour of all margins to col. The default is black.

    +

    See also:
    setMarginsBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setMarginLineNumbers (int  margin,
    bool  lnrs 
    ) [virtual, slot]
    +
    +
    + +

    +Enables or disables, according to lnrs, the display of line numbers in margin margin.

    +

    See also:
    marginLineNumbers(), TQextScintillaBase::SCI_SETMARGINTYPEN
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setMarginMarkerMask (int  margin,
    int  mask 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the marker mask of margin margin to mask. Only those markers whose bit is set in the mask are displayed in the margin.

    +

    See also:
    marginMarkerMask(), TQextScintillaMarker, TQextScintillaBase::SCI_SETMARGINMASKN
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setMarginSensitivity (int  margin,
    bool  sens 
    ) [virtual, slot]
    +
    +
    + +

    +Enables or disables, according to sens, the sensitivity of margin margin to mouse clicks. If the user clicks in a sensitive margin the marginClicked() signal is emitted.

    +

    See also:
    marginSensitivity(), marginClicked(), TQextScintillaBase::SCI_SETMARGINSENSITIVEN
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setMarginWidth (int  margin,
    int  width 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the width of margin margin to width pixels. If the width of a margin is 0 then it is not displayed.

    +

    See also:
    marginWidth(), TQextScintillaBase::SCI_SETMARGINWIDTHN
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setMarginWidth (int  margin,
    const TQString &  s 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the width of margin margin so that it is wide enough to display s in the current margin font.

    +

    See also:
    marginWidth(), TQextScintillaBase::SCI_SETMARGINWIDTHN
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setModified (bool  m  )  [virtual, slot]
    +
    +
    + +

    +Sets the modified state of the text edit to m. Note that it is only possible to clear the modified state (where m is FALSE). Attempts to set the modified state (where m is TRUE) are ignored.

    +

    See also:
    isModified(), modificationChanged()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setPaper (const TQColor &  c  )  [virtual, slot]
    +
    +
    + +

    +

    See also:
    paper()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setReadOnly (bool  ro  )  [virtual, slot]
    +
    +
    + +

    +Sets the read-only state of the text edit to ro.

    +

    See also:
    isReadOnly()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintilla::setSelection (int  lineFrom,
    int  indexFrom,
    int  lineTo,
    int  indexTo 
    ) [virtual, slot]
    +
    +
    + +

    +Sets the selection which starts at position indexFrom in line lineFrom and ends at position indexTo in line lineTo. The cursor is moved to the end of the selection.

    +

    See also:
    getSelection()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setSelectionBackgroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Sets the background colour, including the alpha component, of selected text to col.

    +

    See also:
    resetSelectionBackgroundColor(), setSelectionForegroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setSelectionForegroundColor (const TQColor &  col  )  [virtual, slot]
    +
    +
    + +

    +Sets the foreground colour of selected text to col.

    +

    See also:
    resetSelectionForegroundColor(), setSelectionBackgroundColor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setTabIndents (bool  indent  )  [virtual, slot]
    +
    +
    + +

    +If indent is TRUE then the tab key will indent a line rather then insert a tab character.

    +

    See also:
    tabIndents(), backspaceUnindents(), setBackspaceUnindents()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setTabWidth (int  width  )  [virtual, slot]
    +
    +
    + +

    +Sets the tab width to width characters.

    +

    See also:
    tabWidth()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setText (const TQString &  text  )  [virtual, slot]
    +
    +
    + +

    +Replaces all of the current text with text. Note that the undo/redo history is cleared by this function.

    +

    See also:
    text()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setUtf8 (bool  cp  )  [virtual, slot]
    +
    +
    + +

    +Sets the current text encoding. If cp is TRUE then UTF8 is used, otherwise Latin1 is used.

    +

    See also:
    isUtf8()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setWhitespaceVisibility (WhitespaceVisibility  mode  )  [virtual, slot]
    +
    +
    + +

    +Sets the visibility of whitespace to mode mode. The default is that whitespace is invisible.

    +

    See also:
    whitespaceVisibility()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::setWrapMode (WrapMode  mode  )  [virtual, slot]
    +
    +
    + +

    +Sets the line wrap mode to mode mode. The default is that lines are not wrapped.

    +

    See also:
    wrapMode()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::undo (  )  [virtual, slot]
    +
    +
    + +

    +Undo the last change or sequence of changes.

    +Scintilla has multiple level undo and redo. It will continue to record undoable actions until memory runs out. Sequences of typing or deleting are compressed into single actions to make it easier to undo and redo at a sensible level of detail. Sequences of actions can be combined into actions that are undone as a unit. These sequences occur between calls to beginUndoAction() and endUndoAction(). These sequences can be nested and only the top level sequences are undone as units.

    +

    See also:
    beginUndoAction(), endUndoAction(), isUndoAvailable()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::unindent (int  line  )  [virtual, slot]
    +
    +
    + +

    +Decreases the indentation of line line by an indentation width.

    +

    See also:
    indent()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::zoomIn (int  range  )  [virtual, slot]
    +
    +
    + +

    +Zooms in on the text by by making the base font size range points larger and recalculating all font sizes.

    +

    See also:
    zoomOut(), zoomTo()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::zoomIn (  )  [virtual, slot]
    +
    +
    + +

    +This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Zooms in on the text by by making the base font size one point larger and recalculating all font sizes. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::zoomOut (int  range  )  [virtual, slot]
    +
    +
    + +

    +Zooms out on the text by by making the base font size range points smaller and recalculating all font sizes.

    +

    See also:
    zoomIn(), zoomTo()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintilla::zoomOut (  )  [virtual, slot]
    +
    +
    + +

    +This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Zooms out on the text by by making the base font size one point larger and recalculating all font sizes. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintilla::zoomTo (int  size  )  [virtual, slot]
    +
    +
    + +

    +Zooms the text by making the base font size size points and recalculating all font sizes.

    +

    See also:
    zoomIn(), zoomOut()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::cursorPositionChanged (int  line,
    int  pos 
    ) [signal]
    +
    +
    + +

    +This signal is emitted whenever the cursor position changes. line contains the line number and pos contains the character position within the line. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::copyAvailable (bool  yes  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever text is selected or de-selected. yes is TRUE if text has been selected and FALSE if text has been deselected. If yes is TRUE then copy() can be used to copy the selection to the clipboard. If yes is FALSE then copy() does nothing.

    +

    See also:
    copy(), selectionChanged()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::marginClicked (int  margin,
    int  line,
    TQt::ButtonState  state 
    ) [signal]
    +
    +
    + +

    +This signal is emitted whenever the user clicks on a sensitive margin. margin is the margin. line is the number of the line where the user clicked. state is the state of the modifier keys (ShiftButton, ControlButton and AltButton) when the user clicked.

    +

    See also:
    marginSensitivity(), setMarginSensitivity()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::modificationAttempted (  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever the user attempts to modify read-only text.

    +

    See also:
    isReadOnly(), setReadOnly()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintilla::modificationChanged (bool  m  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever the modification state of the text changes. m is TRUE if the text has been modified.

    +

    See also:
    isModified(), setModified()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::selectionChanged (  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever the selection changes.

    +

    See also:
    copyAvailable()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintilla::textChanged (  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever the text in the text edit changes. +

    + +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintilla::userListActivated (int  id,
    const TQString &  string 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when an item in a user defined list is activated (selected). id is the list identifier. string is the text of the item.

    +

    See also:
    showUserList()
    + +
    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaAPIs-members.html b/doc/en/classTQextScintillaAPIs-members.html new file mode 100644 index 0000000..c545a00 --- /dev/null +++ b/doc/en/classTQextScintillaAPIs-members.html @@ -0,0 +1,30 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaAPIs Member List

    This is the complete list of members for TQextScintillaAPIs, including all inherited members.

    + + + + + +
    add(const TQString &entry)TQextScintillaAPIs
    clear()TQextScintillaAPIs
    load(const TQString &fname)TQextScintillaAPIs
    TQextScintillaAPIs()TQextScintillaAPIs
    ~TQextScintillaAPIs()TQextScintillaAPIs


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaAPIs.html b/doc/en/classTQextScintillaAPIs.html new file mode 100644 index 0000000..e3e6974 --- /dev/null +++ b/doc/en/classTQextScintillaAPIs.html @@ -0,0 +1,151 @@ + + +TQScintilla: TQextScintillaAPIs Class Reference + + + + + + +

    TQextScintillaAPIs Class Reference

    The TQextScintillaAPIs class represents the textual API information used in call tips and for auto-completion. +More... +

    +#include <tqextscintillaapis.h> +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaAPIs class represents the textual API information used in call tips and for auto-completion. +

    +API information is read from one or more files. Each API function is described by a single line of text comprising the function's name, followed by the function's optional comma separated parameters enclosed in parenthesis, and finally followed by optional explanatory text.

    +A function name may be followed by a `?' and a number. The number is used by auto-completion to display a registered TQPixmap with the function name.

    +All function names are used by auto-completion, but only those that include function parameters are used in call tips. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + +
    TQextScintillaAPIs::TQextScintillaAPIs (  ) 
    +
    +
    + +

    +Constructs a TQextScintillaAPIs instance. +

    + +

    +

    + +

    +
    + + + + + + + + +
    TQextScintillaAPIs::~TQextScintillaAPIs (  ) 
    +
    +
    + +

    +Destroys the TQextScintillaAPIs instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + + +
    void TQextScintillaAPIs::add (const TQString &  entry  ) 
    +
    +
    + +

    +Add the single API entry entry to the current set. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaAPIs::load (const TQString &  fname  ) 
    +
    +
    + +

    +Load the API information from the file named fname, adding it to the current set. Returns TRUE if successful, otherwise FALSE. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaAPIs::clear (  ) 
    +
    +
    + +

    +Deletes all API information. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaBase-members.html b/doc/en/classTQextScintillaBase-members.html new file mode 100644 index 0000000..a9d1411 --- /dev/null +++ b/doc/en/classTQextScintillaBase-members.html @@ -0,0 +1,769 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaBase Member List

    This is the complete list of members for TQextScintillaBase, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CARET_EVEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_JUMPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_SLOP enum value (defined in TQextScintillaBase)TQextScintillaBase
    CARET_STRICT enum value (defined in TQextScintillaBase)TQextScintillaBase
    EDGE_BACKGROUND enum value (defined in TQextScintillaBase)TQextScintillaBase
    EDGE_LINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    EDGE_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    eventFilter(TQObject *o, TQEvent *e)TQextScintillaBase [protected]
    focusInEvent(TQFocusEvent *)TQextScintillaBase [protected, virtual]
    focusNextPrevChild(bool)TQextScintillaBase [protected, virtual]
    focusOutEvent(TQFocusEvent *)TQextScintillaBase [protected, virtual]
    INDIC0_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC1_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC2_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_BOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_DIAGONAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_HIDDEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_MAX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_PLAIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_ROUNDBOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_SQUIGGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_STRIKE enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDIC_TT enum value (defined in TQextScintillaBase)TQextScintillaBase
    INDICS_MASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    keyPressEvent(TQKeyEvent *ke)TQextScintillaBase [protected, virtual]
    pool()TQextScintillaBase [static]
    TQextScintillaBase(TQWidget *parent=0, const char *name=0, WFlags f=0)TQextScintillaBase
    TQSCN_SELCHANGED(bool yes)TQextScintillaBase [signal]
    SC_ALPHA_NOALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_ALPHA_OPAQUE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_ALPHA_TRANSPARENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_CARET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_DOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CACHE_PAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_LOWER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_MIXED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CASE_UPPER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_8859_15 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_ANSI enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_ARABIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_BALTIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_CHINESEBIG5 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_EASTEUROPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_GB2312 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_GREEK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_HANGUL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_HEBREW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_JOHAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_MAC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_OEM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_RUSSIAN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_SHIFTJIS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_SYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_THAI enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_TURKISH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CHARSET_VIETNAMESE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CP_DBCS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CP_UTF8 enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CURSORNORMAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_CURSORWAIT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_CR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_CRLF enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_EOL_LF enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_BOX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LEVELNUMBERS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEAFTER_CONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEAFTER_EXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_CONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDFLAG_LINEBEFORE_EXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBOXFOOTERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELBOXHEADERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELCONTRACTED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELHEADERFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELNUMBERMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELUNINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_FOLDLEVELWHITEFLAG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_LASTSTEPINUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARGIN_BACK enum valueTQextScintillaBase
    SC_MARGIN_FORE enum valueTQextScintillaBase
    SC_MARGIN_NUMBER enum valueTQextScintillaBase
    SC_MARGIN_SYMBOL enum valueTQextScintillaBase
    SC_MARK_ARROW enum valueTQextScintillaBase
    SC_MARK_ARROWDOWN enum valueTQextScintillaBase
    SC_MARK_ARROWS enum valueTQextScintillaBase
    SC_MARK_BACKGROUND enum valueTQextScintillaBase
    SC_MARK_BOXMINUS enum valueTQextScintillaBase
    SC_MARK_BOXMINUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_BOXPLUS enum valueTQextScintillaBase
    SC_MARK_BOXPLUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_CHARACTER enum valueTQextScintillaBase
    SC_MARK_CIRCLE enum valueTQextScintillaBase
    SC_MARK_CIRCLEMINUS enum valueTQextScintillaBase
    SC_MARK_CIRCLEMINUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_CIRCLEPLUS enum valueTQextScintillaBase
    SC_MARK_CIRCLEPLUSCONNECTED enum valueTQextScintillaBase
    SC_MARK_DOTDOTDOT enum valueTQextScintillaBase
    SC_MARK_EMPTY enum valueTQextScintillaBase
    SC_MARK_FULLRECT enum valueTQextScintillaBase
    SC_MARK_LCORNER enum valueTQextScintillaBase
    SC_MARK_LCORNERCURVE enum valueTQextScintillaBase
    SC_MARK_MINUS enum valueTQextScintillaBase
    SC_MARK_PIXMAP enum valueTQextScintillaBase
    SC_MARK_PLUS enum valueTQextScintillaBase
    SC_MARK_ROUNDRECT enum valueTQextScintillaBase
    SC_MARK_SHORTARROW enum valueTQextScintillaBase
    SC_MARK_SMALLRECT enum valueTQextScintillaBase
    SC_MARK_TCORNER enum valueTQextScintillaBase
    SC_MARK_TCORNERCURVE enum valueTQextScintillaBase
    SC_MARK_VLINE enum valueTQextScintillaBase
    SC_MARKNUM_FOLDER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEREND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERMIDTAIL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEROPEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDEROPENMID enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERSUB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MARKNUM_FOLDERTAIL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MASK_FOLDERS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_BEFOREDELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_BEFOREINSERT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGEFOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGEMARKER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_CHANGESTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_DELETETEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MOD_INSERTTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MODEVENTMASKALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MULTILINEUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_MULTISTEPUNDOREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_REDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_UNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PERFORMED_USER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_BLACKONWHITE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_COLOURONWHITE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_COLOURONWHITEDEFAULTBG enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_INVERTLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_PRINT_NORMAL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_LINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_RECTANGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_SEL_STREAM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_TIME_FOREVER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_CHAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAP_WORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_END enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_NONE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAG_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_END_BY_TEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SC_WRAPVISUALFLAGLOC_START_BY_TEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCEN_CHANGE()TQextScintillaBase [signal]
    SCFIND_MATCHCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_POSIX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_REGEXP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_WHOLEWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCFIND_WORDSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDREFDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDSTYLEDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ADDTEXT enum valueTQextScintillaBase
    SCI_ALLOCATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_APPENDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ASSIGNCMDKEY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCACTIVE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCCANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCCOMPLETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETAUTOHIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCANCELATSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCHOOSESINGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETCURRENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETDROPRESTOFWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETIGNORECASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETMAXHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETMAXWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETSEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCGETTYPESEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCPOSSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSELECT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETAUTOHIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETCANCELATSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETCHOOSESINGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETDROPRESTOFWORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETFILLUPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETIGNORECASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETMAXHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETMAXWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETSEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSETTYPESEPARATOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_AUTOCSTOPS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BACKTAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BEGINUNDOACTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEBADLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEHIGHLIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_BRACEMATCH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPACTIVE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPCANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPPOSSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETFOREHLT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSETHLT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CALLTIPUSESTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANCEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANPASTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANREDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CANUNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARLEFTRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHARRIGHTRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CHOOSECARETX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARALLCMDKEYS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARCMDKEY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARDOCUMENTSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CLEARREGISTEREDIMAGES enum valueTQextScintillaBase
    SCI_COLOURISE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CONVERTEOLS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPYRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_COPYTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CREATEDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_CUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELETEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELETEBACKNOTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELLINELEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELLINERIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELWORDLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DELWORDRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCLINEFROMVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_DOCUMENTSTARTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_EDITTOGGLEOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_EMPTYUNDOBUFFER enum valueTQextScintillaBase
    SCI_ENDUNDOACTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ENSUREVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ENSUREVISIBLEENFORCEPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FINDCOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FINDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FORMATRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_FORMFEED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETANCHOR enum valueTQextScintillaBase
    SCI_GETBACKSPACEUNINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETBUFFEREDDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEBACKALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETPERIOD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCARETWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCHARAT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCODEPAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCONTROLCHARSYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCURLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETCURRENTPOS enum valueTQextScintillaBase
    SCI_GETCURSOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDIRECTFUNCTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDIRECTPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETDOCPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGECOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGECOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETEDGEMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETENDATLASTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETENDSTYLED enum valueTQextScintillaBase
    SCI_GETEOLMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFIRSTVISIBLELINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDLEVEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETFOLDPARENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETHIGHLIGHTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETHSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETINDENTATIONGUIDES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLASTCHILD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLAYOUTCACHE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLENGTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLEXER enum valueTQextScintillaBase
    SCI_GETLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINECOUNT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEINDENTATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEINDENTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESELENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESELSTARTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINMASKN enum valueTQextScintillaBase
    SCI_GETMARGINRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMARGINSENSITIVEN enum valueTQextScintillaBase
    SCI_GETMARGINTYPEN enum valueTQextScintillaBase
    SCI_GETMARGINWIDTHN enum valueTQextScintillaBase
    SCI_GETMAXLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMODEVENTMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMODIFY enum valueTQextScintillaBase
    SCI_GETMOUSEDOWNCAPTURES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETMOUSEDWELLTIME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPASTECONVERTENDINGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTCOLOURMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTMAGNIFICATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPRINTWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTYEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETPROPERTYINT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETREADONLY enum valueTQextScintillaBase
    SCI_GETSCROLLWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSEARCHFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELECTIONSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSELTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTATUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEAT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEBITS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEBITSNEEDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETSTYLEDTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTABINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTABWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTARGETEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTARGETSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTEXT enum valueTQextScintillaBase
    SCI_GETTEXTLENGTH enum valueTQextScintillaBase
    SCI_GETTEXTRANGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETTWOPHASEDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUNDOCOLLECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUSEPALETTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETUSETABS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVIEWEOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVIEWWS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETVSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPSTARTINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPVISUALFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETWRAPVISUALFLAGSLOCATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETXOFFSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GETZOOM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GOTOLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_GOTOPOS enum valueTQextScintillaBase
    SCI_GRABFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HIDELINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HIDESELECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEDISPLAY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEDISPLAYEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMERECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_HOMEWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICGETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICGETSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICSETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INDICSETSTYLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_INSERTTEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LEXER_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINECOPY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINECUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDOWNRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEDUPLICATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDDISPLAY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDDISPLAYEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEENDWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINELENGTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLLDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESCROLLUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESJOIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESONSCREEN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINESSPLIT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINETRANSPOSE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LINEUPRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LOADLEXERLIBRARY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_LOWERCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERADD enum valueTQextScintillaBase
    SCI_MARKERADDSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERDEFINE enum valueTQextScintillaBase
    SCI_MARKERDEFINEPIXMAP enum valueTQextScintillaBase
    SCI_MARKERDELETE enum valueTQextScintillaBase
    SCI_MARKERDELETEALL enum valueTQextScintillaBase
    SCI_MARKERDELETEHANDLE enum valueTQextScintillaBase
    SCI_MARKERGET enum valueTQextScintillaBase
    SCI_MARKERLINEFROMHANDLE enum valueTQextScintillaBase
    SCI_MARKERNEXT enum valueTQextScintillaBase
    SCI_MARKERPREVIOUS enum valueTQextScintillaBase
    SCI_MARKERSETALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_MARKERSETBACK enum valueTQextScintillaBase
    SCI_MARKERSETFORE enum valueTQextScintillaBase
    SCI_MOVECARETINSIDEVIEW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_NEWLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_NULL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_OPTIONAL_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEDOWNRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PAGEUPRECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARADOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARADOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARAUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PARAUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_PASTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POINTXFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POINTYFROMPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONAFTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONBEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMPOINT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_POSITIONFROMPOINTCLOSE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REGISTERIMAGE enum valueTQextScintillaBase
    SCI_RELEASEDOCUMENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACESEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACETARGET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_REPLACETARGETRE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SCROLLCARET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHANCHOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHINTARGET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHNEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SEARCHPREV enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTIONDUPLICATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SELECTIONISRECTANGLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETANCHOR enum valueTQextScintillaBase
    SCI_SETBACKSPACEUNINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETBUFFEREDDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEBACKALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETLINEVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETPERIOD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCARETWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCHARSDEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCODEPAGE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCONTROLCHARSYMBOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETCURRENTPOS enum valueTQextScintillaBase
    SCI_SETCURSOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETDOCPOINTER enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGECOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGECOLUMN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEDGEMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETENDATLASTLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETEOLMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOCUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDEXPANDED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDLEVEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDMARGINCOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETFOLDMARGINHICOLOUR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHIGHLIGHTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHOTSPOTACTIVEUNDERLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETHSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETINDENTATIONGUIDES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETKEYWORDS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLAYOUTCACHE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLEXER enum valueTQextScintillaBase
    SCI_SETLEXERLANGUAGE enum valueTQextScintillaBase
    SCI_SETLINEINDENTATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETLINESTATE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINMASKN enum valueTQextScintillaBase
    SCI_SETMARGINRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMARGINSENSITIVEN enum valueTQextScintillaBase
    SCI_SETMARGINTYPEN enum valueTQextScintillaBase
    SCI_SETMARGINWIDTHN enum valueTQextScintillaBase
    SCI_SETMODEVENTMASK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMOUSEDOWNCAPTURES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETMOUSEDWELLTIME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETOVERTYPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPASTECONVERTENDINGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTCOLOURMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTMAGNIFICATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPRINTWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETPROPERTY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETREADONLY enum valueTQextScintillaBase
    SCI_SETSAVEPOINT enum valueTQextScintillaBase
    SCI_SETSCROLLWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSEARCHFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSEL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELALPHA enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELECTIONSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSELFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTATUS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLEBITS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLING enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETSTYLINGEX enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTABINDENTS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTABWIDTH enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTARGETEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTARGETSTART enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETTEXT enum valueTQextScintillaBase
    SCI_SETTWOPHASEDRAW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUNDOCOLLECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUSEPALETTE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETUSETABS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVIEWEOL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVIEWWS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVISIBLEPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETVSCROLLBAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACEBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACECHARS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWHITESPACEFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWORDCHARS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPMODE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPSTARTINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPVISUALFLAGS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETWRAPVISUALFLAGSLOCATION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETXCARETPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETXOFFSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETYCARETPOLICY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SETZOOM enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_SHOWLINES enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_START enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STARTRECORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STARTSTYLING enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STOPRECORD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEDOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEDOWNEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STUTTEREDPAGEUPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLECLEARALL enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLERESETDEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETBACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETBOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCHANGEABLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETCHARACTERSET enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETEOLFILLED enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETFONT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETFORE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETHOTSPOT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETITALIC enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETSIZE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETUNDERLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_STYLESETVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TARGETFROMSELECTION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TEXTHEIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TEXTWIDTH enum valueTQextScintillaBase
    SCI_TOGGLECARETSTICKY enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_TOGGLEFOLD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_UNDO enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_UPPERCASE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_USEPOPUP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_USERLISTSHOW enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMERECTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEWRAP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VCHOMEWRAPEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_VISIBLEFROMDOCLINE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDENDPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTLEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTLEFTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDPARTRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTENDEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDRIGHTEXTEND enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WORDSTARTPOSITION enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_WRAPCOUNT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ZOOMIN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCI_ZOOMOUT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_ADD enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_BACK enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DELETE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DIVIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_DOWN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_END enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_ESCAPE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_HOME enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_INSERT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_LEFT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_NEXT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_PRIOR enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_RETURN enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_RIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_SUBTRACT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_TAB enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCK_UP enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCLEX_ADA enum valueTQextScintillaBase
    SCLEX_APDL enum valueTQextScintillaBase
    SCLEX_ASM enum valueTQextScintillaBase
    SCLEX_ASN1 enum valueTQextScintillaBase
    SCLEX_ASP enum valueTQextScintillaBase
    SCLEX_AU3 enum valueTQextScintillaBase
    SCLEX_AVE enum valueTQextScintillaBase
    SCLEX_BAAN enum valueTQextScintillaBase
    SCLEX_BASH enum valueTQextScintillaBase
    SCLEX_BATCH enum valueTQextScintillaBase
    SCLEX_BLITZBASIC enum valueTQextScintillaBase
    SCLEX_BULLANT enum valueTQextScintillaBase
    SCLEX_CAML enum valueTQextScintillaBase
    SCLEX_CLW enum valueTQextScintillaBase
    SCLEX_CLWNOCASE enum valueTQextScintillaBase
    SCLEX_CONF enum valueTQextScintillaBase
    SCLEX_CONTAINER enum valueTQextScintillaBase
    SCLEX_CPP enum valueTQextScintillaBase
    SCLEX_CPPNOCASE enum valueTQextScintillaBase
    SCLEX_CSOUND enum valueTQextScintillaBase
    SCLEX_CSS enum valueTQextScintillaBase
    SCLEX_DIFF enum valueTQextScintillaBase
    SCLEX_EIFFEL enum valueTQextScintillaBase
    SCLEX_EIFFELKW enum valueTQextScintillaBase
    SCLEX_ERLANG enum valueTQextScintillaBase
    SCLEX_ERRORLIST enum valueTQextScintillaBase
    SCLEX_ESCRIPT enum valueTQextScintillaBase
    SCLEX_F77 enum valueTQextScintillaBase
    SCLEX_FLAGSHIP enum valueTQextScintillaBase
    SCLEX_FORTH enum valueTQextScintillaBase
    SCLEX_FORTRAN enum valueTQextScintillaBase
    SCLEX_FREEBASIC enum valueTQextScintillaBase
    SCLEX_GUI4CLI enum valueTQextScintillaBase
    SCLEX_HASKELL enum valueTQextScintillaBase
    SCLEX_HTML enum valueTQextScintillaBase
    SCLEX_INNOSETUP enum valueTQextScintillaBase
    SCLEX_KIX enum valueTQextScintillaBase
    SCLEX_LATEX enum valueTQextScintillaBase
    SCLEX_LISP enum valueTQextScintillaBase
    SCLEX_LOT enum valueTQextScintillaBase
    SCLEX_LOUT enum valueTQextScintillaBase
    SCLEX_LUA enum valueTQextScintillaBase
    SCLEX_MAKEFILE enum valueTQextScintillaBase
    SCLEX_MATLAB enum valueTQextScintillaBase
    SCLEX_METAPOST enum valueTQextScintillaBase
    SCLEX_MMIXAL enum valueTQextScintillaBase
    SCLEX_MSSQL enum valueTQextScintillaBase
    SCLEX_NNCRONTAB enum valueTQextScintillaBase
    SCLEX_NSIS enum valueTQextScintillaBase
    SCLEX_NULL enum valueTQextScintillaBase
    SCLEX_OCTAVE enum valueTQextScintillaBase
    SCLEX_OPAL enum valueTQextScintillaBase
    SCLEX_PASCAL enum valueTQextScintillaBase
    SCLEX_PERL enum valueTQextScintillaBase
    SCLEX_PHP enum valueTQextScintillaBase
    SCLEX_PHPSCRIPT enum valueTQextScintillaBase
    SCLEX_POV enum valueTQextScintillaBase
    SCLEX_POWERBASIC enum valueTQextScintillaBase
    SCLEX_PROPERTIES enum valueTQextScintillaBase
    SCLEX_PS enum valueTQextScintillaBase
    SCLEX_PUREBASIC enum valueTQextScintillaBase
    SCLEX_PYTHON enum valueTQextScintillaBase
    SCLEX_REBOL enum valueTQextScintillaBase
    SCLEX_RUBY enum valueTQextScintillaBase
    SCLEX_SCRIPTOL enum valueTQextScintillaBase
    SCLEX_SMALLTALK enum valueTQextScintillaBase
    SCLEX_SPECMAN enum valueTQextScintillaBase
    SCLEX_SPICE enum valueTQextScintillaBase
    SCLEX_SQL enum valueTQextScintillaBase
    SCLEX_TADS3 enum valueTQextScintillaBase
    SCLEX_TCL enum valueTQextScintillaBase
    SCLEX_TEX enum valueTQextScintillaBase
    SCLEX_VB enum valueTQextScintillaBase
    SCLEX_VBSCRIPT enum valueTQextScintillaBase
    SCLEX_VERILOG enum valueTQextScintillaBase
    SCLEX_VHDL enum valueTQextScintillaBase
    SCLEX_XML enum valueTQextScintillaBase
    SCLEX_YAML enum valueTQextScintillaBase
    SCMOD_ALT enum valueTQextScintillaBase
    SCMOD_CTRL enum valueTQextScintillaBase
    SCMOD_NORM enum valueTQextScintillaBase
    SCMOD_SHIFT enum valueTQextScintillaBase
    SCN_AUTOCSELECTION(const char *selection, int position)TQextScintillaBase [signal]
    SCN_CALLTIPCLICK(int direction)TQextScintillaBase [signal]
    SCN_CHARADDED(int charadded)TQextScintillaBase [signal]
    SCN_DOUBLECLICK() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_DWELLEND(int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_DWELLSTART(int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_HOTSPOTCLICK(int position, int modifiers)TQextScintillaBase [signal]
    SCN_HOTSPOTDOUBLECLICK(int position, int modifiers)TQextScintillaBase [signal]
    SCN_MACRORECORD(unsigned int, unsigned long, long)TQextScintillaBase [signal]
    SCN_MARGINCLICK(int position, int modifiers, int margin)TQextScintillaBase [signal]
    SCN_MODIFIED(int, int, const char *, int, int, int, int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_MODIFYATTEMPTRO()TQextScintillaBase [signal]
    SCN_NEEDSHOWN(int, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_PAINTED()TQextScintillaBase [signal]
    SCN_SAVEPOINTLEFT()TQextScintillaBase [signal]
    SCN_SAVEPOINTREACHED()TQextScintillaBase [signal]
    SCN_STYLENEEDED(int position)TQextScintillaBase [signal]
    SCN_UPDATEUI() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_USERLISTSELECTION(const char *, int) (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCN_ZOOM() (defined in TQextScintillaBase)TQextScintillaBase [signal]
    SCWS_INVISIBLE enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCWS_VISIBLEAFTERINDENT enum value (defined in TQextScintillaBase)TQextScintillaBase
    SCWS_VISIBLEALWAYS enum value (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam=0, long lParam=0)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, const char *wParam, const char *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, long wParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, int wParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    SendScintilla(unsigned int msg, long cpMin, long cpMax, char *lpstrText) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQColor &col) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, const TQColor &col) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) (defined in TQextScintillaBase)TQextScintillaBase
    SendScintilla(unsigned int msg, unsigned long wParam, const TQPixmap *lParam) (defined in TQextScintillaBase)TQextScintillaBase [inline]
    sizeHint() const TQextScintillaBase [virtual]
    startDrag()TQextScintillaBase [protected, virtual]
    STYLE_BRACEBAD enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_BRACELIGHT enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_CALLTIP enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_CONTROLCHAR enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_DEFAULT enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_INDENTGUIDE enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_LASTPREDEFINED enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_LINENUMBER enum value (defined in TQextScintillaBase)TQextScintillaBase
    STYLE_MAX enum value (defined in TQextScintillaBase)TQextScintillaBase
    viewport() const TQextScintillaBase
    VISIBLE_SLOP enum value (defined in TQextScintillaBase)TQextScintillaBase
    VISIBLE_STRICT enum value (defined in TQextScintillaBase)TQextScintillaBase
    ~TQextScintillaBase()TQextScintillaBase [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaBase.html b/doc/en/classTQextScintillaBase.html new file mode 100644 index 0000000..1a10cb6 --- /dev/null +++ b/doc/en/classTQextScintillaBase.html @@ -0,0 +1,3465 @@ + + +TQScintilla: TQextScintillaBase Class Reference + + + + + + +

    TQextScintillaBase Class Reference

    The TQextScintillaBase class implements the Scintilla editor widget and its low-level API. +More... +

    +#include <tqextscintillabase.h> +

    +Inherited by TQextScintilla. +

    +List of all members.

    Public Types

    +
      +
    • +SCI_START = 2000 +
    • +SCI_OPTIONAL_START = 3000 +
    • +SCI_LEXER_START = 4000 +
    • SCI_ADDTEXT = 2001 +
    • +SCI_ADDSTYLEDTEXT = 2002 +
    • +SCI_INSERTTEXT = 2003 +
    • +SCI_CLEARALL = 2004 +
    • +SCI_CLEARDOCUMENTSTYLE = 2005 +
    • +SCI_GETLENGTH = 2006 +
    • +SCI_GETCHARAT = 2007 +
    • SCI_GETCURRENTPOS = 2008 +
    • SCI_GETANCHOR = 2009 +
    • +SCI_GETSTYLEAT = 2010 +
    • +SCI_REDO = 2011 +
    • +SCI_SETUNDOCOLLECTION = 2012 +
    • +SCI_SELECTALL = 2013 +
    • SCI_SETSAVEPOINT = 2014 +
    • +SCI_GETSTYLEDTEXT = 2015 +
    • +SCI_CANREDO = 2016 +
    • SCI_MARKERLINEFROMHANDLE = 2017 +
    • SCI_MARKERDELETEHANDLE = 2018 +
    • +SCI_GETUNDOCOLLECTION = 2019 +
    • +SCI_GETVIEWWS = 2020 +
    • +SCI_SETVIEWWS = 2021 +
    • +SCI_POSITIONFROMPOINT = 2022 +
    • +SCI_POSITIONFROMPOINTCLOSE = 2023 +
    • +SCI_GOTOLINE = 2024 +
    • SCI_GOTOPOS = 2025 +
    • SCI_SETANCHOR = 2026 +
    • +SCI_GETCURLINE = 2027 +
    • SCI_GETENDSTYLED = 2028 +
    • +SCI_CONVERTEOLS = 2029 +
    • +SCI_GETEOLMODE = 2030 +
    • +SCI_SETEOLMODE = 2031 +
    • +SCI_STARTSTYLING = 2032 +
    • +SCI_SETSTYLING = 2033 +
    • +SCI_GETBUFFEREDDRAW = 2034 +
    • +SCI_SETBUFFEREDDRAW = 2035 +
    • +SCI_SETTABWIDTH = 2036 +
    • +SCI_GETTABWIDTH = 2121 +
    • +SCI_SETCODEPAGE = 2037 +
    • +SCI_SETUSEPALETTE = 2039 +
    • SCI_MARKERDEFINE = 2040 +
    • SCI_MARKERSETFORE = 2041 +
    • SCI_MARKERSETBACK = 2042 +
    • SCI_MARKERADD = 2043 +
    • SCI_MARKERDELETE = 2044 +
    • SCI_MARKERDELETEALL = 2045 +
    • SCI_MARKERGET = 2046 +
    • SCI_MARKERNEXT = 2047 +
    • SCI_MARKERPREVIOUS = 2048 +
    • SCI_MARKERDEFINEPIXMAP = 2049 +
    • SCI_SETMARGINTYPEN = 2240 +
    • SCI_GETMARGINTYPEN = 2241 +
    • SCI_SETMARGINWIDTHN = 2242 +
    • SCI_GETMARGINWIDTHN = 2243 +
    • SCI_SETMARGINMASKN = 2244 +
    • SCI_GETMARGINMASKN = 2245 +
    • SCI_SETMARGINSENSITIVEN = 2246 +
    • SCI_GETMARGINSENSITIVEN = 2247 +
    • +SCI_STYLECLEARALL = 2050 +
    • +SCI_STYLESETFORE = 2051 +
    • +SCI_STYLESETBACK = 2052 +
    • +SCI_STYLESETBOLD = 2053 +
    • +SCI_STYLESETITALIC = 2054 +
    • +SCI_STYLESETSIZE = 2055 +
    • +SCI_STYLESETFONT = 2056 +
    • +SCI_STYLESETEOLFILLED = 2057 +
    • +SCI_STYLERESETDEFAULT = 2058 +
    • +SCI_STYLESETUNDERLINE = 2059 +
    • +SCI_STYLESETCASE = 2060 +
    • +SCI_STYLESETCHARACTERSET = 2066 +
    • +SCI_SETSELFORE = 2067 +
    • +SCI_SETSELBACK = 2068 +
    • +SCI_SETCARETFORE = 2069 +
    • +SCI_ASSIGNCMDKEY = 2070 +
    • +SCI_CLEARCMDKEY = 2071 +
    • +SCI_CLEARALLCMDKEYS = 2072 +
    • +SCI_SETSTYLINGEX = 2073 +
    • +SCI_STYLESETVISIBLE = 2074 +
    • +SCI_GETCARETPERIOD = 2075 +
    • +SCI_SETCARETPERIOD = 2076 +
    • +SCI_SETWORDCHARS = 2077 +
    • +SCI_BEGINUNDOACTION = 2078 +
    • +SCI_ENDUNDOACTION = 2079 +
    • +SCI_INDICSETSTYLE = 2080 +
    • +SCI_INDICGETSTYLE = 2081 +
    • +SCI_INDICSETFORE = 2082 +
    • +SCI_INDICGETFORE = 2083 +
    • +SCI_SETWHITESPACEFORE = 2084 +
    • +SCI_SETWHITESPACEBACK = 2085 +
    • +SCI_SETSTYLEBITS = 2090 +
    • +SCI_GETSTYLEBITS = 2091 +
    • +SCI_SETLINESTATE = 2092 +
    • +SCI_GETLINESTATE = 2093 +
    • +SCI_GETMAXLINESTATE = 2094 +
    • +SCI_GETCARETLINEVISIBLE = 2095 +
    • +SCI_SETCARETLINEVISIBLE = 2096 +
    • +SCI_GETCARETLINEBACK = 2097 +
    • +SCI_SETCARETLINEBACK = 2098 +
    • +SCI_STYLESETCHANGEABLE = 2099 +
    • +SCI_AUTOCSHOW = 2100 +
    • +SCI_AUTOCCANCEL = 2101 +
    • +SCI_AUTOCACTIVE = 2102 +
    • +SCI_AUTOCPOSSTART = 2103 +
    • +SCI_AUTOCCOMPLETE = 2104 +
    • +SCI_AUTOCSTOPS = 2105 +
    • +SCI_AUTOCSETSEPARATOR = 2106 +
    • +SCI_AUTOCGETSEPARATOR = 2107 +
    • +SCI_AUTOCSELECT = 2108 +
    • +SCI_AUTOCSETCANCELATSTART = 2110 +
    • +SCI_AUTOCGETCANCELATSTART = 2111 +
    • +SCI_AUTOCSETFILLUPS = 2112 +
    • +SCI_AUTOCSETCHOOSESINGLE = 2113 +
    • +SCI_AUTOCGETCHOOSESINGLE = 2114 +
    • +SCI_AUTOCSETIGNORECASE = 2115 +
    • +SCI_AUTOCGETIGNORECASE = 2116 +
    • +SCI_USERLISTSHOW = 2117 +
    • +SCI_AUTOCSETAUTOHIDE = 2118 +
    • +SCI_AUTOCGETAUTOHIDE = 2119 +
    • +SCI_AUTOCSETDROPRESTOFWORD = 2270 +
    • +SCI_AUTOCGETDROPRESTOFWORD = 2271 +
    • +SCI_SETINDENT = 2122 +
    • +SCI_GETINDENT = 2123 +
    • +SCI_SETUSETABS = 2124 +
    • +SCI_GETUSETABS = 2125 +
    • +SCI_SETLINEINDENTATION = 2126 +
    • +SCI_GETLINEINDENTATION = 2127 +
    • +SCI_GETLINEINDENTPOSITION = 2128 +
    • +SCI_GETCOLUMN = 2129 +
    • +SCI_SETHSCROLLBAR = 2130 +
    • +SCI_GETHSCROLLBAR = 2131 +
    • +SCI_SETINDENTATIONGUIDES = 2132 +
    • +SCI_GETINDENTATIONGUIDES = 2133 +
    • +SCI_SETHIGHLIGHTGUIDE = 2134 +
    • +SCI_GETHIGHLIGHTGUIDE = 2135 +
    • +SCI_GETLINEENDPOSITION = 2136 +
    • +SCI_GETCODEPAGE = 2137 +
    • +SCI_GETCARETFORE = 2138 +
    • +SCI_GETUSEPALETTE = 2139 +
    • SCI_GETREADONLY = 2140 +
    • SCI_SETCURRENTPOS = 2141 +
    • +SCI_SETSELECTIONSTART = 2142 +
    • +SCI_GETSELECTIONSTART = 2143 +
    • +SCI_SETSELECTIONEND = 2144 +
    • +SCI_GETSELECTIONEND = 2145 +
    • +SCI_SETPRINTMAGNIFICATION = 2146 +
    • +SCI_GETPRINTMAGNIFICATION = 2147 +
    • +SCI_SETPRINTCOLOURMODE = 2148 +
    • +SCI_GETPRINTCOLOURMODE = 2149 +
    • +SCI_FINDTEXT = 2150 +
    • +SCI_FORMATRANGE = 2151 +
    • +SCI_GETFIRSTVISIBLELINE = 2152 +
    • +SCI_GETLINE = 2153 +
    • +SCI_GETLINECOUNT = 2154 +
    • +SCI_SETMARGINLEFT = 2155 +
    • +SCI_GETMARGINLEFT = 2156 +
    • +SCI_SETMARGINRIGHT = 2157 +
    • +SCI_GETMARGINRIGHT = 2158 +
    • SCI_GETMODIFY = 2159 +
    • +SCI_SETSEL = 2160 +
    • +SCI_GETSELTEXT = 2161 +
    • +SCI_GETTEXTRANGE = 2162 +
    • +SCI_HIDESELECTION = 2163 +
    • +SCI_POINTXFROMPOSITION = 2164 +
    • +SCI_POINTYFROMPOSITION = 2165 +
    • +SCI_LINEFROMPOSITION = 2166 +
    • +SCI_POSITIONFROMLINE = 2167 +
    • +SCI_LINESCROLL = 2168 +
    • +SCI_SCROLLCARET = 2169 +
    • +SCI_REPLACESEL = 2170 +
    • SCI_SETREADONLY = 2171 +
    • +SCI_NULL = 2172 +
    • +SCI_CANPASTE = 2173 +
    • +SCI_CANUNDO = 2174 +
    • SCI_EMPTYUNDOBUFFER = 2175 +
    • +SCI_UNDO = 2176 +
    • +SCI_CUT = 2177 +
    • +SCI_COPY = 2178 +
    • +SCI_PASTE = 2179 +
    • +SCI_CLEAR = 2180 +
    • SCI_SETTEXT = 2181 +
    • SCI_GETTEXT = 2182 +
    • SCI_GETTEXTLENGTH = 2183 +
    • +SCI_GETDIRECTFUNCTION = 2184 +
    • +SCI_GETDIRECTPOINTER = 2185 +
    • +SCI_SETOVERTYPE = 2186 +
    • +SCI_GETOVERTYPE = 2187 +
    • +SCI_SETCARETWIDTH = 2188 +
    • +SCI_GETCARETWIDTH = 2189 +
    • +SCI_SETTARGETSTART = 2190 +
    • +SCI_GETTARGETSTART = 2191 +
    • +SCI_SETTARGETEND = 2192 +
    • +SCI_GETTARGETEND = 2193 +
    • +SCI_REPLACETARGET = 2194 +
    • +SCI_REPLACETARGETRE = 2195 +
    • +SCI_SEARCHINTARGET = 2197 +
    • +SCI_SETSEARCHFLAGS = 2198 +
    • +SCI_GETSEARCHFLAGS = 2199 +
    • +SCI_CALLTIPSHOW = 2200 +
    • +SCI_CALLTIPCANCEL = 2201 +
    • +SCI_CALLTIPACTIVE = 2202 +
    • +SCI_CALLTIPPOSSTART = 2203 +
    • +SCI_CALLTIPSETHLT = 2204 +
    • +SCI_CALLTIPSETBACK = 2205 +
    • +SCI_CALLTIPSETFORE = 2206 +
    • +SCI_CALLTIPSETFOREHLT = 2207 +
    • +SCI_AUTOCSETMAXWIDTH = 2208 +
    • +SCI_AUTOCGETMAXWIDTH = 2209 +
    • +SCI_AUTOCSETMAXHEIGHT = 2210 +
    • +SCI_AUTOCGETMAXHEIGHT = 2211 +
    • +SCI_CALLTIPUSESTYLE = 2212 +
    • +SCI_VISIBLEFROMDOCLINE = 2220 +
    • +SCI_DOCLINEFROMVISIBLE = 2221 +
    • +SCI_SETFOLDLEVEL = 2222 +
    • +SCI_GETFOLDLEVEL = 2223 +
    • +SCI_GETLASTCHILD = 2224 +
    • +SCI_GETFOLDPARENT = 2225 +
    • +SCI_SHOWLINES = 2226 +
    • +SCI_HIDELINES = 2227 +
    • +SCI_GETLINEVISIBLE = 2228 +
    • +SCI_SETFOLDEXPANDED = 2229 +
    • +SCI_GETFOLDEXPANDED = 2230 +
    • +SCI_TOGGLEFOLD = 2231 +
    • +SCI_ENSUREVISIBLE = 2232 +
    • +SCI_SETFOLDFLAGS = 2233 +
    • +SCI_ENSUREVISIBLEENFORCEPOLICY = 2234 +
    • +SCI_WRAPCOUNT = 2235 +
    • +SCI_SETTABINDENTS = 2260 +
    • +SCI_GETTABINDENTS = 2261 +
    • +SCI_SETBACKSPACEUNINDENTS = 2262 +
    • +SCI_GETBACKSPACEUNINDENTS = 2263 +
    • +SCI_SETMOUSEDWELLTIME = 2264 +
    • +SCI_GETMOUSEDWELLTIME = 2265 +
    • +SCI_WORDSTARTPOSITION = 2266 +
    • +SCI_WORDENDPOSITION = 2267 +
    • +SCI_SETWRAPMODE = 2268 +
    • +SCI_GETWRAPMODE = 2269 +
    • +SCI_SETLAYOUTCACHE = 2272 +
    • +SCI_GETLAYOUTCACHE = 2273 +
    • +SCI_SETSCROLLWIDTH = 2274 +
    • +SCI_GETSCROLLWIDTH = 2275 +
    • SCI_TEXTWIDTH = 2276 +
    • +SCI_SETENDATLASTLINE = 2277 +
    • +SCI_GETENDATLASTLINE = 2278 +
    • +SCI_TEXTHEIGHT = 2279 +
    • +SCI_SETVSCROLLBAR = 2280 +
    • +SCI_GETVSCROLLBAR = 2281 +
    • +SCI_APPENDTEXT = 2282 +
    • +SCI_GETTWOPHASEDRAW = 2283 +
    • +SCI_SETTWOPHASEDRAW = 2284 +
    • +SCI_AUTOCGETTYPESEPARATOR = 2285 +
    • +SCI_AUTOCSETTYPESEPARATOR = 2286 +
    • +SCI_TARGETFROMSELECTION = 2287 +
    • +SCI_LINESJOIN = 2288 +
    • +SCI_LINESSPLIT = 2289 +
    • +SCI_SETFOLDMARGINCOLOUR = 2290 +
    • +SCI_SETFOLDMARGINHICOLOUR = 2291 +
    • +SCI_LINEDOWN = 2300 +
    • +SCI_LINEDOWNEXTEND = 2301 +
    • +SCI_LINEUP = 2302 +
    • +SCI_LINEUPEXTEND = 2303 +
    • +SCI_CHARLEFT = 2304 +
    • +SCI_CHARLEFTEXTEND = 2305 +
    • +SCI_CHARRIGHT = 2306 +
    • +SCI_CHARRIGHTEXTEND = 2307 +
    • +SCI_WORDLEFT = 2308 +
    • +SCI_WORDLEFTEXTEND = 2309 +
    • +SCI_WORDRIGHT = 2310 +
    • +SCI_WORDRIGHTEXTEND = 2311 +
    • +SCI_HOME = 2312 +
    • +SCI_HOMEEXTEND = 2313 +
    • +SCI_LINEEND = 2314 +
    • +SCI_LINEENDEXTEND = 2315 +
    • +SCI_DOCUMENTSTART = 2316 +
    • +SCI_DOCUMENTSTARTEXTEND = 2317 +
    • +SCI_DOCUMENTEND = 2318 +
    • +SCI_DOCUMENTENDEXTEND = 2319 +
    • +SCI_PAGEUP = 2320 +
    • +SCI_PAGEUPEXTEND = 2321 +
    • +SCI_PAGEDOWN = 2322 +
    • +SCI_PAGEDOWNEXTEND = 2323 +
    • +SCI_EDITTOGGLEOVERTYPE = 2324 +
    • +SCI_CANCEL = 2325 +
    • +SCI_DELETEBACK = 2326 +
    • +SCI_TAB = 2327 +
    • +SCI_BACKTAB = 2328 +
    • +SCI_NEWLINE = 2329 +
    • +SCI_FORMFEED = 2330 +
    • +SCI_VCHOME = 2331 +
    • +SCI_VCHOMEEXTEND = 2332 +
    • +SCI_ZOOMIN = 2333 +
    • +SCI_ZOOMOUT = 2334 +
    • +SCI_DELWORDLEFT = 2335 +
    • +SCI_DELWORDRIGHT = 2336 +
    • +SCI_LINECUT = 2337 +
    • +SCI_LINEDELETE = 2338 +
    • +SCI_LINETRANSPOSE = 2339 +
    • +SCI_LOWERCASE = 2340 +
    • +SCI_UPPERCASE = 2341 +
    • +SCI_LINESCROLLDOWN = 2342 +
    • +SCI_LINESCROLLUP = 2343 +
    • +SCI_DELETEBACKNOTLINE = 2344 +
    • +SCI_HOMEDISPLAY = 2345 +
    • +SCI_HOMEDISPLAYEXTEND = 2346 +
    • +SCI_LINEENDDISPLAY = 2347 +
    • +SCI_LINEENDDISPLAYEXTEND = 2348 +
    • +SCI_MOVECARETINSIDEVIEW = 2401 +
    • +SCI_LINELENGTH = 2350 +
    • +SCI_BRACEHIGHLIGHT = 2351 +
    • +SCI_BRACEBADLIGHT = 2352 +
    • +SCI_BRACEMATCH = 2353 +
    • +SCI_GETVIEWEOL = 2355 +
    • +SCI_SETVIEWEOL = 2356 +
    • +SCI_GETDOCPOINTER = 2357 +
    • +SCI_SETDOCPOINTER = 2358 +
    • +SCI_SETMODEVENTMASK = 2359 +
    • +SCI_GETEDGECOLUMN = 2360 +
    • +SCI_SETEDGECOLUMN = 2361 +
    • +SCI_GETEDGEMODE = 2362 +
    • +SCI_SETEDGEMODE = 2363 +
    • +SCI_GETEDGECOLOUR = 2364 +
    • +SCI_SETEDGECOLOUR = 2365 +
    • +SCI_SEARCHANCHOR = 2366 +
    • +SCI_SEARCHNEXT = 2367 +
    • +SCI_SEARCHPREV = 2368 +
    • +SCI_LINESONSCREEN = 2370 +
    • +SCI_USEPOPUP = 2371 +
    • +SCI_SELECTIONISRECTANGLE = 2372 +
    • +SCI_SETZOOM = 2373 +
    • +SCI_GETZOOM = 2374 +
    • +SCI_CREATEDOCUMENT = 2375 +
    • +SCI_ADDREFDOCUMENT = 2376 +
    • +SCI_RELEASEDOCUMENT = 2377 +
    • +SCI_GETMODEVENTMASK = 2378 +
    • +SCI_SETFOCUS = 2380 +
    • +SCI_GETFOCUS = 2381 +
    • +SCI_SETSTATUS = 2382 +
    • +SCI_GETSTATUS = 2383 +
    • +SCI_SETMOUSEDOWNCAPTURES = 2384 +
    • +SCI_GETMOUSEDOWNCAPTURES = 2385 +
    • +SCI_SETCURSOR = 2386 +
    • +SCI_GETCURSOR = 2387 +
    • +SCI_SETCONTROLCHARSYMBOL = 2388 +
    • +SCI_GETCONTROLCHARSYMBOL = 2389 +
    • +SCI_WORDPARTLEFT = 2390 +
    • +SCI_WORDPARTLEFTEXTEND = 2391 +
    • +SCI_WORDPARTRIGHT = 2392 +
    • +SCI_WORDPARTRIGHTEXTEND = 2393 +
    • +SCI_SETVISIBLEPOLICY = 2394 +
    • +SCI_DELLINELEFT = 2395 +
    • +SCI_DELLINERIGHT = 2396 +
    • +SCI_SETXOFFSET = 2397 +
    • +SCI_GETXOFFSET = 2398 +
    • +SCI_CHOOSECARETX = 2399 +
    • +SCI_GRABFOCUS = 2400 +
    • +SCI_SETXCARETPOLICY = 2402 +
    • +SCI_SETYCARETPOLICY = 2403 +
    • +SCI_LINEDUPLICATE = 2404 +
    • SCI_REGISTERIMAGE = 2405 +
    • +SCI_SETPRINTWRAPMODE = 2406 +
    • +SCI_GETPRINTWRAPMODE = 2407 +
    • SCI_CLEARREGISTEREDIMAGES = 2408 +
    • +SCI_STYLESETHOTSPOT = 2409 +
    • +SCI_SETHOTSPOTACTIVEFORE = 2410 +
    • +SCI_SETHOTSPOTACTIVEBACK = 2411 +
    • +SCI_SETHOTSPOTACTIVEUNDERLINE = 2412 +
    • +SCI_PARADOWN = 2413 +
    • +SCI_PARADOWNEXTEND = 2414 +
    • +SCI_PARAUP = 2415 +
    • +SCI_PARAUPEXTEND = 2416 +
    • +SCI_POSITIONBEFORE = 2417 +
    • +SCI_POSITIONAFTER = 2418 +
    • +SCI_COPYRANGE = 2419 +
    • +SCI_COPYTEXT = 2420 +
    • +SCI_SETSELECTIONMODE = 2422 +
    • +SCI_GETSELECTIONMODE = 2423 +
    • +SCI_GETLINESELSTARTPOSITION = 2424 +
    • +SCI_GETLINESELENDPOSITION = 2425 +
    • +SCI_LINEDOWNRECTEXTEND = 2426 +
    • +SCI_LINEUPRECTEXTEND = 2427 +
    • +SCI_CHARLEFTRECTEXTEND = 2428 +
    • +SCI_CHARRIGHTRECTEXTEND = 2429 +
    • +SCI_HOMERECTEXTEND = 2430 +
    • +SCI_VCHOMERECTEXTEND = 2431 +
    • +SCI_LINEENDRECTEXTEND = 2432 +
    • +SCI_PAGEUPRECTEXTEND = 2433 +
    • +SCI_PAGEDOWNRECTEXTEND = 2434 +
    • +SCI_STUTTEREDPAGEUP = 2435 +
    • +SCI_STUTTEREDPAGEUPEXTEND = 2436 +
    • +SCI_STUTTEREDPAGEDOWN = 2437 +
    • +SCI_STUTTEREDPAGEDOWNEXTEND = 2438 +
    • +SCI_WORDLEFTEND = 2439 +
    • +SCI_WORDLEFTENDEXTEND = 2440 +
    • +SCI_WORDRIGHTEND = 2441 +
    • +SCI_WORDRIGHTENDEXTEND = 2442 +
    • +SCI_SETWHITESPACECHARS = 2443 +
    • +SCI_SETCHARSDEFAULT = 2444 +
    • +SCI_AUTOCGETCURRENT = 2445 +
    • +SCI_ALLOCATE = 2446 +
    • +SCI_HOMEWRAP = 2349 +
    • +SCI_HOMEWRAPEXTEND = 2450 +
    • +SCI_LINEENDWRAP = 2451 +
    • +SCI_LINEENDWRAPEXTEND = 2452 +
    • +SCI_VCHOMEWRAP = 2453 +
    • +SCI_VCHOMEWRAPEXTEND = 2454 +
    • +SCI_LINECOPY = 2455 +
    • +SCI_FINDCOLUMN = 2456 +
    • +SCI_GETCARETSTICKY = 2457 +
    • +SCI_SETCARETSTICKY = 2458 +
    • +SCI_TOGGLECARETSTICKY = 2459 +
    • +SCI_SETWRAPVISUALFLAGS = 2460 +
    • +SCI_GETWRAPVISUALFLAGS = 2461 +
    • +SCI_SETWRAPVISUALFLAGSLOCATION = 2462 +
    • +SCI_GETWRAPVISUALFLAGSLOCATION = 2463 +
    • +SCI_SETWRAPSTARTINDENT = 2464 +
    • +SCI_GETWRAPSTARTINDENT = 2465 +
    • +SCI_MARKERADDSET = 2466 +
    • +SCI_SETPASTECONVERTENDINGS = 2467 +
    • +SCI_GETPASTECONVERTENDINGS = 2468 +
    • +SCI_SELECTIONDUPLICATE = 2469 +
    • +SCI_SETCARETLINEBACKALPHA = 2470 +
    • +SCI_GETCARETLINEBACKALPHA = 2471 +
    • +SCI_MARKERSETALPHA = 2476 +
    • +SCI_GETSELALPHA = 2477 +
    • +SCI_SETSELALPHA = 2478 +
    • +SCI_STARTRECORD = 3001 +
    • +SCI_STOPRECORD = 3002 +
    • SCI_SETLEXER = 4001 +
    • SCI_GETLEXER = 4002 +
    • +SCI_COLOURISE = 4003 +
    • +SCI_SETPROPERTY = 4004 +
    • +SCI_SETKEYWORDS = 4005 +
    • SCI_SETLEXERLANGUAGE = 4006 +
    • +SCI_LOADLEXERLIBRARY = 4007 +
    • +SCI_GETPROPERTY = 4008 +
    • +SCI_GETPROPERTYEXPANDED = 4009 +
    • +SCI_GETPROPERTYINT = 4010 +
    • +SCI_GETSTYLEBITSNEEDED = 4011 +
    • +SC_ALPHA_TRANSPARENT = 0 +
    • +SC_ALPHA_OPAQUE = 255 +
    • +SC_ALPHA_NOALPHA = 256 +
    • +SC_WRAPVISUALFLAG_NONE = 0x0000 +
    • +SC_WRAPVISUALFLAG_END = 0x0001 +
    • +SC_WRAPVISUALFLAG_START = 0x0002 +
    • +SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000 +
    • +SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001 +
    • +SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 +
    • +SC_SEL_STREAM = 0 +
    • +SC_SEL_RECTANGLE = 1 +
    • +SC_SEL_LINES = 2 +
    • +SCWS_INVISIBLE = 0 +
    • +SCWS_VISIBLEALWAYS = 1 +
    • +SCWS_VISIBLEAFTERINDENT = 2 +
    • +SC_EOL_CRLF = 0 +
    • +SC_EOL_CR = 1 +
    • +SC_EOL_LF = 2 +
    • +SC_CP_DBCS = 1 +
    • +SC_CP_UTF8 = 65001 +
    • SC_MARK_CIRCLE = 0 +
    • SC_MARK_ROUNDRECT = 1 +
    • SC_MARK_ARROW = 2 +
    • SC_MARK_SMALLRECT = 3 +
    • SC_MARK_SHORTARROW = 4 +
    • SC_MARK_EMPTY = 5 +
    • SC_MARK_ARROWDOWN = 6 +
    • SC_MARK_MINUS = 7 +
    • SC_MARK_PLUS = 8 +
    • SC_MARK_VLINE = 9 +
    • SC_MARK_LCORNER = 10 +
    • SC_MARK_TCORNER = 11 +
    • SC_MARK_BOXPLUS = 12 +
    • SC_MARK_BOXPLUSCONNECTED = 13 +
    • SC_MARK_BOXMINUS = 14 +
    • SC_MARK_BOXMINUSCONNECTED = 15 +
    • SC_MARK_LCORNERCURVE = 16 +
    • SC_MARK_TCORNERCURVE = 17 +
    • SC_MARK_CIRCLEPLUS = 18 +
    • SC_MARK_CIRCLEPLUSCONNECTED = 19 +
    • SC_MARK_CIRCLEMINUS = 20 +
    • SC_MARK_CIRCLEMINUSCONNECTED = 21 +
    • SC_MARK_BACKGROUND = 22 +
    • SC_MARK_DOTDOTDOT = 23 +
    • SC_MARK_ARROWS = 24 +
    • SC_MARK_PIXMAP = 25 +
    • SC_MARK_FULLRECT = 26 +
    • SC_MARK_CHARACTER = 10000 +
    • +SC_MARKNUM_FOLDEREND = 25 +
    • +SC_MARKNUM_FOLDEROPENMID = 26 +
    • +SC_MARKNUM_FOLDERMIDTAIL = 27 +
    • +SC_MARKNUM_FOLDERTAIL = 28 +
    • +SC_MARKNUM_FOLDERSUB = 29 +
    • +SC_MARKNUM_FOLDER = 30 +
    • +SC_MARKNUM_FOLDEROPEN = 31 +
    • +SC_MASK_FOLDERS = 0xfe000000 +
    • SC_MARGIN_SYMBOL = 0 +
    • SC_MARGIN_NUMBER = 1 +
    • SC_MARGIN_BACK = 2 +
    • SC_MARGIN_FORE = 3 +
    • +STYLE_DEFAULT = 32 +
    • +STYLE_LINENUMBER = 33 +
    • +STYLE_BRACELIGHT = 34 +
    • +STYLE_BRACEBAD = 35 +
    • +STYLE_CONTROLCHAR = 36 +
    • +STYLE_INDENTGUIDE = 37 +
    • +STYLE_CALLTIP = 38 +
    • +STYLE_LASTPREDEFINED = 39 +
    • +STYLE_MAX = 127 +
    • +SC_CHARSET_ANSI = 0 +
    • +SC_CHARSET_DEFAULT = 1 +
    • +SC_CHARSET_BALTIC = 186 +
    • +SC_CHARSET_CHINESEBIG5 = 136 +
    • +SC_CHARSET_EASTEUROPE = 238 +
    • +SC_CHARSET_GB2312 = 134 +
    • +SC_CHARSET_GREEK = 161 +
    • +SC_CHARSET_HANGUL = 129 +
    • +SC_CHARSET_MAC = 77 +
    • +SC_CHARSET_OEM = 255 +
    • +SC_CHARSET_RUSSIAN = 204 +
    • +SC_CHARSET_SHIFTJIS = 128 +
    • +SC_CHARSET_SYMBOL = 2 +
    • +SC_CHARSET_TURKISH = 162 +
    • +SC_CHARSET_JOHAB = 130 +
    • +SC_CHARSET_HEBREW = 177 +
    • +SC_CHARSET_ARABIC = 178 +
    • +SC_CHARSET_VIETNAMESE = 163 +
    • +SC_CHARSET_THAI = 222 +
    • +SC_CHARSET_8859_15 = 1000 +
    • +SC_CASE_MIXED = 0 +
    • +SC_CASE_UPPER = 1 +
    • +SC_CASE_LOWER = 2 +
    • +INDIC_MAX = 7 +
    • +INDIC_PLAIN = 0 +
    • +INDIC_SQUIGGLE = 1 +
    • +INDIC_TT = 2 +
    • +INDIC_DIAGONAL = 3 +
    • +INDIC_STRIKE = 4 +
    • +INDIC_HIDDEN = 5 +
    • +INDIC_BOX = 6 +
    • +INDIC_ROUNDBOX = 7 +
    • +INDIC0_MASK = 0x20 +
    • +INDIC1_MASK = 0x40 +
    • +INDIC2_MASK = 0x80 +
    • +INDICS_MASK = 0xe0 +
    • +SC_PRINT_NORMAL = 0 +
    • +SC_PRINT_INVERTLIGHT = 1 +
    • +SC_PRINT_BLACKONWHITE = 2 +
    • +SC_PRINT_COLOURONWHITE = 3 +
    • +SC_PRINT_COLOURONWHITEDEFAULTBG = 4 +
    • +SCFIND_WHOLEWORD = 2 +
    • +SCFIND_MATCHCASE = 4 +
    • +SCFIND_WORDSTART = 0x00100000 +
    • +SCFIND_REGEXP = 0x00200000 +
    • +SCFIND_POSIX = 0x00400000 +
    • +SC_FOLDLEVELBASE = 0x00400 +
    • +SC_FOLDLEVELWHITEFLAG = 0x01000 +
    • +SC_FOLDLEVELHEADERFLAG = 0x02000 +
    • +SC_FOLDLEVELBOXHEADERFLAG = 0x04000 +
    • +SC_FOLDLEVELBOXFOOTERFLAG = 0x08000 +
    • +SC_FOLDLEVELCONTRACTED = 0x10000 +
    • +SC_FOLDLEVELUNINDENT = 0x20000 +
    • +SC_FOLDLEVELNUMBERMASK = 0x00fff +
    • +SC_FOLDFLAG_BOX = 0x0001 +
    • +SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002 +
    • +SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004 +
    • +SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008 +
    • +SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010 +
    • +SC_FOLDFLAG_LEVELNUMBERS = 0x0040 +
    • +SC_TIME_FOREVER = 10000000 +
    • +SC_WRAP_NONE = 0 +
    • +SC_WRAP_WORD = 1 +
    • +SC_WRAP_CHAR = 2 +
    • +SC_CACHE_NONE = 0 +
    • +SC_CACHE_CARET = 1 +
    • +SC_CACHE_PAGE = 2 +
    • +SC_CACHE_DOCUMENT = 3 +
    • +EDGE_NONE = 0 +
    • +EDGE_LINE = 1 +
    • +EDGE_BACKGROUND = 2 +
    • +SC_CURSORNORMAL = -1 +
    • +SC_CURSORWAIT = 4 +
    • +VISIBLE_SLOP = 0x01 +
    • +VISIBLE_STRICT = 0x04 +
    • +CARET_SLOP = 0x01 +
    • +CARET_STRICT = 0x04 +
    • +CARET_JUMPS = 0x10 +
    • +CARET_EVEN = 0x08 +
    • +SC_MOD_INSERTTEXT = 0x1 +
    • +SC_MOD_DELETETEXT = 0x2 +
    • +SC_MOD_CHANGESTYLE = 0x4 +
    • +SC_MOD_CHANGEFOLD = 0x8 +
    • +SC_PERFORMED_USER = 0x10 +
    • +SC_PERFORMED_UNDO = 0x20 +
    • +SC_PERFORMED_REDO = 0x40 +
    • +SC_MULTISTEPUNDOREDO = 0x80 +
    • +SC_LASTSTEPINUNDOREDO = 0x100 +
    • +SC_MOD_CHANGEMARKER = 0x200 +
    • +SC_MOD_BEFOREINSERT = 0x400 +
    • +SC_MOD_BEFOREDELETE = 0x800 +
    • +SC_MULTILINEUNDOREDO = 0x1000 +
    • +SC_MODEVENTMASKALL = 0x1fff +
    • +SCK_DOWN = 300 +
    • +SCK_UP = 301 +
    • +SCK_LEFT = 302 +
    • +SCK_RIGHT = 303 +
    • +SCK_HOME = 304 +
    • +SCK_END = 305 +
    • +SCK_PRIOR = 306 +
    • +SCK_NEXT = 307 +
    • +SCK_DELETE = 308 +
    • +SCK_INSERT = 309 +
    • +SCK_ESCAPE = 7 +
    • +SCK_BACK = 8 +
    • +SCK_TAB = 9 +
    • +SCK_RETURN = 13 +
    • +SCK_ADD = 310 +
    • +SCK_SUBTRACT = 311 +
    • +SCK_DIVIDE = 312 +
    • SCMOD_NORM = 0 +
    • SCMOD_SHIFT = 1 +
    • SCMOD_CTRL = 2 +
    • SCMOD_ALT = 4 +
    • SCLEX_CONTAINER = 0 +
    • SCLEX_NULL = 1 +
    • SCLEX_PYTHON = 2 +
    • SCLEX_CPP = 3 +
    • SCLEX_HTML = 4 +
    • SCLEX_XML = 5 +
    • SCLEX_PERL = 6 +
    • SCLEX_SQL = 7 +
    • SCLEX_VB = 8 +
    • SCLEX_PROPERTIES = 9 +
    • SCLEX_ERRORLIST = 10 +
    • SCLEX_MAKEFILE = 11 +
    • SCLEX_BATCH = 12 +
    • SCLEX_LATEX = 14 +
    • SCLEX_LUA = 15 +
    • SCLEX_DIFF = 16 +
    • SCLEX_CONF = 17 +
    • SCLEX_PASCAL = 18 +
    • SCLEX_AVE = 19 +
    • SCLEX_ADA = 20 +
    • SCLEX_LISP = 21 +
    • SCLEX_RUBY = 22 +
    • SCLEX_EIFFEL = 23 +
    • SCLEX_EIFFELKW = 24 +
    • SCLEX_TCL = 25 +
    • SCLEX_NNCRONTAB = 26 +
    • SCLEX_BULLANT = 27 +
    • SCLEX_VBSCRIPT = 28 +
    • SCLEX_ASP = SCLEX_HTML +
    • SCLEX_PHP = SCLEX_HTML +
    • SCLEX_BAAN = 31 +
    • SCLEX_MATLAB = 32 +
    • SCLEX_SCRIPTOL = 33 +
    • SCLEX_ASM = 34 +
    • SCLEX_CPPNOCASE = 35 +
    • SCLEX_FORTRAN = 36 +
    • SCLEX_F77 = 37 +
    • SCLEX_CSS = 38 +
    • SCLEX_POV = 39 +
    • SCLEX_LOUT = 40 +
    • SCLEX_ESCRIPT = 41 +
    • SCLEX_PS = 42 +
    • SCLEX_NSIS = 43 +
    • SCLEX_MMIXAL = 44 +
    • SCLEX_CLW = 45 +
    • SCLEX_CLWNOCASE = 46 +
    • SCLEX_LOT = 47 +
    • SCLEX_YAML = 48 +
    • SCLEX_TEX = 49 +
    • SCLEX_METAPOST = 50 +
    • SCLEX_POWERBASIC = 51 +
    • SCLEX_FORTH = 52 +
    • SCLEX_ERLANG = 53 +
    • SCLEX_OCTAVE = 54 +
    • SCLEX_MSSQL = 55 +
    • SCLEX_VERILOG = 56 +
    • SCLEX_KIX = 57 +
    • SCLEX_GUI4CLI = 58 +
    • SCLEX_SPECMAN = 59 +
    • SCLEX_AU3 = 60 +
    • SCLEX_APDL = 61 +
    • SCLEX_BASH = 62 +
    • SCLEX_ASN1 = 63 +
    • SCLEX_VHDL = 64 +
    • SCLEX_CAML = 65 +
    • SCLEX_BLITZBASIC = 66 +
    • SCLEX_PUREBASIC = 67 +
    • SCLEX_HASKELL = 68 +
    • SCLEX_PHPSCRIPT = 69 +
    • SCLEX_TADS3 = 70 +
    • SCLEX_REBOL = 71 +
    • SCLEX_SMALLTALK = 72 +
    • SCLEX_FLAGSHIP = 73 +
    • SCLEX_CSOUND = 74 +
    • SCLEX_FREEBASIC = 75 +
    • SCLEX_INNOSETUP = 76 +
    • SCLEX_OPAL = 77 +
    • SCLEX_SPICE = 78 +
    • enum {
      +  SCI_START = 2000, +SCI_OPTIONAL_START = 3000, +SCI_LEXER_START = 4000, +
      +  SCI_ADDTEXT = 2001, +SCI_ADDSTYLEDTEXT = 2002, +SCI_INSERTTEXT = 2003, +
      +  SCI_CLEARALL = 2004, +SCI_CLEARDOCUMENTSTYLE = 2005, +SCI_GETLENGTH = 2006, +
      +  SCI_GETCHARAT = 2007, +SCI_GETCURRENTPOS = 2008, +SCI_GETANCHOR = 2009, +
      +  SCI_GETSTYLEAT = 2010, +SCI_REDO = 2011, +SCI_SETUNDOCOLLECTION = 2012, +
      +  SCI_SELECTALL = 2013, +SCI_SETSAVEPOINT = 2014, +SCI_GETSTYLEDTEXT = 2015, +
      +  SCI_CANREDO = 2016, +SCI_MARKERLINEFROMHANDLE = 2017, +SCI_MARKERDELETEHANDLE = 2018, +
      +  SCI_GETUNDOCOLLECTION = 2019, +SCI_GETVIEWWS = 2020, +SCI_SETVIEWWS = 2021, +
      +  SCI_POSITIONFROMPOINT = 2022, +SCI_POSITIONFROMPOINTCLOSE = 2023, +SCI_GOTOLINE = 2024, +
      +  SCI_GOTOPOS = 2025, +SCI_SETANCHOR = 2026, +SCI_GETCURLINE = 2027, +
      +  SCI_GETENDSTYLED = 2028, +SCI_CONVERTEOLS = 2029, +SCI_GETEOLMODE = 2030, +
      +  SCI_SETEOLMODE = 2031, +SCI_STARTSTYLING = 2032, +SCI_SETSTYLING = 2033, +
      +  SCI_GETBUFFEREDDRAW = 2034, +SCI_SETBUFFEREDDRAW = 2035, +SCI_SETTABWIDTH = 2036, +
      +  SCI_GETTABWIDTH = 2121, +SCI_SETCODEPAGE = 2037, +SCI_SETUSEPALETTE = 2039, +
      +  SCI_MARKERDEFINE = 2040, +SCI_MARKERSETFORE = 2041, +SCI_MARKERSETBACK = 2042, +
      +  SCI_MARKERADD = 2043, +SCI_MARKERDELETE = 2044, +SCI_MARKERDELETEALL = 2045, +
      +  SCI_MARKERGET = 2046, +SCI_MARKERNEXT = 2047, +SCI_MARKERPREVIOUS = 2048, +
      +  SCI_MARKERDEFINEPIXMAP = 2049, +SCI_SETMARGINTYPEN = 2240, +SCI_GETMARGINTYPEN = 2241, +
      +  SCI_SETMARGINWIDTHN = 2242, +SCI_GETMARGINWIDTHN = 2243, +SCI_SETMARGINMASKN = 2244, +
      +  SCI_GETMARGINMASKN = 2245, +SCI_SETMARGINSENSITIVEN = 2246, +SCI_GETMARGINSENSITIVEN = 2247, +
      +  SCI_STYLECLEARALL = 2050, +SCI_STYLESETFORE = 2051, +SCI_STYLESETBACK = 2052, +
      +  SCI_STYLESETBOLD = 2053, +SCI_STYLESETITALIC = 2054, +SCI_STYLESETSIZE = 2055, +
      +  SCI_STYLESETFONT = 2056, +SCI_STYLESETEOLFILLED = 2057, +SCI_STYLERESETDEFAULT = 2058, +
      +  SCI_STYLESETUNDERLINE = 2059, +SCI_STYLESETCASE = 2060, +SCI_STYLESETCHARACTERSET = 2066, +
      +  SCI_SETSELFORE = 2067, +SCI_SETSELBACK = 2068, +SCI_SETCARETFORE = 2069, +
      +  SCI_ASSIGNCMDKEY = 2070, +SCI_CLEARCMDKEY = 2071, +SCI_CLEARALLCMDKEYS = 2072, +
      +  SCI_SETSTYLINGEX = 2073, +SCI_STYLESETVISIBLE = 2074, +SCI_GETCARETPERIOD = 2075, +
      +  SCI_SETCARETPERIOD = 2076, +SCI_SETWORDCHARS = 2077, +SCI_BEGINUNDOACTION = 2078, +
      +  SCI_ENDUNDOACTION = 2079, +SCI_INDICSETSTYLE = 2080, +SCI_INDICGETSTYLE = 2081, +
      +  SCI_INDICSETFORE = 2082, +SCI_INDICGETFORE = 2083, +SCI_SETWHITESPACEFORE = 2084, +
      +  SCI_SETWHITESPACEBACK = 2085, +SCI_SETSTYLEBITS = 2090, +SCI_GETSTYLEBITS = 2091, +
      +  SCI_SETLINESTATE = 2092, +SCI_GETLINESTATE = 2093, +SCI_GETMAXLINESTATE = 2094, +
      +  SCI_GETCARETLINEVISIBLE = 2095, +SCI_SETCARETLINEVISIBLE = 2096, +SCI_GETCARETLINEBACK = 2097, +
      +  SCI_SETCARETLINEBACK = 2098, +SCI_STYLESETCHANGEABLE = 2099, +SCI_AUTOCSHOW = 2100, +
      +  SCI_AUTOCCANCEL = 2101, +SCI_AUTOCACTIVE = 2102, +SCI_AUTOCPOSSTART = 2103, +
      +  SCI_AUTOCCOMPLETE = 2104, +SCI_AUTOCSTOPS = 2105, +SCI_AUTOCSETSEPARATOR = 2106, +
      +  SCI_AUTOCGETSEPARATOR = 2107, +SCI_AUTOCSELECT = 2108, +SCI_AUTOCSETCANCELATSTART = 2110, +
      +  SCI_AUTOCGETCANCELATSTART = 2111, +SCI_AUTOCSETFILLUPS = 2112, +SCI_AUTOCSETCHOOSESINGLE = 2113, +
      +  SCI_AUTOCGETCHOOSESINGLE = 2114, +SCI_AUTOCSETIGNORECASE = 2115, +SCI_AUTOCGETIGNORECASE = 2116, +
      +  SCI_USERLISTSHOW = 2117, +SCI_AUTOCSETAUTOHIDE = 2118, +SCI_AUTOCGETAUTOHIDE = 2119, +
      +  SCI_AUTOCSETDROPRESTOFWORD = 2270, +SCI_AUTOCGETDROPRESTOFWORD = 2271, +SCI_SETINDENT = 2122, +
      +  SCI_GETINDENT = 2123, +SCI_SETUSETABS = 2124, +SCI_GETUSETABS = 2125, +
      +  SCI_SETLINEINDENTATION = 2126, +SCI_GETLINEINDENTATION = 2127, +SCI_GETLINEINDENTPOSITION = 2128, +
      +  SCI_GETCOLUMN = 2129, +SCI_SETHSCROLLBAR = 2130, +SCI_GETHSCROLLBAR = 2131, +
      +  SCI_SETINDENTATIONGUIDES = 2132, +SCI_GETINDENTATIONGUIDES = 2133, +SCI_SETHIGHLIGHTGUIDE = 2134, +
      +  SCI_GETHIGHLIGHTGUIDE = 2135, +SCI_GETLINEENDPOSITION = 2136, +SCI_GETCODEPAGE = 2137, +
      +  SCI_GETCARETFORE = 2138, +SCI_GETUSEPALETTE = 2139, +SCI_GETREADONLY = 2140, +
      +  SCI_SETCURRENTPOS = 2141, +SCI_SETSELECTIONSTART = 2142, +SCI_GETSELECTIONSTART = 2143, +
      +  SCI_SETSELECTIONEND = 2144, +SCI_GETSELECTIONEND = 2145, +SCI_SETPRINTMAGNIFICATION = 2146, +
      +  SCI_GETPRINTMAGNIFICATION = 2147, +SCI_SETPRINTCOLOURMODE = 2148, +SCI_GETPRINTCOLOURMODE = 2149, +
      +  SCI_FINDTEXT = 2150, +SCI_FORMATRANGE = 2151, +SCI_GETFIRSTVISIBLELINE = 2152, +
      +  SCI_GETLINE = 2153, +SCI_GETLINECOUNT = 2154, +SCI_SETMARGINLEFT = 2155, +
      +  SCI_GETMARGINLEFT = 2156, +SCI_SETMARGINRIGHT = 2157, +SCI_GETMARGINRIGHT = 2158, +
      +  SCI_GETMODIFY = 2159, +SCI_SETSEL = 2160, +SCI_GETSELTEXT = 2161, +
      +  SCI_GETTEXTRANGE = 2162, +SCI_HIDESELECTION = 2163, +SCI_POINTXFROMPOSITION = 2164, +
      +  SCI_POINTYFROMPOSITION = 2165, +SCI_LINEFROMPOSITION = 2166, +SCI_POSITIONFROMLINE = 2167, +
      +  SCI_LINESCROLL = 2168, +SCI_SCROLLCARET = 2169, +SCI_REPLACESEL = 2170, +
      +  SCI_SETREADONLY = 2171, +SCI_NULL = 2172, +SCI_CANPASTE = 2173, +
      +  SCI_CANUNDO = 2174, +SCI_EMPTYUNDOBUFFER = 2175, +SCI_UNDO = 2176, +
      +  SCI_CUT = 2177, +SCI_COPY = 2178, +SCI_PASTE = 2179, +
      +  SCI_CLEAR = 2180, +SCI_SETTEXT = 2181, +SCI_GETTEXT = 2182, +
      +  SCI_GETTEXTLENGTH = 2183, +SCI_GETDIRECTFUNCTION = 2184, +SCI_GETDIRECTPOINTER = 2185, +
      +  SCI_SETOVERTYPE = 2186, +SCI_GETOVERTYPE = 2187, +SCI_SETCARETWIDTH = 2188, +
      +  SCI_GETCARETWIDTH = 2189, +SCI_SETTARGETSTART = 2190, +SCI_GETTARGETSTART = 2191, +
      +  SCI_SETTARGETEND = 2192, +SCI_GETTARGETEND = 2193, +SCI_REPLACETARGET = 2194, +
      +  SCI_REPLACETARGETRE = 2195, +SCI_SEARCHINTARGET = 2197, +SCI_SETSEARCHFLAGS = 2198, +
      +  SCI_GETSEARCHFLAGS = 2199, +SCI_CALLTIPSHOW = 2200, +SCI_CALLTIPCANCEL = 2201, +
      +  SCI_CALLTIPACTIVE = 2202, +SCI_CALLTIPPOSSTART = 2203, +SCI_CALLTIPSETHLT = 2204, +
      +  SCI_CALLTIPSETBACK = 2205, +SCI_CALLTIPSETFORE = 2206, +SCI_CALLTIPSETFOREHLT = 2207, +
      +  SCI_AUTOCSETMAXWIDTH = 2208, +SCI_AUTOCGETMAXWIDTH = 2209, +SCI_AUTOCSETMAXHEIGHT = 2210, +
      +  SCI_AUTOCGETMAXHEIGHT = 2211, +SCI_CALLTIPUSESTYLE = 2212, +SCI_VISIBLEFROMDOCLINE = 2220, +
      +  SCI_DOCLINEFROMVISIBLE = 2221, +SCI_SETFOLDLEVEL = 2222, +SCI_GETFOLDLEVEL = 2223, +
      +  SCI_GETLASTCHILD = 2224, +SCI_GETFOLDPARENT = 2225, +SCI_SHOWLINES = 2226, +
      +  SCI_HIDELINES = 2227, +SCI_GETLINEVISIBLE = 2228, +SCI_SETFOLDEXPANDED = 2229, +
      +  SCI_GETFOLDEXPANDED = 2230, +SCI_TOGGLEFOLD = 2231, +SCI_ENSUREVISIBLE = 2232, +
      +  SCI_SETFOLDFLAGS = 2233, +SCI_ENSUREVISIBLEENFORCEPOLICY = 2234, +SCI_WRAPCOUNT = 2235, +
      +  SCI_SETTABINDENTS = 2260, +SCI_GETTABINDENTS = 2261, +SCI_SETBACKSPACEUNINDENTS = 2262, +
      +  SCI_GETBACKSPACEUNINDENTS = 2263, +SCI_SETMOUSEDWELLTIME = 2264, +SCI_GETMOUSEDWELLTIME = 2265, +
      +  SCI_WORDSTARTPOSITION = 2266, +SCI_WORDENDPOSITION = 2267, +SCI_SETWRAPMODE = 2268, +
      +  SCI_GETWRAPMODE = 2269, +SCI_SETLAYOUTCACHE = 2272, +SCI_GETLAYOUTCACHE = 2273, +
      +  SCI_SETSCROLLWIDTH = 2274, +SCI_GETSCROLLWIDTH = 2275, +SCI_TEXTWIDTH = 2276, +
      +  SCI_SETENDATLASTLINE = 2277, +SCI_GETENDATLASTLINE = 2278, +SCI_TEXTHEIGHT = 2279, +
      +  SCI_SETVSCROLLBAR = 2280, +SCI_GETVSCROLLBAR = 2281, +SCI_APPENDTEXT = 2282, +
      +  SCI_GETTWOPHASEDRAW = 2283, +SCI_SETTWOPHASEDRAW = 2284, +SCI_AUTOCGETTYPESEPARATOR = 2285, +
      +  SCI_AUTOCSETTYPESEPARATOR = 2286, +SCI_TARGETFROMSELECTION = 2287, +SCI_LINESJOIN = 2288, +
      +  SCI_LINESSPLIT = 2289, +SCI_SETFOLDMARGINCOLOUR = 2290, +SCI_SETFOLDMARGINHICOLOUR = 2291, +
      +  SCI_LINEDOWN = 2300, +SCI_LINEDOWNEXTEND = 2301, +SCI_LINEUP = 2302, +
      +  SCI_LINEUPEXTEND = 2303, +SCI_CHARLEFT = 2304, +SCI_CHARLEFTEXTEND = 2305, +
      +  SCI_CHARRIGHT = 2306, +SCI_CHARRIGHTEXTEND = 2307, +SCI_WORDLEFT = 2308, +
      +  SCI_WORDLEFTEXTEND = 2309, +SCI_WORDRIGHT = 2310, +SCI_WORDRIGHTEXTEND = 2311, +
      +  SCI_HOME = 2312, +SCI_HOMEEXTEND = 2313, +SCI_LINEEND = 2314, +
      +  SCI_LINEENDEXTEND = 2315, +SCI_DOCUMENTSTART = 2316, +SCI_DOCUMENTSTARTEXTEND = 2317, +
      +  SCI_DOCUMENTEND = 2318, +SCI_DOCUMENTENDEXTEND = 2319, +SCI_PAGEUP = 2320, +
      +  SCI_PAGEUPEXTEND = 2321, +SCI_PAGEDOWN = 2322, +SCI_PAGEDOWNEXTEND = 2323, +
      +  SCI_EDITTOGGLEOVERTYPE = 2324, +SCI_CANCEL = 2325, +SCI_DELETEBACK = 2326, +
      +  SCI_TAB = 2327, +SCI_BACKTAB = 2328, +SCI_NEWLINE = 2329, +
      +  SCI_FORMFEED = 2330, +SCI_VCHOME = 2331, +SCI_VCHOMEEXTEND = 2332, +
      +  SCI_ZOOMIN = 2333, +SCI_ZOOMOUT = 2334, +SCI_DELWORDLEFT = 2335, +
      +  SCI_DELWORDRIGHT = 2336, +SCI_LINECUT = 2337, +SCI_LINEDELETE = 2338, +
      +  SCI_LINETRANSPOSE = 2339, +SCI_LOWERCASE = 2340, +SCI_UPPERCASE = 2341, +
      +  SCI_LINESCROLLDOWN = 2342, +SCI_LINESCROLLUP = 2343, +SCI_DELETEBACKNOTLINE = 2344, +
      +  SCI_HOMEDISPLAY = 2345, +SCI_HOMEDISPLAYEXTEND = 2346, +SCI_LINEENDDISPLAY = 2347, +
      +  SCI_LINEENDDISPLAYEXTEND = 2348, +SCI_MOVECARETINSIDEVIEW = 2401, +SCI_LINELENGTH = 2350, +
      +  SCI_BRACEHIGHLIGHT = 2351, +SCI_BRACEBADLIGHT = 2352, +SCI_BRACEMATCH = 2353, +
      +  SCI_GETVIEWEOL = 2355, +SCI_SETVIEWEOL = 2356, +SCI_GETDOCPOINTER = 2357, +
      +  SCI_SETDOCPOINTER = 2358, +SCI_SETMODEVENTMASK = 2359, +SCI_GETEDGECOLUMN = 2360, +
      +  SCI_SETEDGECOLUMN = 2361, +SCI_GETEDGEMODE = 2362, +SCI_SETEDGEMODE = 2363, +
      +  SCI_GETEDGECOLOUR = 2364, +SCI_SETEDGECOLOUR = 2365, +SCI_SEARCHANCHOR = 2366, +
      +  SCI_SEARCHNEXT = 2367, +SCI_SEARCHPREV = 2368, +SCI_LINESONSCREEN = 2370, +
      +  SCI_USEPOPUP = 2371, +SCI_SELECTIONISRECTANGLE = 2372, +SCI_SETZOOM = 2373, +
      +  SCI_GETZOOM = 2374, +SCI_CREATEDOCUMENT = 2375, +SCI_ADDREFDOCUMENT = 2376, +
      +  SCI_RELEASEDOCUMENT = 2377, +SCI_GETMODEVENTMASK = 2378, +SCI_SETFOCUS = 2380, +
      +  SCI_GETFOCUS = 2381, +SCI_SETSTATUS = 2382, +SCI_GETSTATUS = 2383, +
      +  SCI_SETMOUSEDOWNCAPTURES = 2384, +SCI_GETMOUSEDOWNCAPTURES = 2385, +SCI_SETCURSOR = 2386, +
      +  SCI_GETCURSOR = 2387, +SCI_SETCONTROLCHARSYMBOL = 2388, +SCI_GETCONTROLCHARSYMBOL = 2389, +
      +  SCI_WORDPARTLEFT = 2390, +SCI_WORDPARTLEFTEXTEND = 2391, +SCI_WORDPARTRIGHT = 2392, +
      +  SCI_WORDPARTRIGHTEXTEND = 2393, +SCI_SETVISIBLEPOLICY = 2394, +SCI_DELLINELEFT = 2395, +
      +  SCI_DELLINERIGHT = 2396, +SCI_SETXOFFSET = 2397, +SCI_GETXOFFSET = 2398, +
      +  SCI_CHOOSECARETX = 2399, +SCI_GRABFOCUS = 2400, +SCI_SETXCARETPOLICY = 2402, +
      +  SCI_SETYCARETPOLICY = 2403, +SCI_LINEDUPLICATE = 2404, +SCI_REGISTERIMAGE = 2405, +
      +  SCI_SETPRINTWRAPMODE = 2406, +SCI_GETPRINTWRAPMODE = 2407, +SCI_CLEARREGISTEREDIMAGES = 2408, +
      +  SCI_STYLESETHOTSPOT = 2409, +SCI_SETHOTSPOTACTIVEFORE = 2410, +SCI_SETHOTSPOTACTIVEBACK = 2411, +
      +  SCI_SETHOTSPOTACTIVEUNDERLINE = 2412, +SCI_PARADOWN = 2413, +SCI_PARADOWNEXTEND = 2414, +
      +  SCI_PARAUP = 2415, +SCI_PARAUPEXTEND = 2416, +SCI_POSITIONBEFORE = 2417, +
      +  SCI_POSITIONAFTER = 2418, +SCI_COPYRANGE = 2419, +SCI_COPYTEXT = 2420, +
      +  SCI_SETSELECTIONMODE = 2422, +SCI_GETSELECTIONMODE = 2423, +SCI_GETLINESELSTARTPOSITION = 2424, +
      +  SCI_GETLINESELENDPOSITION = 2425, +SCI_LINEDOWNRECTEXTEND = 2426, +SCI_LINEUPRECTEXTEND = 2427, +
      +  SCI_CHARLEFTRECTEXTEND = 2428, +SCI_CHARRIGHTRECTEXTEND = 2429, +SCI_HOMERECTEXTEND = 2430, +
      +  SCI_VCHOMERECTEXTEND = 2431, +SCI_LINEENDRECTEXTEND = 2432, +SCI_PAGEUPRECTEXTEND = 2433, +
      +  SCI_PAGEDOWNRECTEXTEND = 2434, +SCI_STUTTEREDPAGEUP = 2435, +SCI_STUTTEREDPAGEUPEXTEND = 2436, +
      +  SCI_STUTTEREDPAGEDOWN = 2437, +SCI_STUTTEREDPAGEDOWNEXTEND = 2438, +SCI_WORDLEFTEND = 2439, +
      +  SCI_WORDLEFTENDEXTEND = 2440, +SCI_WORDRIGHTEND = 2441, +SCI_WORDRIGHTENDEXTEND = 2442, +
      +  SCI_SETWHITESPACECHARS = 2443, +SCI_SETCHARSDEFAULT = 2444, +SCI_AUTOCGETCURRENT = 2445, +
      +  SCI_ALLOCATE = 2446, +SCI_HOMEWRAP = 2349, +SCI_HOMEWRAPEXTEND = 2450, +
      +  SCI_LINEENDWRAP = 2451, +SCI_LINEENDWRAPEXTEND = 2452, +SCI_VCHOMEWRAP = 2453, +
      +  SCI_VCHOMEWRAPEXTEND = 2454, +SCI_LINECOPY = 2455, +SCI_FINDCOLUMN = 2456, +
      +  SCI_GETCARETSTICKY = 2457, +SCI_SETCARETSTICKY = 2458, +SCI_TOGGLECARETSTICKY = 2459, +
      +  SCI_SETWRAPVISUALFLAGS = 2460, +SCI_GETWRAPVISUALFLAGS = 2461, +SCI_SETWRAPVISUALFLAGSLOCATION = 2462, +
      +  SCI_GETWRAPVISUALFLAGSLOCATION = 2463, +SCI_SETWRAPSTARTINDENT = 2464, +SCI_GETWRAPSTARTINDENT = 2465, +
      +  SCI_MARKERADDSET = 2466, +SCI_SETPASTECONVERTENDINGS = 2467, +SCI_GETPASTECONVERTENDINGS = 2468, +
      +  SCI_SELECTIONDUPLICATE = 2469, +SCI_SETCARETLINEBACKALPHA = 2470, +SCI_GETCARETLINEBACKALPHA = 2471, +
      +  SCI_MARKERSETALPHA = 2476, +SCI_GETSELALPHA = 2477, +SCI_SETSELALPHA = 2478, +
      +  SCI_STARTRECORD = 3001, +SCI_STOPRECORD = 3002, +SCI_SETLEXER = 4001, +
      +  SCI_GETLEXER = 4002, +SCI_COLOURISE = 4003, +SCI_SETPROPERTY = 4004, +
      +  SCI_SETKEYWORDS = 4005, +SCI_SETLEXERLANGUAGE = 4006, +SCI_LOADLEXERLIBRARY = 4007, +
      +  SCI_GETPROPERTY = 4008, +SCI_GETPROPERTYEXPANDED = 4009, +SCI_GETPROPERTYINT = 4010, +
      +  SCI_GETSTYLEBITSNEEDED = 4011 +
      + } +
    • enum { SC_ALPHA_TRANSPARENT = 0, +SC_ALPHA_OPAQUE = 255, +SC_ALPHA_NOALPHA = 256 + } +
    • enum { SC_WRAPVISUALFLAG_NONE = 0x0000, +SC_WRAPVISUALFLAG_END = 0x0001, +SC_WRAPVISUALFLAG_START = 0x0002 + } +
    • enum { SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000, +SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001, +SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 + } +
    • enum { SC_SEL_STREAM = 0, +SC_SEL_RECTANGLE = 1, +SC_SEL_LINES = 2 + } +
    • enum { SCWS_INVISIBLE = 0, +SCWS_VISIBLEALWAYS = 1, +SCWS_VISIBLEAFTERINDENT = 2 + } +
    • enum { SC_EOL_CRLF = 0, +SC_EOL_CR = 1, +SC_EOL_LF = 2 + } +
    • enum { SC_CP_DBCS = 1, +SC_CP_UTF8 = 65001 + } +
    • enum {
      +  SC_MARK_CIRCLE = 0, +SC_MARK_ROUNDRECT = 1, +SC_MARK_ARROW = 2, +
      +  SC_MARK_SMALLRECT = 3, +SC_MARK_SHORTARROW = 4, +SC_MARK_EMPTY = 5, +
      +  SC_MARK_ARROWDOWN = 6, +SC_MARK_MINUS = 7, +SC_MARK_PLUS = 8, +
      +  SC_MARK_VLINE = 9, +SC_MARK_LCORNER = 10, +SC_MARK_TCORNER = 11, +
      +  SC_MARK_BOXPLUS = 12, +SC_MARK_BOXPLUSCONNECTED = 13, +SC_MARK_BOXMINUS = 14, +
      +  SC_MARK_BOXMINUSCONNECTED = 15, +SC_MARK_LCORNERCURVE = 16, +SC_MARK_TCORNERCURVE = 17, +
      +  SC_MARK_CIRCLEPLUS = 18, +SC_MARK_CIRCLEPLUSCONNECTED = 19, +SC_MARK_CIRCLEMINUS = 20, +
      +  SC_MARK_CIRCLEMINUSCONNECTED = 21, +SC_MARK_BACKGROUND = 22, +SC_MARK_DOTDOTDOT = 23, +
      +  SC_MARK_ARROWS = 24, +SC_MARK_PIXMAP = 25, +SC_MARK_FULLRECT = 26, +
      +  SC_MARK_CHARACTER = 10000 +
      + } +
    • enum {
      +  SC_MARKNUM_FOLDEREND = 25, +SC_MARKNUM_FOLDEROPENMID = 26, +SC_MARKNUM_FOLDERMIDTAIL = 27, +
      +  SC_MARKNUM_FOLDERTAIL = 28, +SC_MARKNUM_FOLDERSUB = 29, +SC_MARKNUM_FOLDER = 30, +
      +  SC_MARKNUM_FOLDEROPEN = 31, +SC_MASK_FOLDERS = 0xfe000000 +
      + } +
    • enum {
      +  SC_MARGIN_SYMBOL = 0, +SC_MARGIN_NUMBER = 1, +SC_MARGIN_BACK = 2, +
      +  SC_MARGIN_FORE = 3 +
      + } +
    • enum {
      +  STYLE_DEFAULT = 32, +STYLE_LINENUMBER = 33, +STYLE_BRACELIGHT = 34, +
      +  STYLE_BRACEBAD = 35, +STYLE_CONTROLCHAR = 36, +STYLE_INDENTGUIDE = 37, +
      +  STYLE_CALLTIP = 38, +STYLE_LASTPREDEFINED = 39, +STYLE_MAX = 127 +
      + } +
    • enum {
      +  SC_CHARSET_ANSI = 0, +SC_CHARSET_DEFAULT = 1, +SC_CHARSET_BALTIC = 186, +
      +  SC_CHARSET_CHINESEBIG5 = 136, +SC_CHARSET_EASTEUROPE = 238, +SC_CHARSET_GB2312 = 134, +
      +  SC_CHARSET_GREEK = 161, +SC_CHARSET_HANGUL = 129, +SC_CHARSET_MAC = 77, +
      +  SC_CHARSET_OEM = 255, +SC_CHARSET_RUSSIAN = 204, +SC_CHARSET_SHIFTJIS = 128, +
      +  SC_CHARSET_SYMBOL = 2, +SC_CHARSET_TURKISH = 162, +SC_CHARSET_JOHAB = 130, +
      +  SC_CHARSET_HEBREW = 177, +SC_CHARSET_ARABIC = 178, +SC_CHARSET_VIETNAMESE = 163, +
      +  SC_CHARSET_THAI = 222, +SC_CHARSET_8859_15 = 1000 +
      + } +
    • enum { SC_CASE_MIXED = 0, +SC_CASE_UPPER = 1, +SC_CASE_LOWER = 2 + } +
    • enum {
      +  INDIC_MAX = 7, +INDIC_PLAIN = 0, +INDIC_SQUIGGLE = 1, +
      +  INDIC_TT = 2, +INDIC_DIAGONAL = 3, +INDIC_STRIKE = 4, +
      +  INDIC_HIDDEN = 5, +INDIC_BOX = 6, +INDIC_ROUNDBOX = 7, +
      +  INDIC0_MASK = 0x20, +INDIC1_MASK = 0x40, +INDIC2_MASK = 0x80, +
      +  INDICS_MASK = 0xe0 +
      + } +
    • enum {
      +  SC_PRINT_NORMAL = 0, +SC_PRINT_INVERTLIGHT = 1, +SC_PRINT_BLACKONWHITE = 2, +
      +  SC_PRINT_COLOURONWHITE = 3, +SC_PRINT_COLOURONWHITEDEFAULTBG = 4 +
      + } +
    • enum {
      +  SCFIND_WHOLEWORD = 2, +SCFIND_MATCHCASE = 4, +SCFIND_WORDSTART = 0x00100000, +
      +  SCFIND_REGEXP = 0x00200000, +SCFIND_POSIX = 0x00400000 +
      + } +
    • enum {
      +  SC_FOLDLEVELBASE = 0x00400, +SC_FOLDLEVELWHITEFLAG = 0x01000, +SC_FOLDLEVELHEADERFLAG = 0x02000, +
      +  SC_FOLDLEVELBOXHEADERFLAG = 0x04000, +SC_FOLDLEVELBOXFOOTERFLAG = 0x08000, +SC_FOLDLEVELCONTRACTED = 0x10000, +
      +  SC_FOLDLEVELUNINDENT = 0x20000, +SC_FOLDLEVELNUMBERMASK = 0x00fff +
      + } +
    • enum {
      +  SC_FOLDFLAG_BOX = 0x0001, +SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002, +SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004, +
      +  SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008, +SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010, +SC_FOLDFLAG_LEVELNUMBERS = 0x0040 +
      + } +
    • enum { SC_TIME_FOREVER = 10000000 + } +
    • enum { SC_WRAP_NONE = 0, +SC_WRAP_WORD = 1, +SC_WRAP_CHAR = 2 + } +
    • enum {
      +  SC_CACHE_NONE = 0, +SC_CACHE_CARET = 1, +SC_CACHE_PAGE = 2, +
      +  SC_CACHE_DOCUMENT = 3 +
      + } +
    • enum { EDGE_NONE = 0, +EDGE_LINE = 1, +EDGE_BACKGROUND = 2 + } +
    • enum { SC_CURSORNORMAL = -1, +SC_CURSORWAIT = 4 + } +
    • enum { VISIBLE_SLOP = 0x01, +VISIBLE_STRICT = 0x04 + } +
    • enum {
      +  CARET_SLOP = 0x01, +CARET_STRICT = 0x04, +CARET_JUMPS = 0x10, +
      +  CARET_EVEN = 0x08 +
      + } +
    • enum {
      +  SC_MOD_INSERTTEXT = 0x1, +SC_MOD_DELETETEXT = 0x2, +SC_MOD_CHANGESTYLE = 0x4, +
      +  SC_MOD_CHANGEFOLD = 0x8, +SC_PERFORMED_USER = 0x10, +SC_PERFORMED_UNDO = 0x20, +
      +  SC_PERFORMED_REDO = 0x40, +SC_MULTISTEPUNDOREDO = 0x80, +SC_LASTSTEPINUNDOREDO = 0x100, +
      +  SC_MOD_CHANGEMARKER = 0x200, +SC_MOD_BEFOREINSERT = 0x400, +SC_MOD_BEFOREDELETE = 0x800, +
      +  SC_MULTILINEUNDOREDO = 0x1000, +SC_MODEVENTMASKALL = 0x1fff +
      + } +
    • enum {
      +  SCK_DOWN = 300, +SCK_UP = 301, +SCK_LEFT = 302, +
      +  SCK_RIGHT = 303, +SCK_HOME = 304, +SCK_END = 305, +
      +  SCK_PRIOR = 306, +SCK_NEXT = 307, +SCK_DELETE = 308, +
      +  SCK_INSERT = 309, +SCK_ESCAPE = 7, +SCK_BACK = 8, +
      +  SCK_TAB = 9, +SCK_RETURN = 13, +SCK_ADD = 310, +
      +  SCK_SUBTRACT = 311, +SCK_DIVIDE = 312 +
      + } +
    • enum {
      +  SCMOD_NORM = 0, +SCMOD_SHIFT = 1, +SCMOD_CTRL = 2, +
      +  SCMOD_ALT = 4 +
      + } +
    • enum {
      +  SCLEX_CONTAINER = 0, +SCLEX_NULL = 1, +SCLEX_PYTHON = 2, +
      +  SCLEX_CPP = 3, +SCLEX_HTML = 4, +SCLEX_XML = 5, +
      +  SCLEX_PERL = 6, +SCLEX_SQL = 7, +SCLEX_VB = 8, +
      +  SCLEX_PROPERTIES = 9, +SCLEX_ERRORLIST = 10, +SCLEX_MAKEFILE = 11, +
      +  SCLEX_BATCH = 12, +SCLEX_LATEX = 14, +SCLEX_LUA = 15, +
      +  SCLEX_DIFF = 16, +SCLEX_CONF = 17, +SCLEX_PASCAL = 18, +
      +  SCLEX_AVE = 19, +SCLEX_ADA = 20, +SCLEX_LISP = 21, +
      +  SCLEX_RUBY = 22, +SCLEX_EIFFEL = 23, +SCLEX_EIFFELKW = 24, +
      +  SCLEX_TCL = 25, +SCLEX_NNCRONTAB = 26, +SCLEX_BULLANT = 27, +
      +  SCLEX_VBSCRIPT = 28, +SCLEX_ASP = SCLEX_HTML, +SCLEX_PHP = SCLEX_HTML, +
      +  SCLEX_BAAN = 31, +SCLEX_MATLAB = 32, +SCLEX_SCRIPTOL = 33, +
      +  SCLEX_ASM = 34, +SCLEX_CPPNOCASE = 35, +SCLEX_FORTRAN = 36, +
      +  SCLEX_F77 = 37, +SCLEX_CSS = 38, +SCLEX_POV = 39, +
      +  SCLEX_LOUT = 40, +SCLEX_ESCRIPT = 41, +SCLEX_PS = 42, +
      +  SCLEX_NSIS = 43, +SCLEX_MMIXAL = 44, +SCLEX_CLW = 45, +
      +  SCLEX_CLWNOCASE = 46, +SCLEX_LOT = 47, +SCLEX_YAML = 48, +
      +  SCLEX_TEX = 49, +SCLEX_METAPOST = 50, +SCLEX_POWERBASIC = 51, +
      +  SCLEX_FORTH = 52, +SCLEX_ERLANG = 53, +SCLEX_OCTAVE = 54, +
      +  SCLEX_MSSQL = 55, +SCLEX_VERILOG = 56, +SCLEX_KIX = 57, +
      +  SCLEX_GUI4CLI = 58, +SCLEX_SPECMAN = 59, +SCLEX_AU3 = 60, +
      +  SCLEX_APDL = 61, +SCLEX_BASH = 62, +SCLEX_ASN1 = 63, +
      +  SCLEX_VHDL = 64, +SCLEX_CAML = 65, +SCLEX_BLITZBASIC = 66, +
      +  SCLEX_PUREBASIC = 67, +SCLEX_HASKELL = 68, +SCLEX_PHPSCRIPT = 69, +
      +  SCLEX_TADS3 = 70, +SCLEX_REBOL = 71, +SCLEX_SMALLTALK = 72, +
      +  SCLEX_FLAGSHIP = 73, +SCLEX_CSOUND = 74, +SCLEX_FREEBASIC = 75, +
      +  SCLEX_INNOSETUP = 76, +SCLEX_OPAL = 77, +SCLEX_SPICE = 78 +
      + } +
    +

    Signals

    + +

    Public Member Functions

    +
      +
    • TQextScintillaBase (TQWidget *parent=0, const char *name=0, WFlags f=0) +
    • virtual ~TQextScintillaBase () +
    • long SendScintilla (unsigned int msg, unsigned long wParam=0, long lParam=0) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, const char *lParam) +
    • +long SendScintilla (unsigned int msg, const char *lParam) +
    • +long SendScintilla (unsigned int msg, const char *wParam, const char *lParam) +
    • +long SendScintilla (unsigned int msg, long wParam) +
    • +long SendScintilla (unsigned int msg, int wParam) +
    • +long SendScintilla (unsigned int msg, long cpMin, long cpMax, char *lpstrText) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, const TQColor &col) +
    • +long SendScintilla (unsigned int msg, const TQColor &col) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, TQPainter *hdc, const TQRect &rc, long cpMin, long cpMax) +
    • +long SendScintilla (unsigned int msg, unsigned long wParam, const TQPixmap *lParam) +
    • virtual TQSize sizeHint () const +
    • TQWidget * viewport () const +
    +

    Static Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaBase class implements the Scintilla editor widget and its low-level API. +

    +Scintilla (http://www.scintilla.org) is a powerful C++ editor class that supports many features including syntax styling, error indicators, code completion and call tips. It is particularly useful as a programmer's editor.

    +TQextScintillaBase is a port to TQt of Scintilla. It implements the standard Scintilla API which consists of a number of messages each taking up to two arguments.

    +See TQextScintilla for the implementation of a higher level API that is more consistent with the rest of the TQt toolkit. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +The low-level Scintilla API is implemented as a set of messages each of which takes up to two parameters (wParam and lParam) and optionally return a value. This enum defines all the possible messages.

    +

    See also:
    SendScintilla()
    +
    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SCI_ADDTEXT  +This message appends some text to the end of the document. wParam is the length of the text. lParam is the text to be appended.
    SCI_GETCURRENTPOS  +This message returns the current position.

    +

    See also:
    SCI_SETCURRENTPOS
    +
    SCI_GETANCHOR  +This message returns the anchor.

    +

    See also:
    SCI_SETANCHOR
    +
    SCI_SETSAVEPOINT  +This message marks the current state of the text as the the save point. This is usually done when the text is saved or loaded.

    +

    See also:
    SCN_SAVEPOINTREACHED(), SCN_SAVEPOINTLEFT()
    +
    SCI_MARKERLINEFROMHANDLE  +This message returns the line that contains a particular instance of a marker. wParam is the handle of the marker.

    +

    See also:
    SCI_MARKERADD
    +
    SCI_MARKERDELETEHANDLE  +This message removes a particular instance of a marker. wParam is the handle of the marker.

    +

    See also:
    SCI_MARKERADD
    +
    SCI_GOTOPOS  +This message clears the current selection and sets the current position. wParam is the new current position.

    +

    See also:
    SCI_SETCURRENTPOS
    +
    SCI_SETANCHOR  +This message sets the anchor. wParam is the new anchor.

    +

    See also:
    SCI_GETANCHOR
    +
    SCI_GETENDSTYLED  +This message returns the character position of the start of the text that needs to be syntax styled.

    +

    See also:
    SCN_STYLENEEDED()
    +
    SCI_MARKERDEFINE  +This message sets the symbol used to draw one of 32 markers. Some markers have pre-defined uses, see the SC_MARKNUM_* values. wParam is the number of the marker. lParam is the marker symbol and is one of the SC_MARK_* values.

    +

    See also:
    SCI_MARKERADD, SCI_MARKERDEFINEPIXMAP
    +
    SCI_MARKERSETFORE  +This message sets the foreground colour used to draw a marker. A colour is represented as a 24 bit value. The 8 least significant bits correspond to red, the middle 8 bits correspond to green, and the 8 most significant bits correspond to blue. The default value is 0x000000. wParam is the number of the marker. lParam is the colour.

    +

    See also:
    SCI_MARKERSETBACK
    +
    SCI_MARKERSETBACK  +This message sets the background colour used to draw a marker. A colour is represented as a 24 bit value. The 8 least significant bits correspond to red, the middle 8 bits correspond to green, and the 8 most significant bits correspond to blue. The default value is 0xffffff. wParam is the number of the marker. lParam is the colour.

    +

    See also:
    SCI_MARKERSETFORE
    +
    SCI_MARKERADD  +This message adds a marker to a line. A handle for the marker is returned which can be used to track the marker's position. wParam is the line number. lParam is the number of the marker.

    +

    See also:
    SCI_MARKERDELETE, SCI_MARKERDELETEALL, SCI_MARKERDELETEHANDLE
    +
    SCI_MARKERDELETE  +This message deletes a marker from a line. wParam is the line number. lParam is the number of the marker.

    +

    See also:
    SCI_MARKERADD, SCI_MARKERDELETEALL
    +
    SCI_MARKERDELETEALL  +This message deletes all occurences of a marker. wParam is the number of the marker. If wParam is -1 then all markers are removed.

    +

    See also:
    SCI_MARKERADD, SCI_MARKERDELETE
    +
    SCI_MARKERGET  +This message returns the 32 bit mask of markers at a line. wParam is the line number.
    SCI_MARKERNEXT  +This message looks for the next line to contain at least one marker contained in a 32 bit mask of markers and returns the line number. wParam is the line number to start the search from. lParam is the mask of markers to search for.

    +

    See also:
    SCI_MARKERPREVIOUS
    +
    SCI_MARKERPREVIOUS  +This message looks for the previous line to contain at least one marker contained in a 32 bit mask of markers and returns the line number. wParam is the line number to start the search from. lParam is the mask of markers to search for.

    +

    See also:
    SCI_MARKERNEXT
    +
    SCI_MARKERDEFINEPIXMAP  +This message sets the symbol used to draw one of the 32 markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker symbol. wParam is the number of the marker. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    +

    See also:
    SCI_MARKERDEFINE
    +
    SCI_SETMARGINTYPEN  +This message sets what can be displayed in a margin. wParam is the number of the margin: 0, 1 or 2. lParam is the logical or of the SC_MARGIN_* values.

    +

    See also:
    SCI_GETMARGINTYPEN
    +
    SCI_GETMARGINTYPEN  +This message returns what can be displayed in a margin. wParam is the number of the margin: 0, 1 or 2.

    +

    See also:
    SCI_SETMARGINTYPEN
    +
    SCI_SETMARGINWIDTHN  +This message sets the width of a margin in pixels. wParam is the number of the margin: 0, 1 or 2. lParam is the new margin width.

    +

    See also:
    SCI_GETMARGINWIDTHN
    +
    SCI_GETMARGINWIDTHN  +This message returns the width of a margin in pixels. wParam is the number of the margin: 0, 1 or 2.

    +

    See also:
    SCI_SETMARGINWIDTHN
    +
    SCI_SETMARGINMASKN  +This message sets the mask of a margin. The mask is a 32 value with one bit for each possible marker. If a bit is set then the corresponding marker is displayed. By default, all markers are displayed. wParam is the number of the margin: 0, 1 or 2. lParam is the new margin mask.

    +

    See also:
    SCI_GETMARGINMASKN, SCI_MARKERDEFINE
    +
    SCI_GETMARGINMASKN  +This message returns the mask of a margin. wParam is the number of the margin: 0, 1 or 2.

    +

    See also:
    SCI_SETMARGINMASKN
    +
    SCI_SETMARGINSENSITIVEN  +This message sets the sensitivity of a margin to mouse clicks. wParam is the number of the margin: 0, 1 or 2. lParam is non-zero to make the margin sensitive to mouse clicks. When the mouse is clicked the SCN_MARGINCLICK() signal is emitted.

    +

    See also:
    SCI_GETMARGINSENSITIVEN, SCN_MARGINCLICK()
    +
    SCI_GETMARGINSENSITIVEN  +This message returns the sensitivity of a margin to mouse clicks. wParam is the number of the margin: 0, 1 or 2.

    +

    See also:
    SCI_SETMARGINSENSITIVEN, SCN_MARGINCLICK()
    +
    SCI_GETREADONLY  +This message returns a non-zero value if the document is read-only.

    +

    See also:
    SCI_SETREADONLY
    +
    SCI_SETCURRENTPOS  +This message sets the current position. wParam is the new current position.

    +

    See also:
    SCI_GETCURRENTPOS
    +
    SCI_GETMODIFY  +This message returns a non-zero value if the document has been modified.
    SCI_SETREADONLY  +This message sets the read-only state of the document. wParam is the new read-only state of the document.

    +

    See also:
    SCI_GETREADONLY
    +
    SCI_EMPTYUNDOBUFFER  +This message empties the undo buffer.
    SCI_SETTEXT  +This message sets the text of the document. wParam is unused. lParam is the new text of the document.

    +

    See also:
    SCI_GETTEXT
    +
    SCI_GETTEXT  +This message gets the text of the document. wParam is size of the buffer that the text is copied to. lParam is the address of the buffer that the text is copied to.

    +

    See also:
    SCI_SETTEXT
    +
    SCI_GETTEXTLENGTH  +This message returns the length of the document.
    SCI_TEXTWIDTH  +This message returns the width of some text when rendered in a particular style. wParam is the style number and is one of the STYLE_* values or one of the styles defined by a lexer. lParam is a pointer to the text.
    SCI_REGISTERIMAGE  +This message takes a copy of an image and registers it so that it can be refered to by a unique integer identifier. wParam is the image's identifier. lParam is a pointer to a TQPixmap instance. Note that in other ports of Scintilla this is a pointer to either raw or textual XPM image data.

    +

    See also:
    SCI_CLEARREGISTEREDIMAGES
    +
    SCI_CLEARREGISTEREDIMAGES  +This message de-registers all currently registered images.

    +

    See also:
    SCI_REGISTERIMAGE
    +
    SCI_SETLEXER  +This message sets the number of the lexer to use for syntax styling. wParam is the number of the lexer and is one of the SCLEX_* values.
    SCI_GETLEXER  +This message returns the number of the lexer being used for syntax styling.
    SCI_SETLEXERLANGUAGE  +This message sets the name of the lexer to use for syntax styling. wParam is unused. lParam is the name of the lexer.
    +
    + +
    +

    + +

    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the different selection modes.

    +

    See also:
    SCI_GETSELECTIONMODE, SCI_SETSELECTIONMODE
    + +
    +

    + +

    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the different marker symbols.

    +

    See also:
    SCI_MARKERDEFINE
    +
    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SC_MARK_CIRCLE  +A circle.
    SC_MARK_ROUNDRECT  +A rectangle.
    SC_MARK_ARROW  +A triangle pointing to the right.
    SC_MARK_SMALLRECT  +A smaller rectangle.
    SC_MARK_SHORTARROW  +An arrow pointing to the right.
    SC_MARK_EMPTY  +An invisible marker that allows code to track the movement of lines.
    SC_MARK_ARROWDOWN  +A triangle pointing down.
    SC_MARK_MINUS  +A drawn minus sign.
    SC_MARK_PLUS  +A drawn plus sign.
    SC_MARK_VLINE  +A vertical line drawn in the background colour.
    SC_MARK_LCORNER  +A bottom left corner drawn in the background colour.
    SC_MARK_TCORNER  +A vertical line with a centre right horizontal line drawn in the background colour.
    SC_MARK_BOXPLUS  +A drawn plus sign in a box.
    SC_MARK_BOXPLUSCONNECTED  +A drawn plus sign in a connected box.
    SC_MARK_BOXMINUS  +A drawn minus sign in a box.
    SC_MARK_BOXMINUSCONNECTED  +A drawn minus sign in a connected box.
    SC_MARK_LCORNERCURVE  +A rounded bottom left corner drawn in the background colour.
    SC_MARK_TCORNERCURVE  +A vertical line with a centre right curved line drawn in the background colour.
    SC_MARK_CIRCLEPLUS  +A drawn plus sign in a circle.
    SC_MARK_CIRCLEPLUSCONNECTED  +A drawn plus sign in a connected box.
    SC_MARK_CIRCLEMINUS  +A drawn minus sign in a circle.
    SC_MARK_CIRCLEMINUSCONNECTED  +A drawn minus sign in a connected circle.
    SC_MARK_BACKGROUND  +No symbol is drawn but the line of text is drawn with the same background colour.
    SC_MARK_DOTDOTDOT  +Three drawn dots.
    SC_MARK_ARROWS  +Three drawn arrows pointing right.
    SC_MARK_PIXMAP  +An XPM format pixmap.
    SC_MARK_FULLRECT  +A full rectangle.
    SC_MARK_CHARACTER  +Characters can be used as symbols by adding this to the ASCII value of the character.
    +
    + +
    +

    + +

    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines what can be displayed in a margin.

    +

    See also:
    SCI_GETMARGINTYPEN, SCI_SETMARGINTYPEN
    +
    Enumerator:
    + + + + + +
    SC_MARGIN_SYMBOL  +The margin can display symbols. Note that all margins can display symbols.
    SC_MARGIN_NUMBER  +The margin will display line numbers.
    SC_MARGIN_BACK  +The margin's background color will be set to the default background color.
    SC_MARGIN_FORE  +The margin's background color will be set to the default foreground color.
    +
    + +
    +

    + +

    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the different modifier keys. +

    +

    Enumerator:
    + + + + + +
    SCMOD_NORM  +No modifier key.
    SCMOD_SHIFT  +Shift key.
    SCMOD_CTRL  +Control key.
    SCMOD_ALT  +Alt key.
    +
    + +
    +

    + +

    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the different language lexers.

    +

    See also:
    SCI_GETLEXER, SCI_SETLEXER
    +
    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    SCLEX_CONTAINER  +No lexer is selected and the SCN_STYLENEEDED signal is emitted so that the application can style the text as needed. This is the default.
    SCLEX_NULL  +Select the null lexer that does no syntax styling.
    SCLEX_PYTHON  +Select the Python lexer.
    SCLEX_CPP  +Select the C++ lexer.
    SCLEX_HTML  +Select the HTML lexer.
    SCLEX_XML  +Select the XML lexer.
    SCLEX_PERL  +Select the Perl lexer.
    SCLEX_SQL  +Select the SQL lexer.
    SCLEX_VB  +Select the Visual Basic lexer.
    SCLEX_PROPERTIES  +Select the lexer for properties style files.
    SCLEX_ERRORLIST  +Select the lexer for error list style files.
    SCLEX_MAKEFILE  +Select the Makefile lexer.
    SCLEX_BATCH  +Select the Windows batch file lexer.
    SCLEX_LATEX  +Select the LaTex lexer.
    SCLEX_LUA  +Select the Lua lexer.
    SCLEX_DIFF  +Select the lexer for diff output.
    SCLEX_CONF  +Select the lexer for Apache configuration files.
    SCLEX_PASCAL  +Select the Pascal lexer.
    SCLEX_AVE  +Select the Avenue lexer.
    SCLEX_ADA  +Select the Ada lexer.
    SCLEX_LISP  +Select the Lisp lexer.
    SCLEX_RUBY  +Select the Ruby lexer.
    SCLEX_EIFFEL  +Select the Eiffel lexer.
    SCLEX_EIFFELKW  +Select the Eiffel lexer folding at keywords.
    SCLEX_TCL  +Select the Tcl lexer.
    SCLEX_NNCRONTAB  +Select the lexer for nnCron files.
    SCLEX_BULLANT  +Select the Bullant lexer.
    SCLEX_VBSCRIPT  +Select the VBScript lexer.
    SCLEX_ASP  +Select the ASP lexer.
    SCLEX_PHP  +Select the PHP lexer.
    SCLEX_BAAN  +Select the Baan lexer.
    SCLEX_MATLAB  +Select the Matlab lexer.
    SCLEX_SCRIPTOL  +Select the Scriptol lexer.
    SCLEX_ASM  +Select the assembler lexer.
    SCLEX_CPPNOCASE  +Select the C++ lexer with case insensitive keywords.
    SCLEX_FORTRAN  +Select the FORTRAN lexer.
    SCLEX_F77  +Select the FORTRAN77 lexer.
    SCLEX_CSS  +Select the CSS lexer.
    SCLEX_POV  +Select the POV lexer.
    SCLEX_LOUT  +Select the Basser Lout typesetting language lexer.
    SCLEX_ESCRIPT  +Select the EScript lexer.
    SCLEX_PS  +Select the PostScript lexer.
    SCLEX_NSIS  +Select the NSIS lexer.
    SCLEX_MMIXAL  +Select the MMIX assembly language lexer.
    SCLEX_CLW  +Select the Clarion lexer.
    SCLEX_CLWNOCASE  +Select the Clarion lexer with case insensitive keywords.
    SCLEX_LOT  +Select the MPT text log file lexer.
    SCLEX_YAML  +Select the YAML lexer.
    SCLEX_TEX  +Select the TeX lexer.
    SCLEX_METAPOST  +Select the Metapost lexer.
    SCLEX_POWERBASIC  +Select the PowerBASIC lexer.
    SCLEX_FORTH  +Select the Forth lexer.
    SCLEX_ERLANG  +Select the Erlang lexer.
    SCLEX_OCTAVE  +Select the Octave lexer.
    SCLEX_MSSQL  +Select the MS SQL lexer.
    SCLEX_VERILOG  +Select the Verilog lexer.
    SCLEX_KIX  +Select the KIX-Scripts lexer.
    SCLEX_GUI4CLI  +Select the Gui4Cli lexer.
    SCLEX_SPECMAN  +Select the Specman E lexer.
    SCLEX_AU3  +Select the AutoIt3 lexer.
    SCLEX_APDL  +Select the APDL lexer.
    SCLEX_BASH  +Select the Bash lexer.
    SCLEX_ASN1  +Select the ASN.1 lexer.
    SCLEX_VHDL  +Select the VHDL lexer.
    SCLEX_CAML  +Select the Caml lexer.
    SCLEX_BLITZBASIC  +Select the BlitzBasic lexer.
    SCLEX_PUREBASIC  +Select the PureBasic lexer.
    SCLEX_HASKELL  +Select the Haskell lexer.
    SCLEX_PHPSCRIPT  +Select the PHPScript lexer.
    SCLEX_TADS3  +Select the TADS3 lexer.
    SCLEX_REBOL  +Select the REBOL lexer.
    SCLEX_SMALLTALK  +Select the Smalltalk lexer.
    SCLEX_FLAGSHIP  +Select the FlagShip lexer.
    SCLEX_CSOUND  +Select the Csound lexer.
    SCLEX_FREEBASIC  +Select the FreeBasic lexer.
    SCLEX_INNOSETUP  +Select the InnoSetup lexer.
    SCLEX_OPAL  +Select the Opal lexer.
    SCLEX_SPICE  +Select the Spice lexer.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    TQextScintillaBase::TQextScintillaBase (TQWidget *  parent = 0,
    const char *  name = 0,
    WFlags  f = 0 
    )
    +
    +
    + +

    +Construct an empty TQextScintillaBase with parent parent, name name, and widget flags f. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaBase::~TQextScintillaBase (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaBase instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    static TQextScintillaBase* TQextScintillaBase::pool (  )  [static]
    +
    +
    + +

    +Returns a pointer to a TQextScintillaBase instance, or 0 if there isn't one. This can be used by the higher level API to send messages that aren't associated with a particular instance. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    long TQextScintillaBase::SendScintilla (unsigned int  msg,
    unsigned long  wParam = 0,
    long  lParam = 0 
    )
    +
    +
    + +

    +Send the Scintilla message msg with the optional parameters wParam and lParam. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQSize TQextScintillaBase::sizeHint (  )  const [virtual]
    +
    +
    + +

    +Returns the recommended size of the widget. +

    + +

    +

    + +

    +
    + + + + + + + + +
    TQWidget* TQextScintillaBase::viewport (  )  const
    +
    +
    + +

    +Returns the viewport widget. This is the widget that actually contains the text. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintillaBase::TQSCN_SELCHANGED (bool  yes  )  [signal]
    +
    +
    + +

    +This signal is emitted when text is selected or de-selected. yes is TRUE if text has been selected and FALSE if text has been deselected. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaBase::SCN_AUTOCSELECTION (const char *  selection,
    int  position 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the user selects an item in an auto-completion list. It is emitted before the selection is inserted. The insertion can be cancelled by sending an SCI_AUTOCANCEL message from a connected slot. position is the start position of the word being completed. selection is the text of the selection. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaBase::SCEN_CHANGE (  )  [signal]
    +
    +
    + +

    +This signal is emitted when the document has changed for any reason. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintillaBase::SCN_CALLTIPCLICK (int  direction  )  [signal]
    +
    +
    + +

    +This signal ir emitted when the user clicks on a calltip. position is 1 if the user clicked on the up arrow, 2 if the user clicked on the down arrow, and 0 if the user clicked elsewhere. +

    +

    + +

    +
    + + + + + + + + + +
    void TQextScintillaBase::SCN_CHARADDED (int  charadded  )  [signal]
    +
    +
    + +

    +This signal is emitted whenever the user enters an ordinary character into the text. charadded is the character. It can be used to decide to display a call tip or an auto-completion list. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaBase::SCN_HOTSPOTCLICK (int  position,
    int  modifiers 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the user clicks on text in a style with the hotspot attribute set. position is the position in the text where the click occured. modifiers is the logical or of the modifier keys that were pressed when the user clicked. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaBase::SCN_HOTSPOTDOUBLECLICK (int  position,
    int  modifiers 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the user double clicks on text in a style with the hotspot attribute set. position is the position in the text where the double click occured. modifiers is the logical or of the modifier keys that were pressed when the user double clicked. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void TQextScintillaBase::SCN_MACRORECORD (unsigned  int,
    unsigned  long,
    long  
    ) [signal]
    +
    +
    + +

    +This signal is emitted when a recordable editor command has been executed. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void TQextScintillaBase::SCN_MARGINCLICK (int  position,
    int  modifiers,
    int  margin 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the user clicks on a sensitive margin. position is the position of the start of the line against which the user clicked. modifiers is the logical or of the modifier keys that were pressed when the user clicked. margin is the number of the margin the user clicked in: 0, 1 or 2.

    +

    See also:
    SCI_GETMARGINSENSITIVEN, SCI_SETMARGINSENSITIVEN
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaBase::SCN_MODIFYATTEMPTRO (  )  [signal]
    +
    +
    + +

    +This signal is emitted when the user attempts to modify read-only text. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaBase::SCN_PAINTED (  )  [signal]
    +
    +
    + +

    +This signal is emitted when painting has been completed. It is useful to trigger some other change but to have the paint be done first to appear more reponsive to the user. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaBase::SCN_SAVEPOINTLEFT (  )  [signal]
    +
    +
    + +

    +This signal is emitted when the current state of the text no longer corresponds to the state of the text at the save point.

    +

    See also:
    SCI_SETSAVEPOINT, SCN_SAVEPOINTREACHED()
    + +
    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaBase::SCN_SAVEPOINTREACHED (  )  [signal]
    +
    +
    + +

    +This signal is emitted when the current state of the text corresponds to the state of the text at the save point. This allows feedback to be given to the user as to whether the text has been modified since it was last saved.

    +

    See also:
    SCI_SETSAVEPOINT, SCN_SAVEPOINTLEFT()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintillaBase::SCN_STYLENEEDED (int  position  )  [signal]
    +
    +
    + +

    +This signal is emitted when a range of text needs to be syntax styled. The range is from the value returned by the SCI_GETENDSTYLED message and position. It is only emitted if the currently selected lexer is SCNLEX_CONTAINER.

    +

    See also:
    SCI_COLOURISE, SCI_GETENDSTYLED
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaBase::eventFilter (TQObject *  o,
    TQEvent *  e 
    ) [protected]
    +
    +
    + +

    +Re-implemented to filter certain events. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaBase::keyPressEvent (TQKeyEvent *  ke  )  [protected, virtual]
    +
    +
    + +

    +Re-implemented to handle the key presses for the widget. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaBase::focusInEvent (TQFocusEvent *   )  [protected, virtual]
    +
    +
    + +

    +Re-implemented to tell Scintilla it has the focus. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaBase::focusOutEvent (TQFocusEvent *   )  [protected, virtual]
    +
    +
    + +

    +Re-implemented to tell Scintilla it has lost the focus. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    virtual bool TQextScintillaBase::focusNextPrevChild (bool   )  [protected, virtual]
    +
    +
    + +

    +Re-implemented to allow tabs to be entered as text. +

    + +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintillaBase::startDrag (  )  [protected, virtual]
    +
    +
    + +

    +Start a drag operation. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaCommand-members.html b/doc/en/classTQextScintillaCommand-members.html new file mode 100644 index 0000000..d10d096 --- /dev/null +++ b/doc/en/classTQextScintillaCommand-members.html @@ -0,0 +1,31 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaCommand Member List

    This is the complete list of members for TQextScintillaCommand, including all inherited members.

    + + + + + + +
    alternateKey() const TQextScintillaCommand [inline]
    description() const TQextScintillaCommand
    key() const TQextScintillaCommand [inline]
    setAlternateKey(int altkey)TQextScintillaCommand
    setKey(int key)TQextScintillaCommand
    validKey(int key)TQextScintillaCommand [static]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaCommand.html b/doc/en/classTQextScintillaCommand.html new file mode 100644 index 0000000..52536f3 --- /dev/null +++ b/doc/en/classTQextScintillaCommand.html @@ -0,0 +1,176 @@ + + +TQScintilla: TQextScintillaCommand Class Reference + + + + + + +

    TQextScintillaCommand Class Reference

    The TQextScintillaCommand class represents an internal editor command that may have one or two keys bound to it. +More... +

    +#include <tqextscintillacommand.h> +

    +List of all members.

    Public Member Functions

    + +

    Static Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaCommand class represents an internal editor command that may have one or two keys bound to it. +

    +Methods are provided to change the keys bound to the command and to remove a key binding. Each command has a user friendly description of the command for use in key mapping dialogs. +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + + +
    void TQextScintillaCommand::setKey (int  key  ) 
    +
    +
    + +

    +Binds the key key to the command. If key is 0 then the key binding is removed. If key is invalid then the key binding is unchanged. Valid keys are any visible or control character or any of Key_Down, Key_Up, Key_Left, Key_Right, Key_Home, Key_End, Key_Prior, Key_Next, Key_Delete, Key_Insert, Key_Escape, Key_Backspace, Key_Tab and Key_Return. Keys may be modified with any combination of SHIFT, CTRL and ALT.

    +

    See also:
    key(), setAlternateKey(), validKey()
    + +
    +

    + +

    +
    + + + + + + + + + +
    void TQextScintillaCommand::setAlternateKey (int  altkey  ) 
    +
    +
    + +

    +Binds the alternate key altkey to the command. If key is 0 then the alternate key binding is removed.

    +

    See also:
    alternateKey(), setKey(), validKey()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintillaCommand::key (  )  const [inline]
    +
    +
    + +

    +The key that is currently bound to the command is returned.

    +

    See also:
    setKey(), alternateKey()
    + +
    +

    + +

    +
    + + + + + + + + +
    int TQextScintillaCommand::alternateKey (  )  const [inline]
    +
    +
    + +

    +The alternate key that is currently bound to the command is returned.

    +

    See also:
    setAlternateKey(), key()
    + +
    +

    + +

    +
    + + + + + + + + + +
    static bool TQextScintillaCommand::validKey (int  key  )  [static]
    +
    +
    + +

    +If the key key is valid then TRUE is returned. +

    + +

    +

    + +

    +
    + + + + + + + + +
    TQString TQextScintillaCommand::description (  )  const
    +
    +
    + +

    +The user friendly description of the command is returned. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaCommandSet-members.html b/doc/en/classTQextScintillaCommandSet-members.html new file mode 100644 index 0000000..d87d02d --- /dev/null +++ b/doc/en/classTQextScintillaCommandSet-members.html @@ -0,0 +1,30 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaCommandSet Member List

    This is the complete list of members for TQextScintillaCommandSet, including all inherited members.

    + + + + + +
    clearAlternateKeys()TQextScintillaCommandSet
    clearKeys()TQextScintillaCommandSet
    commands()TQextScintillaCommandSet [inline]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaCommandSet
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaCommandSet


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaCommandSet.html b/doc/en/classTQextScintillaCommandSet.html new file mode 100644 index 0000000..c48cee2 --- /dev/null +++ b/doc/en/classTQextScintillaCommandSet.html @@ -0,0 +1,168 @@ + + +TQScintilla: TQextScintillaCommandSet Class Reference + + + + + + +

    TQextScintillaCommandSet Class Reference

    The TQextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. +More... +

    +#include <tqextscintillacommandset.h> +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaCommandSet class represents the set of all internal editor commands that may have keys bound. +

    +Methods are provided to access the individual commands and to read and write the current bindings from and to settings files. +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaCommandSet::readSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    +
    +
    + +

    +The key bindings for each command in the set are read from the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    +

    See also:
    writeSettings()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaCommandSet::writeSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    +
    +
    + +

    +The key bindings for each command in the set are written to the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    +

    See also:
    readSettings()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQPtrList<TQextScintillaCommand>& TQextScintillaCommandSet::commands (  )  [inline]
    +
    +
    + +

    +The commands in the set are returned as a list. +

    + +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaCommandSet::clearKeys (  ) 
    +
    +
    + +

    +The primary keys bindings for all commands are removed. +

    + +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaCommandSet::clearAlternateKeys (  ) 
    +
    +
    + +

    +The alternate keys bindings for all commands are removed. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaDocument-members.html b/doc/en/classTQextScintillaDocument-members.html new file mode 100644 index 0000000..32fb7ac --- /dev/null +++ b/doc/en/classTQextScintillaDocument-members.html @@ -0,0 +1,29 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaDocument Member List

    This is the complete list of members for TQextScintillaDocument, including all inherited members.

    + + + + +
    operator=(const TQextScintillaDocument &) (defined in TQextScintillaDocument)TQextScintillaDocument
    TQextScintillaDocument()TQextScintillaDocument
    TQextScintillaDocument(const TQextScintillaDocument &) (defined in TQextScintillaDocument)TQextScintillaDocument
    ~TQextScintillaDocument() (defined in TQextScintillaDocument)TQextScintillaDocument [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaDocument.html b/doc/en/classTQextScintillaDocument.html new file mode 100644 index 0000000..5eb6cf2 --- /dev/null +++ b/doc/en/classTQextScintillaDocument.html @@ -0,0 +1,64 @@ + + +TQScintilla: TQextScintillaDocument Class Reference + + + + + + +

    TQextScintillaDocument Class Reference

    The TQextScintillaDocument class represents a document to be editted. +More... +

    +#include <tqextscintilladocument.h> +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaDocument class represents a document to be editted. +

    +It is an opaque class that can be attached to multiple instances of TQextScintilla to create different simultaneous views of the same document. TQextScintillaDocument uses implicit sharing so that copying class instances is a cheap operation. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + +
    TQextScintillaDocument::TQextScintillaDocument (  ) 
    +
    +
    + +

    +Create a new unattached document. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexer-members.html b/doc/en/classTQextScintillaLexer-members.html new file mode 100644 index 0000000..66f19ce --- /dev/null +++ b/doc/en/classTQextScintillaLexer-members.html @@ -0,0 +1,66 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexer Member List

    This is the complete list of members for TQextScintillaLexer, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexer [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const =0TQextScintillaLexer [pure virtual]
    eolFill(int style) const TQextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    font(int style) const TQextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    keywords(int set) const TQextScintillaLexer [virtual]
    language() const =0TQextScintillaLexer [pure virtual]
    lexer() const =0TQextScintillaLexer [pure virtual]
    paper(int style) const TQextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexer.html b/doc/en/classTQextScintillaLexer.html new file mode 100644 index 0000000..cb03290 --- /dev/null +++ b/doc/en/classTQextScintillaLexer.html @@ -0,0 +1,910 @@ + + +TQScintilla: TQextScintillaLexer Class Reference + + + + + + +

    TQextScintillaLexer Class Reference

    The TQextScintillaLexer class is an abstract class used as a base for specific language lexers. +More... +

    +#include <tqextscintillalexer.h> +

    +Inherited by TQextScintillaLexerBash, TQextScintillaLexerBatch, TQextScintillaLexerCPP, TQextScintillaLexerCSS, TQextScintillaLexerDiff, TQextScintillaLexerHTML, TQextScintillaLexerLua, TQextScintillaLexerMakefile, TQextScintillaLexerPerl, TQextScintillaLexerPOV, TQextScintillaLexerProperties, TQextScintillaLexerPython, TQextScintillaLexerRuby, TQextScintillaLexerSQL, and TQextScintillaLexerTeX. +

    +List of all members.

    Public Slots

    + +

    Signals

    + +

    Public Member Functions

    +
      +
    • TQextScintillaLexer (TQObject *parent=0, const char *name=0) +
    • virtual ~TQextScintillaLexer () +
    • virtual const char * language () const =0 +
    • virtual const char * lexer () const =0 +
    • +virtual const char * autoCompletionFillups () const +
    • +virtual const char * autoCompletionStartCharacters () const +
    • int autoIndentStyle () +
    • +virtual const char * blockEnd (int *style=0) const +
    • +virtual int blockLookback () const +
    • +virtual const char * blockStart (int *style=0) const +
    • +virtual const char * blockStartKeyword (int *style=0) const +
    • +virtual int braceStyle () const +
    • +virtual const char * wordCharacters () const +
    • virtual TQColor color (int style) const +
    • virtual bool eolFill (int style) const +
    • virtual TQFont font (int style) const +
    • virtual const char * keywords (int set) const +
    • +virtual int defaultStyle () const +
    • virtual TQString description (int style) const =0 +
    • virtual TQColor paper (int style) const +
    • virtual TQFont defaultFont () const +
    • virtual TQColor defaultColor () const +
    • virtual TQColor defaultPaper () const +
    • virtual void refreshProperties () +
    • bool readSettings (TQSettings &qs, const char *prefix="/Scintilla") +
    • bool writeSettings (TQSettings &qs, const char *prefix="/Scintilla") const +
    +

    Protected Member Functions

    +
      +
    • virtual bool readProperties (TQSettings &qs, const TQString &prefix) +
    • virtual bool writeProperties (TQSettings &qs, const TQString &prefix) const +
    +

    Detailed Description

    +The TQextScintillaLexer class is an abstract class used as a base for specific language lexers. +

    +A Scintilla lexer scans the text breaking it up into separate language objects, e.g. keywords, strings, operators. The lexer then uses a different style to draw each object. A style is identified by a style number and has a number of attributes, including colour and font. A specific language lexer will implement appropriate default styles which can be overriden by an application by further sub-classing the specific language lexer.

    +A specific language lexer may provide one or more sets of words to be recognised as keywords. Most lexers only provide one set, but some may support languages embedded in other languages and provide several sets.

    +TQextScintillaLexer provides convenience methods for saving and restoring user preferences for fonts and colours. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexer::TQextScintillaLexer (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexer with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexer::~TQextScintillaLexer (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexer instance. +

    + +

    +

    +


    Member Function Documentation

    + +

    + +

    +
    + + + + + + + + +
    virtual const char* TQextScintillaLexer::lexer (  )  const [pure virtual]
    +
    + +

    + +

    +
    + + + + + + + + +
    int TQextScintillaLexer::autoIndentStyle (  ) 
    +
    +
    + +

    +Returns the auto-indentation style. The default is 0 if the language is block structured, or TQextScintilla::AiMaintain if not.

    +

    See also:
    setAutoIndentStyle(), TQextScintilla::AiMaintain, TQextScintilla::AiOpening, TQextScintilla::AiClosing
    + +
    +

    + +

    + +

    +
    + + + + + + + + + +
    virtual bool TQextScintillaLexer::eolFill (int  style  )  const [virtual]
    +
    + +

    + +

    +
    + + + + + + + + + +
    virtual TQFont TQextScintillaLexer::font (int  style  )  const [virtual]
    +
    + +

    + +

    +
    + + + + + + + + + +
    virtual const char* TQextScintillaLexer::keywords (int  set  )  const [virtual]
    +
    + +

    + +

    +
    + + + + + + + + + +
    virtual TQString TQextScintillaLexer::description (int  style  )  const [pure virtual]
    +
    + +

    + +

    +
    + + + + + + + + + +
    virtual TQColor TQextScintillaLexer::paper (int  style  )  const [virtual]
    +
    + +

    + +

    +
    + + + + + + + + +
    virtual TQFont TQextScintillaLexer::defaultFont (  )  const [virtual]
    +
    +
    + +

    +Returns the default font for all styles.

    +

    See also:
    setDefaultFont()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual TQColor TQextScintillaLexer::defaultColor (  )  const [virtual]
    +
    +
    + +

    +Returns the default text colour for all styles.

    +

    See also:
    setDefaultColor()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual TQColor TQextScintillaLexer::defaultPaper (  )  const [virtual]
    +
    +
    + +

    +Returns the default paper colour for all styles.

    +

    See also:
    setDefaultPaper()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintillaLexer::refreshProperties (  )  [virtual]
    +
    + +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexer::readSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    )
    +
    +
    + +

    +The colour, paper, font and end-of-line for each style number, and all lexer specific properties are read from the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    +

    See also:
    writeSettings(), TQextScintilla::setLexer()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexer::writeSettings (TQSettings &  qs,
    const char *  prefix = "/Scintilla" 
    ) const
    +
    +
    + +

    +The colour, paper, font and end-of-line for each style number, and all lexer specific properties are written to the settings qs. prefix is prepended to the key of each entry. TRUE is returned if there was no error.

    +

    See also:
    readSettings()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexer::setAutoIndentStyle (int  autoindentstyle  )  [virtual, slot]
    +
    +
    + +

    +The auto-indentation style is set to autoindentstyle.

    +

    See also:
    autoIndentStyle(), TQextScintilla::AiMaintain, TQextScintilla::AiOpening, TQextScintilla::AiClosing
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintillaLexer::setColor (const TQColor &  c,
    int  style = -1 
    ) [virtual, slot]
    +
    +
    + +

    +The foreground colour for style number style is set to c. If style is -1 then the colour is set for all styles. +

    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexer::setDefaultFont (const TQFont &  f  )  [virtual, slot]
    +
    +
    + +

    +The default font for all styles is set to f.

    +

    See also:
    defaultFont()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexer::setDefaultColor (const TQColor &  c  )  [virtual, slot]
    +
    +
    + +

    +The default text colour for all styles is set to c.

    +

    See also:
    defaultColor(), color()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexer::setDefaultPaper (const TQColor &  c  )  [virtual, slot]
    +
    +
    + +

    +The default paper colour for all styles is set to c.

    +

    See also:
    defaultPaper(), paper()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintillaLexer::setEolFill (bool  eoffill,
    int  style = -1 
    ) [virtual, slot]
    +
    +
    + +

    +The end-of-line fill for style number style is set to eoffill. If style is -1 then the fill is set for all styles. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintillaLexer::setFont (const TQFont &  f,
    int  style = -1 
    ) [virtual, slot]
    +
    +
    + +

    +The font for style number style is set to f. If style is -1 then the font is set for all styles. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintillaLexer::setPaper (const TQColor &  c,
    int  style = -1 
    ) [virtual, slot]
    +
    +
    + +

    +The background colour for style number style is set to c. If style is -1 then the colour is set for all styles. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaLexer::colorChanged (const TQColor &  c,
    int  style 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the foreground colour of style number style has changed. The new colour is c. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaLexer::eolFillChanged (bool  eoffilled,
    int  style 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the end-of-file fill of style number style has changed. The new fill is eoffilled. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaLexer::fontChanged (const TQFont &  f,
    int  style 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the font of style number style has changed. The new font is f. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaLexer::paperChanged (const TQColor &  c,
    int  style 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the background colour of style number style has changed. The new colour is c. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    void TQextScintillaLexer::propertyChanged (const char *  prop,
    const char *  val 
    ) [signal]
    +
    +
    + +

    +This signal is emitted when the value of the lexer property prop needs to be changed. The new value is val. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual bool TQextScintillaLexer::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented in TQextScintillaLexerBash, TQextScintillaLexerCPP, TQextScintillaLexerCSS, TQextScintillaLexerHTML, TQextScintillaLexerLua, TQextScintillaLexerPerl, TQextScintillaLexerPOV, TQextScintillaLexerProperties, TQextScintillaLexerPython, and TQextScintillaLexerSQL. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    virtual bool TQextScintillaLexer::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented in TQextScintillaLexerBash, TQextScintillaLexerCPP, TQextScintillaLexerCSS, TQextScintillaLexerHTML, TQextScintillaLexerLua, TQextScintillaLexerPerl, TQextScintillaLexerPOV, TQextScintillaLexerProperties, TQextScintillaLexerPython, and TQextScintillaLexerSQL. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerBash-members.html b/doc/en/classTQextScintillaLexerBash-members.html new file mode 100644 index 0000000..e11faf0 --- /dev/null +++ b/doc/en/classTQextScintillaLexerBash-members.html @@ -0,0 +1,87 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerBash Member List

    This is the complete list of members for TQextScintillaLexerBash, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    Backticks enum valueTQextScintillaLexerBash
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerBash)TQextScintillaLexerBash [virtual]
    color(int style) const TQextScintillaLexerBash [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerBash
    Default enum valueTQextScintillaLexerBash
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerBash [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerBash
    eolFill(int style) const TQextScintillaLexerBash [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    Error enum valueTQextScintillaLexerBash
    foldComments() const TQextScintillaLexerBash
    foldCompact() const TQextScintillaLexerBash
    font(int style) const TQextScintillaLexerBash [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    HereDocumentDelimiter enum valueTQextScintillaLexerBash
    Identifier enum valueTQextScintillaLexerBash
    Keyword enum valueTQextScintillaLexerBash
    keywords(int set) const TQextScintillaLexerBash [virtual]
    language() const TQextScintillaLexerBash [virtual]
    lexer() const TQextScintillaLexerBash [virtual]
    Number enum valueTQextScintillaLexerBash
    Operator enum valueTQextScintillaLexerBash
    paper(int style) const TQextScintillaLexerBash [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    ParameterExpansion enum valueTQextScintillaLexerBash
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerBash(TQObject *parent=0, const char *name=0)TQextScintillaLexerBash
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerBash [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerBash [virtual]
    Scalar enum valueTQextScintillaLexerBash
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerBash [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerBash [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedHereDocument enum valueTQextScintillaLexerBash
    SingleQuotedString enum valueTQextScintillaLexerBash
    WhiteSpace enum valueTQextScintillaLexerBash
    wordCharacters() const (defined in TQextScintillaLexerBash)TQextScintillaLexerBash [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerBash [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerBash()TQextScintillaLexerBash [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerBash.html b/doc/en/classTQextScintillaLexerBash.html new file mode 100644 index 0000000..f189900 --- /dev/null +++ b/doc/en/classTQextScintillaLexerBash.html @@ -0,0 +1,560 @@ + + +TQScintilla: TQextScintillaLexerBash Class Reference + + + + + + +

    TQextScintillaLexerBash Class Reference

    The TQextScintillaLexerBash class encapsulates the Scintilla Bash lexer. +More... +

    +#include <tqextscintillalexerbash.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerBash class encapsulates the Scintilla Bash lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Bash lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + +
    Default  +The default.
    WhiteSpace  +
    Deprecated:
    White space.
    +
    Error  +An error.
    Comment  +A comment.
    Number  +A number.
    Keyword  +A keyword.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    Operator  +An operator.
    Identifier  +An identifier.
    Scalar  +A scalar.
    ParameterExpansion  +Parameter expansion.
    Backticks  +Backticks.
    HereDocumentDelimiter  +A here document delimiter.
    SingleQuotedHereDocument  +A single quoted here document.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerBash::TQextScintillaLexerBash (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerBash with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerBash::~TQextScintillaLexerBash (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerBash instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerBash::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerBash::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerBash::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerBash::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerBash::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerBash::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerBash::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerBash::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerBash::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerBash::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerBash::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerBash::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerBash::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerBash::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerBash::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerBatch-members.html b/doc/en/classTQextScintillaLexerBatch-members.html new file mode 100644 index 0000000..7aa2202 --- /dev/null +++ b/doc/en/classTQextScintillaLexerBatch-members.html @@ -0,0 +1,76 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerBatch Member List

    This is the complete list of members for TQextScintillaLexerBatch, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexerBatch [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerBatch
    Default enum valueTQextScintillaLexerBatch
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerBatch [virtual]
    eolFill(int style) const TQextScintillaLexerBatch [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    ExternalCommand enum valueTQextScintillaLexerBatch
    font(int style) const TQextScintillaLexerBatch [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    HideCommandChar enum valueTQextScintillaLexerBatch
    Keyword enum valueTQextScintillaLexerBatch
    keywords(int set) const TQextScintillaLexerBatch [virtual]
    Label enum valueTQextScintillaLexerBatch
    language() const TQextScintillaLexerBatch [virtual]
    lexer() const TQextScintillaLexerBatch [virtual]
    Operator enum valueTQextScintillaLexerBatch
    paper(int style) const TQextScintillaLexerBatch [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerBatch(TQObject *parent=0, const char *name=0)TQextScintillaLexerBatch
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    Variable enum valueTQextScintillaLexerBatch
    wordCharacters() const (defined in TQextScintillaLexerBatch)TQextScintillaLexerBatch [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerBatch()TQextScintillaLexerBatch [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerBatch.html b/doc/en/classTQextScintillaLexerBatch.html new file mode 100644 index 0000000..5317745 --- /dev/null +++ b/doc/en/classTQextScintillaLexerBatch.html @@ -0,0 +1,345 @@ + + +TQScintilla: TQextScintillaLexerBatch Class Reference + + + + + + +

    TQextScintillaLexerBatch Class Reference

    The TQextScintillaLexerBatch class encapsulates the Scintilla batch file lexer. +More... +

    +#include <tqextscintillalexerbatch.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerBatch class encapsulates the Scintilla batch file lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the batch file lexer.

    Enumerator:
    + + + + + + + + + +
    Default  +The default.
    Comment  +A comment.
    Keyword  +A keyword.
    Label  +A label.
    HideCommandChar  +An hide command character.
    ExternalCommand  +An external command .
    Variable  +A variable.
    Operator  +An operator.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerBatch::TQextScintillaLexerBatch (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerBatch with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerBatch::~TQextScintillaLexerBatch (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerBatch instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerBatch::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerBatch::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerBatch::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerBatch::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerBatch::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerBatch::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerBatch::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerBatch::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCPP-members.html b/doc/en/classTQextScintillaLexerCPP-members.html new file mode 100644 index 0000000..f4a5bef --- /dev/null +++ b/doc/en/classTQextScintillaLexerCPP-members.html @@ -0,0 +1,99 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerCPP Member List

    This is the complete list of members for TQextScintillaLexerCPP, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    braceStyle() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    color(int style) const TQextScintillaLexerCPP [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCPP
    CommentDoc enum valueTQextScintillaLexerCPP
    CommentDocKeyword enum valueTQextScintillaLexerCPP
    CommentDocKeywordError enum valueTQextScintillaLexerCPP
    CommentLine enum valueTQextScintillaLexerCPP
    CommentLineDoc enum valueTQextScintillaLexerCPP
    Default enum valueTQextScintillaLexerCPP
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerCPP [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCPP
    eolFill(int style) const TQextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldAtElse() const TQextScintillaLexerCPP
    foldComments() const TQextScintillaLexerCPP
    foldCompact() const TQextScintillaLexerCPP
    foldPreprocessor() const TQextScintillaLexerCPP
    font(int style) const TQextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    GlobalClass enum valueTQextScintillaLexerCPP
    Identifier enum valueTQextScintillaLexerCPP
    Keyword enum valueTQextScintillaLexerCPP
    keywords(int set) const TQextScintillaLexerCPP [virtual]
    KeywordSet2 enum valueTQextScintillaLexerCPP
    language() const TQextScintillaLexerCPP [virtual]
    lexer() const TQextScintillaLexerCPP [virtual]
    Number enum valueTQextScintillaLexerCPP
    Operator enum valueTQextScintillaLexerCPP
    paper(int style) const TQextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PreProcessor enum valueTQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)TQextScintillaLexerCPP
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCPP [virtual]
    Regex enum valueTQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)TQextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCPP
    stylePreprocessor() const TQextScintillaLexerCPP
    UnclosedString enum valueTQextScintillaLexerCPP
    UUID enum valueTQextScintillaLexerCPP
    VerbatimString enum valueTQextScintillaLexerCPP
    WhiteSpace enum valueTQextScintillaLexerCPP
    wordCharacters() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCPP()TQextScintillaLexerCPP [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCPP.html b/doc/en/classTQextScintillaLexerCPP.html new file mode 100644 index 0000000..676b697 --- /dev/null +++ b/doc/en/classTQextScintillaLexerCPP.html @@ -0,0 +1,753 @@ + + +TQScintilla: TQextScintillaLexerCPP Class Reference + + + + + + +

    TQextScintillaLexerCPP Class Reference

    The TQextScintillaLexerCPP class encapsulates the Scintilla C++ lexer. +More... +

    +#include <tqextscintillalexercpp.h> +

    +Inherits TQextScintillaLexer. +

    +Inherited by TQextScintillaLexerCSharp, TQextScintillaLexerIDL, TQextScintillaLexerJava, and TQextScintillaLexerJavaScript. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerCPP class encapsulates the Scintilla C++ lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the C++ lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    WhiteSpace  +
    Deprecated:
    White space.
    +
    Comment  +A C comment.
    CommentLine  +A C++ comment line.
    CommentDoc  +A JavaDoc/Doxygen style C comment.
    Number  +A number.
    Keyword  +A keyword.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    UUID  +An IDL UUID.
    PreProcessor  +A pre-processor block.
    Operator  +An operator.
    Identifier  +An identifier.
    UnclosedString  +The end of a line where a string is not closed.
    VerbatimString  +A C# verbatim string.
    Regex  +A JavaScript regular expression.
    CommentLineDoc  +A JavaDoc/Doxygen style C++ comment line.
    KeywordSet2  +A keyword defined in keyword set number 2. The class must be sub-classed and re-implement keywords() to make use of this style.
    CommentDocKeyword  +A JavaDoc/Doxygen keyword.
    CommentDocKeywordError  +A JavaDoc/Doxygen keyword error.
    GlobalClass  +A global class or typedef defined in keyword set number 4. The class must be sub-classed and re-implement keywords() to make use of this style.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerCPP::TQextScintillaLexerCPP (TQObject *  parent = 0,
    const char *  name = 0,
    bool  caseInsensitiveKeywords = FALSE 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerCPP with parent parent and name name. parent is typically the TQextScintilla instance. caseInsensitiveKeywords is TRUE if the lexer ignores the case of keywords. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerCPP::~TQextScintillaLexerCPP (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerCPP instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerCPP::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, TQextScintillaLexerIDL, TQextScintillaLexerJava, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerCPP::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerCPP::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, TQextScintillaLexerIDL, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerCPP::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerCPP::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerCPP::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, TQextScintillaLexerIDL, TQextScintillaLexerJava, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerCPP::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, TQextScintillaLexerIDL, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerCPP::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +Reimplemented in TQextScintillaLexerCSharp, and TQextScintillaLexerJavaScript. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerCPP::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCPP::foldAtElse (  )  const
    +
    +
    + +

    +Returns TRUE if "} else {" lines can be folded.

    +

    See also:
    setFoldAtElse()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCPP::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCPP::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCPP::foldPreprocessor (  )  const
    +
    +
    + +

    +Returns TRUE if preprocessor blocks can be folded.

    +

    See also:
    setFoldPreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCPP::stylePreprocessor (  )  const
    +
    +
    + +

    +Returns TRUE if preprocessor lines (after the preprocessor directive) are styled.

    +

    See also:
    setStylePreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCPP::setFoldAtElse (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then "} else {" lines can be folded. The default is FALSE.

    +

    See also:
    foldAtElse()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCPP::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCPP::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCPP::setFoldPreprocessor (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then preprocessor blocks can be folded. The default is TRUE.

    +

    See also:
    foldPreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCPP::setStylePreprocessor (bool  style  )  [virtual, slot]
    +
    +
    + +

    +If style is TRUE then preprocessor lines (after the preprocessor directive) are styled. The default is FALSE.

    +

    See also:
    stylePreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerCPP::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    +

    See also:
    writeProperties()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerCPP::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    +

    See also:
    readProperties()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCSS-members.html b/doc/en/classTQextScintillaLexerCSS-members.html new file mode 100644 index 0000000..a892202 --- /dev/null +++ b/doc/en/classTQextScintillaLexerCSS-members.html @@ -0,0 +1,89 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerCSS Member List

    This is the complete list of members for TQextScintillaLexerCSS, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AtRule enum valueTQextScintillaLexerCSS
    Attribute enum valueTQextScintillaLexerCSS
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCSS)TQextScintillaLexerCSS [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCSS)TQextScintillaLexerCSS [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    ClassSelector enum valueTQextScintillaLexerCSS
    color(int style) const TQextScintillaLexerCSS [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCSS
    CSS1Property enum valueTQextScintillaLexerCSS
    CSS2Property enum valueTQextScintillaLexerCSS
    Default enum valueTQextScintillaLexerCSS
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerCSS [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCSS
    eolFill(int style) const TQextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldComments() const TQextScintillaLexerCSS
    foldCompact() const TQextScintillaLexerCSS
    font(int style) const TQextScintillaLexerCSS [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    IDSelector enum valueTQextScintillaLexerCSS
    Important enum valueTQextScintillaLexerCSS
    keywords(int set) const TQextScintillaLexerCSS [virtual]
    language() const TQextScintillaLexerCSS [virtual]
    lexer() const TQextScintillaLexerCSS [virtual]
    Operator enum valueTQextScintillaLexerCSS
    paper(int style) const TQextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    PseudoClass enum valueTQextScintillaLexerCSS
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCSS(TQObject *parent=0, const char *name=0)TQextScintillaLexerCSS
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCSS [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCSS [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCSS [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCSS [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCSS
    Tag enum valueTQextScintillaLexerCSS
    UnknownProperty enum valueTQextScintillaLexerCSS
    UnknownPseudoClass enum valueTQextScintillaLexerCSS
    Value enum valueTQextScintillaLexerCSS
    wordCharacters() const (defined in TQextScintillaLexerCSS)TQextScintillaLexerCSS [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCSS [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCSS()TQextScintillaLexerCSS [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCSS.html b/doc/en/classTQextScintillaLexerCSS.html new file mode 100644 index 0000000..1179ac3 --- /dev/null +++ b/doc/en/classTQextScintillaLexerCSS.html @@ -0,0 +1,520 @@ + + +TQScintilla: TQextScintillaLexerCSS Class Reference + + + + + + +

    TQextScintillaLexerCSS Class Reference

    The TQextScintillaLexerCSS class encapsulates the Scintilla CSS lexer. +More... +

    +#include <tqextscintillalexercss.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerCSS class encapsulates the Scintilla CSS lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the CSS lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    Tag  +A tag.
    ClassSelector  +A class selector.
    PseudoClass  +A pseudo-class.
    UnknownPseudoClass  +An pseudo-class.
    Operator  +An operator.
    CSS1Property  +A CSS1 property.
    UnknownProperty  +An unknown property.
    Value  +A value.
    Comment  +A comment.
    IDSelector  +An ID selector.
    Important  +An important value.
    AtRule  +An @-rule.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    CSS2Property  +A CSS2 property.
    Attribute  +An attribute.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerCSS::TQextScintillaLexerCSS (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerCSS with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerCSS::~TQextScintillaLexerCSS (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerCSS instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerCSS::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerCSS::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerCSS::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerCSS::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerCSS::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerCSS::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerCSS::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCSS::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerCSS::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCSS::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerCSS::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerCSS::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerCSS::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCSharp-members.html b/doc/en/classTQextScintillaLexerCSharp-members.html new file mode 100644 index 0000000..ec9d3d1 --- /dev/null +++ b/doc/en/classTQextScintillaLexerCSharp-members.html @@ -0,0 +1,101 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerCSharp Member List

    This is the complete list of members for TQextScintillaLexerCSharp, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    braceStyle() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    color(int style) const TQextScintillaLexerCSharp [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCPP
    CommentDoc enum valueTQextScintillaLexerCPP
    CommentDocKeyword enum valueTQextScintillaLexerCPP
    CommentDocKeywordError enum valueTQextScintillaLexerCPP
    CommentLine enum valueTQextScintillaLexerCPP
    CommentLineDoc enum valueTQextScintillaLexerCPP
    Default enum valueTQextScintillaLexerCPP
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerCSharp [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCPP
    eolFill(int style) const TQextScintillaLexerCSharp [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldAtElse() const TQextScintillaLexerCPP
    foldComments() const TQextScintillaLexerCPP
    foldCompact() const TQextScintillaLexerCPP
    foldPreprocessor() const TQextScintillaLexerCPP
    font(int style) const TQextScintillaLexerCSharp [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    GlobalClass enum valueTQextScintillaLexerCPP
    Identifier enum valueTQextScintillaLexerCPP
    Keyword enum valueTQextScintillaLexerCPP
    keywords(int set) const TQextScintillaLexerCSharp [virtual]
    KeywordSet2 enum valueTQextScintillaLexerCPP
    language() const TQextScintillaLexerCSharp [virtual]
    lexer() const TQextScintillaLexerCPP [virtual]
    Number enum valueTQextScintillaLexerCPP
    Operator enum valueTQextScintillaLexerCPP
    paper(int style) const TQextScintillaLexerCSharp [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PreProcessor enum valueTQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)TQextScintillaLexerCPP
    TQextScintillaLexerCSharp(TQObject *parent=0, const char *name=0)TQextScintillaLexerCSharp
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCPP [virtual]
    Regex enum valueTQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)TQextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCPP
    stylePreprocessor() const TQextScintillaLexerCPP
    UnclosedString enum valueTQextScintillaLexerCPP
    UUID enum valueTQextScintillaLexerCPP
    VerbatimString enum valueTQextScintillaLexerCPP
    WhiteSpace enum valueTQextScintillaLexerCPP
    wordCharacters() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCPP()TQextScintillaLexerCPP [virtual]
    ~TQextScintillaLexerCSharp()TQextScintillaLexerCSharp [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerCSharp.html b/doc/en/classTQextScintillaLexerCSharp.html new file mode 100644 index 0000000..09528a6 --- /dev/null +++ b/doc/en/classTQextScintillaLexerCSharp.html @@ -0,0 +1,261 @@ + + +TQScintilla: TQextScintillaLexerCSharp Class Reference + + + + + + +

    TQextScintillaLexerCSharp Class Reference

    The TQextScintillaLexerCSharp class encapsulates the Scintilla C# lexer. +More... +

    +#include <tqextscintillalexercsharp.h> +

    +Inherits TQextScintillaLexerCPP. +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerCSharp class encapsulates the Scintilla C# lexer. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerCSharp::TQextScintillaLexerCSharp (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerCSharp with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerCSharp::~TQextScintillaLexerCSharp (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerCSharp instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerCSharp::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerCSharp::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerCSharp::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerCSharp::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerCSharp::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerCSharp::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerCSharp::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerDiff-members.html b/doc/en/classTQextScintillaLexerDiff-members.html new file mode 100644 index 0000000..9088ecb --- /dev/null +++ b/doc/en/classTQextScintillaLexerDiff-members.html @@ -0,0 +1,75 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerDiff Member List

    This is the complete list of members for TQextScintillaLexerDiff, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexerDiff [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Command enum valueTQextScintillaLexerDiff
    Comment enum valueTQextScintillaLexerDiff
    Default enum valueTQextScintillaLexerDiff
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerDiff [virtual]
    eolFill(int style) const TQextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    font(int style) const TQextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Header enum valueTQextScintillaLexerDiff
    keywords(int set) const TQextScintillaLexer [virtual]
    language() const TQextScintillaLexerDiff [virtual]
    lexer() const TQextScintillaLexerDiff [virtual]
    LineAdded enum valueTQextScintillaLexerDiff
    LineRemoved enum valueTQextScintillaLexerDiff
    paper(int style) const TQextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Position enum valueTQextScintillaLexerDiff
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerDiff(TQObject *parent=0, const char *name=0)TQextScintillaLexerDiff
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in TQextScintillaLexerDiff)TQextScintillaLexerDiff [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerDiff()TQextScintillaLexerDiff [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerDiff.html b/doc/en/classTQextScintillaLexerDiff.html new file mode 100644 index 0000000..0f09b8f --- /dev/null +++ b/doc/en/classTQextScintillaLexerDiff.html @@ -0,0 +1,243 @@ + + +TQScintilla: TQextScintillaLexerDiff Class Reference + + + + + + +

    TQextScintillaLexerDiff Class Reference

    The TQextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. +More... +

    +#include <tqextscintillalexerdiff.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerDiff class encapsulates the Scintilla Diff lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Diff lexer.

    Enumerator:
    + + + + + + + + +
    Default  +The default.
    Comment  +A comment.
    Command  +A command.
    Header  +A header.
    Position  +A position.
    LineRemoved  +A removed line.
    LineAdded  +An added line.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerDiff::TQextScintillaLexerDiff (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerDiff with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerDiff::~TQextScintillaLexerDiff (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerDiff instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerDiff::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerDiff::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerDiff::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerDiff::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerHTML-members.html b/doc/en/classTQextScintillaLexerHTML-members.html new file mode 100644 index 0000000..82f75ed --- /dev/null +++ b/doc/en/classTQextScintillaLexerHTML-members.html @@ -0,0 +1,184 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerHTML Member List

    This is the complete list of members for TQextScintillaLexerHTML, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ASPAtStart enum valueTQextScintillaLexerHTML
    ASPJavaScriptComment enum valueTQextScintillaLexerHTML
    ASPJavaScriptCommentDoc enum valueTQextScintillaLexerHTML
    ASPJavaScriptCommentLine enum valueTQextScintillaLexerHTML
    ASPJavaScriptDefault enum valueTQextScintillaLexerHTML
    ASPJavaScriptDoubleQuotedString enum valueTQextScintillaLexerHTML
    ASPJavaScriptKeyword enum valueTQextScintillaLexerHTML
    ASPJavaScriptNumber enum valueTQextScintillaLexerHTML
    ASPJavaScriptRegex enum valueTQextScintillaLexerHTML
    ASPJavaScriptSingleQuotedString enum valueTQextScintillaLexerHTML
    ASPJavaScriptStart enum valueTQextScintillaLexerHTML
    ASPJavaScriptSymbol enum valueTQextScintillaLexerHTML
    ASPJavaScriptUnclosedString enum valueTQextScintillaLexerHTML
    ASPJavaScriptWord enum valueTQextScintillaLexerHTML
    ASPPythonClassName enum valueTQextScintillaLexerHTML
    ASPPythonComment enum valueTQextScintillaLexerHTML
    ASPPythonDefault enum valueTQextScintillaLexerHTML
    ASPPythonDoubleQuotedString enum valueTQextScintillaLexerHTML
    ASPPythonFunctionMethodName enum valueTQextScintillaLexerHTML
    ASPPythonIdentifier enum valueTQextScintillaLexerHTML
    ASPPythonKeyword enum valueTQextScintillaLexerHTML
    ASPPythonNumber enum valueTQextScintillaLexerHTML
    ASPPythonOperator enum valueTQextScintillaLexerHTML
    ASPPythonSingleQuotedString enum valueTQextScintillaLexerHTML
    ASPPythonStart enum valueTQextScintillaLexerHTML
    ASPPythonTripleDoubleQuotedString enum valueTQextScintillaLexerHTML
    ASPPythonTripleSingleQuotedString enum valueTQextScintillaLexerHTML
    ASPStart enum valueTQextScintillaLexerHTML
    ASPVBScriptComment enum valueTQextScintillaLexerHTML
    ASPVBScriptDefault enum valueTQextScintillaLexerHTML
    ASPVBScriptIdentifier enum valueTQextScintillaLexerHTML
    ASPVBScriptKeyword enum valueTQextScintillaLexerHTML
    ASPVBScriptNumber enum valueTQextScintillaLexerHTML
    ASPVBScriptStart enum valueTQextScintillaLexerHTML
    ASPVBScriptString enum valueTQextScintillaLexerHTML
    ASPVBScriptUnclosedString enum valueTQextScintillaLexerHTML
    ASPXCComment enum valueTQextScintillaLexerHTML
    Attribute enum valueTQextScintillaLexerHTML
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    caseSensitiveTags() const TQextScintillaLexerHTML
    CDATA enum valueTQextScintillaLexerHTML
    color(int style) const TQextScintillaLexerHTML [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Default enum valueTQextScintillaLexerHTML
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerHTML [virtual]
    Entity enum valueTQextScintillaLexerHTML
    eolFill(int style) const TQextScintillaLexerHTML [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldCompact() const TQextScintillaLexerHTML
    foldPreprocessor() const TQextScintillaLexerHTML
    font(int style) const TQextScintillaLexerHTML [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    HTMLComment enum valueTQextScintillaLexerHTML
    HTMLDoubleQuotedString enum valueTQextScintillaLexerHTML
    HTMLNumber enum valueTQextScintillaLexerHTML
    HTMLSingleQuotedString enum valueTQextScintillaLexerHTML
    HTMLValue enum valueTQextScintillaLexerHTML
    JavaScriptComment enum valueTQextScintillaLexerHTML
    JavaScriptCommentDoc enum valueTQextScintillaLexerHTML
    JavaScriptCommentLine enum valueTQextScintillaLexerHTML
    JavaScriptDefault enum valueTQextScintillaLexerHTML
    JavaScriptDoubleQuotedString enum valueTQextScintillaLexerHTML
    JavaScriptKeyword enum valueTQextScintillaLexerHTML
    JavaScriptNumber enum valueTQextScintillaLexerHTML
    JavaScriptRegex enum valueTQextScintillaLexerHTML
    JavaScriptSingleQuotedString enum valueTQextScintillaLexerHTML
    JavaScriptStart enum valueTQextScintillaLexerHTML
    JavaScriptSymbol enum valueTQextScintillaLexerHTML
    JavaScriptUnclosedString enum valueTQextScintillaLexerHTML
    JavaScriptWord enum valueTQextScintillaLexerHTML
    keywords(int set) const TQextScintillaLexerHTML [virtual]
    language() const TQextScintillaLexerHTML [virtual]
    lexer() const TQextScintillaLexerHTML [virtual]
    OtherInTag enum valueTQextScintillaLexerHTML
    paper(int style) const TQextScintillaLexerHTML [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PHPComment enum valueTQextScintillaLexerHTML
    PHPCommentLine enum valueTQextScintillaLexerHTML
    PHPDefault enum valueTQextScintillaLexerHTML
    PHPDoubleQuotedString enum valueTQextScintillaLexerHTML
    PHPDoubleQuotedVariable enum valueTQextScintillaLexerHTML
    PHPKeyword enum valueTQextScintillaLexerHTML
    PHPNumber enum valueTQextScintillaLexerHTML
    PHPOperator enum valueTQextScintillaLexerHTML
    PHPSingleQuotedString enum valueTQextScintillaLexerHTML
    PHPStart enum valueTQextScintillaLexerHTML
    PHPVariable enum valueTQextScintillaLexerHTML
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    PythonClassName enum valueTQextScintillaLexerHTML
    PythonComment enum valueTQextScintillaLexerHTML
    PythonDefault enum valueTQextScintillaLexerHTML
    PythonDoubleQuotedString enum valueTQextScintillaLexerHTML
    PythonFunctionMethodName enum valueTQextScintillaLexerHTML
    PythonIdentifier enum valueTQextScintillaLexerHTML
    PythonKeyword enum valueTQextScintillaLexerHTML
    PythonNumber enum valueTQextScintillaLexerHTML
    PythonOperator enum valueTQextScintillaLexerHTML
    PythonSingleQuotedString enum valueTQextScintillaLexerHTML
    PythonStart enum valueTQextScintillaLexerHTML
    PythonTripleDoubleQuotedString enum valueTQextScintillaLexerHTML
    PythonTripleSingleQuotedString enum valueTQextScintillaLexerHTML
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerHTML(TQObject *parent=0, const char *name=0)TQextScintillaLexerHTML
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerHTML [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerHTML [virtual]
    Script enum valueTQextScintillaLexerHTML
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setCaseSensitiveTags(bool sens)TQextScintillaLexerHTML [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerHTML [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerHTML [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SGMLBlockDefault enum valueTQextScintillaLexerHTML
    SGMLCommand enum valueTQextScintillaLexerHTML
    SGMLComment enum valueTQextScintillaLexerHTML
    SGMLDefault enum valueTQextScintillaLexerHTML
    SGMLDoubleQuotedString enum valueTQextScintillaLexerHTML
    SGMLEntity enum valueTQextScintillaLexerHTML
    SGMLError enum valueTQextScintillaLexerHTML
    SGMLParameter enum valueTQextScintillaLexerHTML
    SGMLParameterComment enum valueTQextScintillaLexerHTML
    SGMLSingleQuotedString enum valueTQextScintillaLexerHTML
    SGMLSpecial enum valueTQextScintillaLexerHTML
    Tag enum valueTQextScintillaLexerHTML
    UnknownAttribute enum valueTQextScintillaLexerHTML
    UnknownTag enum valueTQextScintillaLexerHTML
    VBScriptComment enum valueTQextScintillaLexerHTML
    VBScriptDefault enum valueTQextScintillaLexerHTML
    VBScriptIdentifier enum valueTQextScintillaLexerHTML
    VBScriptKeyword enum valueTQextScintillaLexerHTML
    VBScriptNumber enum valueTQextScintillaLexerHTML
    VBScriptStart enum valueTQextScintillaLexerHTML
    VBScriptString enum valueTQextScintillaLexerHTML
    VBScriptUnclosedString enum valueTQextScintillaLexerHTML
    wordCharacters() const (defined in TQextScintillaLexerHTML)TQextScintillaLexerHTML [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerHTML [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    XMLEnd enum valueTQextScintillaLexerHTML
    XMLStart enum valueTQextScintillaLexerHTML
    XMLTagEnd enum valueTQextScintillaLexerHTML
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerHTML()TQextScintillaLexerHTML [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerHTML.html b/doc/en/classTQextScintillaLexerHTML.html new file mode 100644 index 0000000..d815f2b --- /dev/null +++ b/doc/en/classTQextScintillaLexerHTML.html @@ -0,0 +1,1014 @@ + + +TQScintilla: TQextScintillaLexerHTML Class Reference + + + + + + +

    TQextScintillaLexerHTML Class Reference

    The TQextScintillaLexerHTML class encapsulates the Scintilla HTML lexer. +More... +

    +#include <tqextscintillalexerhtml.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerHTML class encapsulates the Scintilla HTML lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the HTML lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    Tag  +A tag.
    UnknownTag  +An unknown tag.
    Attribute  +An attribute.
    UnknownAttribute  +An unknown attribute.
    HTMLNumber  +An HTML number.
    HTMLDoubleQuotedString  +An HTML double-quoted string.
    HTMLSingleQuotedString  +An HTML single-quoted string.
    OtherInTag  +Other text within a tag.
    HTMLComment  +An HTML comment.
    Entity  +An entity.
    XMLTagEnd  +The end of an XML style tag.
    XMLStart  +The start of an XML fragment.
    XMLEnd  +The end of an XML fragment.
    Script  +A script tag.
    ASPAtStart  +The start of an ASP fragment with @.
    ASPStart  +The start of an ASP fragment.
    CDATA  +CDATA.
    PHPStart  +The start of a PHP fragment.
    HTMLValue  +An unquoted HTML value.
    ASPXCComment  +An ASP X-Code comment.
    SGMLDefault  +The default for SGML.
    SGMLCommand  +An SGML command.
    SGMLParameter  +The first parameter of an SGML command.
    SGMLDoubleQuotedString  +An SGML double-quoted string.
    SGMLSingleQuotedString  +An SGML single-quoted string.
    SGMLError  +An SGML error.
    SGMLSpecial  +An SGML special entity.
    SGMLEntity  +An SGML entity.
    SGMLComment  +An SGML comment.
    SGMLParameterComment  +A comment with the first parameter of an SGML command.
    SGMLBlockDefault  +The default for an SGML block.
    JavaScriptStart  +The start of a JavaScript fragment.
    JavaScriptDefault  +The default for JavaScript.
    JavaScriptComment  +A JavaScript comment.
    JavaScriptCommentLine  +A JavaScript line comment.
    JavaScriptCommentDoc  +A JavaDoc style JavaScript comment.
    JavaScriptNumber  +A JavaScript number.
    JavaScriptWord  +A JavaScript word.
    JavaScriptKeyword  +A JavaScript keyword.
    JavaScriptDoubleQuotedString  +A JavaScript double-quoted string.
    JavaScriptSingleQuotedString  +A JavaScript single-quoted string.
    JavaScriptSymbol  +A JavaScript symbol.
    JavaScriptUnclosedString  +The end of a JavaScript line where a string is not closed.
    JavaScriptRegex  +A JavaScript regular expression.
    ASPJavaScriptStart  +The start of an ASP JavaScript fragment.
    ASPJavaScriptDefault  +The default for ASP JavaScript.
    ASPJavaScriptComment  +An ASP JavaScript comment.
    ASPJavaScriptCommentLine  +An ASP JavaScript line comment.
    ASPJavaScriptCommentDoc  +An ASP JavaDoc style JavaScript comment.
    ASPJavaScriptNumber  +An ASP JavaScript number.
    ASPJavaScriptWord  +An ASP JavaScript word.
    ASPJavaScriptKeyword  +An ASP JavaScript keyword.
    ASPJavaScriptDoubleQuotedString  +An ASP JavaScript double-quoted string.
    ASPJavaScriptSingleQuotedString  +An ASP JavaScript single-quoted string.
    ASPJavaScriptSymbol  +An ASP JavaScript symbol.
    ASPJavaScriptUnclosedString  +The end of an ASP JavaScript line where a string is not closed.
    ASPJavaScriptRegex  +An ASP JavaScript regular expression.
    VBScriptStart  +The start of a VBScript fragment.
    VBScriptDefault  +The default for VBScript.
    VBScriptComment  +A VBScript comment.
    VBScriptNumber  +A VBScript number.
    VBScriptKeyword  +A VBScript keyword.
    VBScriptString  +A VBScript string.
    VBScriptIdentifier  +A VBScript identifier.
    VBScriptUnclosedString  +The end of a VBScript line where a string is not closed.
    ASPVBScriptStart  +The start of an ASP VBScript fragment.
    ASPVBScriptDefault  +The default for ASP VBScript.
    ASPVBScriptComment  +An ASP VBScript comment.
    ASPVBScriptNumber  +An ASP VBScript number.
    ASPVBScriptKeyword  +An ASP VBScript keyword.
    ASPVBScriptString  +An ASP VBScript string.
    ASPVBScriptIdentifier  +An ASP VBScript identifier.
    ASPVBScriptUnclosedString  +The end of an ASP VBScript line where a string is not closed.
    PythonStart  +The start of a Python fragment.
    PythonDefault  +The default for Python.
    PythonComment  +A Python comment.
    PythonNumber  +A Python number.
    PythonDoubleQuotedString  +A Python double-quoted string.
    PythonSingleQuotedString  +A Python single-quoted string.
    PythonKeyword  +A Python keyword.
    PythonTripleSingleQuotedString  +A Python triple single-quoted string.
    PythonTripleDoubleQuotedString  +A Python triple double-quoted string.
    PythonClassName  +The name of a Python class.
    PythonFunctionMethodName  +The name of a Python function or method.
    PythonOperator  +A Python operator.
    PythonIdentifier  +A Python identifier.
    ASPPythonStart  +The start of an ASP Python fragment.
    ASPPythonDefault  +The default for ASP Python.
    ASPPythonComment  +An ASP Python comment.
    ASPPythonNumber  +An ASP Python number.
    ASPPythonDoubleQuotedString  +An ASP Python double-quoted string.
    ASPPythonSingleQuotedString  +An ASP Python single-quoted string.
    ASPPythonKeyword  +An ASP Python keyword.
    ASPPythonTripleSingleQuotedString  +An ASP Python triple single-quoted string.
    ASPPythonTripleDoubleQuotedString  +An ASP Python triple double-quoted string.
    ASPPythonClassName  +The name of an ASP Python class.
    ASPPythonFunctionMethodName  +The name of an ASP Python function or method.
    ASPPythonOperator  +An ASP Python operator.
    ASPPythonIdentifier  +An ASP Python identifier.
    PHPDefault  +The default for PHP.
    PHPDoubleQuotedString  +A PHP double-quoted string.
    PHPSingleQuotedString  +A PHP single-quoted string.
    PHPKeyword  +A PHP keyword.
    PHPNumber  +A PHP number.
    PHPVariable  +A PHP variable.
    PHPComment  +A PHP comment.
    PHPCommentLine  +A PHP line comment.
    PHPDoubleQuotedVariable  +A PHP double-quoted variable.
    PHPOperator  +A PHP operator.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerHTML::TQextScintillaLexerHTML (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerHTML with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerHTML::~TQextScintillaLexerHTML (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerHTML instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerHTML::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerHTML::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerHTML::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerHTML::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerHTML::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerHTML::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerHTML::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerHTML::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerHTML::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerHTML::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerHTML::foldPreprocessor (  )  const
    +
    +
    + +

    +Returns TRUE if preprocessor blocks can be folded.

    +

    See also:
    setFoldPreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerHTML::caseSensitiveTags (  )  const
    +
    +
    + +

    +Returns TRUE if tags are case sensitive.

    +

    See also:
    setCaseSensitiveTags()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerHTML::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerHTML::setFoldPreprocessor (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then preprocessor blocks can be folded. The default is FALSE.

    +

    See also:
    foldPreprocessor()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerHTML::setCaseSensitiveTags (bool  sens  )  [virtual, slot]
    +
    +
    + +

    +If sens is TRUE then tags are case sensitive. The default is FALSE.

    +

    See also:
    caseSensitiveTags()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerHTML::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerHTML::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerIDL-members.html b/doc/en/classTQextScintillaLexerIDL-members.html new file mode 100644 index 0000000..1d6efc4 --- /dev/null +++ b/doc/en/classTQextScintillaLexerIDL-members.html @@ -0,0 +1,101 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerIDL Member List

    This is the complete list of members for TQextScintillaLexerIDL, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    braceStyle() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    color(int style) const TQextScintillaLexerIDL [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCPP
    CommentDoc enum valueTQextScintillaLexerCPP
    CommentDocKeyword enum valueTQextScintillaLexerCPP
    CommentDocKeywordError enum valueTQextScintillaLexerCPP
    CommentLine enum valueTQextScintillaLexerCPP
    CommentLineDoc enum valueTQextScintillaLexerCPP
    Default enum valueTQextScintillaLexerCPP
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerIDL [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCPP
    eolFill(int style) const TQextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldAtElse() const TQextScintillaLexerCPP
    foldComments() const TQextScintillaLexerCPP
    foldCompact() const TQextScintillaLexerCPP
    foldPreprocessor() const TQextScintillaLexerCPP
    font(int style) const TQextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    GlobalClass enum valueTQextScintillaLexerCPP
    Identifier enum valueTQextScintillaLexerCPP
    Keyword enum valueTQextScintillaLexerCPP
    keywords(int set) const TQextScintillaLexerIDL [virtual]
    KeywordSet2 enum valueTQextScintillaLexerCPP
    language() const TQextScintillaLexerIDL [virtual]
    lexer() const TQextScintillaLexerCPP [virtual]
    Number enum valueTQextScintillaLexerCPP
    Operator enum valueTQextScintillaLexerCPP
    paper(int style) const TQextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PreProcessor enum valueTQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)TQextScintillaLexerCPP
    TQextScintillaLexerIDL(TQObject *parent=0, const char *name=0)TQextScintillaLexerIDL
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCPP [virtual]
    Regex enum valueTQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)TQextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCPP
    stylePreprocessor() const TQextScintillaLexerCPP
    UnclosedString enum valueTQextScintillaLexerCPP
    UUID enum valueTQextScintillaLexerCPP
    VerbatimString enum valueTQextScintillaLexerCPP
    WhiteSpace enum valueTQextScintillaLexerCPP
    wordCharacters() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCPP()TQextScintillaLexerCPP [virtual]
    ~TQextScintillaLexerIDL()TQextScintillaLexerIDL [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerIDL.html b/doc/en/classTQextScintillaLexerIDL.html new file mode 100644 index 0000000..b6ff6e6 --- /dev/null +++ b/doc/en/classTQextScintillaLexerIDL.html @@ -0,0 +1,186 @@ + + +TQScintilla: TQextScintillaLexerIDL Class Reference + + + + + + +

    TQextScintillaLexerIDL Class Reference

    The TQextScintillaLexerIDL class encapsulates the Scintilla IDL lexer. +More... +

    +#include <tqextscintillalexeridl.h> +

    +Inherits TQextScintillaLexerCPP. +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerIDL class encapsulates the Scintilla IDL lexer. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerIDL::TQextScintillaLexerIDL (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerIDL with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerIDL::~TQextScintillaLexerIDL (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerIDL instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerIDL::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerIDL::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerIDL::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerIDL::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerJava-members.html b/doc/en/classTQextScintillaLexerJava-members.html new file mode 100644 index 0000000..7fada4f --- /dev/null +++ b/doc/en/classTQextScintillaLexerJava-members.html @@ -0,0 +1,101 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerJava Member List

    This is the complete list of members for TQextScintillaLexerJava, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    braceStyle() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    color(int style) const TQextScintillaLexerCPP [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCPP
    CommentDoc enum valueTQextScintillaLexerCPP
    CommentDocKeyword enum valueTQextScintillaLexerCPP
    CommentDocKeywordError enum valueTQextScintillaLexerCPP
    CommentLine enum valueTQextScintillaLexerCPP
    CommentLineDoc enum valueTQextScintillaLexerCPP
    Default enum valueTQextScintillaLexerCPP
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerCPP [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCPP
    eolFill(int style) const TQextScintillaLexerCPP [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldAtElse() const TQextScintillaLexerCPP
    foldComments() const TQextScintillaLexerCPP
    foldCompact() const TQextScintillaLexerCPP
    foldPreprocessor() const TQextScintillaLexerCPP
    font(int style) const TQextScintillaLexerCPP [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    GlobalClass enum valueTQextScintillaLexerCPP
    Identifier enum valueTQextScintillaLexerCPP
    Keyword enum valueTQextScintillaLexerCPP
    keywords(int set) const TQextScintillaLexerJava [virtual]
    KeywordSet2 enum valueTQextScintillaLexerCPP
    language() const TQextScintillaLexerJava [virtual]
    lexer() const TQextScintillaLexerCPP [virtual]
    Number enum valueTQextScintillaLexerCPP
    Operator enum valueTQextScintillaLexerCPP
    paper(int style) const TQextScintillaLexerCPP [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PreProcessor enum valueTQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)TQextScintillaLexerCPP
    TQextScintillaLexerJava(TQObject *parent=0, const char *name=0)TQextScintillaLexerJava
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCPP [virtual]
    Regex enum valueTQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)TQextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCPP
    stylePreprocessor() const TQextScintillaLexerCPP
    UnclosedString enum valueTQextScintillaLexerCPP
    UUID enum valueTQextScintillaLexerCPP
    VerbatimString enum valueTQextScintillaLexerCPP
    WhiteSpace enum valueTQextScintillaLexerCPP
    wordCharacters() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCPP()TQextScintillaLexerCPP [virtual]
    ~TQextScintillaLexerJava()TQextScintillaLexerJava [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerJava.html b/doc/en/classTQextScintillaLexerJava.html new file mode 100644 index 0000000..d09143a --- /dev/null +++ b/doc/en/classTQextScintillaLexerJava.html @@ -0,0 +1,138 @@ + + +TQScintilla: TQextScintillaLexerJava Class Reference + + + + + + +

    TQextScintillaLexerJava Class Reference

    The TQextScintillaLexerJava class encapsulates the Scintilla Java lexer. +More... +

    +#include <tqextscintillalexerjava.h> +

    +Inherits TQextScintillaLexerCPP. +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerJava class encapsulates the Scintilla Java lexer. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerJava::TQextScintillaLexerJava (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerJava with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerJava::~TQextScintillaLexerJava (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerJava instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerJava::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerJava::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerJavaScript-members.html b/doc/en/classTQextScintillaLexerJavaScript-members.html new file mode 100644 index 0000000..e61df63 --- /dev/null +++ b/doc/en/classTQextScintillaLexerJavaScript-members.html @@ -0,0 +1,101 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerJavaScript Member List

    This is the complete list of members for TQextScintillaLexerJavaScript, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    braceStyle() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    color(int style) const TQextScintillaLexerJavaScript [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerCPP
    CommentDoc enum valueTQextScintillaLexerCPP
    CommentDocKeyword enum valueTQextScintillaLexerCPP
    CommentDocKeywordError enum valueTQextScintillaLexerCPP
    CommentLine enum valueTQextScintillaLexerCPP
    CommentLineDoc enum valueTQextScintillaLexerCPP
    Default enum valueTQextScintillaLexerCPP
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerJavaScript [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerCPP
    eolFill(int style) const TQextScintillaLexerJavaScript [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldAtElse() const TQextScintillaLexerCPP
    foldComments() const TQextScintillaLexerCPP
    foldCompact() const TQextScintillaLexerCPP
    foldPreprocessor() const TQextScintillaLexerCPP
    font(int style) const TQextScintillaLexerJavaScript [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    GlobalClass enum valueTQextScintillaLexerCPP
    Identifier enum valueTQextScintillaLexerCPP
    Keyword enum valueTQextScintillaLexerCPP
    keywords(int set) const TQextScintillaLexerJavaScript [virtual]
    KeywordSet2 enum valueTQextScintillaLexerCPP
    language() const TQextScintillaLexerJavaScript [virtual]
    lexer() const TQextScintillaLexerCPP [virtual]
    Number enum valueTQextScintillaLexerCPP
    Operator enum valueTQextScintillaLexerCPP
    paper(int style) const TQextScintillaLexerJavaScript [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PreProcessor enum valueTQextScintillaLexerCPP
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerCPP(TQObject *parent=0, const char *name=0, bool caseInsensitiveKeywords=FALSE)TQextScintillaLexerCPP
    TQextScintillaLexerJavaScript(TQObject *parent=0, const char *name=0)TQextScintillaLexerJavaScript
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerCPP [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerCPP [virtual]
    Regex enum valueTQextScintillaLexerCPP
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldAtElse(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFoldPreprocessor(bool fold)TQextScintillaLexerCPP [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setStylePreprocessor(bool style)TQextScintillaLexerCPP [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerCPP
    stylePreprocessor() const TQextScintillaLexerCPP
    UnclosedString enum valueTQextScintillaLexerCPP
    UUID enum valueTQextScintillaLexerCPP
    VerbatimString enum valueTQextScintillaLexerCPP
    WhiteSpace enum valueTQextScintillaLexerCPP
    wordCharacters() const (defined in TQextScintillaLexerCPP)TQextScintillaLexerCPP [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerCPP [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerCPP()TQextScintillaLexerCPP [virtual]
    ~TQextScintillaLexerJavaScript()TQextScintillaLexerJavaScript [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerJavaScript.html b/doc/en/classTQextScintillaLexerJavaScript.html new file mode 100644 index 0000000..3577af1 --- /dev/null +++ b/doc/en/classTQextScintillaLexerJavaScript.html @@ -0,0 +1,261 @@ + + +TQScintilla: TQextScintillaLexerJavaScript Class Reference + + + + + + +

    TQextScintillaLexerJavaScript Class Reference

    The TQextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. +More... +

    +#include <tqextscintillalexerjavascript.h> +

    +Inherits TQextScintillaLexerCPP. +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerJavaScript::TQextScintillaLexerJavaScript (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerJavaScript with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerJavaScript::~TQextScintillaLexerJavaScript (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerJavaScript instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerJavaScript::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerJavaScript::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerJavaScript::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerJavaScript::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerJavaScript::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerJavaScript::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerJavaScript::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexerCPP. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerLua-members.html b/doc/en/classTQextScintillaLexerLua-members.html new file mode 100644 index 0000000..236108f --- /dev/null +++ b/doc/en/classTQextScintillaLexerLua-members.html @@ -0,0 +1,85 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerLua Member List

    This is the complete list of members for TQextScintillaLexerLua, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    BasicFunctions enum valueTQextScintillaLexerLua
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerLua)TQextScintillaLexerLua [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerLua)TQextScintillaLexerLua [virtual]
    Character enum valueTQextScintillaLexerLua
    color(int style) const TQextScintillaLexerLua [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerLua
    CoroutinesIOSystemFacilities enum valueTQextScintillaLexerLua
    Default enum valueTQextScintillaLexerLua
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerLua [virtual]
    eolFill(int style) const TQextScintillaLexerLua [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldCompact() const TQextScintillaLexerLua
    font(int style) const TQextScintillaLexerLua [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Identifier enum valueTQextScintillaLexerLua
    Keyword enum valueTQextScintillaLexerLua
    keywords(int set) const TQextScintillaLexerLua [virtual]
    language() const TQextScintillaLexerLua [virtual]
    lexer() const TQextScintillaLexerLua [virtual]
    LineComment enum valueTQextScintillaLexerLua
    LiteralString enum valueTQextScintillaLexerLua
    Number enum valueTQextScintillaLexerLua
    Operator enum valueTQextScintillaLexerLua
    paper(int style) const TQextScintillaLexerLua [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Preprocessor enum valueTQextScintillaLexerLua
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerLua(TQObject *parent=0, const char *name=0)TQextScintillaLexerLua
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerLua [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerLua [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerLua [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    String enum valueTQextScintillaLexerLua
    StringTableMathsFunctions enum valueTQextScintillaLexerLua
    UnclosedString enum valueTQextScintillaLexerLua
    wordCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerLua [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerLua()TQextScintillaLexerLua [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerLua.html b/doc/en/classTQextScintillaLexerLua.html new file mode 100644 index 0000000..5ba4dc7 --- /dev/null +++ b/doc/en/classTQextScintillaLexerLua.html @@ -0,0 +1,514 @@ + + +TQScintilla: TQextScintillaLexerLua Class Reference + + + + + + +

    TQextScintillaLexerLua Class Reference

    The TQextScintillaLexerLua class encapsulates the Scintilla Lua lexer. +More... +

    +#include <tqextscintillalexerlua.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerLua class encapsulates the Scintilla Lua lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Lua lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + +
    Default  +The default.
    Comment  +A block comment.
    LineComment  +A line comment.
    Number  +A number.
    Keyword  +A keyword.
    String  +A string.
    Character  +A character.
    LiteralString  +A literal string.
    Preprocessor  +Preprocessor.
    Operator  +An operator.
    Identifier  +An identifier.
    UnclosedString  +The end of a line where a string is not closed.
    BasicFunctions  +Basic functions.
    StringTableMathsFunctions  +String, table and maths functions.
    CoroutinesIOSystemFacilities  +Coroutines, I/O and system facilities.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerLua::TQextScintillaLexerLua (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerLua with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerLua::~TQextScintillaLexerLua (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerLua instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerLua::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerLua::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerLua::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerLua::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerLua::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerLua::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerLua::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerLua::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerLua::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerLua::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerLua::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerLua::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerLua::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerMakefile-members.html b/doc/en/classTQextScintillaLexerMakefile-members.html new file mode 100644 index 0000000..efef8c2 --- /dev/null +++ b/doc/en/classTQextScintillaLexerMakefile-members.html @@ -0,0 +1,75 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerMakefile Member List

    This is the complete list of members for TQextScintillaLexerMakefile, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexerMakefile [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerMakefile
    Default enum valueTQextScintillaLexerMakefile
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerMakefile [virtual]
    eolFill(int style) const TQextScintillaLexerMakefile [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    Error enum valueTQextScintillaLexerMakefile
    font(int style) const TQextScintillaLexerMakefile [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    keywords(int set) const TQextScintillaLexer [virtual]
    language() const TQextScintillaLexerMakefile [virtual]
    lexer() const TQextScintillaLexerMakefile [virtual]
    Operator enum valueTQextScintillaLexerMakefile
    paper(int style) const TQextScintillaLexerMakefile [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Preprocessor enum valueTQextScintillaLexerMakefile
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerMakefile(TQObject *parent=0, const char *name=0)TQextScintillaLexerMakefile
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    Target enum valueTQextScintillaLexerMakefile
    Variable enum valueTQextScintillaLexerMakefile
    wordCharacters() const (defined in TQextScintillaLexerMakefile)TQextScintillaLexerMakefile [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerMakefile()TQextScintillaLexerMakefile [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerMakefile.html b/doc/en/classTQextScintillaLexerMakefile.html new file mode 100644 index 0000000..94e7b6a --- /dev/null +++ b/doc/en/classTQextScintillaLexerMakefile.html @@ -0,0 +1,318 @@ + + +TQScintilla: TQextScintillaLexerMakefile Class Reference + + + + + + +

    TQextScintillaLexerMakefile Class Reference

    The TQextScintillaLexerMakefile class encapsulates the Scintilla Makefile lexer. +More... +

    +#include <tqextscintillalexermakefile.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerMakefile class encapsulates the Scintilla Makefile lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Makefile lexer.

    Enumerator:
    + + + + + + + + +
    Default  +The default.
    Comment  +A comment.
    Preprocessor  +A pre-processor directive.
    Variable  +A variable.
    Operator  +An operator.
    Target  +A target.
    Error  +An error.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerMakefile::TQextScintillaLexerMakefile (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerMakefile with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerMakefile::~TQextScintillaLexerMakefile (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerMakefile instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerMakefile::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerMakefile::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerMakefile::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerMakefile::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerMakefile::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerMakefile::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerMakefile::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPOV-members.html b/doc/en/classTQextScintillaLexerPOV-members.html new file mode 100644 index 0000000..bf2ccd0 --- /dev/null +++ b/doc/en/classTQextScintillaLexerPOV-members.html @@ -0,0 +1,91 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerPOV Member List

    This is the complete list of members for TQextScintillaLexerPOV, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    BadDirective enum valueTQextScintillaLexerPOV
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerPOV)TQextScintillaLexerPOV [virtual]
    color(int style) const TQextScintillaLexerPOV [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerPOV
    CommentLine enum valueTQextScintillaLexerPOV
    Default enum valueTQextScintillaLexerPOV
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerPOV [virtual]
    Directive enum valueTQextScintillaLexerPOV
    eolFill(int style) const TQextScintillaLexerPOV [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldComments() const TQextScintillaLexerPOV
    foldCompact() const TQextScintillaLexerPOV
    foldDirectives() const TQextScintillaLexerPOV
    font(int style) const TQextScintillaLexerPOV [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Identifier enum valueTQextScintillaLexerPOV
    keywords(int set) const TQextScintillaLexerPOV [virtual]
    KeywordSet6 enum valueTQextScintillaLexerPOV
    KeywordSet7 enum valueTQextScintillaLexerPOV
    KeywordSet8 enum valueTQextScintillaLexerPOV
    language() const TQextScintillaLexerPOV [virtual]
    lexer() const TQextScintillaLexerPOV [virtual]
    Number enum valueTQextScintillaLexerPOV
    ObjectsCSGAppearance enum valueTQextScintillaLexerPOV
    Operator enum valueTQextScintillaLexerPOV
    paper(int style) const TQextScintillaLexerPOV [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PredefinedFunctions enum valueTQextScintillaLexerPOV
    PredefinedIdentifiers enum valueTQextScintillaLexerPOV
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerPOV(TQObject *parent=0, const char *name=0)TQextScintillaLexerPOV
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerPOV [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerPOV [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerPOV [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerPOV [virtual, slot]
    setFoldDirectives(bool fold)TQextScintillaLexerPOV [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    String enum valueTQextScintillaLexerPOV
    TypesModifiersItems enum valueTQextScintillaLexerPOV
    UnclosedString enum valueTQextScintillaLexerPOV
    wordCharacters() const (defined in TQextScintillaLexerPOV)TQextScintillaLexerPOV [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerPOV [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerPOV()TQextScintillaLexerPOV [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPOV.html b/doc/en/classTQextScintillaLexerPOV.html new file mode 100644 index 0000000..b012f7d --- /dev/null +++ b/doc/en/classTQextScintillaLexerPOV.html @@ -0,0 +1,613 @@ + + +TQScintilla: TQextScintillaLexerPOV Class Reference + + + + + + +

    TQextScintillaLexerPOV Class Reference

    The TQextScintillaLexerPOV class encapsulates the Scintilla POV lexer. +More... +

    +#include <tqextscintillalexerpov.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerPOV class encapsulates the Scintilla POV lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the POV lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    Comment  +A comment.
    CommentLine  +A comment line.
    Number  +A number.
    Operator  +An operator.
    Identifier  +An identifier.
    String  +A string.
    UnclosedString  +The end of a line where a string is not closed.
    Directive  +A directive.
    BadDirective  +A bad directive.
    ObjectsCSGAppearance  +Objects, CSG and appearance.
    TypesModifiersItems  +Types, modifiers and items.
    PredefinedIdentifiers  +Predefined identifiers.
    PredefinedFunctions  +Predefined identifiers.
    KeywordSet6  +A keyword defined in keyword set number 6. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet7  +A keyword defined in keyword set number 7. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet8  +A keyword defined in keyword set number 8. The class must be sub-classed and re-implement keywords() to make use of this style.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerPOV::TQextScintillaLexerPOV (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerPOV with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerPOV::~TQextScintillaLexerPOV (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerPOV instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerPOV::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerPOV::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPOV::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerPOV::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerPOV::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerPOV::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerPOV::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPOV::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerPOV::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPOV::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPOV::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPOV::foldDirectives (  )  const
    +
    +
    + +

    +Returns TRUE if directives can be folded.

    +

    See also:
    setFoldDirectives()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPOV::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPOV::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPOV::setFoldDirectives (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then directives can be folded. The default is FALSE.

    +

    See also:
    foldDirectives()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPOV::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPOV::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPerl-members.html b/doc/en/classTQextScintillaLexerPerl-members.html new file mode 100644 index 0000000..7d7777d --- /dev/null +++ b/doc/en/classTQextScintillaLexerPerl-members.html @@ -0,0 +1,101 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerPerl Member List

    This is the complete list of members for TQextScintillaLexerPerl, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Array enum valueTQextScintillaLexerPerl
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    BacktickHereDocument enum valueTQextScintillaLexerPerl
    Backticks enum valueTQextScintillaLexerPerl
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerPerl)TQextScintillaLexerPerl [virtual]
    color(int style) const TQextScintillaLexerPerl [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerPerl
    DataSection enum valueTQextScintillaLexerPerl
    Default enum valueTQextScintillaLexerPerl
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerPerl [virtual]
    DoubleQuotedHereDocument enum valueTQextScintillaLexerPerl
    DoubleQuotedString enum valueTQextScintillaLexerPerl
    eolFill(int style) const TQextScintillaLexerPerl [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    Error enum valueTQextScintillaLexerPerl
    foldComments() const TQextScintillaLexerPerl
    foldCompact() const TQextScintillaLexerPerl
    font(int style) const TQextScintillaLexerPerl [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Hash enum valueTQextScintillaLexerPerl
    HereDocumentDelimiter enum valueTQextScintillaLexerPerl
    Identifier enum valueTQextScintillaLexerPerl
    Keyword enum valueTQextScintillaLexerPerl
    keywords(int set) const TQextScintillaLexerPerl [virtual]
    language() const TQextScintillaLexerPerl [virtual]
    lexer() const TQextScintillaLexerPerl [virtual]
    Number enum valueTQextScintillaLexerPerl
    Operator enum valueTQextScintillaLexerPerl
    paper(int style) const TQextScintillaLexerPerl [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    POD enum valueTQextScintillaLexerPerl
    PODVerbatim enum valueTQextScintillaLexerPerl
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerPerl(TQObject *parent=0, const char *name=0)TQextScintillaLexerPerl
    QuotedStringQ enum valueTQextScintillaLexerPerl
    QuotedStringQQ enum valueTQextScintillaLexerPerl
    QuotedStringQR enum valueTQextScintillaLexerPerl
    QuotedStringQW enum valueTQextScintillaLexerPerl
    QuotedStringQX enum valueTQextScintillaLexerPerl
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerPerl [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerPerl [virtual]
    Regex enum valueTQextScintillaLexerPerl
    Scalar enum valueTQextScintillaLexerPerl
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerPerl [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerPerl [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedHereDocument enum valueTQextScintillaLexerPerl
    SingleQuotedString enum valueTQextScintillaLexerPerl
    Substitution enum valueTQextScintillaLexerPerl
    SymbolTable enum valueTQextScintillaLexerPerl
    WhiteSpace enum valueTQextScintillaLexerPerl
    wordCharacters() const (defined in TQextScintillaLexerPerl)TQextScintillaLexerPerl [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerPerl [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerPerl()TQextScintillaLexerPerl [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPerl.html b/doc/en/classTQextScintillaLexerPerl.html new file mode 100644 index 0000000..85fd317 --- /dev/null +++ b/doc/en/classTQextScintillaLexerPerl.html @@ -0,0 +1,621 @@ + + +TQScintilla: TQextScintillaLexerPerl Class Reference + + + + + + +

    TQextScintillaLexerPerl Class Reference

    The TQextScintillaLexerPerl class encapsulates the Scintilla Perl lexer. +More... +

    +#include <tqextscintillalexerperl.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerPerl class encapsulates the Scintilla Perl lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Perl lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    WhiteSpace  +
    Deprecated:
    White space.
    +
    Error  +An error.
    Comment  +A comment.
    POD  +A POD.
    Number  +A number.
    Keyword  +A keyword.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    Operator  +An operator.
    Identifier  +An identifier.
    Scalar  +A scalar.
    Array  +An array.
    Hash  +A hash.
    SymbolTable  +A symbol table.
    Regex  +A regular expression.
    Substitution  +A substitution.
    Backticks  +Backticks.
    DataSection  +A data section.
    HereDocumentDelimiter  +A here document delimiter.
    SingleQuotedHereDocument  +A single quoted here document.
    DoubleQuotedHereDocument  +A double quoted here document.
    BacktickHereDocument  +A backtick here document.
    QuotedStringQ  +A quoted string (q).
    QuotedStringQQ  +A quoted string (qq).
    QuotedStringQX  +A quoted string (qx).
    QuotedStringQR  +A quoted string (qr).
    QuotedStringQW  +A quoted string (qw).
    PODVerbatim  +A verbatim POD.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerPerl::TQextScintillaLexerPerl (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerPerl with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerPerl::~TQextScintillaLexerPerl (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerPerl instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerPerl::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerPerl::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPerl::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerPerl::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerPerl::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerPerl::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerPerl::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPerl::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerPerl::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPerl::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPerl::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPerl::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPerl::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPerl::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPerl::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerProperties-members.html b/doc/en/classTQextScintillaLexerProperties-members.html new file mode 100644 index 0000000..f537614 --- /dev/null +++ b/doc/en/classTQextScintillaLexerProperties-members.html @@ -0,0 +1,75 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerProperties Member List

    This is the complete list of members for TQextScintillaLexerProperties, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Assignment enum valueTQextScintillaLexerProperties
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexerProperties [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerProperties
    Default enum valueTQextScintillaLexerProperties
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    DefaultValue enum valueTQextScintillaLexerProperties
    description(int style) const TQextScintillaLexerProperties [virtual]
    eolFill(int style) const TQextScintillaLexerProperties [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldCompact() const TQextScintillaLexerProperties
    font(int style) const TQextScintillaLexerProperties [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    keywords(int set) const TQextScintillaLexer [virtual]
    language() const TQextScintillaLexerProperties [virtual]
    lexer() const TQextScintillaLexerProperties [virtual]
    paper(int style) const TQextScintillaLexerProperties [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerProperties(TQObject *parent=0, const char *name=0)TQextScintillaLexerProperties
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerProperties [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerProperties [virtual]
    Section enum valueTQextScintillaLexerProperties
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerProperties [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    wordCharacters() const (defined in TQextScintillaLexerProperties)TQextScintillaLexerProperties [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerProperties [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerProperties()TQextScintillaLexerProperties [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerProperties.html b/doc/en/classTQextScintillaLexerProperties.html new file mode 100644 index 0000000..bea63ec --- /dev/null +++ b/doc/en/classTQextScintillaLexerProperties.html @@ -0,0 +1,450 @@ + + +TQScintilla: TQextScintillaLexerProperties Class Reference + + + + + + +

    TQextScintillaLexerProperties Class Reference

    The TQextScintillaLexerProperties class encapsulates the Scintilla Properties lexer. +More... +

    +#include <tqextscintillalexerproperties.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerProperties class encapsulates the Scintilla Properties lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Properties lexer.

    Enumerator:
    + + + + + + +
    Default  +The default.
    Comment  +A comment.
    Section  +A section.
    Assignment  +An assignment operator.
    DefaultValue  +A default value.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerProperties::TQextScintillaLexerProperties (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerProperties with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerProperties::~TQextScintillaLexerProperties (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerProperties instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerProperties::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerProperties::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerProperties::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerProperties::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerProperties::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerProperties::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerProperties::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerProperties::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerProperties::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerProperties::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerProperties::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    +

    See also:
    writeProperties()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerProperties::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error.

    +

    See also:
    readProperties()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPython-members.html b/doc/en/classTQextScintillaLexerPython-members.html new file mode 100644 index 0000000..70e1cbf --- /dev/null +++ b/doc/en/classTQextScintillaLexerPython-members.html @@ -0,0 +1,97 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerPython Member List

    This is the complete list of members for TQextScintillaLexerPython, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexerPython)TQextScintillaLexerPython [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexerPython)TQextScintillaLexerPython [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerPython)TQextScintillaLexerPython [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerPython)TQextScintillaLexerPython [virtual]
    ClassName enum valueTQextScintillaLexerPython
    color(int style) const TQextScintillaLexerPython [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerPython
    CommentBlock enum valueTQextScintillaLexerPython
    Decorator enum valueTQextScintillaLexerPython
    Default enum valueTQextScintillaLexerPython
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerPython [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerPython
    eolFill(int style) const TQextScintillaLexerPython [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldComments() const TQextScintillaLexerPython
    foldQuotes() const TQextScintillaLexerPython
    font(int style) const TQextScintillaLexerPython [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    FunctionMethodName enum valueTQextScintillaLexerPython
    HighlightedIdentifier enum valueTQextScintillaLexerPython
    Identifier enum valueTQextScintillaLexerPython
    Inconsistent enum valueTQextScintillaLexerPython
    indentationWarning() const TQextScintillaLexerPython
    IndentationWarning enum nameTQextScintillaLexerPython
    Keyword enum valueTQextScintillaLexerPython
    keywords(int set) const TQextScintillaLexerPython [virtual]
    language() const TQextScintillaLexerPython [virtual]
    lexer() const TQextScintillaLexerPython [virtual]
    NoWarning enum valueTQextScintillaLexerPython
    Number enum valueTQextScintillaLexerPython
    Operator enum valueTQextScintillaLexerPython
    paper(int style) const TQextScintillaLexerPython [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerPython(TQObject *parent=0, const char *name=0)TQextScintillaLexerPython
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerPython [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerPython [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerPython [virtual, slot]
    setFoldQuotes(bool fold)TQextScintillaLexerPython [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setIndentationWarning(IndentationWarning warn)TQextScintillaLexerPython [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerPython
    Spaces enum valueTQextScintillaLexerPython
    Tabs enum valueTQextScintillaLexerPython
    TabsAfterSpaces enum valueTQextScintillaLexerPython
    TripleDoubleQuotedString enum valueTQextScintillaLexerPython
    TripleSingleQuotedString enum valueTQextScintillaLexerPython
    UnclosedString enum valueTQextScintillaLexerPython
    WhiteSpace enum valueTQextScintillaLexerPython
    wordCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerPython [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerPython()TQextScintillaLexerPython [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerPython.html b/doc/en/classTQextScintillaLexerPython.html new file mode 100644 index 0000000..f4c8d59 --- /dev/null +++ b/doc/en/classTQextScintillaLexerPython.html @@ -0,0 +1,661 @@ + + +TQScintilla: TQextScintillaLexerPython Class Reference + + + + + + +

    TQextScintillaLexerPython Class Reference

    The TQextScintillaLexerPython class encapsulates the Scintilla Python lexer. +More... +

    +#include <tqextscintillalexerpython.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerPython class encapsulates the Scintilla Python lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Python lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    WhiteSpace  +
    Deprecated:
    White space.
    +
    Comment  +A comment.
    Number  +A number.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    Keyword  +A keyword.
    TripleSingleQuotedString  +A triple single-quoted string.
    TripleDoubleQuotedString  +A triple double-quoted string.
    ClassName  +The name of a class.
    FunctionMethodName  +The name of a function or method.
    Operator  +An operator.
    Identifier  +An identifier.
    CommentBlock  +A comment block.
    UnclosedString  +The end of a line where a string is not closed.
    HighlightedIdentifier  +A highlighted identifier. These are defined by keyword set 2. Reimplement keywords() to define keyword set 2.
    Decorator  +A decorator.
    +
    + +
    +

    + +

    + +
    + +

    +This enum defines the different conditions that can cause indentations to be displayed as being bad.

    Enumerator:
    + + + + + + +
    NoWarning  +Bad indentation is not displayed differently.
    Inconsistent  +The indentation is inconsistent when compared to the previous line, ie. it is made up of a different combination of tabs and/or spaces.
    TabsAfterSpaces  +The indentation is made up of spaces followed by tabs.
    Spaces  +The indentation contains spaces.
    Tabs  +The indentation contains tabs.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerPython::TQextScintillaLexerPython (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerPython with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerPython::~TQextScintillaLexerPython (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerPython instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerPython::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerPython::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPython::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerPython::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerPython::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerPython::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerPython::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerPython::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerPython::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPython::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if indented comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerPython::foldQuotes (  )  const
    +
    +
    + +

    +Returns TRUE if triple quoted strings can be folded.

    +

    See also:
    setFoldQuotes()
    + +
    +

    + +

    +
    + + + + + + + + +
    IndentationWarning TQextScintillaLexerPython::indentationWarning (  )  const
    +
    +
    + +

    +Returns the condition that will cause bad indentations to be displayed.

    +

    See also:
    setIndentationWarning()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPython::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then indented comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPython::setFoldQuotes (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then triple quoted strings can be folded. The default is FALSE.

    +

    See also:
    foldQuotes()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerPython::setIndentationWarning (IndentationWarning  warn  )  [virtual, slot]
    +
    +
    + +

    +Sets the condition that will cause bad indentations to be displayed.

    +

    See also:
    indentationWarning()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPython::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerPython::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerRuby-members.html b/doc/en/classTQextScintillaLexerRuby-members.html new file mode 100644 index 0000000..4086634 --- /dev/null +++ b/doc/en/classTQextScintillaLexerRuby-members.html @@ -0,0 +1,99 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerRuby Member List

    This is the complete list of members for TQextScintillaLexerRuby, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    Backticks enum valueTQextScintillaLexerRuby
    blockEnd(int *style=0) const (defined in TQextScintillaLexerRuby)TQextScintillaLexerRuby [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexerRuby)TQextScintillaLexerRuby [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexerRuby)TQextScintillaLexerRuby [virtual]
    braceStyle() const (defined in TQextScintillaLexerRuby)TQextScintillaLexerRuby [virtual]
    ClassName enum valueTQextScintillaLexerRuby
    ClassVariable enum valueTQextScintillaLexerRuby
    color(int style) const TQextScintillaLexerRuby [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerRuby
    DataSection enum valueTQextScintillaLexerRuby
    Default enum valueTQextScintillaLexerRuby
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    DemotedKeyword enum valueTQextScintillaLexerRuby
    description(int style) const TQextScintillaLexerRuby [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerRuby
    eolFill(int style) const TQextScintillaLexerRuby [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    Error enum valueTQextScintillaLexerRuby
    font(int style) const TQextScintillaLexerRuby [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    FunctionMethodName enum valueTQextScintillaLexerRuby
    Global enum valueTQextScintillaLexerRuby
    HereDocument enum valueTQextScintillaLexerRuby
    HereDocumentDelimiter enum valueTQextScintillaLexerRuby
    Identifier enum valueTQextScintillaLexerRuby
    InstanceVariable enum valueTQextScintillaLexerRuby
    Keyword enum valueTQextScintillaLexerRuby
    keywords(int set) const TQextScintillaLexerRuby [virtual]
    language() const TQextScintillaLexerRuby [virtual]
    lexer() const TQextScintillaLexerRuby [virtual]
    ModuleName enum valueTQextScintillaLexerRuby
    Number enum valueTQextScintillaLexerRuby
    Operator enum valueTQextScintillaLexerRuby
    paper(int style) const TQextScintillaLexerRuby [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PercentStringq enum valueTQextScintillaLexerRuby
    PercentStringQ enum valueTQextScintillaLexerRuby
    PercentStringr enum valueTQextScintillaLexerRuby
    PercentStringw enum valueTQextScintillaLexerRuby
    PercentStringx enum valueTQextScintillaLexerRuby
    POD enum valueTQextScintillaLexerRuby
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerRuby(TQObject *parent=0, const char *name=0)TQextScintillaLexerRuby
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    Regex enum valueTQextScintillaLexerRuby
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerRuby
    Stderr enum valueTQextScintillaLexerRuby
    Stdin enum valueTQextScintillaLexerRuby
    Stdout enum valueTQextScintillaLexerRuby
    Symbol enum valueTQextScintillaLexerRuby
    wordCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerRuby()TQextScintillaLexerRuby [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerRuby.html b/doc/en/classTQextScintillaLexerRuby.html new file mode 100644 index 0000000..4317ecf --- /dev/null +++ b/doc/en/classTQextScintillaLexerRuby.html @@ -0,0 +1,451 @@ + + +TQScintilla: TQextScintillaLexerRuby Class Reference + + + + + + +

    TQextScintillaLexerRuby Class Reference

    The TQextScintillaLexerRuby class encapsulates the Scintilla Ruby lexer. +More... +

    +#include <tqextscintillalexerruby.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Member Functions

    +
      +
    • TQextScintillaLexerRuby (TQObject *parent=0, const char *name=0) +
    • virtual ~TQextScintillaLexerRuby () +
    • const char * language () const +
    • const char * lexer () const +
    • +const char * blockEnd (int *style=0) const +
    • +const char * blockStart (int *style=0) const +
    • +const char * blockStartKeyword (int *style=0) const +
    • +int braceStyle () const +
    • TQColor color (int style) const +
    • bool eolFill (int style) const +
    • TQFont font (int style) const +
    • const char * keywords (int set) const +
    • TQString description (int style) const +
    • TQColor paper (int style) const +
    +

    Detailed Description

    +The TQextScintillaLexerRuby class encapsulates the Scintilla Ruby lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the Ruby lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    Error  +An error.
    Comment  +A comment.
    POD  +A POD.
    Number  +A number.
    Keyword  +A keyword.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    ClassName  +The name of a class.
    FunctionMethodName  +The name of a function or method.
    Operator  +An operator.
    Identifier  +An identifier.
    Regex  +A regular expression.
    Global  +A global.
    Symbol  +A symbol.
    ModuleName  +The name of a module.
    InstanceVariable  +An instance variable.
    ClassVariable  +A class variable.
    Backticks  +Backticks.
    DataSection  +A data section.
    HereDocumentDelimiter  +A here document delimiter.
    HereDocument  +A here document.
    PercentStringq  +A q string.
    PercentStringQ  +A Q string.
    PercentStringx  +A x string.
    PercentStringr  +A r string.
    PercentStringw  +A w string.
    DemotedKeyword  +A demoted keyword.
    Stdin  +stdin.
    Stdout  +stdout.
    Stderr  +stderr.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerRuby::TQextScintillaLexerRuby (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerRuby with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerRuby::~TQextScintillaLexerRuby (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerRuby instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerRuby::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerRuby::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerRuby::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerRuby::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerRuby::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerRuby::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerRuby::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerRuby::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerSQL-members.html b/doc/en/classTQextScintillaLexerSQL-members.html new file mode 100644 index 0000000..f555f99 --- /dev/null +++ b/doc/en/classTQextScintillaLexerSQL-members.html @@ -0,0 +1,95 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerSQL Member List

    This is the complete list of members for TQextScintillaLexerSQL, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    backslashEscapes() const TQextScintillaLexerSQL
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexerSQL)TQextScintillaLexerSQL [virtual]
    color(int style) const TQextScintillaLexerSQL [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Comment enum valueTQextScintillaLexerSQL
    CommentDoc enum valueTQextScintillaLexerSQL
    CommentDocKeyword enum valueTQextScintillaLexerSQL
    CommentDocKeywordError enum valueTQextScintillaLexerSQL
    CommentLine enum valueTQextScintillaLexerSQL
    CommentLineHash enum valueTQextScintillaLexerSQL
    Default enum valueTQextScintillaLexerSQL
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerSQL [virtual]
    DoubleQuotedString enum valueTQextScintillaLexerSQL
    eolFill(int style) const TQextScintillaLexerSQL [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    foldComments() const TQextScintillaLexerSQL
    foldCompact() const TQextScintillaLexerSQL
    font(int style) const TQextScintillaLexerSQL [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Identifier enum valueTQextScintillaLexerSQL
    Keyword enum valueTQextScintillaLexerSQL
    keywords(int set) const TQextScintillaLexerSQL [virtual]
    KeywordSet5 enum valueTQextScintillaLexerSQL
    KeywordSet6 enum valueTQextScintillaLexerSQL
    KeywordSet7 enum valueTQextScintillaLexerSQL
    KeywordSet8 enum valueTQextScintillaLexerSQL
    language() const TQextScintillaLexerSQL [virtual]
    lexer() const TQextScintillaLexerSQL [virtual]
    LineComment enum valueTQextScintillaLexerSQL
    Number enum valueTQextScintillaLexerSQL
    Operator enum valueTQextScintillaLexerSQL
    paper(int style) const TQextScintillaLexerSQL [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    PlusComment enum valueTQextScintillaLexerSQL
    PlusKeyword enum valueTQextScintillaLexerSQL
    PlusPrompt enum valueTQextScintillaLexerSQL
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerSQL(TQObject *parent=0, const char *name=0)TQextScintillaLexerSQL
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexerSQL [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexerSQL [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setBackslashEscapes(bool enable)TQextScintillaLexerSQL [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFoldComments(bool fold)TQextScintillaLexerSQL [virtual, slot]
    setFoldCompact(bool fold)TQextScintillaLexerSQL [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    SingleQuotedString enum valueTQextScintillaLexerSQL
    wordCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexerSQL [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerSQL()TQextScintillaLexerSQL [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerSQL.html b/doc/en/classTQextScintillaLexerSQL.html new file mode 100644 index 0000000..3e2d30a --- /dev/null +++ b/doc/en/classTQextScintillaLexerSQL.html @@ -0,0 +1,629 @@ + + +TQScintilla: TQextScintillaLexerSQL Class Reference + + + + + + +

    TQextScintillaLexerSQL Class Reference

    The TQextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. +More... +

    +#include <tqextscintillalexersql.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Slots

    + +

    Public Member Functions

    + +

    Protected Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerSQL class encapsulates the Scintilla SQL lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the SQL lexer.

    Enumerator:
    + + + + + + + + + + + + + + + + + + + + + + +
    Default  +The default.
    Comment  +A comment.
    CommentLine  +A line comment.
    LineComment  +
    Deprecated:
    A line comment.
    +
    CommentDoc  +A JavaDoc/Doxygen style comment.
    Number  +A number.
    Keyword  +A keyword.
    DoubleQuotedString  +A double-quoted string.
    SingleQuotedString  +A single-quoted string.
    PlusKeyword  +An SQL*Plus keyword.
    PlusPrompt  +An SQL*Plus prompt.
    Operator  +An operator.
    Identifier  +An identifier.
    PlusComment  +An SQL*Plus comment.
    CommentLineHash  +A '#' line comment.
    CommentDocKeyword  +A JavaDoc/Doxygen keyword.
    CommentDocKeywordError  +A JavaDoc/Doxygen keyword error.
    KeywordSet5  +A keyword defined in keyword set number 5. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet6  +A keyword defined in keyword set number 6. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet7  +A keyword defined in keyword set number 7. The class must be sub-classed and re-implement keywords() to make use of this style.
    KeywordSet8  +A keyword defined in keyword set number 8. The class must be sub-classed and re-implement keywords() to make use of this style.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerSQL::TQextScintillaLexerSQL (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerSQL with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerSQL::~TQextScintillaLexerSQL (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerSQL instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerSQL::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerSQL::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerSQL::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaLexerSQL::eolFill (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the end-of-line fill for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQFont TQextScintillaLexerSQL::font (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the font for style number style. +

    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerSQL::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerSQL::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerSQL::paper (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the background colour of the text for style number style.

    +

    See also:
    color()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    void TQextScintillaLexerSQL::refreshProperties (  )  [virtual]
    +
    +
    + +

    +Causes all properties to be refreshed by emitting the propertyChanged() signal as required. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerSQL::foldComments (  )  const
    +
    +
    + +

    +Returns TRUE if multi-line comment blocks can be folded.

    +

    See also:
    setFoldComments()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerSQL::foldCompact (  )  const
    +
    +
    + +

    +Returns TRUE if trailing blank lines are included in a fold block.

    +

    See also:
    setFoldCompact()
    + +
    +

    + +

    +
    + + + + + + + + +
    bool TQextScintillaLexerSQL::backslashEscapes (  )  const
    +
    +
    + +

    +Returns TRUE if backslash escapes are enabled.

    +

    See also:
    setBackslashEscapes()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerSQL::setFoldComments (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then multi-line comment blocks can be folded. The default is FALSE.

    +

    See also:
    foldComments()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerSQL::setFoldCompact (bool  fold  )  [virtual, slot]
    +
    +
    + +

    +If fold is TRUE then trailing blank lines are included in a fold block. The default is TRUE.

    +

    See also:
    foldCompact()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaLexerSQL::setBackslashEscapes (bool  enable  )  [virtual, slot]
    +
    +
    + +

    +If enable is TRUE then backslash escapes are enabled. The default is FALSE.

    +

    See also:
    backslashEscapes()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerSQL::readProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) [protected, virtual]
    +
    +
    + +

    +The lexer's properties are read from the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    bool TQextScintillaLexerSQL::writeProperties (TQSettings &  qs,
    const TQString &  prefix 
    ) const [protected, virtual]
    +
    +
    + +

    +The lexer's properties are written to the settings qs. prefix (which has a trailing '/') should be used as a prefix to the key of each setting. TRUE is returned if there is no error. +

    +Reimplemented from TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerTeX-members.html b/doc/en/classTQextScintillaLexerTeX-members.html new file mode 100644 index 0000000..56b5990 --- /dev/null +++ b/doc/en/classTQextScintillaLexerTeX-members.html @@ -0,0 +1,74 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaLexerTeX Member List

    This is the complete list of members for TQextScintillaLexerTeX, including all inherited members.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    autoCompletionFillups() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoCompletionStartCharacters() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    autoIndentStyle()TQextScintillaLexer
    blockEnd(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockLookback() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStart(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    blockStartKeyword(int *style=0) const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    braceStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    color(int style) const TQextScintillaLexerTeX [virtual]
    colorChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    Command enum valueTQextScintillaLexerTeX
    Default enum valueTQextScintillaLexerTeX
    defaultColor() const TQextScintillaLexer [virtual]
    defaultFont() const TQextScintillaLexer [virtual]
    defaultPaper() const TQextScintillaLexer [virtual]
    defaultStyle() const (defined in TQextScintillaLexer)TQextScintillaLexer [virtual]
    description(int style) const TQextScintillaLexerTeX [virtual]
    eolFill(int style) const TQextScintillaLexer [virtual]
    eolFillChanged(bool eoffilled, int style)TQextScintillaLexer [signal]
    font(int style) const TQextScintillaLexer [virtual]
    fontChanged(const TQFont &f, int style)TQextScintillaLexer [signal]
    Group enum valueTQextScintillaLexerTeX
    keywords(int set) const TQextScintillaLexerTeX [virtual]
    language() const TQextScintillaLexerTeX [virtual]
    lexer() const TQextScintillaLexerTeX [virtual]
    paper(int style) const TQextScintillaLexer [virtual]
    paperChanged(const TQColor &c, int style)TQextScintillaLexer [signal]
    propertyChanged(const char *prop, const char *val)TQextScintillaLexer [signal]
    TQextScintillaLexer(TQObject *parent=0, const char *name=0)TQextScintillaLexer
    TQextScintillaLexerTeX(TQObject *parent=0, const char *name=0)TQextScintillaLexerTeX
    readProperties(TQSettings &qs, const TQString &prefix)TQextScintillaLexer [protected, virtual]
    readSettings(TQSettings &qs, const char *prefix="/Scintilla")TQextScintillaLexer
    refreshProperties()TQextScintillaLexer [virtual]
    setAutoIndentStyle(int autoindentstyle)TQextScintillaLexer [virtual, slot]
    setColor(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    setDefaultColor(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setDefaultFont(const TQFont &f)TQextScintillaLexer [virtual, slot]
    setDefaultPaper(const TQColor &c)TQextScintillaLexer [virtual, slot]
    setEolFill(bool eoffill, int style=-1)TQextScintillaLexer [virtual, slot]
    setFont(const TQFont &f, int style=-1)TQextScintillaLexer [virtual, slot]
    setPaper(const TQColor &c, int style=-1)TQextScintillaLexer [virtual, slot]
    Special enum valueTQextScintillaLexerTeX
    Symbol enum valueTQextScintillaLexerTeX
    Text enum valueTQextScintillaLexerTeX
    wordCharacters() const (defined in TQextScintillaLexerTeX)TQextScintillaLexerTeX [virtual]
    writeProperties(TQSettings &qs, const TQString &prefix) const TQextScintillaLexer [protected, virtual]
    writeSettings(TQSettings &qs, const char *prefix="/Scintilla") const TQextScintillaLexer
    ~TQextScintillaLexer()TQextScintillaLexer [virtual]
    ~TQextScintillaLexerTeX()TQextScintillaLexerTeX [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaLexerTeX.html b/doc/en/classTQextScintillaLexerTeX.html new file mode 100644 index 0000000..a345c40 --- /dev/null +++ b/doc/en/classTQextScintillaLexerTeX.html @@ -0,0 +1,261 @@ + + +TQScintilla: TQextScintillaLexerTeX Class Reference + + + + + + +

    TQextScintillaLexerTeX Class Reference

    The TQextScintillaLexerTeX class encapsulates the Scintilla TeX lexer. +More... +

    +#include <tqextscintillalexertex.h> +

    +Inherits TQextScintillaLexer. +

    +List of all members.

    Public Types

    + +

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaLexerTeX class encapsulates the Scintilla TeX lexer. +

    +


    Member Enumeration Documentation

    + +
    +
    + + + + +
    anonymous enum
    +
    +
    + +

    +This enum defines the meanings of the different styles used by the TeX lexer.

    Enumerator:
    + + + + + + + +
    Default  +The default.
    Special  +A special.
    Group  +A group.
    Symbol  +A symbol.
    Command  +A command.
    Text  +Text.
    +
    + +
    +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaLexerTeX::TQextScintillaLexerTeX (TQObject *  parent = 0,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaLexerTeX with parent parent and name name. parent is typically the TQextScintilla instance. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaLexerTeX::~TQextScintillaLexerTeX (  )  [virtual]
    +
    +
    + +

    +Destroys the TQextScintillaLexerTeX instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    const char* TQextScintillaLexerTeX::language (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the language. +

    + +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + +
    const char* TQextScintillaLexerTeX::lexer (  )  const [virtual]
    +
    +
    + +

    +Returns the name of the lexer. Some lexers support a number of languages. +

    +Implements TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQColor TQextScintillaLexerTeX::color (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the foreground colour of the text for style number style.

    +

    See also:
    paper()
    + +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    const char* TQextScintillaLexerTeX::keywords (int  set  )  const [virtual]
    +
    +
    + +

    +Returns the set of keywords for the keyword set set recognised by the lexer as a space separated string. +

    +Reimplemented from TQextScintillaLexer. +

    +

    + +

    +
    + + + + + + + + + +
    TQString TQextScintillaLexerTeX::description (int  style  )  const [virtual]
    +
    +
    + +

    +Returns the descriptive name for style number style. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs. +

    +Implements TQextScintillaLexer. +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaMacro-members.html b/doc/en/classTQextScintillaMacro-members.html new file mode 100644 index 0000000..e0c0563 --- /dev/null +++ b/doc/en/classTQextScintillaMacro-members.html @@ -0,0 +1,34 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaMacro Member List

    This is the complete list of members for TQextScintillaMacro, including all inherited members.

    + + + + + + + + + +
    clear()TQextScintillaMacro
    endRecording()TQextScintillaMacro [virtual, slot]
    load(const TQCString &asc)TQextScintillaMacro
    play()TQextScintillaMacro [virtual, slot]
    TQextScintillaMacro(TQextScintilla *parent, const char *name=0)TQextScintillaMacro
    TQextScintillaMacro(const TQCString &asc, TQextScintilla *parent, const char *name=0)TQextScintillaMacro
    save() const TQextScintillaMacro
    startRecording()TQextScintillaMacro [virtual, slot]
    ~TQextScintillaMacro()TQextScintillaMacro [virtual]


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaMacro.html b/doc/en/classTQextScintillaMacro.html new file mode 100644 index 0000000..2c1b2f6 --- /dev/null +++ b/doc/en/classTQextScintillaMacro.html @@ -0,0 +1,267 @@ + + +TQScintilla: TQextScintillaMacro Class Reference + + + + + + +

    TQextScintillaMacro Class Reference

    The TQextScintillaMacro class represents a sequence of recordable editor commands. +More... +

    +#include <tqextscintillamacro.h> +

    +List of all members.

    Public Slots

    + +

    Public Member Functions

    + +

    Classes

    +
      +
    • struct Macro +
    +

    Detailed Description

    +The TQextScintillaMacro class represents a sequence of recordable editor commands. +

    +Methods are provided to convert convert a macro to and from a textual representation so that they can be easily written to and read from permanent storage. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    TQextScintillaMacro::TQextScintillaMacro (TQextScintilla parent,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaMacro with parent parent and name name. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    TQextScintillaMacro::TQextScintillaMacro (const TQCString &  asc,
    TQextScintilla parent,
    const char *  name = 0 
    )
    +
    +
    + +

    +Construct a TQextScintillaMacro from the printable ASCII representation asc, with parent parent and name name. +

    +

    + +

    +
    + + + + + + + + +
    virtual TQextScintillaMacro::~TQextScintillaMacro (  )  [virtual]
    +
    +
    + +

    +Destroy the TQextScintillaMacro instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + +
    void TQextScintillaMacro::clear (  ) 
    +
    +
    + +

    +Clear the contents of the macro. +

    + +

    +

    + +

    +
    + + + + + + + + + +
    bool TQextScintillaMacro::load (const TQCString &  asc  ) 
    +
    +
    + +

    +Load the macro from the printable ASCII representation asc. Returns TRUE if there was no error.

    +

    See also:
    save()
    + +
    +

    + +

    +
    + + + + + + + + +
    TQCString TQextScintillaMacro::save (  )  const
    +
    +
    + +

    +Return a printable ASCII representation of the macro. It is guaranteed that only printable ASCII characters are used and that double quote characters will not be used.

    +

    See also:
    load()
    + +
    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintillaMacro::play (  )  [virtual, slot]
    +
    +
    + +

    +Play the macro. +

    + +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintillaMacro::startRecording (  )  [virtual, slot]
    +
    +
    + +

    +Start recording user commands and add them to the macro. +

    + +

    +

    + +

    +
    + + + + + + + + +
    virtual void TQextScintillaMacro::endRecording (  )  [virtual, slot]
    +
    +
    + +

    +Stop recording user commands. +

    + +

    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaPrinter-members.html b/doc/en/classTQextScintillaPrinter-members.html new file mode 100644 index 0000000..cd27ff8 --- /dev/null +++ b/doc/en/classTQextScintillaPrinter-members.html @@ -0,0 +1,33 @@ + + +TQScintilla: Member List + + + + + + +

    TQextScintillaPrinter Member List

    This is the complete list of members for TQextScintillaPrinter, including all inherited members.

    + + + + + + + + +
    formatPage(TQPainter &painter, bool drawing, TQRect &area, int pagenr)TQextScintillaPrinter [virtual]
    magnification() const TQextScintillaPrinter [inline]
    printRange(TQextScintillaBase *tqsb, int from=-1, int to=-1)TQextScintillaPrinter [virtual]
    TQextScintillaPrinter(PrinterMode mode=ScreenResolution)TQextScintillaPrinter
    setMagnification(int magnification)TQextScintillaPrinter [virtual]
    setWrapMode(TQextScintilla::WrapMode wmode)TQextScintillaPrinter [virtual]
    wrapMode() const TQextScintillaPrinter [inline]
    ~TQextScintillaPrinter()TQextScintillaPrinter


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/classTQextScintillaPrinter.html b/doc/en/classTQextScintillaPrinter.html new file mode 100644 index 0000000..7effa76 --- /dev/null +++ b/doc/en/classTQextScintillaPrinter.html @@ -0,0 +1,252 @@ + + +TQScintilla: TQextScintillaPrinter Class Reference + + + + + + +

    TQextScintillaPrinter Class Reference

    The TQextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document. +More... +

    +#include <tqextscintillaprinter.h> +

    +List of all members.

    Public Member Functions

    + +

    Detailed Description

    +The TQextScintillaPrinter class is a sub-class of the TQt TQPrinter class that is able to print the text of a Scintilla document. +

    +The class can be further sub-classed to alter to layout of the text, adding headers and footers for example. +

    +


    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + + + +
    TQextScintillaPrinter::TQextScintillaPrinter (PrinterMode  mode = ScreenResolution  ) 
    +
    +
    + +

    +Constructs a printer paint device with mode mode. +

    + +

    +

    + +

    +
    + + + + + + + + +
    TQextScintillaPrinter::~TQextScintillaPrinter (  ) 
    +
    +
    + +

    +Destroys the TQextScintillaPrinter instance. +

    + +

    +

    +


    Member Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void TQextScintillaPrinter::formatPage (TQPainter &  painter,
    bool  drawing,
    TQRect &  area,
    int  pagenr 
    ) [virtual]
    +
    +
    + +

    +Format a page, by adding headers and footers for example, before the document text is drawn on it. painter is the painter to be used to add customised text and graphics. drawing is TRUE if the page is actually being drawn rather than being sized. painter drawing methods must only be called when drawing is TRUE. area is the area of the page that will be used to draw the text. This should be modified if it is necessary to reserve space for any customised text or graphics. By default the area is relative to the printable area of the page. Use TQPrinter::setFullPage() because calling printRange() if you want to try and print over the whole page. pagenr is the number of the page. The first page is numbered 1. +

    +

    + +

    +
    + + + + + + + + +
    int TQextScintillaPrinter::magnification (  )  const [inline]
    +
    +
    + +

    +Return the number of points to add to each font when printing.

    +

    See also:
    setMagnification()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaPrinter::setMagnification (int  magnification  )  [virtual]
    +
    +
    + +

    +Sets the number of points to add to each font when printing to magnification.

    +

    See also:
    magnification()
    + +
    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    virtual int TQextScintillaPrinter::printRange (TQextScintillaBase tqsb,
    int  from = -1,
    int  to = -1 
    ) [virtual]
    +
    +
    + +

    +Print a range of lines from the Scintilla instance tqsb. from is the first line to print and a negative value signifies the first line of text. to is the last line to print and a negative value signifies the last line of text. TRUE is returned if there was no error. +

    +

    + +

    +
    + + + + + + + + +
    TQextScintilla::WrapMode TQextScintillaPrinter::wrapMode (  )  const [inline]
    +
    +
    + +

    +Return the line wrap mode used when printing. The default is TQextScintilla::WrapWord.

    +

    See also:
    setWrapMode()
    + +
    +

    + +

    +
    + + + + + + + + + +
    virtual void TQextScintillaPrinter::setWrapMode (TQextScintilla::WrapMode  wmode  )  [virtual]
    +
    +
    + +

    +Sets the line wrap mode used when printing to wmode.

    +

    See also:
    wrapMode()
    + +
    +

    +


    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  + +doxygen 1.4.7
    + + diff --git a/doc/en/deprecated.html b/doc/en/deprecated.html index f646ddd..5c71b9f 100644 --- a/doc/en/deprecated.html +++ b/doc/en/deprecated.html @@ -12,27 +12,27 @@
  • Related Pages
  • Deprecated List

    -
    Member QextScintillaLexerBash::WhiteSpace
    +
    Member TQextScintillaLexerBash::WhiteSpace
    White space.

    -
    Member QextScintillaLexerCPP::WhiteSpace
    +
    Member TQextScintillaLexerCPP::WhiteSpace
    White space.

    -
    Member QextScintillaLexerPerl::WhiteSpace
    +
    Member TQextScintillaLexerPerl::WhiteSpace
    White space.

    -
    Member QextScintillaLexerPython::WhiteSpace
    +
    Member TQextScintillaLexerPython::WhiteSpace
    White space.

    -
    Member QextScintillaLexerSQL::LineComment
    +
    Member TQextScintillaLexerSQL::LineComment
    A line comment.

    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  diff --git a/doc/en/functions.html b/doc/en/functions.html index ae4a0a8..d059dd8 100644 --- a/doc/en/functions.html +++ b/doc/en/functions.html @@ -61,68 +61,68 @@ Here is a list of all documented class members with links to the class documenta

    - a -

    +: TQextScintilla
  • AcsAPIs +: TQextScintilla
  • AcsDocument +: TQextScintilla
  • add() +: TQextScintillaAPIs
  • AiClosing +: TQextScintilla
  • AiMaintain +: TQextScintilla
  • AiOpening +: TQextScintilla
  • alternateKey() +: TQextScintillaCommand
  • append() +: TQextScintilla
  • Array +: TQextScintillaLexerPerl
  • ASPAtStart +: TQextScintillaLexerHTML
  • ASPJavaScriptComment +: TQextScintillaLexerHTML
  • ASPJavaScriptCommentDoc +: TQextScintillaLexerHTML
  • ASPJavaScriptCommentLine +: TQextScintillaLexerHTML
  • ASPJavaScriptDefault +: TQextScintillaLexerHTML
  • ASPJavaScriptDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPJavaScriptKeyword +: TQextScintillaLexerHTML
  • ASPJavaScriptNumber +: TQextScintillaLexerHTML
  • ASPJavaScriptRegex +: TQextScintillaLexerHTML
  • ASPJavaScriptSingleQuotedString +: TQextScintillaLexerHTML
  • ASPJavaScriptStart +: TQextScintillaLexerHTML
  • ASPJavaScriptSymbol +: TQextScintillaLexerHTML
  • ASPJavaScriptUnclosedString +: TQextScintillaLexerHTML
  • ASPJavaScriptWord +: TQextScintillaLexerHTML
  • ASPPythonClassName +: TQextScintillaLexerHTML
  • ASPPythonComment +: TQextScintillaLexerHTML
  • ASPPythonDefault +: TQextScintillaLexerHTML
  • ASPPythonDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonFunctionMethodName +: TQextScintillaLexerHTML
  • ASPPythonIdentifier +: TQextScintillaLexerHTML
  • ASPPythonKeyword +: TQextScintillaLexerHTML
  • ASPPythonNumber +: TQextScintillaLexerHTML
  • ASPPythonOperator +: TQextScintillaLexerHTML
  • ASPPythonSingleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonStart +: TQextScintillaLexerHTML
  • ASPPythonTripleDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonTripleSingleQuotedString +: TQextScintillaLexerHTML
  • ASPStart +: TQextScintillaLexerHTML
  • ASPVBScriptComment +: TQextScintillaLexerHTML
  • ASPVBScriptDefault +: TQextScintillaLexerHTML
  • ASPVBScriptIdentifier +: TQextScintillaLexerHTML
  • ASPVBScriptKeyword +: TQextScintillaLexerHTML
  • ASPVBScriptNumber +: TQextScintillaLexerHTML
  • ASPVBScriptStart +: TQextScintillaLexerHTML
  • ASPVBScriptString +: TQextScintillaLexerHTML
  • ASPVBScriptUnclosedString +: TQextScintillaLexerHTML
  • ASPXCComment +: TQextScintillaLexerHTML
  • Assignment +: TQextScintillaLexerProperties
  • AtRule +: TQextScintillaLexerCSS
  • Attribute +: TQextScintillaLexerHTML, TQextScintillaLexerCSS
  • autoCompleteFromAll() +: TQextScintilla
  • autoCompleteFromAPIs() +: TQextScintilla
  • autoCompleteFromDocument() +: TQextScintilla
  • autoCompletionCaseSensitivity() +: TQextScintilla
  • autoCompletionFillupsEnabled() +: TQextScintilla
  • autoCompletionReplaceWord() +: TQextScintilla
  • autoCompletionShowSingle() +: TQextScintilla
  • autoCompletionSource() +: TQextScintilla
  • AutoCompletionSource +: TQextScintilla
  • autoCompletionThreshold() +: TQextScintilla
  • autoIndent() +: TQextScintilla
  • autoIndentStyle() +: TQextScintillaLexer
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x62.html b/doc/en/functions_0x62.html index fc7cbd2..d27c4ed 100644 --- a/doc/en/functions_0x62.html +++ b/doc/en/functions_0x62.html @@ -61,23 +61,23 @@ Here is a list of all documented class members with links to the class documenta

    - b -

    +: TQextScintilla
  • backslashEscapes() +: TQextScintillaLexerSQL
  • backspaceUnindents() +: TQextScintilla
  • BacktickHereDocument +: TQextScintillaLexerPerl
  • Backticks +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerBash
  • BadDirective +: TQextScintillaLexerPOV
  • BasicFunctions +: TQextScintillaLexerLua
  • beginUndoAction() +: TQextScintilla
  • BottomLeftCorner +: TQextScintilla
  • BoxedFoldStyle +: TQextScintilla
  • BoxedMinus +: TQextScintilla
  • BoxedMinusConnected +: TQextScintilla
  • BoxedPlus +: TQextScintilla
  • BoxedPlusConnected +: TQextScintilla
  • BoxedTreeFoldStyle +: TQextScintilla
  • BraceMatch +: TQextScintilla
  • braceMatching() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x63.html b/doc/en/functions_0x63.html index 50a3b7b..f7f9718 100644 --- a/doc/en/functions_0x63.html +++ b/doc/en/functions_0x63.html @@ -61,46 +61,46 @@ Here is a list of all documented class members with links to the class documenta

    - c -

    +: TQextScintilla
  • callTipsVisible() +: TQextScintilla
  • cancelList() +: TQextScintilla
  • caseSensitiveTags() +: TQextScintillaLexerHTML
  • CDATA +: TQextScintillaLexerHTML
  • Character +: TQextScintillaLexerLua
  • Circle +: TQextScintilla
  • CircledFoldStyle +: TQextScintilla
  • CircledMinus +: TQextScintilla
  • CircledMinusConnected +: TQextScintilla
  • CircledPlus +: TQextScintilla
  • CircledPlusConnected +: TQextScintilla
  • CircledTreeFoldStyle +: TQextScintilla
  • ClassName +: TQextScintillaLexerRuby, TQextScintillaLexerPython
  • ClassSelector +: TQextScintillaLexerCSS
  • ClassVariable +: TQextScintillaLexerRuby
  • clear() +: TQextScintillaMacro, TQextScintillaAPIs, TQextScintilla
  • clearAlternateKeys() +: TQextScintillaCommandSet
  • clearKeys() +: TQextScintillaCommandSet
  • clearRegisteredImages() +: TQextScintilla
  • color() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • colorChanged() +: TQextScintillaLexer
  • Command +: TQextScintillaLexerTeX, TQextScintillaLexerDiff
  • commands() +: TQextScintillaCommandSet
  • Comment +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • CommentBlock +: TQextScintillaLexerPython
  • CommentDoc +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentDocKeyword +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentDocKeywordError +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentLine +: TQextScintillaLexerSQL, TQextScintillaLexerPOV, TQextScintillaLexerCPP
  • CommentLineDoc +: TQextScintillaLexerCPP
  • CommentLineHash +: TQextScintillaLexerSQL
  • convertEols() +: TQextScintilla
  • copy() +: TQextScintilla
  • copyAvailable() +: TQextScintilla
  • CoroutinesIOSystemFacilities +: TQextScintillaLexerLua
  • CSS1Property +: TQextScintillaLexerCSS
  • CSS2Property +: TQextScintillaLexerCSS
  • cursorPositionChanged() +: TQextScintilla
  • cut() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x64.html b/doc/en/functions_0x64.html index 90bfda5..ca09001 100644 --- a/doc/en/functions_0x64.html +++ b/doc/en/functions_0x64.html @@ -61,20 +61,20 @@ Here is a list of all documented class members with links to the class documenta

    - d -

    +: TQextScintillaLexerRuby, TQextScintillaLexerPerl
  • Decorator +: TQextScintillaLexerPython
  • Default +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • defaultColor() +: TQextScintillaLexer
  • defaultFont() +: TQextScintillaLexer
  • defaultPaper() +: TQextScintillaLexer
  • DefaultValue +: TQextScintillaLexerProperties
  • DemotedKeyword +: TQextScintillaLexerRuby
  • description() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintillaCommand
  • Directive +: TQextScintillaLexerPOV
  • document() +: TQextScintilla
  • DoubleQuotedHereDocument +: TQextScintillaLexerPerl
  • DoubleQuotedString +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • DownTriangle +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x65.html b/doc/en/functions_0x65.html index 4baa96f..dbca2bd 100644 --- a/doc/en/functions_0x65.html +++ b/doc/en/functions_0x65.html @@ -61,29 +61,29 @@ Here is a list of all documented class members with links to the class documenta

    - e -

    +: TQextScintilla
  • edgeColor() +: TQextScintilla
  • edgeColumn() +: TQextScintilla
  • EdgeLine +: TQextScintilla
  • edgeMode() +: TQextScintilla
  • EdgeMode +: TQextScintilla
  • EdgeNone +: TQextScintilla
  • endRecording() +: TQextScintillaMacro
  • endUndoAction() +: TQextScintilla
  • ensureCursorVisible() +: TQextScintilla
  • ensureLineVisible() +: TQextScintilla
  • Entity +: TQextScintillaLexerHTML
  • eolFill() +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • eolFillChanged() +: TQextScintillaLexer
  • EolMac +: TQextScintilla
  • eolMode() +: TQextScintilla
  • EolMode +: TQextScintilla
  • EolUnix +: TQextScintilla
  • eolVisibility() +: TQextScintilla
  • EolWindows +: TQextScintilla
  • Error +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerBash
  • eventFilter() +: TQextScintillaBase
  • ExternalCommand +: TQextScintillaLexerBatch
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x66.html b/doc/en/functions_0x66.html index 8ff1cfe..a58432d 100644 --- a/doc/en/functions_0x66.html +++ b/doc/en/functions_0x66.html @@ -61,26 +61,26 @@ Here is a list of all documented class members with links to the class documenta

    - f -

    +: TQextScintilla
  • findNext() +: TQextScintilla
  • firstVisibleLine() +: TQextScintilla
  • focusInEvent() +: TQextScintillaBase
  • focusNextPrevChild() +: TQextScintillaBase
  • focusOutEvent() +: TQextScintillaBase
  • foldAll() +: TQextScintilla
  • foldAtElse() +: TQextScintillaLexerCPP
  • foldComments() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • foldCompact() +: TQextScintillaLexerSQL, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • foldDirectives() +: TQextScintillaLexerPOV
  • folding() +: TQextScintilla
  • foldLine() +: TQextScintilla
  • foldPreprocessor() +: TQextScintillaLexerHTML, TQextScintillaLexerCPP
  • foldQuotes() +: TQextScintillaLexerPython
  • FoldStyle +: TQextScintilla
  • font() +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • fontChanged() +: TQextScintillaLexer
  • formatPage() +: TQextScintillaPrinter
  • FunctionMethodName +: TQextScintillaLexerRuby, TQextScintillaLexerPython
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x67.html b/doc/en/functions_0x67.html index cfc7a80..4a94629 100644 --- a/doc/en/functions_0x67.html +++ b/doc/en/functions_0x67.html @@ -61,11 +61,11 @@ Here is a list of all documented class members with links to the class documenta

    - g -

    +: TQextScintilla
  • getSelection() +: TQextScintilla
  • Global +: TQextScintillaLexerRuby
  • GlobalClass +: TQextScintillaLexerCPP
  • Group +: TQextScintillaLexerTeX
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x68.html b/doc/en/functions_0x68.html index 4af5ac2..3402dc4 100644 --- a/doc/en/functions_0x68.html +++ b/doc/en/functions_0x68.html @@ -61,18 +61,18 @@ Here is a list of all documented class members with links to the class documenta

    - h -

    +: TQextScintillaLexerPerl
  • hasSelectedText() +: TQextScintilla
  • Header +: TQextScintillaLexerDiff
  • HereDocument +: TQextScintillaLexerRuby
  • HereDocumentDelimiter +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerBash
  • HideCommandChar +: TQextScintillaLexerBatch
  • HighlightedIdentifier +: TQextScintillaLexerPython
  • HTMLComment +: TQextScintillaLexerHTML
  • HTMLDoubleQuotedString +: TQextScintillaLexerHTML
  • HTMLNumber +: TQextScintillaLexerHTML
  • HTMLSingleQuotedString +: TQextScintillaLexerHTML
  • HTMLValue +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x69.html b/doc/en/functions_0x69.html index 66cf401..e007b00 100644 --- a/doc/en/functions_0x69.html +++ b/doc/en/functions_0x69.html @@ -61,28 +61,28 @@ Here is a list of all documented class members with links to the class documenta

    - i -

    +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • IDSelector +: TQextScintillaLexerCSS
  • Important +: TQextScintillaLexerCSS
  • Inconsistent +: TQextScintillaLexerPython
  • indent() +: TQextScintilla
  • indentation() +: TQextScintilla
  • indentationGuides() +: TQextScintilla
  • indentationsUseTabs() +: TQextScintilla
  • indentationWarning() +: TQextScintillaLexerPython
  • IndentationWarning +: TQextScintillaLexerPython
  • indentationWidth() +: TQextScintilla
  • insert() +: TQextScintilla
  • insertAt() +: TQextScintilla
  • InstanceVariable +: TQextScintillaLexerRuby
  • Invisible +: TQextScintilla
  • isCallTipActive() +: TQextScintilla
  • isListActive() +: TQextScintilla
  • isModified() +: TQextScintilla
  • isReadOnly() +: TQextScintilla
  • isRedoAvailable() +: TQextScintilla
  • isUndoAvailable() +: TQextScintilla
  • isUtf8() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6a.html b/doc/en/functions_0x6a.html index 4f09a7c..7e4657d 100644 --- a/doc/en/functions_0x6a.html +++ b/doc/en/functions_0x6a.html @@ -61,19 +61,19 @@ Here is a list of all documented class members with links to the class documenta

    - j -

    +: TQextScintillaLexerHTML
  • JavaScriptCommentDoc +: TQextScintillaLexerHTML
  • JavaScriptCommentLine +: TQextScintillaLexerHTML
  • JavaScriptDefault +: TQextScintillaLexerHTML
  • JavaScriptDoubleQuotedString +: TQextScintillaLexerHTML
  • JavaScriptKeyword +: TQextScintillaLexerHTML
  • JavaScriptNumber +: TQextScintillaLexerHTML
  • JavaScriptRegex +: TQextScintillaLexerHTML
  • JavaScriptSingleQuotedString +: TQextScintillaLexerHTML
  • JavaScriptStart +: TQextScintillaLexerHTML
  • JavaScriptSymbol +: TQextScintillaLexerHTML
  • JavaScriptUnclosedString +: TQextScintillaLexerHTML
  • JavaScriptWord +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6b.html b/doc/en/functions_0x6b.html index 1f73243..b7d3acd 100644 --- a/doc/en/functions_0x6b.html +++ b/doc/en/functions_0x6b.html @@ -61,15 +61,15 @@ Here is a list of all documented class members with links to the class documenta

    - k -

    +: TQextScintillaCommand
  • keyPressEvent() +: TQextScintillaBase
  • Keyword +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • keywords() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerJava, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • KeywordSet2 +: TQextScintillaLexerCPP
  • KeywordSet5 +: TQextScintillaLexerSQL
  • KeywordSet6 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
  • KeywordSet7 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
  • KeywordSet8 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6c.html b/doc/en/functions_0x6c.html index 9d83d7b..af6c64e 100644 --- a/doc/en/functions_0x6c.html +++ b/doc/en/functions_0x6c.html @@ -61,20 +61,20 @@ Here is a list of all documented class members with links to the class documenta

    - l -

    +: TQextScintillaLexerBatch
  • language() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerJava, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • LeftSideRoundedSplitter +: TQextScintilla
  • LeftSideSplitter +: TQextScintilla
  • length() +: TQextScintilla
  • lexer() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • LineAdded +: TQextScintillaLexerDiff
  • lineAt() +: TQextScintilla
  • LineComment +: TQextScintillaLexerSQL, TQextScintillaLexerLua
  • lineLength() +: TQextScintilla
  • LineRemoved +: TQextScintillaLexerDiff
  • lines() +: TQextScintilla
  • LiteralString +: TQextScintillaLexerLua
  • load() +: TQextScintillaMacro, TQextScintillaAPIs
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6d.html b/doc/en/functions_0x6d.html index 3d0d9b0..d67a332 100644 --- a/doc/en/functions_0x6d.html +++ b/doc/en/functions_0x6d.html @@ -61,27 +61,27 @@ Here is a list of all documented class members with links to the class documenta

    - m -

    +: TQextScintillaPrinter
  • marginClicked() +: TQextScintilla
  • marginLineNumbers() +: TQextScintilla
  • marginMarkerMask() +: TQextScintilla
  • marginSensitivity() +: TQextScintilla
  • marginWidth() +: TQextScintilla
  • markerAdd() +: TQextScintilla
  • markerDefine() +: TQextScintilla
  • markerDelete() +: TQextScintilla
  • markerDeleteAll() +: TQextScintilla
  • markerDeleteHandle() +: TQextScintilla
  • markerFindNext() +: TQextScintilla
  • markerFindPrevious() +: TQextScintilla
  • markerLine() +: TQextScintilla
  • markersAtLine() +: TQextScintilla
  • MarkerSymbol +: TQextScintilla
  • Minus +: TQextScintilla
  • modificationAttempted() +: TQextScintilla
  • modificationChanged() +: TQextScintilla
  • ModuleName +: TQextScintillaLexerRuby
  • moveToMatchingBrace() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6e.html b/doc/en/functions_0x6e.html index 6c66587..88fb447 100644 --- a/doc/en/functions_0x6e.html +++ b/doc/en/functions_0x6e.html @@ -61,10 +61,10 @@ Here is a list of all documented class members with links to the class documenta

    - n -

    +: TQextScintilla
  • NoFoldStyle +: TQextScintilla
  • NoWarning +: TQextScintillaLexerPython
  • Number +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBash
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x6f.html b/doc/en/functions_0x6f.html index 44720a9..218944a 100644 --- a/doc/en/functions_0x6f.html +++ b/doc/en/functions_0x6f.html @@ -61,9 +61,9 @@ Here is a list of all documented class members with links to the class documenta

    - o -

    +: TQextScintillaLexerPOV
  • Operator +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • OtherInTag +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x70.html b/doc/en/functions_0x70.html index 3c382b7..278867b 100644 --- a/doc/en/functions_0x70.html +++ b/doc/en/functions_0x70.html @@ -61,56 +61,56 @@ Here is a list of all documented class members with links to the class documenta

    - p -

    +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • paperChanged() +: TQextScintillaLexer
  • ParameterExpansion +: TQextScintillaLexerBash
  • paste() +: TQextScintilla
  • PercentStringq +: TQextScintillaLexerRuby
  • PercentStringQ +: TQextScintillaLexerRuby
  • PercentStringr +: TQextScintillaLexerRuby
  • PercentStringw +: TQextScintillaLexerRuby
  • PercentStringx +: TQextScintillaLexerRuby
  • PHPComment +: TQextScintillaLexerHTML
  • PHPCommentLine +: TQextScintillaLexerHTML
  • PHPDefault +: TQextScintillaLexerHTML
  • PHPDoubleQuotedString +: TQextScintillaLexerHTML
  • PHPDoubleQuotedVariable +: TQextScintillaLexerHTML
  • PHPKeyword +: TQextScintillaLexerHTML
  • PHPNumber +: TQextScintillaLexerHTML
  • PHPOperator +: TQextScintillaLexerHTML
  • PHPSingleQuotedString +: TQextScintillaLexerHTML
  • PHPStart +: TQextScintillaLexerHTML
  • PHPVariable +: TQextScintillaLexerHTML
  • PlainFoldStyle +: TQextScintilla
  • play() +: TQextScintillaMacro
  • Plus +: TQextScintilla
  • PlusComment +: TQextScintillaLexerSQL
  • PlusKeyword +: TQextScintillaLexerSQL
  • PlusPrompt +: TQextScintillaLexerSQL
  • POD +: TQextScintillaLexerRuby, TQextScintillaLexerPerl
  • PODVerbatim +: TQextScintillaLexerPerl
  • pool() +: TQextScintillaBase
  • Position +: TQextScintillaLexerDiff
  • PredefinedFunctions +: TQextScintillaLexerPOV
  • PredefinedIdentifiers +: TQextScintillaLexerPOV
  • PreProcessor +: TQextScintillaLexerCPP
  • Preprocessor +: TQextScintillaLexerMakefile, TQextScintillaLexerLua
  • printRange() +: TQextScintillaPrinter
  • propertyChanged() +: TQextScintillaLexer
  • PseudoClass +: TQextScintillaLexerCSS
  • PythonClassName +: TQextScintillaLexerHTML
  • PythonComment +: TQextScintillaLexerHTML
  • PythonDefault +: TQextScintillaLexerHTML
  • PythonDoubleQuotedString +: TQextScintillaLexerHTML
  • PythonFunctionMethodName +: TQextScintillaLexerHTML
  • PythonIdentifier +: TQextScintillaLexerHTML
  • PythonKeyword +: TQextScintillaLexerHTML
  • PythonNumber +: TQextScintillaLexerHTML
  • PythonOperator +: TQextScintillaLexerHTML
  • PythonSingleQuotedString +: TQextScintillaLexerHTML
  • PythonStart +: TQextScintillaLexerHTML
  • PythonTripleDoubleQuotedString +: TQextScintillaLexerHTML
  • PythonTripleSingleQuotedString +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x71.html b/doc/en/functions_0x71.html index e5226a3..b33bbf9 100644 --- a/doc/en/functions_0x71.html +++ b/doc/en/functions_0x71.html @@ -60,39 +60,39 @@ Here is a list of all documented class members with links to the class documentation for each member:

    - q -

    +
  • TQextScintilla() +: TQextScintilla
  • TQextScintillaAPIs() +: TQextScintillaAPIs
  • TQextScintillaBase() +: TQextScintillaBase
  • TQextScintillaDocument() +: TQextScintillaDocument
  • TQextScintillaLexer() +: TQextScintillaLexer
  • TQextScintillaLexerBash() +: TQextScintillaLexerBash
  • TQextScintillaLexerBatch() +: TQextScintillaLexerBatch
  • TQextScintillaLexerCPP() +: TQextScintillaLexerCPP
  • TQextScintillaLexerCSharp() +: TQextScintillaLexerCSharp
  • TQextScintillaLexerCSS() +: TQextScintillaLexerCSS
  • TQextScintillaLexerDiff() +: TQextScintillaLexerDiff
  • TQextScintillaLexerHTML() +: TQextScintillaLexerHTML
  • TQextScintillaLexerIDL() +: TQextScintillaLexerIDL
  • TQextScintillaLexerJava() +: TQextScintillaLexerJava
  • TQextScintillaLexerJavaScript() +: TQextScintillaLexerJavaScript
  • TQextScintillaLexerLua() +: TQextScintillaLexerLua
  • TQextScintillaLexerMakefile() +: TQextScintillaLexerMakefile
  • TQextScintillaLexerPerl() +: TQextScintillaLexerPerl
  • TQextScintillaLexerPOV() +: TQextScintillaLexerPOV
  • TQextScintillaLexerProperties() +: TQextScintillaLexerProperties
  • TQextScintillaLexerPython() +: TQextScintillaLexerPython
  • TQextScintillaLexerRuby() +: TQextScintillaLexerRuby
  • TQextScintillaLexerSQL() +: TQextScintillaLexerSQL
  • TQextScintillaLexerTeX() +: TQextScintillaLexerTeX
  • TQextScintillaMacro() +: TQextScintillaMacro
  • TQextScintillaPrinter() +: TQextScintillaPrinter
  • TQSCN_SELCHANGED() +: TQextScintillaBase
  • QuotedStringQ +: TQextScintillaLexerPerl
  • QuotedStringQQ +: TQextScintillaLexerPerl
  • QuotedStringQR +: TQextScintillaLexerPerl
  • QuotedStringQW +: TQextScintillaLexerPerl
  • QuotedStringQX +: TQextScintillaLexerPerl
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x72.html b/doc/en/functions_0x72.html index b0093e9..d89e85a 100644 --- a/doc/en/functions_0x72.html +++ b/doc/en/functions_0x72.html @@ -61,22 +61,22 @@ Here is a list of all documented class members with links to the class documenta

    - r -

    +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • readSettings() +: TQextScintillaLexer, TQextScintillaCommandSet
  • recolor() +: TQextScintilla
  • Rectangle +: TQextScintilla
  • redo() +: TQextScintilla
  • refreshProperties() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • Regex +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerCPP
  • registerImage() +: TQextScintilla
  • removeSelectedText() +: TQextScintilla
  • replace() +: TQextScintilla
  • resetFoldMarginColors() +: TQextScintilla
  • resetSelectionBackgroundColor() +: TQextScintilla
  • resetSelectionForegroundColor() +: TQextScintilla
  • RightArrow +: TQextScintilla
  • RightTriangle +: TQextScintilla
  • RoundedBottomLeftCorner +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x73.html b/doc/en/functions_0x73.html index 1960d09..fddc194 100644 --- a/doc/en/functions_0x73.html +++ b/doc/en/functions_0x73.html @@ -61,298 +61,298 @@ Here is a list of all documented class members with links to the class documenta

    - s -

    +: TQextScintillaMacro
  • SC_MARGIN_BACK +: TQextScintillaBase
  • SC_MARGIN_FORE +: TQextScintillaBase
  • SC_MARGIN_NUMBER +: TQextScintillaBase
  • SC_MARGIN_SYMBOL +: TQextScintillaBase
  • SC_MARK_ARROW +: TQextScintillaBase
  • SC_MARK_ARROWDOWN +: TQextScintillaBase
  • SC_MARK_ARROWS +: TQextScintillaBase
  • SC_MARK_BACKGROUND +: TQextScintillaBase
  • SC_MARK_BOXMINUS +: TQextScintillaBase
  • SC_MARK_BOXMINUSCONNECTED +: TQextScintillaBase
  • SC_MARK_BOXPLUS +: TQextScintillaBase
  • SC_MARK_BOXPLUSCONNECTED +: TQextScintillaBase
  • SC_MARK_CHARACTER +: TQextScintillaBase
  • SC_MARK_CIRCLE +: TQextScintillaBase
  • SC_MARK_CIRCLEMINUS +: TQextScintillaBase
  • SC_MARK_CIRCLEMINUSCONNECTED +: TQextScintillaBase
  • SC_MARK_CIRCLEPLUS +: TQextScintillaBase
  • SC_MARK_CIRCLEPLUSCONNECTED +: TQextScintillaBase
  • SC_MARK_DOTDOTDOT +: TQextScintillaBase
  • SC_MARK_EMPTY +: TQextScintillaBase
  • SC_MARK_FULLRECT +: TQextScintillaBase
  • SC_MARK_LCORNER +: TQextScintillaBase
  • SC_MARK_LCORNERCURVE +: TQextScintillaBase
  • SC_MARK_MINUS +: TQextScintillaBase
  • SC_MARK_PIXMAP +: TQextScintillaBase
  • SC_MARK_PLUS +: TQextScintillaBase
  • SC_MARK_ROUNDRECT +: TQextScintillaBase
  • SC_MARK_SHORTARROW +: TQextScintillaBase
  • SC_MARK_SMALLRECT +: TQextScintillaBase
  • SC_MARK_TCORNER +: TQextScintillaBase
  • SC_MARK_TCORNERCURVE +: TQextScintillaBase
  • SC_MARK_VLINE +: TQextScintillaBase
  • Scalar +: TQextScintillaLexerPerl, TQextScintillaLexerBash
  • SCEN_CHANGE() +: TQextScintillaBase
  • SCI_ADDTEXT +: TQextScintillaBase
  • SCI_CLEARREGISTEREDIMAGES +: TQextScintillaBase
  • SCI_EMPTYUNDOBUFFER +: TQextScintillaBase
  • SCI_GETANCHOR +: TQextScintillaBase
  • SCI_GETCURRENTPOS +: TQextScintillaBase
  • SCI_GETENDSTYLED +: TQextScintillaBase
  • SCI_GETLEXER +: TQextScintillaBase
  • SCI_GETMARGINMASKN +: TQextScintillaBase
  • SCI_GETMARGINSENSITIVEN +: TQextScintillaBase
  • SCI_GETMARGINTYPEN +: TQextScintillaBase
  • SCI_GETMARGINWIDTHN +: TQextScintillaBase
  • SCI_GETMODIFY +: TQextScintillaBase
  • SCI_GETREADONLY +: TQextScintillaBase
  • SCI_GETTEXT +: TQextScintillaBase
  • SCI_GETTEXTLENGTH +: TQextScintillaBase
  • SCI_GOTOPOS +: TQextScintillaBase
  • SCI_MARKERADD +: TQextScintillaBase
  • SCI_MARKERDEFINE +: TQextScintillaBase
  • SCI_MARKERDEFINEPIXMAP +: TQextScintillaBase
  • SCI_MARKERDELETE +: TQextScintillaBase
  • SCI_MARKERDELETEALL +: TQextScintillaBase
  • SCI_MARKERDELETEHANDLE +: TQextScintillaBase
  • SCI_MARKERGET +: TQextScintillaBase
  • SCI_MARKERLINEFROMHANDLE +: TQextScintillaBase
  • SCI_MARKERNEXT +: TQextScintillaBase
  • SCI_MARKERPREVIOUS +: TQextScintillaBase
  • SCI_MARKERSETBACK +: TQextScintillaBase
  • SCI_MARKERSETFORE +: TQextScintillaBase
  • SCI_REGISTERIMAGE +: TQextScintillaBase
  • SCI_SETANCHOR +: TQextScintillaBase
  • SCI_SETCURRENTPOS +: TQextScintillaBase
  • SCI_SETLEXER +: TQextScintillaBase
  • SCI_SETLEXERLANGUAGE +: TQextScintillaBase
  • SCI_SETMARGINMASKN +: TQextScintillaBase
  • SCI_SETMARGINSENSITIVEN +: TQextScintillaBase
  • SCI_SETMARGINTYPEN +: TQextScintillaBase
  • SCI_SETMARGINWIDTHN +: TQextScintillaBase
  • SCI_SETREADONLY +: TQextScintillaBase
  • SCI_SETSAVEPOINT +: TQextScintillaBase
  • SCI_SETTEXT +: TQextScintillaBase
  • SCI_TEXTWIDTH +: TQextScintillaBase
  • SCLEX_ADA +: TQextScintillaBase
  • SCLEX_APDL +: TQextScintillaBase
  • SCLEX_ASM +: TQextScintillaBase
  • SCLEX_ASN1 +: TQextScintillaBase
  • SCLEX_ASP +: TQextScintillaBase
  • SCLEX_AU3 +: TQextScintillaBase
  • SCLEX_AVE +: TQextScintillaBase
  • SCLEX_BAAN +: TQextScintillaBase
  • SCLEX_BASH +: TQextScintillaBase
  • SCLEX_BATCH +: TQextScintillaBase
  • SCLEX_BLITZBASIC +: TQextScintillaBase
  • SCLEX_BULLANT +: TQextScintillaBase
  • SCLEX_CAML +: TQextScintillaBase
  • SCLEX_CLW +: TQextScintillaBase
  • SCLEX_CLWNOCASE +: TQextScintillaBase
  • SCLEX_CONF +: TQextScintillaBase
  • SCLEX_CONTAINER +: TQextScintillaBase
  • SCLEX_CPP +: TQextScintillaBase
  • SCLEX_CPPNOCASE +: TQextScintillaBase
  • SCLEX_CSOUND +: TQextScintillaBase
  • SCLEX_CSS +: TQextScintillaBase
  • SCLEX_DIFF +: TQextScintillaBase
  • SCLEX_EIFFEL +: TQextScintillaBase
  • SCLEX_EIFFELKW +: TQextScintillaBase
  • SCLEX_ERLANG +: TQextScintillaBase
  • SCLEX_ERRORLIST +: TQextScintillaBase
  • SCLEX_ESCRIPT +: TQextScintillaBase
  • SCLEX_F77 +: TQextScintillaBase
  • SCLEX_FLAGSHIP +: TQextScintillaBase
  • SCLEX_FORTH +: TQextScintillaBase
  • SCLEX_FORTRAN +: TQextScintillaBase
  • SCLEX_FREEBASIC +: TQextScintillaBase
  • SCLEX_GUI4CLI +: TQextScintillaBase
  • SCLEX_HASKELL +: TQextScintillaBase
  • SCLEX_HTML +: TQextScintillaBase
  • SCLEX_INNOSETUP +: TQextScintillaBase
  • SCLEX_KIX +: TQextScintillaBase
  • SCLEX_LATEX +: TQextScintillaBase
  • SCLEX_LISP +: TQextScintillaBase
  • SCLEX_LOT +: TQextScintillaBase
  • SCLEX_LOUT +: TQextScintillaBase
  • SCLEX_LUA +: TQextScintillaBase
  • SCLEX_MAKEFILE +: TQextScintillaBase
  • SCLEX_MATLAB +: TQextScintillaBase
  • SCLEX_METAPOST +: TQextScintillaBase
  • SCLEX_MMIXAL +: TQextScintillaBase
  • SCLEX_MSSQL +: TQextScintillaBase
  • SCLEX_NNCRONTAB +: TQextScintillaBase
  • SCLEX_NSIS +: TQextScintillaBase
  • SCLEX_NULL +: TQextScintillaBase
  • SCLEX_OCTAVE +: TQextScintillaBase
  • SCLEX_OPAL +: TQextScintillaBase
  • SCLEX_PASCAL +: TQextScintillaBase
  • SCLEX_PERL +: TQextScintillaBase
  • SCLEX_PHP +: TQextScintillaBase
  • SCLEX_PHPSCRIPT +: TQextScintillaBase
  • SCLEX_POV +: TQextScintillaBase
  • SCLEX_POWERBASIC +: TQextScintillaBase
  • SCLEX_PROPERTIES +: TQextScintillaBase
  • SCLEX_PS +: TQextScintillaBase
  • SCLEX_PUREBASIC +: TQextScintillaBase
  • SCLEX_PYTHON +: TQextScintillaBase
  • SCLEX_REBOL +: TQextScintillaBase
  • SCLEX_RUBY +: TQextScintillaBase
  • SCLEX_SCRIPTOL +: TQextScintillaBase
  • SCLEX_SMALLTALK +: TQextScintillaBase
  • SCLEX_SPECMAN +: TQextScintillaBase
  • SCLEX_SPICE +: TQextScintillaBase
  • SCLEX_SQL +: TQextScintillaBase
  • SCLEX_TADS3 +: TQextScintillaBase
  • SCLEX_TCL +: TQextScintillaBase
  • SCLEX_TEX +: TQextScintillaBase
  • SCLEX_VB +: TQextScintillaBase
  • SCLEX_VBSCRIPT +: TQextScintillaBase
  • SCLEX_VERILOG +: TQextScintillaBase
  • SCLEX_VHDL +: TQextScintillaBase
  • SCLEX_XML +: TQextScintillaBase
  • SCLEX_YAML +: TQextScintillaBase
  • SCMOD_ALT +: TQextScintillaBase
  • SCMOD_CTRL +: TQextScintillaBase
  • SCMOD_NORM +: TQextScintillaBase
  • SCMOD_SHIFT +: TQextScintillaBase
  • SCN_AUTOCSELECTION() +: TQextScintillaBase
  • SCN_CALLTIPCLICK() +: TQextScintillaBase
  • SCN_CHARADDED() +: TQextScintillaBase
  • SCN_HOTSPOTCLICK() +: TQextScintillaBase
  • SCN_HOTSPOTDOUBLECLICK() +: TQextScintillaBase
  • SCN_MACRORECORD() +: TQextScintillaBase
  • SCN_MARGINCLICK() +: TQextScintillaBase
  • SCN_MODIFYATTEMPTRO() +: TQextScintillaBase
  • SCN_PAINTED() +: TQextScintillaBase
  • SCN_SAVEPOINTLEFT() +: TQextScintillaBase
  • SCN_SAVEPOINTREACHED() +: TQextScintillaBase
  • SCN_STYLENEEDED() +: TQextScintillaBase
  • Script +: TQextScintillaLexerHTML
  • Section +: TQextScintillaLexerProperties
  • selectAll() +: TQextScintilla
  • selectedText() +: TQextScintilla
  • selectionChanged() +: TQextScintilla
  • selectToMatchingBrace() +: TQextScintilla
  • SendScintilla() +: TQextScintillaBase
  • setAlternateKey() +: TQextScintillaCommand
  • setAutoCompletionAPIs() +: TQextScintilla
  • setAutoCompletionCaseSensitivity() +: TQextScintilla
  • setAutoCompletionFillups() +: TQextScintilla
  • setAutoCompletionFillupsEnabled() +: TQextScintilla
  • setAutoCompletionReplaceWord() +: TQextScintilla
  • setAutoCompletionShowSingle() +: TQextScintilla
  • setAutoCompletionSource() +: TQextScintilla
  • setAutoCompletionStartCharacters() +: TQextScintilla
  • setAutoCompletionThreshold() +: TQextScintilla
  • setAutoIndent() +: TQextScintilla
  • setAutoIndentStyle() +: TQextScintillaLexer
  • setBackslashEscapes() +: TQextScintillaLexerSQL
  • setBackspaceUnindents() +: TQextScintilla
  • setBraceMatching() +: TQextScintilla
  • setCallTipsAPIs() +: TQextScintilla
  • setCallTipsBackgroundColor() +: TQextScintilla
  • setCallTipsForegroundColor() +: TQextScintilla
  • setCallTipsHighlightColor() +: TQextScintilla
  • setCallTipsVisible() +: TQextScintilla
  • setCaretForegroundColor() +: TQextScintilla
  • setCaretLineBackgroundColor() +: TQextScintilla
  • setCaretLineVisible() +: TQextScintilla
  • setCaretWidth() +: TQextScintilla
  • setCaseSensitiveTags() +: TQextScintillaLexerHTML
  • setColor() +: TQextScintillaLexer, TQextScintilla
  • setCursorPosition() +: TQextScintilla
  • setDefaultColor() +: TQextScintillaLexer
  • setDefaultFont() +: TQextScintillaLexer
  • setDefaultPaper() +: TQextScintillaLexer
  • setDocument() +: TQextScintilla
  • setEdgeColor() +: TQextScintilla
  • setEdgeColumn() +: TQextScintilla
  • setEdgeMode() +: TQextScintilla
  • setEolFill() +: TQextScintillaLexer
  • setEolMode() +: TQextScintilla
  • setEolVisibility() +: TQextScintilla
  • setFoldAtElse() +: TQextScintillaLexerCPP
  • setFoldComments() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • setFoldCompact() +: TQextScintillaLexerSQL, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • setFoldDirectives() +: TQextScintillaLexerPOV
  • setFolding() +: TQextScintilla
  • setFoldMarginColors() +: TQextScintilla
  • setFoldPreprocessor() +: TQextScintillaLexerHTML, TQextScintillaLexerCPP
  • setFoldQuotes() +: TQextScintillaLexerPython
  • setFont() +: TQextScintillaLexer, TQextScintilla
  • setIndentation() +: TQextScintilla
  • setIndentationGuides() +: TQextScintilla
  • setIndentationGuidesBackgroundColor() +: TQextScintilla
  • setIndentationGuidesForegroundColor() +: TQextScintilla
  • setIndentationsUseTabs() +: TQextScintilla
  • setIndentationWarning() +: TQextScintillaLexerPython
  • setIndentationWidth() +: TQextScintilla
  • setKey() +: TQextScintillaCommand
  • setLexer() +: TQextScintilla
  • setMagnification() +: TQextScintillaPrinter
  • setMarginLineNumbers() +: TQextScintilla
  • setMarginMarkerMask() +: TQextScintilla
  • setMarginsBackgroundColor() +: TQextScintilla
  • setMarginSensitivity() +: TQextScintilla
  • setMarginsFont() +: TQextScintilla
  • setMarginsForegroundColor() +: TQextScintilla
  • setMarginWidth() +: TQextScintilla
  • setMarkerBackgroundColor() +: TQextScintilla
  • setMarkerForegroundColor() +: TQextScintilla
  • setMatchedBraceBackgroundColor() +: TQextScintilla
  • setMatchedBraceForegroundColor() +: TQextScintilla
  • setModified() +: TQextScintilla
  • setPaper() +: TQextScintillaLexer, TQextScintilla
  • setReadOnly() +: TQextScintilla
  • setSelection() +: TQextScintilla
  • setSelectionBackgroundColor() +: TQextScintilla
  • setSelectionForegroundColor() +: TQextScintilla
  • setStylePreprocessor() +: TQextScintillaLexerCPP
  • setTabIndents() +: TQextScintilla
  • setTabWidth() +: TQextScintilla
  • setText() +: TQextScintilla
  • setUnmatchedBraceBackgroundColor() +: TQextScintilla
  • setUnmatchedBraceForegroundColor() +: TQextScintilla
  • setUtf8() +: TQextScintilla
  • setWhitespaceVisibility() +: TQextScintilla
  • setWrapMode() +: TQextScintillaPrinter, TQextScintilla
  • setWrapVisualFlags() +: TQextScintilla
  • SGMLBlockDefault +: TQextScintillaLexerHTML
  • SGMLCommand +: TQextScintillaLexerHTML
  • SGMLComment +: TQextScintillaLexerHTML
  • SGMLDefault +: TQextScintillaLexerHTML
  • SGMLDoubleQuotedString +: TQextScintillaLexerHTML
  • SGMLEntity +: TQextScintillaLexerHTML
  • SGMLError +: TQextScintillaLexerHTML
  • SGMLParameter +: TQextScintillaLexerHTML
  • SGMLParameterComment +: TQextScintillaLexerHTML
  • SGMLSingleQuotedString +: TQextScintillaLexerHTML
  • SGMLSpecial +: TQextScintillaLexerHTML
  • showUserList() +: TQextScintilla
  • SingleQuotedHereDocument +: TQextScintillaLexerPerl, TQextScintillaLexerBash
  • SingleQuotedString +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • sizeHint() +: TQextScintillaBase
  • SloppyBraceMatch +: TQextScintilla
  • SmallRectangle +: TQextScintilla
  • Spaces +: TQextScintillaLexerPython
  • Special +: TQextScintillaLexerTeX
  • standardCommands() +: TQextScintilla
  • startDrag() +: TQextScintillaBase
  • startRecording() +: TQextScintillaMacro
  • Stderr +: TQextScintillaLexerRuby
  • Stdin +: TQextScintillaLexerRuby
  • Stdout +: TQextScintillaLexerRuby
  • StrictBraceMatch +: TQextScintilla
  • String +: TQextScintillaLexerPOV, TQextScintillaLexerLua
  • StringTableMathsFunctions +: TQextScintillaLexerLua
  • stylePreprocessor() +: TQextScintillaLexerCPP
  • Substitution +: TQextScintillaLexerPerl
  • Symbol +: TQextScintillaLexerTeX, TQextScintillaLexerRuby
  • SymbolTable +: TQextScintillaLexerPerl
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x74.html b/doc/en/functions_0x74.html index 7602360..ca6d584 100644 --- a/doc/en/functions_0x74.html +++ b/doc/en/functions_0x74.html @@ -61,21 +61,21 @@ Here is a list of all documented class members with links to the class documenta

    - t -

    +: TQextScintilla
  • Tabs +: TQextScintillaLexerPython
  • TabsAfterSpaces +: TQextScintillaLexerPython
  • tabWidth() +: TQextScintilla
  • Tag +: TQextScintillaLexerHTML, TQextScintillaLexerCSS
  • Target +: TQextScintillaLexerMakefile
  • text() +: TQextScintilla
  • Text +: TQextScintillaLexerTeX
  • textChanged() +: TQextScintilla
  • textHeight() +: TQextScintilla
  • ThreeDots +: TQextScintilla
  • ThreeRightArrows +: TQextScintilla
  • TripleDoubleQuotedString +: TQextScintillaLexerPython
  • TripleSingleQuotedString +: TQextScintillaLexerPython
  • TypesModifiersItems +: TQextScintillaLexerPOV
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x75.html b/doc/en/functions_0x75.html index efb1864..3e72e1e 100644 --- a/doc/en/functions_0x75.html +++ b/doc/en/functions_0x75.html @@ -61,15 +61,15 @@ Here is a list of all documented class members with links to the class documenta

    - u -

    +: TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerLua, TQextScintillaLexerCPP
  • undo() +: TQextScintilla
  • unindent() +: TQextScintilla
  • UnknownAttribute +: TQextScintillaLexerHTML
  • UnknownProperty +: TQextScintillaLexerCSS
  • UnknownPseudoClass +: TQextScintillaLexerCSS
  • UnknownTag +: TQextScintillaLexerHTML
  • userListActivated() +: TQextScintilla
  • UUID +: TQextScintillaLexerCPP
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x76.html b/doc/en/functions_0x76.html index 8dd7317..46cbda8 100644 --- a/doc/en/functions_0x76.html +++ b/doc/en/functions_0x76.html @@ -61,20 +61,20 @@ Here is a list of all documented class members with links to the class documenta

    - v -

    +: TQextScintillaCommand
  • Value +: TQextScintillaLexerCSS
  • Variable +: TQextScintillaLexerMakefile, TQextScintillaLexerBatch
  • VBScriptComment +: TQextScintillaLexerHTML
  • VBScriptDefault +: TQextScintillaLexerHTML
  • VBScriptIdentifier +: TQextScintillaLexerHTML
  • VBScriptKeyword +: TQextScintillaLexerHTML
  • VBScriptNumber +: TQextScintillaLexerHTML
  • VBScriptStart +: TQextScintillaLexerHTML
  • VBScriptString +: TQextScintillaLexerHTML
  • VBScriptUnclosedString +: TQextScintillaLexerHTML
  • VerbatimString +: TQextScintillaLexerCPP
  • VerticalLine +: TQextScintilla
  • viewport() +: TQextScintillaBase
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x77.html b/doc/en/functions_0x77.html index 864fa31..2ce88d8 100644 --- a/doc/en/functions_0x77.html +++ b/doc/en/functions_0x77.html @@ -61,23 +61,23 @@ Here is a list of all documented class members with links to the class documenta

    - w -

    +: TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • WhitespaceVisibility +: TQextScintilla
  • whitespaceVisibility() +: TQextScintilla
  • WrapCharacter +: TQextScintilla
  • WrapFlagByBorder +: TQextScintilla
  • WrapFlagByText +: TQextScintilla
  • WrapFlagNone +: TQextScintilla
  • wrapMode() +: TQextScintillaPrinter, TQextScintilla
  • WrapMode +: TQextScintilla
  • WrapNone +: TQextScintilla
  • WrapVisualFlag +: TQextScintilla
  • WrapWord +: TQextScintilla
  • writeProperties() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • writeSettings() +: TQextScintillaLexer, TQextScintillaCommandSet
  • WsInvisible +: TQextScintilla
  • WsVisible +: TQextScintilla
  • WsVisibleAfterIndent +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x78.html b/doc/en/functions_0x78.html index fb1826b..d13ba02 100644 --- a/doc/en/functions_0x78.html +++ b/doc/en/functions_0x78.html @@ -61,9 +61,9 @@ Here is a list of all documented class members with links to the class documenta

    - x -

    +: TQextScintillaLexerHTML
  • XMLStart +: TQextScintillaLexerHTML
  • XMLTagEnd +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x7a.html b/doc/en/functions_0x7a.html index 166ca1e..33814b5 100644 --- a/doc/en/functions_0x7a.html +++ b/doc/en/functions_0x7a.html @@ -61,9 +61,9 @@ Here is a list of all documented class members with links to the class documenta

    - z -

    +: TQextScintilla
  • zoomOut() +: TQextScintilla
  • zoomTo() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_0x7e.html b/doc/en/functions_0x7e.html index 9da6174..1bb2500 100644 --- a/doc/en/functions_0x7e.html +++ b/doc/en/functions_0x7e.html @@ -60,32 +60,32 @@ Here is a list of all documented class members with links to the class documentation for each member:

    - ~ -

    +
  • ~TQextScintilla() +: TQextScintilla
  • ~TQextScintillaAPIs() +: TQextScintillaAPIs
  • ~TQextScintillaBase() +: TQextScintillaBase
  • ~TQextScintillaLexer() +: TQextScintillaLexer
  • ~TQextScintillaLexerBash() +: TQextScintillaLexerBash
  • ~TQextScintillaLexerBatch() +: TQextScintillaLexerBatch
  • ~TQextScintillaLexerCPP() +: TQextScintillaLexerCPP
  • ~TQextScintillaLexerCSharp() +: TQextScintillaLexerCSharp
  • ~TQextScintillaLexerCSS() +: TQextScintillaLexerCSS
  • ~TQextScintillaLexerDiff() +: TQextScintillaLexerDiff
  • ~TQextScintillaLexerHTML() +: TQextScintillaLexerHTML
  • ~TQextScintillaLexerIDL() +: TQextScintillaLexerIDL
  • ~TQextScintillaLexerJava() +: TQextScintillaLexerJava
  • ~TQextScintillaLexerJavaScript() +: TQextScintillaLexerJavaScript
  • ~TQextScintillaLexerLua() +: TQextScintillaLexerLua
  • ~TQextScintillaLexerMakefile() +: TQextScintillaLexerMakefile
  • ~TQextScintillaLexerPerl() +: TQextScintillaLexerPerl
  • ~TQextScintillaLexerPOV() +: TQextScintillaLexerPOV
  • ~TQextScintillaLexerProperties() +: TQextScintillaLexerProperties
  • ~TQextScintillaLexerPython() +: TQextScintillaLexerPython
  • ~TQextScintillaLexerRuby() +: TQextScintillaLexerRuby
  • ~TQextScintillaLexerSQL() +: TQextScintillaLexerSQL
  • ~TQextScintillaLexerTeX() +: TQextScintillaLexerTeX
  • ~TQextScintillaMacro() +: TQextScintillaMacro
  • ~TQextScintillaPrinter() +: TQextScintillaPrinter
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_enum.html b/doc/en/functions_enum.html index aec3578..6aa2d09 100644 --- a/doc/en/functions_enum.html +++ b/doc/en/functions_enum.html @@ -29,16 +29,16 @@

    +: TQextScintilla
  • BraceMatch +: TQextScintilla
  • EdgeMode +: TQextScintilla
  • EolMode +: TQextScintilla
  • FoldStyle +: TQextScintilla
  • IndentationWarning +: TQextScintillaLexerPython
  • MarkerSymbol +: TQextScintilla
  • WhitespaceVisibility +: TQextScintilla
  • WrapMode +: TQextScintilla
  • WrapVisualFlag +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval.html b/doc/en/functions_eval.html index ae9707b..c93a091 100644 --- a/doc/en/functions_eval.html +++ b/doc/en/functions_eval.html @@ -59,53 +59,53 @@

    - a -

    +: TQextScintilla
  • AcsAPIs +: TQextScintilla
  • AcsDocument +: TQextScintilla
  • AiClosing +: TQextScintilla
  • AiMaintain +: TQextScintilla
  • AiOpening +: TQextScintilla
  • Array +: TQextScintillaLexerPerl
  • ASPAtStart +: TQextScintillaLexerHTML
  • ASPJavaScriptComment +: TQextScintillaLexerHTML
  • ASPJavaScriptCommentDoc +: TQextScintillaLexerHTML
  • ASPJavaScriptCommentLine +: TQextScintillaLexerHTML
  • ASPJavaScriptDefault +: TQextScintillaLexerHTML
  • ASPJavaScriptDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPJavaScriptKeyword +: TQextScintillaLexerHTML
  • ASPJavaScriptNumber +: TQextScintillaLexerHTML
  • ASPJavaScriptRegex +: TQextScintillaLexerHTML
  • ASPJavaScriptSingleQuotedString +: TQextScintillaLexerHTML
  • ASPJavaScriptStart +: TQextScintillaLexerHTML
  • ASPJavaScriptSymbol +: TQextScintillaLexerHTML
  • ASPJavaScriptUnclosedString +: TQextScintillaLexerHTML
  • ASPJavaScriptWord +: TQextScintillaLexerHTML
  • ASPPythonClassName +: TQextScintillaLexerHTML
  • ASPPythonComment +: TQextScintillaLexerHTML
  • ASPPythonDefault +: TQextScintillaLexerHTML
  • ASPPythonDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonFunctionMethodName +: TQextScintillaLexerHTML
  • ASPPythonIdentifier +: TQextScintillaLexerHTML
  • ASPPythonKeyword +: TQextScintillaLexerHTML
  • ASPPythonNumber +: TQextScintillaLexerHTML
  • ASPPythonOperator +: TQextScintillaLexerHTML
  • ASPPythonSingleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonStart +: TQextScintillaLexerHTML
  • ASPPythonTripleDoubleQuotedString +: TQextScintillaLexerHTML
  • ASPPythonTripleSingleQuotedString +: TQextScintillaLexerHTML
  • ASPStart +: TQextScintillaLexerHTML
  • ASPVBScriptComment +: TQextScintillaLexerHTML
  • ASPVBScriptDefault +: TQextScintillaLexerHTML
  • ASPVBScriptIdentifier +: TQextScintillaLexerHTML
  • ASPVBScriptKeyword +: TQextScintillaLexerHTML
  • ASPVBScriptNumber +: TQextScintillaLexerHTML
  • ASPVBScriptStart +: TQextScintillaLexerHTML
  • ASPVBScriptString +: TQextScintillaLexerHTML
  • ASPVBScriptUnclosedString +: TQextScintillaLexerHTML
  • ASPXCComment +: TQextScintillaLexerHTML
  • Assignment +: TQextScintillaLexerProperties
  • AtRule +: TQextScintillaLexerCSS
  • Attribute +: TQextScintillaLexerHTML, TQextScintillaLexerCSS
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x62.html b/doc/en/functions_eval_0x62.html index d0ca99e..fd61403 100644 --- a/doc/en/functions_eval_0x62.html +++ b/doc/en/functions_eval_0x62.html @@ -59,18 +59,18 @@

    - b -

    +: TQextScintilla
  • BacktickHereDocument +: TQextScintillaLexerPerl
  • Backticks +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerBash
  • BadDirective +: TQextScintillaLexerPOV
  • BasicFunctions +: TQextScintillaLexerLua
  • BottomLeftCorner +: TQextScintilla
  • BoxedFoldStyle +: TQextScintilla
  • BoxedMinus +: TQextScintilla
  • BoxedMinusConnected +: TQextScintilla
  • BoxedPlus +: TQextScintilla
  • BoxedPlusConnected +: TQextScintilla
  • BoxedTreeFoldStyle +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x63.html b/doc/en/functions_eval_0x63.html index bcb0127..8f23918 100644 --- a/doc/en/functions_eval_0x63.html +++ b/doc/en/functions_eval_0x63.html @@ -59,30 +59,30 @@

    - c -

    +: TQextScintillaLexerHTML
  • Character +: TQextScintillaLexerLua
  • Circle +: TQextScintilla
  • CircledFoldStyle +: TQextScintilla
  • CircledMinus +: TQextScintilla
  • CircledMinusConnected +: TQextScintilla
  • CircledPlus +: TQextScintilla
  • CircledPlusConnected +: TQextScintilla
  • CircledTreeFoldStyle +: TQextScintilla
  • ClassName +: TQextScintillaLexerRuby, TQextScintillaLexerPython
  • ClassSelector +: TQextScintillaLexerCSS
  • ClassVariable +: TQextScintillaLexerRuby
  • Command +: TQextScintillaLexerTeX, TQextScintillaLexerDiff
  • Comment +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • CommentBlock +: TQextScintillaLexerPython
  • CommentDoc +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentDocKeyword +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentDocKeywordError +: TQextScintillaLexerSQL, TQextScintillaLexerCPP
  • CommentLine +: TQextScintillaLexerSQL, TQextScintillaLexerPOV, TQextScintillaLexerCPP
  • CommentLineDoc +: TQextScintillaLexerCPP
  • CommentLineHash +: TQextScintillaLexerSQL
  • CoroutinesIOSystemFacilities +: TQextScintillaLexerLua
  • CSS1Property +: TQextScintillaLexerCSS
  • CSS2Property +: TQextScintillaLexerCSS
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x64.html b/doc/en/functions_eval_0x64.html index 4f38c3c..9ee6583 100644 --- a/doc/en/functions_eval_0x64.html +++ b/doc/en/functions_eval_0x64.html @@ -59,15 +59,15 @@

    - d -

    +: TQextScintillaLexerRuby, TQextScintillaLexerPerl
  • Decorator +: TQextScintillaLexerPython
  • Default +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • DefaultValue +: TQextScintillaLexerProperties
  • DemotedKeyword +: TQextScintillaLexerRuby
  • Directive +: TQextScintillaLexerPOV
  • DoubleQuotedHereDocument +: TQextScintillaLexerPerl
  • DoubleQuotedString +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • DownTriangle +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x65.html b/doc/en/functions_eval_0x65.html index 02f754d..7e69589 100644 --- a/doc/en/functions_eval_0x65.html +++ b/doc/en/functions_eval_0x65.html @@ -59,15 +59,15 @@

    - e -

    +: TQextScintilla
  • EdgeLine +: TQextScintilla
  • EdgeNone +: TQextScintilla
  • Entity +: TQextScintillaLexerHTML
  • EolMac +: TQextScintilla
  • EolUnix +: TQextScintilla
  • EolWindows +: TQextScintilla
  • Error +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerBash
  • ExternalCommand +: TQextScintillaLexerBatch
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x66.html b/doc/en/functions_eval_0x66.html index c8dafd8..9c248a0 100644 --- a/doc/en/functions_eval_0x66.html +++ b/doc/en/functions_eval_0x66.html @@ -59,7 +59,7 @@

    - f -

    +: TQextScintillaLexerRuby, TQextScintillaLexerPython
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x67.html b/doc/en/functions_eval_0x67.html index 9835aa3..cf50e98 100644 --- a/doc/en/functions_eval_0x67.html +++ b/doc/en/functions_eval_0x67.html @@ -59,9 +59,9 @@

    - g -

    +: TQextScintillaLexerRuby
  • GlobalClass +: TQextScintillaLexerCPP
  • Group +: TQextScintillaLexerTeX
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x68.html b/doc/en/functions_eval_0x68.html index b252d7f..741c2ba 100644 --- a/doc/en/functions_eval_0x68.html +++ b/doc/en/functions_eval_0x68.html @@ -59,17 +59,17 @@

    - h -

    +: TQextScintillaLexerPerl
  • Header +: TQextScintillaLexerDiff
  • HereDocument +: TQextScintillaLexerRuby
  • HereDocumentDelimiter +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerBash
  • HideCommandChar +: TQextScintillaLexerBatch
  • HighlightedIdentifier +: TQextScintillaLexerPython
  • HTMLComment +: TQextScintillaLexerHTML
  • HTMLDoubleQuotedString +: TQextScintillaLexerHTML
  • HTMLNumber +: TQextScintillaLexerHTML
  • HTMLSingleQuotedString +: TQextScintillaLexerHTML
  • HTMLValue +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x69.html b/doc/en/functions_eval_0x69.html index 728d8e8..b2b3e8b 100644 --- a/doc/en/functions_eval_0x69.html +++ b/doc/en/functions_eval_0x69.html @@ -59,12 +59,12 @@

    - i -

    +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • IDSelector +: TQextScintillaLexerCSS
  • Important +: TQextScintillaLexerCSS
  • Inconsistent +: TQextScintillaLexerPython
  • InstanceVariable +: TQextScintillaLexerRuby
  • Invisible +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6a.html b/doc/en/functions_eval_0x6a.html index f851681..448b2f0 100644 --- a/doc/en/functions_eval_0x6a.html +++ b/doc/en/functions_eval_0x6a.html @@ -59,19 +59,19 @@

    - j -

    +: TQextScintillaLexerHTML
  • JavaScriptCommentDoc +: TQextScintillaLexerHTML
  • JavaScriptCommentLine +: TQextScintillaLexerHTML
  • JavaScriptDefault +: TQextScintillaLexerHTML
  • JavaScriptDoubleQuotedString +: TQextScintillaLexerHTML
  • JavaScriptKeyword +: TQextScintillaLexerHTML
  • JavaScriptNumber +: TQextScintillaLexerHTML
  • JavaScriptRegex +: TQextScintillaLexerHTML
  • JavaScriptSingleQuotedString +: TQextScintillaLexerHTML
  • JavaScriptStart +: TQextScintillaLexerHTML
  • JavaScriptSymbol +: TQextScintillaLexerHTML
  • JavaScriptUnclosedString +: TQextScintillaLexerHTML
  • JavaScriptWord +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6b.html b/doc/en/functions_eval_0x6b.html index 46f592a..59536fc 100644 --- a/doc/en/functions_eval_0x6b.html +++ b/doc/en/functions_eval_0x6b.html @@ -59,12 +59,12 @@

    - k -

    +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • KeywordSet2 +: TQextScintillaLexerCPP
  • KeywordSet5 +: TQextScintillaLexerSQL
  • KeywordSet6 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
  • KeywordSet7 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
  • KeywordSet8 +: TQextScintillaLexerSQL, TQextScintillaLexerPOV
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6c.html b/doc/en/functions_eval_0x6c.html index 3a7432c..3165e15 100644 --- a/doc/en/functions_eval_0x6c.html +++ b/doc/en/functions_eval_0x6c.html @@ -59,13 +59,13 @@

    - l -

    +: TQextScintillaLexerBatch
  • LeftSideRoundedSplitter +: TQextScintilla
  • LeftSideSplitter +: TQextScintilla
  • LineAdded +: TQextScintillaLexerDiff
  • LineComment +: TQextScintillaLexerSQL, TQextScintillaLexerLua
  • LineRemoved +: TQextScintillaLexerDiff
  • LiteralString +: TQextScintillaLexerLua
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6d.html b/doc/en/functions_eval_0x6d.html index f943a5f..98fba42 100644 --- a/doc/en/functions_eval_0x6d.html +++ b/doc/en/functions_eval_0x6d.html @@ -59,8 +59,8 @@

    - m -

    +: TQextScintilla
  • ModuleName +: TQextScintillaLexerRuby
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6e.html b/doc/en/functions_eval_0x6e.html index abe512f..4158f1f 100644 --- a/doc/en/functions_eval_0x6e.html +++ b/doc/en/functions_eval_0x6e.html @@ -59,10 +59,10 @@

    - n -

    +: TQextScintilla
  • NoFoldStyle +: TQextScintilla
  • NoWarning +: TQextScintillaLexerPython
  • Number +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerCPP, TQextScintillaLexerBash
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x6f.html b/doc/en/functions_eval_0x6f.html index b1d9efe..fbbbce6 100644 --- a/doc/en/functions_eval_0x6f.html +++ b/doc/en/functions_eval_0x6f.html @@ -59,9 +59,9 @@

    - o -

    +: TQextScintillaLexerPOV
  • Operator +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash
  • OtherInTag +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x70.html b/doc/en/functions_eval_0x70.html index 1366305..2bbc663 100644 --- a/doc/en/functions_eval_0x70.html +++ b/doc/en/functions_eval_0x70.html @@ -59,49 +59,49 @@

    - p -

    +: TQextScintillaLexerBash
  • PercentStringq +: TQextScintillaLexerRuby
  • PercentStringQ +: TQextScintillaLexerRuby
  • PercentStringr +: TQextScintillaLexerRuby
  • PercentStringw +: TQextScintillaLexerRuby
  • PercentStringx +: TQextScintillaLexerRuby
  • PHPComment +: TQextScintillaLexerHTML
  • PHPCommentLine +: TQextScintillaLexerHTML
  • PHPDefault +: TQextScintillaLexerHTML
  • PHPDoubleQuotedString +: TQextScintillaLexerHTML
  • PHPDoubleQuotedVariable +: TQextScintillaLexerHTML
  • PHPKeyword +: TQextScintillaLexerHTML
  • PHPNumber +: TQextScintillaLexerHTML
  • PHPOperator +: TQextScintillaLexerHTML
  • PHPSingleQuotedString +: TQextScintillaLexerHTML
  • PHPStart +: TQextScintillaLexerHTML
  • PHPVariable +: TQextScintillaLexerHTML
  • PlainFoldStyle +: TQextScintilla
  • Plus +: TQextScintilla
  • PlusComment +: TQextScintillaLexerSQL
  • PlusKeyword +: TQextScintillaLexerSQL
  • PlusPrompt +: TQextScintillaLexerSQL
  • POD +: TQextScintillaLexerRuby, TQextScintillaLexerPerl
  • PODVerbatim +: TQextScintillaLexerPerl
  • Position +: TQextScintillaLexerDiff
  • PredefinedFunctions +: TQextScintillaLexerPOV
  • PredefinedIdentifiers +: TQextScintillaLexerPOV
  • PreProcessor +: TQextScintillaLexerCPP
  • Preprocessor +: TQextScintillaLexerMakefile, TQextScintillaLexerLua
  • PseudoClass +: TQextScintillaLexerCSS
  • PythonClassName +: TQextScintillaLexerHTML
  • PythonComment +: TQextScintillaLexerHTML
  • PythonDefault +: TQextScintillaLexerHTML
  • PythonDoubleQuotedString +: TQextScintillaLexerHTML
  • PythonFunctionMethodName +: TQextScintillaLexerHTML
  • PythonIdentifier +: TQextScintillaLexerHTML
  • PythonKeyword +: TQextScintillaLexerHTML
  • PythonNumber +: TQextScintillaLexerHTML
  • PythonOperator +: TQextScintillaLexerHTML
  • PythonSingleQuotedString +: TQextScintillaLexerHTML
  • PythonStart +: TQextScintillaLexerHTML
  • PythonTripleDoubleQuotedString +: TQextScintillaLexerHTML
  • PythonTripleSingleQuotedString +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x71.html b/doc/en/functions_eval_0x71.html index 9598783..06c583c 100644 --- a/doc/en/functions_eval_0x71.html +++ b/doc/en/functions_eval_0x71.html @@ -59,11 +59,11 @@

    - q -

    +: TQextScintillaLexerPerl
  • QuotedStringQQ +: TQextScintillaLexerPerl
  • QuotedStringQR +: TQextScintillaLexerPerl
  • QuotedStringQW +: TQextScintillaLexerPerl
  • QuotedStringQX +: TQextScintillaLexerPerl
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x72.html b/doc/en/functions_eval_0x72.html index 9fb8d3f..9a1eb99 100644 --- a/doc/en/functions_eval_0x72.html +++ b/doc/en/functions_eval_0x72.html @@ -59,11 +59,11 @@

    - r -

    +: TQextScintilla
  • Regex +: TQextScintillaLexerRuby, TQextScintillaLexerPerl, TQextScintillaLexerCPP
  • RightArrow +: TQextScintilla
  • RightTriangle +: TQextScintilla
  • RoundedBottomLeftCorner +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x73.html b/doc/en/functions_eval_0x73.html index bfa797d..25476f9 100644 --- a/doc/en/functions_eval_0x73.html +++ b/doc/en/functions_eval_0x73.html @@ -59,190 +59,190 @@

    - s -

    +: TQextScintillaBase
  • SC_MARGIN_FORE +: TQextScintillaBase
  • SC_MARGIN_NUMBER +: TQextScintillaBase
  • SC_MARGIN_SYMBOL +: TQextScintillaBase
  • SC_MARK_ARROW +: TQextScintillaBase
  • SC_MARK_ARROWDOWN +: TQextScintillaBase
  • SC_MARK_ARROWS +: TQextScintillaBase
  • SC_MARK_BACKGROUND +: TQextScintillaBase
  • SC_MARK_BOXMINUS +: TQextScintillaBase
  • SC_MARK_BOXMINUSCONNECTED +: TQextScintillaBase
  • SC_MARK_BOXPLUS +: TQextScintillaBase
  • SC_MARK_BOXPLUSCONNECTED +: TQextScintillaBase
  • SC_MARK_CHARACTER +: TQextScintillaBase
  • SC_MARK_CIRCLE +: TQextScintillaBase
  • SC_MARK_CIRCLEMINUS +: TQextScintillaBase
  • SC_MARK_CIRCLEMINUSCONNECTED +: TQextScintillaBase
  • SC_MARK_CIRCLEPLUS +: TQextScintillaBase
  • SC_MARK_CIRCLEPLUSCONNECTED +: TQextScintillaBase
  • SC_MARK_DOTDOTDOT +: TQextScintillaBase
  • SC_MARK_EMPTY +: TQextScintillaBase
  • SC_MARK_FULLRECT +: TQextScintillaBase
  • SC_MARK_LCORNER +: TQextScintillaBase
  • SC_MARK_LCORNERCURVE +: TQextScintillaBase
  • SC_MARK_MINUS +: TQextScintillaBase
  • SC_MARK_PIXMAP +: TQextScintillaBase
  • SC_MARK_PLUS +: TQextScintillaBase
  • SC_MARK_ROUNDRECT +: TQextScintillaBase
  • SC_MARK_SHORTARROW +: TQextScintillaBase
  • SC_MARK_SMALLRECT +: TQextScintillaBase
  • SC_MARK_TCORNER +: TQextScintillaBase
  • SC_MARK_TCORNERCURVE +: TQextScintillaBase
  • SC_MARK_VLINE +: TQextScintillaBase
  • Scalar +: TQextScintillaLexerPerl, TQextScintillaLexerBash
  • SCI_ADDTEXT +: TQextScintillaBase
  • SCI_CLEARREGISTEREDIMAGES +: TQextScintillaBase
  • SCI_EMPTYUNDOBUFFER +: TQextScintillaBase
  • SCI_GETANCHOR +: TQextScintillaBase
  • SCI_GETCURRENTPOS +: TQextScintillaBase
  • SCI_GETENDSTYLED +: TQextScintillaBase
  • SCI_GETLEXER +: TQextScintillaBase
  • SCI_GETMARGINMASKN +: TQextScintillaBase
  • SCI_GETMARGINSENSITIVEN +: TQextScintillaBase
  • SCI_GETMARGINTYPEN +: TQextScintillaBase
  • SCI_GETMARGINWIDTHN +: TQextScintillaBase
  • SCI_GETMODIFY +: TQextScintillaBase
  • SCI_GETREADONLY +: TQextScintillaBase
  • SCI_GETTEXT +: TQextScintillaBase
  • SCI_GETTEXTLENGTH +: TQextScintillaBase
  • SCI_GOTOPOS +: TQextScintillaBase
  • SCI_MARKERADD +: TQextScintillaBase
  • SCI_MARKERDEFINE +: TQextScintillaBase
  • SCI_MARKERDEFINEPIXMAP +: TQextScintillaBase
  • SCI_MARKERDELETE +: TQextScintillaBase
  • SCI_MARKERDELETEALL +: TQextScintillaBase
  • SCI_MARKERDELETEHANDLE +: TQextScintillaBase
  • SCI_MARKERGET +: TQextScintillaBase
  • SCI_MARKERLINEFROMHANDLE +: TQextScintillaBase
  • SCI_MARKERNEXT +: TQextScintillaBase
  • SCI_MARKERPREVIOUS +: TQextScintillaBase
  • SCI_MARKERSETBACK +: TQextScintillaBase
  • SCI_MARKERSETFORE +: TQextScintillaBase
  • SCI_REGISTERIMAGE +: TQextScintillaBase
  • SCI_SETANCHOR +: TQextScintillaBase
  • SCI_SETCURRENTPOS +: TQextScintillaBase
  • SCI_SETLEXER +: TQextScintillaBase
  • SCI_SETLEXERLANGUAGE +: TQextScintillaBase
  • SCI_SETMARGINMASKN +: TQextScintillaBase
  • SCI_SETMARGINSENSITIVEN +: TQextScintillaBase
  • SCI_SETMARGINTYPEN +: TQextScintillaBase
  • SCI_SETMARGINWIDTHN +: TQextScintillaBase
  • SCI_SETREADONLY +: TQextScintillaBase
  • SCI_SETSAVEPOINT +: TQextScintillaBase
  • SCI_SETTEXT +: TQextScintillaBase
  • SCI_TEXTWIDTH +: TQextScintillaBase
  • SCLEX_ADA +: TQextScintillaBase
  • SCLEX_APDL +: TQextScintillaBase
  • SCLEX_ASM +: TQextScintillaBase
  • SCLEX_ASN1 +: TQextScintillaBase
  • SCLEX_ASP +: TQextScintillaBase
  • SCLEX_AU3 +: TQextScintillaBase
  • SCLEX_AVE +: TQextScintillaBase
  • SCLEX_BAAN +: TQextScintillaBase
  • SCLEX_BASH +: TQextScintillaBase
  • SCLEX_BATCH +: TQextScintillaBase
  • SCLEX_BLITZBASIC +: TQextScintillaBase
  • SCLEX_BULLANT +: TQextScintillaBase
  • SCLEX_CAML +: TQextScintillaBase
  • SCLEX_CLW +: TQextScintillaBase
  • SCLEX_CLWNOCASE +: TQextScintillaBase
  • SCLEX_CONF +: TQextScintillaBase
  • SCLEX_CONTAINER +: TQextScintillaBase
  • SCLEX_CPP +: TQextScintillaBase
  • SCLEX_CPPNOCASE +: TQextScintillaBase
  • SCLEX_CSOUND +: TQextScintillaBase
  • SCLEX_CSS +: TQextScintillaBase
  • SCLEX_DIFF +: TQextScintillaBase
  • SCLEX_EIFFEL +: TQextScintillaBase
  • SCLEX_EIFFELKW +: TQextScintillaBase
  • SCLEX_ERLANG +: TQextScintillaBase
  • SCLEX_ERRORLIST +: TQextScintillaBase
  • SCLEX_ESCRIPT +: TQextScintillaBase
  • SCLEX_F77 +: TQextScintillaBase
  • SCLEX_FLAGSHIP +: TQextScintillaBase
  • SCLEX_FORTH +: TQextScintillaBase
  • SCLEX_FORTRAN +: TQextScintillaBase
  • SCLEX_FREEBASIC +: TQextScintillaBase
  • SCLEX_GUI4CLI +: TQextScintillaBase
  • SCLEX_HASKELL +: TQextScintillaBase
  • SCLEX_HTML +: TQextScintillaBase
  • SCLEX_INNOSETUP +: TQextScintillaBase
  • SCLEX_KIX +: TQextScintillaBase
  • SCLEX_LATEX +: TQextScintillaBase
  • SCLEX_LISP +: TQextScintillaBase
  • SCLEX_LOT +: TQextScintillaBase
  • SCLEX_LOUT +: TQextScintillaBase
  • SCLEX_LUA +: TQextScintillaBase
  • SCLEX_MAKEFILE +: TQextScintillaBase
  • SCLEX_MATLAB +: TQextScintillaBase
  • SCLEX_METAPOST +: TQextScintillaBase
  • SCLEX_MMIXAL +: TQextScintillaBase
  • SCLEX_MSSQL +: TQextScintillaBase
  • SCLEX_NNCRONTAB +: TQextScintillaBase
  • SCLEX_NSIS +: TQextScintillaBase
  • SCLEX_NULL +: TQextScintillaBase
  • SCLEX_OCTAVE +: TQextScintillaBase
  • SCLEX_OPAL +: TQextScintillaBase
  • SCLEX_PASCAL +: TQextScintillaBase
  • SCLEX_PERL +: TQextScintillaBase
  • SCLEX_PHP +: TQextScintillaBase
  • SCLEX_PHPSCRIPT +: TQextScintillaBase
  • SCLEX_POV +: TQextScintillaBase
  • SCLEX_POWERBASIC +: TQextScintillaBase
  • SCLEX_PROPERTIES +: TQextScintillaBase
  • SCLEX_PS +: TQextScintillaBase
  • SCLEX_PUREBASIC +: TQextScintillaBase
  • SCLEX_PYTHON +: TQextScintillaBase
  • SCLEX_REBOL +: TQextScintillaBase
  • SCLEX_RUBY +: TQextScintillaBase
  • SCLEX_SCRIPTOL +: TQextScintillaBase
  • SCLEX_SMALLTALK +: TQextScintillaBase
  • SCLEX_SPECMAN +: TQextScintillaBase
  • SCLEX_SPICE +: TQextScintillaBase
  • SCLEX_SQL +: TQextScintillaBase
  • SCLEX_TADS3 +: TQextScintillaBase
  • SCLEX_TCL +: TQextScintillaBase
  • SCLEX_TEX +: TQextScintillaBase
  • SCLEX_VB +: TQextScintillaBase
  • SCLEX_VBSCRIPT +: TQextScintillaBase
  • SCLEX_VERILOG +: TQextScintillaBase
  • SCLEX_VHDL +: TQextScintillaBase
  • SCLEX_XML +: TQextScintillaBase
  • SCLEX_YAML +: TQextScintillaBase
  • SCMOD_ALT +: TQextScintillaBase
  • SCMOD_CTRL +: TQextScintillaBase
  • SCMOD_NORM +: TQextScintillaBase
  • SCMOD_SHIFT +: TQextScintillaBase
  • Script +: TQextScintillaLexerHTML
  • Section +: TQextScintillaLexerProperties
  • SGMLBlockDefault +: TQextScintillaLexerHTML
  • SGMLCommand +: TQextScintillaLexerHTML
  • SGMLComment +: TQextScintillaLexerHTML
  • SGMLDefault +: TQextScintillaLexerHTML
  • SGMLDoubleQuotedString +: TQextScintillaLexerHTML
  • SGMLEntity +: TQextScintillaLexerHTML
  • SGMLError +: TQextScintillaLexerHTML
  • SGMLParameter +: TQextScintillaLexerHTML
  • SGMLParameterComment +: TQextScintillaLexerHTML
  • SGMLSingleQuotedString +: TQextScintillaLexerHTML
  • SGMLSpecial +: TQextScintillaLexerHTML
  • SingleQuotedHereDocument +: TQextScintillaLexerPerl, TQextScintillaLexerBash
  • SingleQuotedString +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • SloppyBraceMatch +: TQextScintilla
  • SmallRectangle +: TQextScintilla
  • Spaces +: TQextScintillaLexerPython
  • Special +: TQextScintillaLexerTeX
  • Stderr +: TQextScintillaLexerRuby
  • Stdin +: TQextScintillaLexerRuby
  • Stdout +: TQextScintillaLexerRuby
  • StrictBraceMatch +: TQextScintilla
  • String +: TQextScintillaLexerPOV, TQextScintillaLexerLua
  • StringTableMathsFunctions +: TQextScintillaLexerLua
  • Substitution +: TQextScintillaLexerPerl
  • Symbol +: TQextScintillaLexerTeX, TQextScintillaLexerRuby
  • SymbolTable +: TQextScintillaLexerPerl
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x74.html b/doc/en/functions_eval_0x74.html index 986a21d..f09c9d2 100644 --- a/doc/en/functions_eval_0x74.html +++ b/doc/en/functions_eval_0x74.html @@ -59,16 +59,16 @@

    - t -

    +: TQextScintillaLexerPython
  • TabsAfterSpaces +: TQextScintillaLexerPython
  • Tag +: TQextScintillaLexerHTML, TQextScintillaLexerCSS
  • Target +: TQextScintillaLexerMakefile
  • Text +: TQextScintillaLexerTeX
  • ThreeDots +: TQextScintilla
  • ThreeRightArrows +: TQextScintilla
  • TripleDoubleQuotedString +: TQextScintillaLexerPython
  • TripleSingleQuotedString +: TQextScintillaLexerPython
  • TypesModifiersItems +: TQextScintillaLexerPOV
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x75.html b/doc/en/functions_eval_0x75.html index 190ccc5..ec972f9 100644 --- a/doc/en/functions_eval_0x75.html +++ b/doc/en/functions_eval_0x75.html @@ -59,12 +59,12 @@

    - u -

    +: TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerLua, TQextScintillaLexerCPP
  • UnknownAttribute +: TQextScintillaLexerHTML
  • UnknownProperty +: TQextScintillaLexerCSS
  • UnknownPseudoClass +: TQextScintillaLexerCSS
  • UnknownTag +: TQextScintillaLexerHTML
  • UUID +: TQextScintillaLexerCPP
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x76.html b/doc/en/functions_eval_0x76.html index 6514096..c70a3b0 100644 --- a/doc/en/functions_eval_0x76.html +++ b/doc/en/functions_eval_0x76.html @@ -59,18 +59,18 @@

    - v -

    +: TQextScintillaLexerCSS
  • Variable +: TQextScintillaLexerMakefile, TQextScintillaLexerBatch
  • VBScriptComment +: TQextScintillaLexerHTML
  • VBScriptDefault +: TQextScintillaLexerHTML
  • VBScriptIdentifier +: TQextScintillaLexerHTML
  • VBScriptKeyword +: TQextScintillaLexerHTML
  • VBScriptNumber +: TQextScintillaLexerHTML
  • VBScriptStart +: TQextScintillaLexerHTML
  • VBScriptString +: TQextScintillaLexerHTML
  • VBScriptUnclosedString +: TQextScintillaLexerHTML
  • VerbatimString +: TQextScintillaLexerCPP
  • VerticalLine +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x77.html b/doc/en/functions_eval_0x77.html index e811900..01b2560 100644 --- a/doc/en/functions_eval_0x77.html +++ b/doc/en/functions_eval_0x77.html @@ -59,16 +59,16 @@

    - w -

    +: TQextScintillaLexerPython, TQextScintillaLexerPerl, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • WrapCharacter +: TQextScintilla
  • WrapFlagByBorder +: TQextScintilla
  • WrapFlagByText +: TQextScintilla
  • WrapFlagNone +: TQextScintilla
  • WrapNone +: TQextScintilla
  • WrapWord +: TQextScintilla
  • WsInvisible +: TQextScintilla
  • WsVisible +: TQextScintilla
  • WsVisibleAfterIndent +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_eval_0x78.html b/doc/en/functions_eval_0x78.html index 83891a8..5cd62d9 100644 --- a/doc/en/functions_eval_0x78.html +++ b/doc/en/functions_eval_0x78.html @@ -59,9 +59,9 @@

    - x -

    +: TQextScintillaLexerHTML
  • XMLStart +: TQextScintillaLexerHTML
  • XMLTagEnd +: TQextScintillaLexerHTML
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func.html b/doc/en/functions_func.html index 2c07bec..dc27a3e 100644 --- a/doc/en/functions_func.html +++ b/doc/en/functions_func.html @@ -57,20 +57,20 @@

    - a -

    +: TQextScintillaAPIs
  • alternateKey() +: TQextScintillaCommand
  • append() +: TQextScintilla
  • autoCompleteFromAll() +: TQextScintilla
  • autoCompleteFromAPIs() +: TQextScintilla
  • autoCompleteFromDocument() +: TQextScintilla
  • autoCompletionCaseSensitivity() +: TQextScintilla
  • autoCompletionFillupsEnabled() +: TQextScintilla
  • autoCompletionReplaceWord() +: TQextScintilla
  • autoCompletionShowSingle() +: TQextScintilla
  • autoCompletionSource() +: TQextScintilla
  • autoCompletionThreshold() +: TQextScintilla
  • autoIndent() +: TQextScintilla
  • autoIndentStyle() +: TQextScintillaLexer
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x62.html b/doc/en/functions_func_0x62.html index ee0781f..dd34d19 100644 --- a/doc/en/functions_func_0x62.html +++ b/doc/en/functions_func_0x62.html @@ -57,10 +57,10 @@

    - b -

    +: TQextScintillaLexerSQL
  • backspaceUnindents() +: TQextScintilla
  • beginUndoAction() +: TQextScintilla
  • braceMatching() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x63.html b/doc/en/functions_func_0x63.html index 3bb480d..0f34376 100644 --- a/doc/en/functions_func_0x63.html +++ b/doc/en/functions_func_0x63.html @@ -57,22 +57,22 @@

    - c -

    +: TQextScintilla
  • callTipsVisible() +: TQextScintilla
  • cancelList() +: TQextScintilla
  • caseSensitiveTags() +: TQextScintillaLexerHTML
  • clear() +: TQextScintillaMacro, TQextScintillaAPIs, TQextScintilla
  • clearAlternateKeys() +: TQextScintillaCommandSet
  • clearKeys() +: TQextScintillaCommandSet
  • clearRegisteredImages() +: TQextScintilla
  • color() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • colorChanged() +: TQextScintillaLexer
  • commands() +: TQextScintillaCommandSet
  • convertEols() +: TQextScintilla
  • copy() +: TQextScintilla
  • copyAvailable() +: TQextScintilla
  • cursorPositionChanged() +: TQextScintilla
  • cut() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x64.html b/doc/en/functions_func_0x64.html index 5b8481c..c5f533b 100644 --- a/doc/en/functions_func_0x64.html +++ b/doc/en/functions_func_0x64.html @@ -57,11 +57,11 @@

    - d -

    +: TQextScintillaLexer
  • defaultFont() +: TQextScintillaLexer
  • defaultPaper() +: TQextScintillaLexer
  • description() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintillaCommand
  • document() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x65.html b/doc/en/functions_func_0x65.html index 0eae97d..05cb06e 100644 --- a/doc/en/functions_func_0x65.html +++ b/doc/en/functions_func_0x65.html @@ -57,18 +57,18 @@

    - e -

    +: TQextScintilla
  • edgeColumn() +: TQextScintilla
  • edgeMode() +: TQextScintilla
  • endRecording() +: TQextScintillaMacro
  • endUndoAction() +: TQextScintilla
  • ensureCursorVisible() +: TQextScintilla
  • ensureLineVisible() +: TQextScintilla
  • eolFill() +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • eolFillChanged() +: TQextScintillaLexer
  • eolMode() +: TQextScintilla
  • eolVisibility() +: TQextScintilla
  • eventFilter() +: TQextScintillaBase
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x66.html b/doc/en/functions_func_0x66.html index c9a21c4..bf4b297 100644 --- a/doc/en/functions_func_0x66.html +++ b/doc/en/functions_func_0x66.html @@ -57,24 +57,24 @@

    - f -

    +: TQextScintilla
  • findNext() +: TQextScintilla
  • firstVisibleLine() +: TQextScintilla
  • focusInEvent() +: TQextScintillaBase
  • focusNextPrevChild() +: TQextScintillaBase
  • focusOutEvent() +: TQextScintillaBase
  • foldAll() +: TQextScintilla
  • foldAtElse() +: TQextScintillaLexerCPP
  • foldComments() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • foldCompact() +: TQextScintillaLexerSQL, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • foldDirectives() +: TQextScintillaLexerPOV
  • folding() +: TQextScintilla
  • foldLine() +: TQextScintilla
  • foldPreprocessor() +: TQextScintillaLexerHTML, TQextScintillaLexerCPP
  • foldQuotes() +: TQextScintillaLexerPython
  • font() +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • fontChanged() +: TQextScintillaLexer
  • formatPage() +: TQextScintillaPrinter
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x67.html b/doc/en/functions_func_0x67.html index 5008dad..0ffb45f 100644 --- a/doc/en/functions_func_0x67.html +++ b/doc/en/functions_func_0x67.html @@ -57,8 +57,8 @@

    - g -

    +: TQextScintilla
  • getSelection() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x68.html b/doc/en/functions_func_0x68.html index 9442ec5..bb21a30 100644 --- a/doc/en/functions_func_0x68.html +++ b/doc/en/functions_func_0x68.html @@ -57,7 +57,7 @@

    - h -

    +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x69.html b/doc/en/functions_func_0x69.html index c4de87e..354e1ec 100644 --- a/doc/en/functions_func_0x69.html +++ b/doc/en/functions_func_0x69.html @@ -57,21 +57,21 @@

    - i -

    +: TQextScintilla
  • indentation() +: TQextScintilla
  • indentationGuides() +: TQextScintilla
  • indentationsUseTabs() +: TQextScintilla
  • indentationWarning() +: TQextScintillaLexerPython
  • indentationWidth() +: TQextScintilla
  • insert() +: TQextScintilla
  • insertAt() +: TQextScintilla
  • isCallTipActive() +: TQextScintilla
  • isListActive() +: TQextScintilla
  • isModified() +: TQextScintilla
  • isReadOnly() +: TQextScintilla
  • isRedoAvailable() +: TQextScintilla
  • isUndoAvailable() +: TQextScintilla
  • isUtf8() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x6b.html b/doc/en/functions_func_0x6b.html index da7bc95..3767854 100644 --- a/doc/en/functions_func_0x6b.html +++ b/doc/en/functions_func_0x6b.html @@ -57,9 +57,9 @@

    - k -

    +: TQextScintillaCommand
  • keyPressEvent() +: TQextScintillaBase
  • keywords() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerJava, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x6c.html b/doc/en/functions_func_0x6c.html index 17e026c..505b042 100644 --- a/doc/en/functions_func_0x6c.html +++ b/doc/en/functions_func_0x6c.html @@ -57,13 +57,13 @@

    - l -

    +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerJava, TQextScintillaLexerIDL, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer
  • length() +: TQextScintilla
  • lexer() +: TQextScintillaLexerTeX, TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerDiff, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • lineAt() +: TQextScintilla
  • lineLength() +: TQextScintilla
  • lines() +: TQextScintilla
  • load() +: TQextScintillaMacro, TQextScintillaAPIs
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x6d.html b/doc/en/functions_func_0x6d.html index 580defc..e7ff4a6 100644 --- a/doc/en/functions_func_0x6d.html +++ b/doc/en/functions_func_0x6d.html @@ -57,24 +57,24 @@

    - m -

    +: TQextScintillaPrinter
  • marginClicked() +: TQextScintilla
  • marginLineNumbers() +: TQextScintilla
  • marginMarkerMask() +: TQextScintilla
  • marginSensitivity() +: TQextScintilla
  • marginWidth() +: TQextScintilla
  • markerAdd() +: TQextScintilla
  • markerDefine() +: TQextScintilla
  • markerDelete() +: TQextScintilla
  • markerDeleteAll() +: TQextScintilla
  • markerDeleteHandle() +: TQextScintilla
  • markerFindNext() +: TQextScintilla
  • markerFindPrevious() +: TQextScintilla
  • markerLine() +: TQextScintilla
  • markersAtLine() +: TQextScintilla
  • modificationAttempted() +: TQextScintilla
  • modificationChanged() +: TQextScintilla
  • moveToMatchingBrace() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x70.html b/doc/en/functions_func_0x70.html index 5ed6c72..224c517 100644 --- a/doc/en/functions_func_0x70.html +++ b/doc/en/functions_func_0x70.html @@ -57,13 +57,13 @@

    - p -

    +: TQextScintillaLexerSQL, TQextScintillaLexerRuby, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerMakefile, TQextScintillaLexerLua, TQextScintillaLexerJavaScript, TQextScintillaLexerHTML, TQextScintillaLexerCSharp, TQextScintillaLexerCPP, TQextScintillaLexerBatch, TQextScintillaLexerBash, TQextScintillaLexer, TQextScintilla
  • paperChanged() +: TQextScintillaLexer
  • paste() +: TQextScintilla
  • play() +: TQextScintillaMacro
  • pool() +: TQextScintillaBase
  • printRange() +: TQextScintillaPrinter
  • propertyChanged() +: TQextScintillaLexer
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x71.html b/doc/en/functions_func_0x71.html index 22872dc..4652871 100644 --- a/doc/en/functions_func_0x71.html +++ b/doc/en/functions_func_0x71.html @@ -56,34 +56,34 @@  

    - q -

    +
  • TQextScintilla() +: TQextScintilla
  • TQextScintillaAPIs() +: TQextScintillaAPIs
  • TQextScintillaBase() +: TQextScintillaBase
  • TQextScintillaDocument() +: TQextScintillaDocument
  • TQextScintillaLexer() +: TQextScintillaLexer
  • TQextScintillaLexerBash() +: TQextScintillaLexerBash
  • TQextScintillaLexerBatch() +: TQextScintillaLexerBatch
  • TQextScintillaLexerCPP() +: TQextScintillaLexerCPP
  • TQextScintillaLexerCSharp() +: TQextScintillaLexerCSharp
  • TQextScintillaLexerCSS() +: TQextScintillaLexerCSS
  • TQextScintillaLexerDiff() +: TQextScintillaLexerDiff
  • TQextScintillaLexerHTML() +: TQextScintillaLexerHTML
  • TQextScintillaLexerIDL() +: TQextScintillaLexerIDL
  • TQextScintillaLexerJava() +: TQextScintillaLexerJava
  • TQextScintillaLexerJavaScript() +: TQextScintillaLexerJavaScript
  • TQextScintillaLexerLua() +: TQextScintillaLexerLua
  • TQextScintillaLexerMakefile() +: TQextScintillaLexerMakefile
  • TQextScintillaLexerPerl() +: TQextScintillaLexerPerl
  • TQextScintillaLexerPOV() +: TQextScintillaLexerPOV
  • TQextScintillaLexerProperties() +: TQextScintillaLexerProperties
  • TQextScintillaLexerPython() +: TQextScintillaLexerPython
  • TQextScintillaLexerRuby() +: TQextScintillaLexerRuby
  • TQextScintillaLexerSQL() +: TQextScintillaLexerSQL
  • TQextScintillaLexerTeX() +: TQextScintillaLexerTeX
  • TQextScintillaMacro() +: TQextScintillaMacro
  • TQextScintillaPrinter() +: TQextScintillaPrinter
  • TQSCN_SELCHANGED() +: TQextScintillaBase
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x72.html b/doc/en/functions_func_0x72.html index 8993fcd..c2997db 100644 --- a/doc/en/functions_func_0x72.html +++ b/doc/en/functions_func_0x72.html @@ -57,17 +57,17 @@

    - r -

    +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • readSettings() +: TQextScintillaLexer, TQextScintillaCommandSet
  • recolor() +: TQextScintilla
  • redo() +: TQextScintilla
  • refreshProperties() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • registerImage() +: TQextScintilla
  • removeSelectedText() +: TQextScintilla
  • replace() +: TQextScintilla
  • resetFoldMarginColors() +: TQextScintilla
  • resetSelectionBackgroundColor() +: TQextScintilla
  • resetSelectionForegroundColor() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x73.html b/doc/en/functions_func_0x73.html index 1190596..558a1db 100644 --- a/doc/en/functions_func_0x73.html +++ b/doc/en/functions_func_0x73.html @@ -57,114 +57,114 @@

    - s -

    +: TQextScintillaMacro
  • SCEN_CHANGE() +: TQextScintillaBase
  • SCN_AUTOCSELECTION() +: TQextScintillaBase
  • SCN_CALLTIPCLICK() +: TQextScintillaBase
  • SCN_CHARADDED() +: TQextScintillaBase
  • SCN_HOTSPOTCLICK() +: TQextScintillaBase
  • SCN_HOTSPOTDOUBLECLICK() +: TQextScintillaBase
  • SCN_MACRORECORD() +: TQextScintillaBase
  • SCN_MARGINCLICK() +: TQextScintillaBase
  • SCN_MODIFYATTEMPTRO() +: TQextScintillaBase
  • SCN_PAINTED() +: TQextScintillaBase
  • SCN_SAVEPOINTLEFT() +: TQextScintillaBase
  • SCN_SAVEPOINTREACHED() +: TQextScintillaBase
  • SCN_STYLENEEDED() +: TQextScintillaBase
  • selectAll() +: TQextScintilla
  • selectedText() +: TQextScintilla
  • selectionChanged() +: TQextScintilla
  • selectToMatchingBrace() +: TQextScintilla
  • SendScintilla() +: TQextScintillaBase
  • setAlternateKey() +: TQextScintillaCommand
  • setAutoCompletionAPIs() +: TQextScintilla
  • setAutoCompletionCaseSensitivity() +: TQextScintilla
  • setAutoCompletionFillups() +: TQextScintilla
  • setAutoCompletionFillupsEnabled() +: TQextScintilla
  • setAutoCompletionReplaceWord() +: TQextScintilla
  • setAutoCompletionShowSingle() +: TQextScintilla
  • setAutoCompletionSource() +: TQextScintilla
  • setAutoCompletionStartCharacters() +: TQextScintilla
  • setAutoCompletionThreshold() +: TQextScintilla
  • setAutoIndent() +: TQextScintilla
  • setAutoIndentStyle() +: TQextScintillaLexer
  • setBackslashEscapes() +: TQextScintillaLexerSQL
  • setBackspaceUnindents() +: TQextScintilla
  • setBraceMatching() +: TQextScintilla
  • setCallTipsAPIs() +: TQextScintilla
  • setCallTipsBackgroundColor() +: TQextScintilla
  • setCallTipsForegroundColor() +: TQextScintilla
  • setCallTipsHighlightColor() +: TQextScintilla
  • setCallTipsVisible() +: TQextScintilla
  • setCaretForegroundColor() +: TQextScintilla
  • setCaretLineBackgroundColor() +: TQextScintilla
  • setCaretLineVisible() +: TQextScintilla
  • setCaretWidth() +: TQextScintilla
  • setCaseSensitiveTags() +: TQextScintillaLexerHTML
  • setColor() +: TQextScintillaLexer, TQextScintilla
  • setCursorPosition() +: TQextScintilla
  • setDefaultColor() +: TQextScintillaLexer
  • setDefaultFont() +: TQextScintillaLexer
  • setDefaultPaper() +: TQextScintillaLexer
  • setDocument() +: TQextScintilla
  • setEdgeColor() +: TQextScintilla
  • setEdgeColumn() +: TQextScintilla
  • setEdgeMode() +: TQextScintilla
  • setEolFill() +: TQextScintillaLexer
  • setEolMode() +: TQextScintilla
  • setEolVisibility() +: TQextScintilla
  • setFoldAtElse() +: TQextScintillaLexerCPP
  • setFoldComments() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • setFoldCompact() +: TQextScintillaLexerSQL, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash
  • setFoldDirectives() +: TQextScintillaLexerPOV
  • setFolding() +: TQextScintilla
  • setFoldMarginColors() +: TQextScintilla
  • setFoldPreprocessor() +: TQextScintillaLexerHTML, TQextScintillaLexerCPP
  • setFoldQuotes() +: TQextScintillaLexerPython
  • setFont() +: TQextScintillaLexer, TQextScintilla
  • setIndentation() +: TQextScintilla
  • setIndentationGuides() +: TQextScintilla
  • setIndentationGuidesBackgroundColor() +: TQextScintilla
  • setIndentationGuidesForegroundColor() +: TQextScintilla
  • setIndentationsUseTabs() +: TQextScintilla
  • setIndentationWarning() +: TQextScintillaLexerPython
  • setIndentationWidth() +: TQextScintilla
  • setKey() +: TQextScintillaCommand
  • setLexer() +: TQextScintilla
  • setMagnification() +: TQextScintillaPrinter
  • setMarginLineNumbers() +: TQextScintilla
  • setMarginMarkerMask() +: TQextScintilla
  • setMarginsBackgroundColor() +: TQextScintilla
  • setMarginSensitivity() +: TQextScintilla
  • setMarginsFont() +: TQextScintilla
  • setMarginsForegroundColor() +: TQextScintilla
  • setMarginWidth() +: TQextScintilla
  • setMarkerBackgroundColor() +: TQextScintilla
  • setMarkerForegroundColor() +: TQextScintilla
  • setMatchedBraceBackgroundColor() +: TQextScintilla
  • setMatchedBraceForegroundColor() +: TQextScintilla
  • setModified() +: TQextScintilla
  • setPaper() +: TQextScintillaLexer, TQextScintilla
  • setReadOnly() +: TQextScintilla
  • setSelection() +: TQextScintilla
  • setSelectionBackgroundColor() +: TQextScintilla
  • setSelectionForegroundColor() +: TQextScintilla
  • setStylePreprocessor() +: TQextScintillaLexerCPP
  • setTabIndents() +: TQextScintilla
  • setTabWidth() +: TQextScintilla
  • setText() +: TQextScintilla
  • setUnmatchedBraceBackgroundColor() +: TQextScintilla
  • setUnmatchedBraceForegroundColor() +: TQextScintilla
  • setUtf8() +: TQextScintilla
  • setWhitespaceVisibility() +: TQextScintilla
  • setWrapMode() +: TQextScintillaPrinter, TQextScintilla
  • setWrapVisualFlags() +: TQextScintilla
  • showUserList() +: TQextScintilla
  • sizeHint() +: TQextScintillaBase
  • standardCommands() +: TQextScintilla
  • startDrag() +: TQextScintillaBase
  • startRecording() +: TQextScintillaMacro
  • stylePreprocessor() +: TQextScintillaLexerCPP
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x74.html b/doc/en/functions_func_0x74.html index b4b8024..455090e 100644 --- a/doc/en/functions_func_0x74.html +++ b/doc/en/functions_func_0x74.html @@ -57,11 +57,11 @@

    - t -

    +: TQextScintilla
  • tabWidth() +: TQextScintilla
  • text() +: TQextScintilla
  • textChanged() +: TQextScintilla
  • textHeight() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x75.html b/doc/en/functions_func_0x75.html index aac41d8..354d5b9 100644 --- a/doc/en/functions_func_0x75.html +++ b/doc/en/functions_func_0x75.html @@ -57,9 +57,9 @@

    - u -

    +: TQextScintilla
  • unindent() +: TQextScintilla
  • userListActivated() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x76.html b/doc/en/functions_func_0x76.html index 3e21357..9cc49d0 100644 --- a/doc/en/functions_func_0x76.html +++ b/doc/en/functions_func_0x76.html @@ -57,8 +57,8 @@

    - v -

    +: TQextScintillaCommand
  • viewport() +: TQextScintillaBase
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x77.html b/doc/en/functions_func_0x77.html index e6702e6..9f53490 100644 --- a/doc/en/functions_func_0x77.html +++ b/doc/en/functions_func_0x77.html @@ -57,10 +57,10 @@

    - w -

    +: TQextScintilla
  • wrapMode() +: TQextScintillaPrinter, TQextScintilla
  • writeProperties() +: TQextScintillaLexerSQL, TQextScintillaLexerPython, TQextScintillaLexerProperties, TQextScintillaLexerPOV, TQextScintillaLexerPerl, TQextScintillaLexerLua, TQextScintillaLexerHTML, TQextScintillaLexerCSS, TQextScintillaLexerCPP, TQextScintillaLexerBash, TQextScintillaLexer
  • writeSettings() +: TQextScintillaLexer, TQextScintillaCommandSet
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x7a.html b/doc/en/functions_func_0x7a.html index 30f9080..e584d60 100644 --- a/doc/en/functions_func_0x7a.html +++ b/doc/en/functions_func_0x7a.html @@ -57,9 +57,9 @@

    - z -

    +: TQextScintilla
  • zoomOut() +: TQextScintilla
  • zoomTo() +: TQextScintilla
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/functions_func_0x7e.html b/doc/en/functions_func_0x7e.html index 085ebe9..664ea23 100644 --- a/doc/en/functions_func_0x7e.html +++ b/doc/en/functions_func_0x7e.html @@ -56,32 +56,32 @@  

    - ~ -

    +
  • ~TQextScintilla() +: TQextScintilla
  • ~TQextScintillaAPIs() +: TQextScintillaAPIs
  • ~TQextScintillaBase() +: TQextScintillaBase
  • ~TQextScintillaLexer() +: TQextScintillaLexer
  • ~TQextScintillaLexerBash() +: TQextScintillaLexerBash
  • ~TQextScintillaLexerBatch() +: TQextScintillaLexerBatch
  • ~TQextScintillaLexerCPP() +: TQextScintillaLexerCPP
  • ~TQextScintillaLexerCSharp() +: TQextScintillaLexerCSharp
  • ~TQextScintillaLexerCSS() +: TQextScintillaLexerCSS
  • ~TQextScintillaLexerDiff() +: TQextScintillaLexerDiff
  • ~TQextScintillaLexerHTML() +: TQextScintillaLexerHTML
  • ~TQextScintillaLexerIDL() +: TQextScintillaLexerIDL
  • ~TQextScintillaLexerJava() +: TQextScintillaLexerJava
  • ~TQextScintillaLexerJavaScript() +: TQextScintillaLexerJavaScript
  • ~TQextScintillaLexerLua() +: TQextScintillaLexerLua
  • ~TQextScintillaLexerMakefile() +: TQextScintillaLexerMakefile
  • ~TQextScintillaLexerPerl() +: TQextScintillaLexerPerl
  • ~TQextScintillaLexerPOV() +: TQextScintillaLexerPOV
  • ~TQextScintillaLexerProperties() +: TQextScintillaLexerProperties
  • ~TQextScintillaLexerPython() +: TQextScintillaLexerPython
  • ~TQextScintillaLexerRuby() +: TQextScintillaLexerRuby
  • ~TQextScintillaLexerSQL() +: TQextScintillaLexerSQL
  • ~TQextScintillaLexerTeX() +: TQextScintillaLexerTeX
  • ~TQextScintillaMacro() +: TQextScintillaMacro
  • ~TQextScintillaPrinter() +: TQextScintillaPrinter
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  doxygen 1.4.7
    diff --git a/doc/en/hierarchy.html b/doc/en/hierarchy.html index 976e539..cbc728f 100644 --- a/doc/en/hierarchy.html +++ b/doc/en/hierarchy.html @@ -18,40 +18,40 @@
  • Class Members
  • TQScintilla Class Hierarchy

    This inheritance list is sorted roughly, but not completely, alphabetically:
    Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by  diff --git a/doc/qscintilla.dxy b/doc/qscintilla.dxy deleted file mode 100644 index 0ae31b3..0000000 --- a/doc/qscintilla.dxy +++ /dev/null @@ -1,1098 +0,0 @@ -# Doxyfile 1.3.5 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project -# -# All text after a hash (#) is considered a comment and will be ignored -# The format is: -# TAG = value [value, ...] -# For lists items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (" ") - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded -# by quotes) that should identify the project. - -PROJECT_NAME = QScintilla - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or -# if some version control system is used. - -PROJECT_NUMBER = "1.7.1 (based on Scintilla 1.71)" - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location -# where doxygen was started. If left blank the current directory will be used. - -OUTPUT_DIRECTORY = - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, -# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en -# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese, -# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. - -OUTPUT_LANGUAGE = English - -# This tag can be used to specify the encoding used in the generated output. -# The encoding is not always determined by the language that is chosen, -# but also whether or not the output is meant for Windows or non-Windows users. -# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES -# forces the Windows encoding (this is the default for the Windows binary), -# whereas setting the tag to NO uses a Unix-style encoding (the default for -# all platforms other than Windows). - -USE_WINDOWS_ENCODING = NO - -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). -# Set to NO to disable this. - -BRIEF_MEMBER_DESC = NO - -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is used -# as the annotated text. Otherwise, the brief description is used as-is. If left -# blank, the following values are used ("$name" is automatically replaced with the -# name of the entity): "The $name class" "The $name widget" "The $name file" -# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief -# description. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited -# members of a class in the documentation of that class as if those members were -# ordinary class members. Constructors, destructors and assignment operators of -# the base classes will not be shown. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set -# to NO the shortest path that makes the file name unique will be used. - -FULL_PATH_NAMES = NO - -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. It is allowed to use relative paths in the argument list. - -STRIP_FROM_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems -# doesn't support long names like on DOS, Mac, or CD-ROM. - -SHORT_NAMES = NO - -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like the Qt-style comments (thus requiring an -# explicit @brief command for a brief description. - -JAVADOC_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed -# description. Set this tag to YES if you prefer the old behaviour instead. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the DETAILS_AT_TOP tag is set to YES then Doxygen -# will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member -# documentation. - -DETAILS_AT_TOP = NO - -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it -# re-implements. - -INHERIT_DOCS = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. - -DISTRIBUTE_GROUP_DOC = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. -# Doxygen uses this value to replace tabs by spaces in code fragments. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". -# You can put \n's in the value part of an alias to insert newlines. - -ALIASES = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list -# of all members will be omitted, etc. - -OPTIMIZE_OUTPUT_FOR_C = NO - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources -# only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes -# will look different, etc. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using -# the \nosubgrouping command. - -SUBGROUPING = YES - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless -# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES - -EXTRACT_ALL = NO - -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class -# will be included in the documentation. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_STATIC tag is set to YES all static members of a file -# will be included in the documentation. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. -# If set to NO only classes defined in header files are included. - -EXTRACT_LOCAL_CLASSES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. -# This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various -# overviews. This option has no effect if EXTRACT_ALL is enabled. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the -# documentation. - -HIDE_FRIEND_COMPOUNDS = YES - -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the -# function's detailed documentation block. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. -# Set it to YES to include the internal documentation. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# users are advised to set this option to NO. - -CASE_SENSE_NAMES = YES - -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the -# documentation. If set to YES the scope will be hidden. - -HIDE_SCOPE_NAMES = NO - -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation -# of that file. - -SHOW_INCLUDE_FILES = YES - -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] -# is inserted in the documentation for inline members. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in -# declaration order. - -SORT_MEMBER_DOCS = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo -# commands in the documentation. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test -# commands in the documentation. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug -# commands in the documentation. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting -# \deprecated commands in the documentation. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional -# documentation sections, marked by \if sectionname ... \endif. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer -# command in the documentation regardless of this setting. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the -# list will mention the files that were used to generate the documentation. - -SHOW_USED_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated -# by doxygen. Possible values are YES and NO. If left blank NO is used. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank -# NO is used. - -WARNINGS = YES - -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will -# automatically be disabled. - -WARN_IF_UNDOCUMENTED = YES - -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that -# don't exist or using markup commands wrongly. - -WARN_IF_DOC_ERROR = YES - -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written -# to stderr. - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories -# with spaces. - -INPUT = ../qt - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp -# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc - -FILE_PATTERNS = qext*.h - -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. -# If left blank NO is used. - -RECURSIVE = NO - -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. - -EXCLUDE = - -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories -# that are symbolic links (a Unix filesystem feature) are excluded from the input. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. - -EXCLUDE_PATTERNS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see -# the \include command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank all files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. -# Possible values are YES and NO. If left blank NO is used. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see -# the \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. - -INPUT_FILTER = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source -# files to browse (i.e. when SOURCE_BROWSER is set to YES). - -FILTER_SOURCE_FILES = NO - -#--------------------------------------------------------------------------- -# configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. - -SOURCE_BROWSER = NO - -# Setting the INLINE_SOURCES tag to YES will include the body -# of functions and classes directly in the documentation. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code -# fragments. Normal C and C++ comments will always remain visible. - -STRIP_CODE_COMMENTS = YES - -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented -# functions referencing it will be listed. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities -# called/used by that function will be listed. - -REFERENCES_RELATION = YES - -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for -# which an include is specified. Set to NO to disable this. - -VERBATIM_HEADERS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project -# contains a lot of classes, structs, unions or interfaces. - -ALPHABETICAL_INDEX = NO - -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns -# in which this list will be split (can be a number in the range [1..20]) - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that -# should be ignored while generating the index headers. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will -# generate HTML output. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `html' will be used as the default path. - -HTML_OUTPUT = html - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank -# doxygen will generate files with .html extension. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a -# standard header. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a -# standard footer. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own -# stylesheet in the HTML output directory as well, or it will be erased! - -HTML_STYLESHEET = - -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to -# NO a bullet list will be used. - -HTML_ALIGN_MEMBERS = NO - -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) -# of the generated HTML documentation. - -GENERATE_HTMLHELP = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be -# written to the html output directory. - -CHM_FILE = - -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run -# the HTML help compiler on the generated index.hhp. - -HHC_LOCATION = - -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that -# it should be included in the master .chm file (NO). - -GENERATE_CHI = NO - -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a -# normal table of contents (NO) in the .chm file. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members -# to the contents of the HTML help documentation and to the tree view. - -TOC_EXPAND = NO - -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and -# the value YES disables it. - -DISABLE_INDEX = NO - -# This tag can be used to set the number of enum values (range [1..20]) -# that doxygen will group on one line in the generated HTML documentation. - -ENUM_VALUES_PER_LINE = 3 - -# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are -# probably better off using the HTML help feature. - -GENERATE_TREEVIEW = NO - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree -# is shown. - -TREEVIEW_WIDTH = 250 - -#--------------------------------------------------------------------------- -# configuration options related to the LaTeX output -#--------------------------------------------------------------------------- - -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will -# generate Latex output. - -GENERATE_LATEX = NO - -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `latex' will be used as the default path. - -LATEX_OUTPUT = latex - -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be -# invoked. If left blank `latex' will be used as the default command name. - -LATEX_CMD_NAME = latex - -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the -# default command name. - -MAKEINDEX_CMD_NAME = makeindex - -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_LATEX = NO - -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and -# executive. If left blank a4wide will be used. - -PAPER_TYPE = a4wide - -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX -# packages that should be included in the LaTeX output. - -EXTRA_PACKAGES = - -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a -# standard header. Notice: only use this tag if you know what you are doing! - -LATEX_HEADER = - -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references -# This makes the output suitable for online browsing using a pdf viewer. - -PDF_HYPERLINKS = NO - -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a -# higher quality PDF documentation. - -USE_PDFLATEX = NO - -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. -# This option is also used when generating formulas in HTML. - -LATEX_BATCHMODE = NO - -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) -# in the output. - -LATEX_HIDE_INDICES = NO - -#--------------------------------------------------------------------------- -# configuration options related to the RTF output -#--------------------------------------------------------------------------- - -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with -# other RTF readers or editors. - -GENERATE_RTF = NO - -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `rtf' will be used as the default path. - -RTF_OUTPUT = rtf - -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to -# save some trees in general. - -COMPACT_RTF = NO - -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. -# Note: wordpad (write) and others do not support links. - -RTF_HYPERLINKS = NO - -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide -# replacements, missing definitions are set to their default value. - -RTF_STYLESHEET_FILE = - -# Set optional variables used in the generation of an rtf document. -# Syntax is similar to doxygen's config file. - -RTF_EXTENSIONS_FILE = - -#--------------------------------------------------------------------------- -# configuration options related to the man page output -#--------------------------------------------------------------------------- - -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will -# generate man pages - -GENERATE_MAN = NO - -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `man' will be used as the default path. - -MAN_OUTPUT = man - -# The MAN_EXTENSION tag determines the extension that is added to -# the generated man pages (default is the subroutine's section .3) - -MAN_EXTENSION = .3 - -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command -# would be unable to find the correct page. The default is NO. - -MAN_LINKS = NO - -#--------------------------------------------------------------------------- -# configuration options related to the XML output -#--------------------------------------------------------------------------- - -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of -# the code including all documentation. - -GENERATE_XML = NO - -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be -# put in front of it. If left blank `xml' will be used as the default path. - -XML_OUTPUT = xml - -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_SCHEMA = - -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the -# syntax of the XML files. - -XML_DTD = - -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that -# enabling this will significantly increase the size of the XML output. - -XML_PROGRAMLISTING = YES - -#--------------------------------------------------------------------------- -# configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- - -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental -# and incomplete at the moment. - -GENERATE_AUTOGEN_DEF = NO - -#--------------------------------------------------------------------------- -# configuration options related to the Perl module output -#--------------------------------------------------------------------------- - -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the -# moment. - -GENERATE_PERLMOD = NO - -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able -# to generate PDF and DVI output from the Perl module output. - -PERLMOD_LATEX = NO - -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller -# and Perl will parse it just the same. - -PERLMOD_PRETTY = YES - -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same -# Makefile don't overwrite each other's variables. - -PERLMOD_MAKEVAR_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- - -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include -# files. - -ENABLE_PREPROCESSING = YES - -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled -# way by setting EXPAND_ONLY_PREDEF to YES. - -MACRO_EXPANSION = NO - -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the -# PREDEFINED and EXPAND_AS_PREDEFINED tags. - -EXPAND_ONLY_PREDEF = NO - -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files -# in the INCLUDE_PATH (see below) will be search if a #include is found. - -SEARCH_INCLUDES = YES - -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by -# the preprocessor. - -INCLUDE_PATH = - -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will -# be used. - -INCLUDE_FILE_PATTERNS = - -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. - -PREDEFINED = - -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. -# Use the PREDEFINED tag if you want to use a different macro definition. - -EXPAND_AS_DEFINED = - -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse the -# parser if not removed. - -SKIP_FUNCTION_MACROS = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to external references -#--------------------------------------------------------------------------- - -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool -# does not have to be run to correct the links. -# Note that each tag file must have a unique name -# (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen -# is run, you must also specify the path to the tagfile here. - -TAGFILES = - -# When a file name is specified after GENERATE_TAGFILE, doxygen will create -# a tag file that is based on the input files it reads. - -GENERATE_TAGFILE = - -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes -# will be listed. - -ALLEXTERNALS = NO - -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will -# be listed. - -EXTERNAL_GROUPS = YES - -# The PERL_PATH should be the absolute path and name of the perl script -# interpreter (i.e. the result of `which perl'). - -PERL_PATH = /usr/bin/perl - -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- - -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or -# super classes. Setting the tag to NO turns the diagrams off. Note that this -# option is superseded by the HAVE_DOT option below. This is only a fallback. It is -# recommended to install and use dot, since it yields more powerful graphs. - -CLASS_DIAGRAMS = NO - -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented -# or is not a class. - -HIDE_UNDOC_RELATIONS = YES - -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section -# have no effect if this option is set to NO (the default) - -HAVE_DOT = NO - -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the -# the CLASS_DIAGRAMS tag to NO. - -CLASS_GRAPH = YES - -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and -# class references variables) of the class with other documented classes. - -COLLABORATION_GRAPH = YES - -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling -# Language. - -UML_LOOK = NO - -# If set to YES, the inheritance and collaboration graphs will show the -# relations between templates and their instances. - -TEMPLATE_RELATIONS = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with -# other documented files. - -INCLUDE_GRAPH = YES - -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or -# indirectly include this file. - -INCLUDED_BY_GRAPH = YES - -# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected -# functions only using the \callgraph command. - -CALL_GRAPH = NO - -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen -# will graphical hierarchy of all classes instead of a textual one. - -GRAPHICAL_HIERARCHY = YES - -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images -# generated by dot. Possible values are png, jpg, or gif -# If left blank png will be used. - -DOT_IMAGE_FORMAT = png - -# The tag DOT_PATH can be used to specify the path where the dot tool can be -# found. If left blank, it is assumed the dot tool can be found on the path. - -DOT_PATH = - -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the -# \dotfile command). - -DOTFILE_DIRS = - -# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_WIDTH = 1024 - -# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height -# (in pixels) of the graphs generated by dot. If a graph becomes larger than -# this value, doxygen will try to truncate the graph, so that it fits within -# the specified constraint. Beware that most browsers cannot cope with very -# large images. - -MAX_DOT_GRAPH_HEIGHT = 1024 - -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes that -# lay further from the root node will be omitted. Note that setting this option to -# 1 or 2 may greatly reduce the computation time needed for large code bases. Also -# note that a graph may be further truncated if the graph's image dimensions are -# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). -# If 0 is used for the depth value (the default), the graph is not depth-constrained. - -MAX_DOT_GRAPH_DEPTH = 0 - -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and -# arrows in the dot generated graphs. - -GENERATE_LEGEND = YES - -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate -# the various graphs. - -DOT_CLEANUP = YES - -#--------------------------------------------------------------------------- -# Configuration::addtions related to the search engine -#--------------------------------------------------------------------------- - -# The SEARCHENGINE tag specifies whether or not a search engine should be -# used. If set to NO the values of all tags below this one will be ignored. - -SEARCHENGINE = NO diff --git a/doc/tqscintilla.dxy b/doc/tqscintilla.dxy new file mode 100644 index 0000000..8bfffe5 --- /dev/null +++ b/doc/tqscintilla.dxy @@ -0,0 +1,1098 @@ +# Doxyfile 1.3.5 + +# This file describes the settings to be used by the documentation system +# doxygen (www.doxygen.org) for a project +# +# All text after a hash (#) is considered a comment and will be ignored +# The format is: +# TAG = value [value, ...] +# For lists items can also be appended using: +# TAG += value [value, ...] +# Values that contain spaces should be placed between quotes (" ") + +#--------------------------------------------------------------------------- +# Project related configuration options +#--------------------------------------------------------------------------- + +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# by quotes) that should identify the project. + +PROJECT_NAME = TQScintilla + +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or +# if some version control system is used. + +PROJECT_NUMBER = "1.7.1 (based on Scintilla 1.71)" + +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location +# where doxygen was started. If left blank the current directory will be used. + +OUTPUT_DIRECTORY = + +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish, Dutch, +# Finnish, French, German, Greek, Hungarian, Italian, Japanese, Japanese-en +# (Japanese with English messages), Korean, Norwegian, Polish, Portuguese, +# Romanian, Russian, Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. + +OUTPUT_LANGUAGE = English + +# This tag can be used to specify the encoding used in the generated output. +# The encoding is not always determined by the language that is chosen, +# but also whether or not the output is meant for Windows or non-Windows users. +# In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES +# forces the Windows encoding (this is the default for the Windows binary), +# whereas setting the tag to NO uses a Unix-style encoding (the default for +# all platforms other than Windows). + +USE_WINDOWS_ENCODING = NO + +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). +# Set to NO to disable this. + +BRIEF_MEMBER_DESC = NO + +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# brief descriptions will be completely suppressed. + +REPEAT_BRIEF = YES + +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is used +# as the annotated text. Otherwise, the brief description is used as-is. If left +# blank, the following values are used ("$name" is automatically replaced with the +# name of the entity): "The $name class" "The $name widget" "The $name file" +# "is" "provides" "specifies" "contains" "represents" "a" "an" "the" + +ABBREVIATE_BRIEF = + +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief +# description. + +ALWAYS_DETAILED_SEC = NO + +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited +# members of a class in the documentation of that class as if those members were +# ordinary class members. Constructors, destructors and assignment operators of +# the base classes will not be shown. + +INLINE_INHERITED_MEMB = NO + +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set +# to NO the shortest path that makes the file name unique will be used. + +FULL_PATH_NAMES = NO + +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. It is allowed to use relative paths in the argument list. + +STRIP_FROM_PATH = + +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems +# doesn't support long names like on DOS, Mac, or CD-ROM. + +SHORT_NAMES = NO + +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like the Qt-style comments (thus requiring an +# explicit @brief command for a brief description. + +JAVADOC_AUTOBRIEF = NO + +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed +# description. Set this tag to YES if you prefer the old behaviour instead. + +MULTILINE_CPP_IS_BRIEF = NO + +# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# will output the detailed description near the top, like JavaDoc. +# If set to NO, the detailed description appears after the member +# documentation. + +DETAILS_AT_TOP = NO + +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it +# re-implements. + +INHERIT_DOCS = YES + +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default +# all members of a group must be documented explicitly. + +DISTRIBUTE_GROUP_DOC = NO + +# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# Doxygen uses this value to replace tabs by spaces in code fragments. + +TAB_SIZE = 8 + +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". +# You can put \n's in the value part of an alias to insert newlines. + +ALIASES = + +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources +# only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list +# of all members will be omitted, etc. + +OPTIMIZE_OUTPUT_FOR_C = NO + +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources +# only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes +# will look different, etc. + +OPTIMIZE_OUTPUT_JAVA = NO + +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using +# the \nosubgrouping command. + +SUBGROUPING = YES + +#--------------------------------------------------------------------------- +# Build related configuration options +#--------------------------------------------------------------------------- + +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless +# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES + +EXTRACT_ALL = NO + +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# will be included in the documentation. + +EXTRACT_PRIVATE = NO + +# If the EXTRACT_STATIC tag is set to YES all static members of a file +# will be included in the documentation. + +EXTRACT_STATIC = NO + +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. +# If set to NO only classes defined in header files are included. + +EXTRACT_LOCAL_CLASSES = NO + +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. +# This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_MEMBERS = NO + +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various +# overviews. This option has no effect if EXTRACT_ALL is enabled. + +HIDE_UNDOC_CLASSES = NO + +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the +# documentation. + +HIDE_FRIEND_COMPOUNDS = YES + +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the +# function's detailed documentation block. + +HIDE_IN_BODY_DOCS = NO + +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. +# Set it to YES to include the internal documentation. + +INTERNAL_DOCS = NO + +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows +# users are advised to set this option to NO. + +CASE_SENSE_NAMES = YES + +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the +# documentation. If set to YES the scope will be hidden. + +HIDE_SCOPE_NAMES = NO + +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation +# of that file. + +SHOW_INCLUDE_FILES = YES + +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# is inserted in the documentation for inline members. + +INLINE_INFO = YES + +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in +# declaration order. + +SORT_MEMBER_DOCS = NO + +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo +# commands in the documentation. + +GENERATE_TODOLIST = YES + +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test +# commands in the documentation. + +GENERATE_TESTLIST = YES + +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug +# commands in the documentation. + +GENERATE_BUGLIST = YES + +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting +# \deprecated commands in the documentation. + +GENERATE_DEPRECATEDLIST= YES + +# The ENABLED_SECTIONS tag can be used to enable conditional +# documentation sections, marked by \if sectionname ... \endif. + +ENABLED_SECTIONS = + +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer +# command in the documentation regardless of this setting. + +MAX_INITIALIZER_LINES = 30 + +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the +# list will mention the files that were used to generate the documentation. + +SHOW_USED_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to warning and progress messages +#--------------------------------------------------------------------------- + +# The QUIET tag can be used to turn on/off the messages that are generated +# by doxygen. Possible values are YES and NO. If left blank NO is used. + +QUIET = NO + +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank +# NO is used. + +WARNINGS = YES + +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# automatically be disabled. + +WARN_IF_UNDOCUMENTED = YES + +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that +# don't exist or using markup commands wrongly. + +WARN_IF_DOC_ERROR = YES + +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. + +WARN_FORMAT = "$file:$line: $text" + +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written +# to stderr. + +WARN_LOGFILE = + +#--------------------------------------------------------------------------- +# configuration options related to the input files +#--------------------------------------------------------------------------- + +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories +# with spaces. + +INPUT = ../qt + +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp +# *.h++ *.idl *.odl *.cs *.php *.php3 *.inc + +FILE_PATTERNS = tqext*.h + +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. +# If left blank NO is used. + +RECURSIVE = NO + +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a +# subdirectory from a directory tree whose root is specified with the INPUT tag. + +EXCLUDE = + +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or directories +# that are symbolic links (a Unix filesystem feature) are excluded from the input. + +EXCLUDE_SYMLINKS = NO + +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. + +EXCLUDE_PATTERNS = + +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see +# the \include command). + +EXAMPLE_PATH = + +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank all files are included. + +EXAMPLE_PATTERNS = + +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. +# Possible values are YES and NO. If left blank NO is used. + +EXAMPLE_RECURSIVE = NO + +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see +# the \image command). + +IMAGE_PATH = + +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. + +INPUT_FILTER = + +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source +# files to browse (i.e. when SOURCE_BROWSER is set to YES). + +FILTER_SOURCE_FILES = NO + +#--------------------------------------------------------------------------- +# configuration options related to source browsing +#--------------------------------------------------------------------------- + +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. + +SOURCE_BROWSER = NO + +# Setting the INLINE_SOURCES tag to YES will include the body +# of functions and classes directly in the documentation. + +INLINE_SOURCES = NO + +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code +# fragments. Normal C and C++ comments will always remain visible. + +STRIP_CODE_COMMENTS = YES + +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented +# functions referencing it will be listed. + +REFERENCED_BY_RELATION = YES + +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities +# called/used by that function will be listed. + +REFERENCES_RELATION = YES + +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for +# which an include is specified. Set to NO to disable this. + +VERBATIM_HEADERS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the alphabetical class index +#--------------------------------------------------------------------------- + +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project +# contains a lot of classes, structs, unions or interfaces. + +ALPHABETICAL_INDEX = NO + +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# in which this list will be split (can be a number in the range [1..20]) + +COLS_IN_ALPHA_INDEX = 5 + +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# should be ignored while generating the index headers. + +IGNORE_PREFIX = + +#--------------------------------------------------------------------------- +# configuration options related to the HTML output +#--------------------------------------------------------------------------- + +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# generate HTML output. + +GENERATE_HTML = YES + +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `html' will be used as the default path. + +HTML_OUTPUT = html + +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# doxygen will generate files with .html extension. + +HTML_FILE_EXTENSION = .html + +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a +# standard header. + +HTML_HEADER = + +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a +# standard footer. + +HTML_FOOTER = + +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own +# stylesheet in the HTML output directory as well, or it will be erased! + +HTML_STYLESHEET = + +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to +# NO a bullet list will be used. + +HTML_ALIGN_MEMBERS = NO + +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# of the generated HTML documentation. + +GENERATE_HTMLHELP = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be +# written to the html output directory. + +CHM_FILE = + +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# the HTML help compiler on the generated index.hhp. + +HHC_LOCATION = + +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that +# it should be included in the master .chm file (NO). + +GENERATE_CHI = NO + +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a +# normal table of contents (NO) in the .chm file. + +BINARY_TOC = NO + +# The TOC_EXPAND flag can be set to YES to add extra items for group members +# to the contents of the HTML help documentation and to the tree view. + +TOC_EXPAND = NO + +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and +# the value YES disables it. + +DISABLE_INDEX = NO + +# This tag can be used to set the number of enum values (range [1..20]) +# that doxygen will group on one line in the generated HTML documentation. + +ENUM_VALUES_PER_LINE = 3 + +# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# probably better off using the HTML help feature. + +GENERATE_TREEVIEW = NO + +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree +# is shown. + +TREEVIEW_WIDTH = 250 + +#--------------------------------------------------------------------------- +# configuration options related to the LaTeX output +#--------------------------------------------------------------------------- + +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# generate Latex output. + +GENERATE_LATEX = NO + +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `latex' will be used as the default path. + +LATEX_OUTPUT = latex + +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# invoked. If left blank `latex' will be used as the default command name. + +LATEX_CMD_NAME = latex + +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the +# default command name. + +MAKEINDEX_CMD_NAME = makeindex + +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_LATEX = NO + +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and +# executive. If left blank a4wide will be used. + +PAPER_TYPE = a4wide + +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# packages that should be included in the LaTeX output. + +EXTRA_PACKAGES = + +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a +# standard header. Notice: only use this tag if you know what you are doing! + +LATEX_HEADER = + +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references +# This makes the output suitable for online browsing using a pdf viewer. + +PDF_HYPERLINKS = NO + +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a +# higher quality PDF documentation. + +USE_PDFLATEX = NO + +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. +# This option is also used when generating formulas in HTML. + +LATEX_BATCHMODE = NO + +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) +# in the output. + +LATEX_HIDE_INDICES = NO + +#--------------------------------------------------------------------------- +# configuration options related to the RTF output +#--------------------------------------------------------------------------- + +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with +# other RTF readers or editors. + +GENERATE_RTF = NO + +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `rtf' will be used as the default path. + +RTF_OUTPUT = rtf + +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to +# save some trees in general. + +COMPACT_RTF = NO + +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. +# Note: wordpad (write) and others do not support links. + +RTF_HYPERLINKS = NO + +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide +# replacements, missing definitions are set to their default value. + +RTF_STYLESHEET_FILE = + +# Set optional variables used in the generation of an rtf document. +# Syntax is similar to doxygen's config file. + +RTF_EXTENSIONS_FILE = + +#--------------------------------------------------------------------------- +# configuration options related to the man page output +#--------------------------------------------------------------------------- + +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# generate man pages + +GENERATE_MAN = NO + +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `man' will be used as the default path. + +MAN_OUTPUT = man + +# The MAN_EXTENSION tag determines the extension that is added to +# the generated man pages (default is the subroutine's section .3) + +MAN_EXTENSION = .3 + +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command +# would be unable to find the correct page. The default is NO. + +MAN_LINKS = NO + +#--------------------------------------------------------------------------- +# configuration options related to the XML output +#--------------------------------------------------------------------------- + +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of +# the code including all documentation. + +GENERATE_XML = NO + +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# put in front of it. If left blank `xml' will be used as the default path. + +XML_OUTPUT = xml + +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_SCHEMA = + +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the +# syntax of the XML files. + +XML_DTD = + +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that +# enabling this will significantly increase the size of the XML output. + +XML_PROGRAMLISTING = YES + +#--------------------------------------------------------------------------- +# configuration options for the AutoGen Definitions output +#--------------------------------------------------------------------------- + +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental +# and incomplete at the moment. + +GENERATE_AUTOGEN_DEF = NO + +#--------------------------------------------------------------------------- +# configuration options related to the Perl module output +#--------------------------------------------------------------------------- + +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the +# moment. + +GENERATE_PERLMOD = NO + +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# to generate PDF and DVI output from the Perl module output. + +PERLMOD_LATEX = NO + +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller +# and Perl will parse it just the same. + +PERLMOD_PRETTY = YES + +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same +# Makefile don't overwrite each other's variables. + +PERLMOD_MAKEVAR_PREFIX = + +#--------------------------------------------------------------------------- +# Configuration options related to the preprocessor +#--------------------------------------------------------------------------- + +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include +# files. + +ENABLE_PREPROCESSING = YES + +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled +# way by setting EXPAND_ONLY_PREDEF to YES. + +MACRO_EXPANSION = NO + +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the +# PREDEFINED and EXPAND_AS_PREDEFINED tags. + +EXPAND_ONLY_PREDEF = NO + +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# in the INCLUDE_PATH (see below) will be search if a #include is found. + +SEARCH_INCLUDES = YES + +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by +# the preprocessor. + +INCLUDE_PATH = + +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will +# be used. + +INCLUDE_FILE_PATTERNS = + +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. + +PREDEFINED = + +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. +# Use the PREDEFINED tag if you want to use a different macro definition. + +EXPAND_AS_DEFINED = + +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse the +# parser if not removed. + +SKIP_FUNCTION_MACROS = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to external references +#--------------------------------------------------------------------------- + +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool +# does not have to be run to correct the links. +# Note that each tag file must have a unique name +# (where the name does NOT include the path) +# If a tag file is not located in the directory in which doxygen +# is run, you must also specify the path to the tagfile here. + +TAGFILES = + +# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# a tag file that is based on the input files it reads. + +GENERATE_TAGFILE = + +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes +# will be listed. + +ALLEXTERNALS = NO + +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will +# be listed. + +EXTERNAL_GROUPS = YES + +# The PERL_PATH should be the absolute path and name of the perl script +# interpreter (i.e. the result of `which perl'). + +PERL_PATH = /usr/bin/perl + +#--------------------------------------------------------------------------- +# Configuration options related to the dot tool +#--------------------------------------------------------------------------- + +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base or +# super classes. Setting the tag to NO turns the diagrams off. Note that this +# option is superseded by the HAVE_DOT option below. This is only a fallback. It is +# recommended to install and use dot, since it yields more powerful graphs. + +CLASS_DIAGRAMS = NO + +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented +# or is not a class. + +HIDE_UNDOC_RELATIONS = YES + +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# have no effect if this option is set to NO (the default) + +HAVE_DOT = NO + +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the +# the CLASS_DIAGRAMS tag to NO. + +CLASS_GRAPH = YES + +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and +# class references variables) of the class with other documented classes. + +COLLABORATION_GRAPH = YES + +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling +# Language. + +UML_LOOK = NO + +# If set to YES, the inheritance and collaboration graphs will show the +# relations between templates and their instances. + +TEMPLATE_RELATIONS = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with +# other documented files. + +INCLUDE_GRAPH = YES + +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or +# indirectly include this file. + +INCLUDED_BY_GRAPH = YES + +# If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected +# functions only using the \callgraph command. + +CALL_GRAPH = NO + +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# will graphical hierarchy of all classes instead of a textual one. + +GRAPHICAL_HIERARCHY = YES + +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# generated by dot. Possible values are png, jpg, or gif +# If left blank png will be used. + +DOT_IMAGE_FORMAT = png + +# The tag DOT_PATH can be used to specify the path where the dot tool can be +# found. If left blank, it is assumed the dot tool can be found on the path. + +DOT_PATH = + +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the +# \dotfile command). + +DOTFILE_DIRS = + +# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_WIDTH = 1024 + +# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height +# (in pixels) of the graphs generated by dot. If a graph becomes larger than +# this value, doxygen will try to truncate the graph, so that it fits within +# the specified constraint. Beware that most browsers cannot cope with very +# large images. + +MAX_DOT_GRAPH_HEIGHT = 1024 + +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes that +# lay further from the root node will be omitted. Note that setting this option to +# 1 or 2 may greatly reduce the computation time needed for large code bases. Also +# note that a graph may be further truncated if the graph's image dimensions are +# not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). +# If 0 is used for the depth value (the default), the graph is not depth-constrained. + +MAX_DOT_GRAPH_DEPTH = 0 + +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and +# arrows in the dot generated graphs. + +GENERATE_LEGEND = YES + +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate +# the various graphs. + +DOT_CLEANUP = YES + +#--------------------------------------------------------------------------- +# Configuration::addtions related to the search engine +#--------------------------------------------------------------------------- + +# The SEARCHENGINE tag specifies whether or not a search engine should be +# used. If set to NO the values of all tags below this one will be ignored. + +SEARCHENGINE = NO diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 9512ae3..b59939e 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -3,7 +3,7 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${TQT_INCLUDE_DIRS} - ${CMAKE_SOURCE_DIR}/qt + ${CMAKE_SOURCE_DIR}/tqt ${CMAKE_SOURCE_DIR}/src ) @@ -20,5 +20,5 @@ tde_add_executable( app AUTOMOC application.cpp main.cpp LINK - qscintilla-shared + tqscintilla-shared ) diff --git a/example/README b/example/README index 6ffa2ea..4efbc22 100644 --- a/example/README +++ b/example/README @@ -1,9 +1,9 @@ -QSCINTILLA EXAMPLE +TQSCINTILLA EXAMPLE This directory contains a port of the standard application example included -with Qt that uses QScintilla rather than QTextEdit. +with TQt that uses TQScintilla rather than TQTextEdit. -To build the example on all platforms, make sure QScintilla is installed and +To build the example on all platforms, make sure TQScintilla is installed and then run: qmake application diff --git a/example/application.cpp b/example/application.cpp index 92a7123..b832def 100644 --- a/example/application.cpp +++ b/example/application.cpp @@ -29,8 +29,8 @@ #include #include -#include -#include +#include +#include #include "filesave.xpm" #include "fileopen.xpm" @@ -39,7 +39,7 @@ ApplicationWindow::ApplicationWindow() : TQMainWindow( 0, "example application main window", WDestructiveClose | WGroupLeader ) { - printer = new QextScintillaPrinter( TQPrinter::HighResolution ); + printer = new TQextScintillaPrinter( TQPrinter::HighResolution ); TQPixmap openIcon, saveIcon, printIcon; TQToolBar * fileTools = new TQToolBar( this, "file operations" ); @@ -127,7 +127,7 @@ ApplicationWindow::ApplicationWindow() help->insertSeparator(); help->insertItem( "What's &This", this, TQT_SLOT(whatsThis()), SHIFT+Key_F1 ); - e = new QextScintilla( this, "editor" ); + e = new TQextScintilla( this, "editor" ); e->setFocus(); setCentralWidget( e ); statusBar()->message( "Ready", 2000 ); @@ -261,7 +261,7 @@ void ApplicationWindow::about() { TQMessageBox::about( this, "TQScintilla Application Example", "This example demonstrates a simple use of " - "QextScintilla and QextScintillaPrinter."); + "TQextScintilla and TQextScintillaPrinter."); } diff --git a/example/application.h b/example/application.h index 4be62c7..799e9c0 100644 --- a/example/application.h +++ b/example/application.h @@ -13,8 +13,8 @@ #include -class QextScintilla; -class QextScintillaPrinter; +class TQextScintilla; +class TQextScintillaPrinter; class ApplicationWindow: public TQMainWindow { @@ -40,8 +40,8 @@ private slots: void aboutTQt(); private: - QextScintillaPrinter *printer; - QextScintilla *e; + TQextScintillaPrinter *printer; + TQextScintilla *e; TQString filename; }; diff --git a/example/application.pro b/example/application.pro index 160beaa..af879c2 100644 --- a/example/application.pro +++ b/example/application.pro @@ -3,7 +3,7 @@ TARGET = application CONFIG += qt warn_on release -LIBS += -lqscintilla +LIBS += -ltqscintilla HEADERS = application.h SOURCES = application.cpp \ diff --git a/include/Platform.h b/include/Platform.h index 33245b9..19a6c40 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -9,13 +9,13 @@ #ifndef PLATFORM_H #define PLATFORM_H -// PLAT_QT is TQt on any supported platform +// PLAT_TQT is TQt on any supported platform // PLAT_GTK = GTK+ on Linux or Win32 // PLAT_GTK_WIN32 is defined additionally when running PLAT_GTK under Win32 // PLAT_WIN = Win32 API on Win32 OS // PLAT_WX is wxWindows on any supported platform -#define PLAT_QT 0 +#define PLAT_TQT 0 #define PLAT_GTK 0 #define PLAT_GTK_WIN32 0 #define PLAT_WIN 0 @@ -27,8 +27,8 @@ #define PLAT_FOX 1 #elif defined(QT) -#undef PLAT_QT -#define PLAT_QT 1 +#undef PLAT_TQT +#define PLAT_TQT 1 #elif defined(__WX__) #undef PLAT_WX @@ -302,7 +302,7 @@ public: /** * A surface abstracts a place to draw. */ -#if defined(PLAT_QT) +#if defined(PLAT_TQT) class XPM; #endif @@ -357,7 +357,7 @@ public: virtual void SetUnicodeMode(bool unicodeMode_)=0; virtual void SetDBCSMode(int codePage)=0; -#if defined(PLAT_QT) +#if defined(PLAT_TQT) virtual void DrawXPM(PRectangle rc, const XPM *xpm)=0; #endif }; diff --git a/qscintilla.pc.cmake b/qscintilla.pc.cmake deleted file mode 100644 index 6536b66..0000000 --- a/qscintilla.pc.cmake +++ /dev/null @@ -1,14 +0,0 @@ -prefix=@CMAKE_INSTALL_PREFIX@ -exec_prefix=@PC_EXEC_PREFIX@ -libdir=@PC_LIB_DIR@ -includedir=@PC_INCLUDE_DIR@ - -pkglibdir=${libdir} -pkgincludedir=${includedir} - -Name: @PROJECT_NAME@ -Version: 1.7.1 -Description: @PROJECT_NAME@ is a source code editing library for TDE. - -Cflags: -I${includedir} -Libs: -L${libdir} -lqscintilla diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt deleted file mode 100644 index bf53a40..0000000 --- a/qt/CMakeLists.txt +++ /dev/null @@ -1,80 +0,0 @@ -include_directories( - ${CMAKE_BINARY_DIR} - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${TQT_INCLUDE_DIRS} - ${CMAKE_SOURCE_DIR}/include - ${CMAKE_SOURCE_DIR}/src -) - -link_directories( - ${TQT_LIBRARY_DIRS} -) - -add_definitions( -DQT ) - -##### qscintilla (shared) - -tde_add_library( qscintilla SHARED AUTOMOC - - SOURCES - qextscintilla.cpp - qextscintillaapis.cpp - qextscintillabase.cpp - qextscintillacommand.cpp - qextscintillacommandset.cpp - qextscintilladocument.cpp - qextscintillalexer.cpp - qextscintillalexerbash.cpp - qextscintillalexerbatch.cpp - qextscintillalexercpp.cpp - qextscintillalexercsharp.cpp - qextscintillalexercss.cpp - qextscintillalexerdiff.cpp - qextscintillalexerhtml.cpp - qextscintillalexeridl.cpp - qextscintillalexerjava.cpp - qextscintillalexerjavascript.cpp - qextscintillalexerlua.cpp - qextscintillalexermakefile.cpp - qextscintillalexerperl.cpp - qextscintillalexerpov.cpp - qextscintillalexerproperties.cpp - qextscintillalexerpython.cpp - qextscintillalexerruby.cpp - qextscintillalexersql.cpp - qextscintillalexertex.cpp - qextscintillamacro.cpp - qextscintillaprinter.cpp - SciListBox.cpp - PlatQt.cpp - ScintillaQt.cpp - LINK - ${TQT_LIBRARIES} - src-static - - VERSION 7.0.1 - - DESTINATION ${LIB_INSTALL_DIR} -) - - -###### other data -# translations - -file( GLOB _translations RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} qscintilla_*.qm ) - -install( - FILES ${_translations} - DESTINATION ${TQT_TRANSLATIONS_DIR} -) - - -# headers - -file( GLOB _includes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} qextscintilla*.h ) - -install( - FILES ${_includes} - DESTINATION ${TQT_INCLUDES_DIR} -) diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp deleted file mode 100644 index 0f46659..0000000 --- a/qt/PlatQt.cpp +++ /dev/null @@ -1,936 +0,0 @@ -// This module implements the portability layer for the TQt port of Scintilla. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "Platform.h" -#include "XPM.h" - -#include "qextscintillabase.h" - - -// Type convertors. -static TQFont *PFont(FontID id) -{ - return reinterpret_cast(id); -} - -static TQPainter *PSurface(SurfaceID id) -{ - return reinterpret_cast(id); -} - -static TQWidget *PWindow(WindowID id) -{ - return reinterpret_cast(id); -} - -static TQPopupMenu *PMenu(MenuID id) -{ - return reinterpret_cast(id); -} - - -// Create a Point instance from a long value. -Point Point::FromLong(long lpoint) -{ - return Point(Platform::LowShortFromLong(lpoint), - Platform::HighShortFromLong(lpoint)); -} - - -// Colour palette management. The TQt interface to colours means this class -// doesn't have to do anything. -Palette::Palette() -{ - used = 0; - allowRealization = false; -} - -Palette::~Palette() -{ - Release(); -} - -void Palette::Release() -{ - used = 0; -} - -void Palette::WantFind(ColourPair &cp,bool want) -{ - if (!want) - cp.allocated.Set(cp.desired.AsLong()); -} - -void Palette::Allocate(Window &) -{ -} - - -// Font management. -Font::Font() : id(0) -{ -} - -Font::~Font() -{ -} - -void Font::Create(const char *faceName,int,int size,bool bold,bool italic,bool) -{ - Release(); - - TQFont *f = new TQFont(); - - // If name of the font begins with a '-', assume, that it is an XLFD. - if (faceName[0] == '-') - f -> setRawName(faceName); - else - { - f -> setFamily(faceName); - f -> setPointSize(size); - f -> setBold(bold); - f -> setItalic(italic); - } - - id = f; -} - -void Font::Release() -{ - if (id) - { - delete PFont(id); - id = 0; - } -} - - -// A surface abstracts a place to draw. -class SurfaceImpl : public Surface -{ -public: - SurfaceImpl(); - virtual ~SurfaceImpl(); - - void Init(WindowID); - void Init(SurfaceID sid,WindowID); - void InitPixMap(int width,int height,Surface *surface_,WindowID); - - void Release(); - bool Initialised() {return painter;} - void PenColour(ColourAllocated fore); - int LogPixelsY() {return 72;} - int DeviceHeightFont(int points) {return points;} - void MoveTo(int x_,int y_) {painter -> moveTo(x_,y_);} - void LineTo(int x_,int y_) {painter -> lineTo(x_,y_);} - void Polygon(Point *pts,int npts,ColourAllocated fore, - ColourAllocated back); - void RectangleDraw(PRectangle rc,ColourAllocated fore, - ColourAllocated back); - void FillRectangle(PRectangle rc,ColourAllocated back); - void FillRectangle(PRectangle rc,Surface &surfacePattern); - void RoundedRectangle(PRectangle rc,ColourAllocated fore, - ColourAllocated back); - void AlphaRectangle(PRectangle rc, int cornerSize, - ColourAllocated fill, int alphaFill, - ColourAllocated outline, int alphaOutline, int flags); - void Ellipse(PRectangle rc,ColourAllocated fore,ColourAllocated back); - void Copy(PRectangle rc,Point from,Surface &surfaceSource); - - void DrawTextNoClip(PRectangle rc,Font &font_,int ybase,const char *s, - int len,ColourAllocated fore,ColourAllocated back); - void DrawTextClipped(PRectangle rc,Font &font_,int ybase,const char *s, - int len,ColourAllocated fore, - ColourAllocated back); - void DrawTextTransparent(PRectangle rc,Font &font_,int ybase, - const char *s,int len,ColourAllocated fore); - void MeasureWidths(Font &font_,const char *s,int len,int *positions); - int WidthText(Font &font_,const char *s,int len); - int WidthChar(Font &font_,char ch); - int Ascent(Font &font_); - int Descent(Font &font_); - int InternalLeading(Font &font_) {return 0;} - int ExternalLeading(Font &font_); - int Height(Font &font_); - int AverageCharWidth(Font &font_) {return WidthChar(font_,'n');} - - int SetPalette(Palette *,bool) {return 0;} - void SetClip(PRectangle rc); - void FlushCachedState() {painter -> flush();} - - void SetUnicodeMode(bool unicodeMode_) {unicodeMode = unicodeMode_;} - void SetDBCSMode(int codePage) {} - - void DrawXPM(PRectangle rc,const XPM *xpm); - -private: - void commonInit(TQPainter *painter_,bool mypainter_); - bool setFont(Font &font_); - TQString convertText(const char *s,int len); - static TQRgb convertTQRgb(const ColourAllocated &col, unsigned alpha); - static TQColor convertTQColor(const ColourAllocated &col, - unsigned alpha = 0xff); - - bool unicodeMode; - bool mypainter; - TQPainter *painter; -}; - -Surface *Surface::Allocate() -{ - return new SurfaceImpl; -} - -SurfaceImpl::SurfaceImpl() : unicodeMode(false), mypainter(false), painter(0) -{ -} - -SurfaceImpl::~SurfaceImpl() -{ - Release(); -} - -void SurfaceImpl::commonInit(TQPainter *painter_,bool mypainter_) -{ - Release(); - - painter = painter_; - mypainter = mypainter_; -} - -void SurfaceImpl::Init(WindowID) -{ - commonInit(new TQPainter(new TQWidget()),true); -} - -void SurfaceImpl::Init(SurfaceID sid,WindowID) -{ - commonInit(PSurface(sid),false); -} - -void SurfaceImpl::InitPixMap(int width,int height,Surface *,WindowID) -{ - commonInit(new TQPainter(new TQPixmap(width,height)),true); -} - -void SurfaceImpl::Release() -{ - if (painter && mypainter) - { - TQPaintDevice *pd = painter -> device(); - - delete painter; - - delete pd; - } - - painter = 0; -} - -void SurfaceImpl::PenColour(ColourAllocated fore) -{ - painter -> setPen(convertTQColor(fore)); -} - -void SurfaceImpl::Polygon(Point *pts,int npts,ColourAllocated fore, - ColourAllocated back) -{ - TQPointArray qpts(npts); - - for (int i = 0; i < npts; ++i) - qpts.setPoint(i,pts[i].x,pts[i].y); - - painter -> setPen(convertTQColor(fore)); - painter -> setBrush(convertTQColor(back)); - painter -> drawPolygon(qpts); -} - -void SurfaceImpl::RectangleDraw(PRectangle rc,ColourAllocated fore, - ColourAllocated back) -{ - painter -> setPen(convertTQColor(fore)); - painter -> setBrush(convertTQColor(back)); - painter -> drawRect(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void SurfaceImpl::FillRectangle(PRectangle rc,ColourAllocated back) -{ - painter -> setPen(TQt::NoPen); - painter -> setBrush(convertTQColor(back)); - painter -> drawRect(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void SurfaceImpl::FillRectangle(PRectangle rc,Surface &surfacePattern) -{ - SurfaceImpl &si = static_cast(surfacePattern); - TQPixmap *pm = static_cast(si.painter -> device()); - - if (pm) - { - TQBrush brsh(TQt::black,*pm); - - painter -> setPen(TQt::NoPen); - painter -> setBrush(brsh); - painter -> drawRect(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); - } - else - FillRectangle(rc,ColourAllocated(0)); -} - -void SurfaceImpl::RoundedRectangle(PRectangle rc,ColourAllocated fore, - ColourAllocated back) -{ - painter -> setPen(convertTQColor(fore)); - painter -> setBrush(convertTQColor(back)); - painter -> drawRoundRect(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, - ColourAllocated fill, int alphaFill, ColourAllocated outline, - int alphaOutline, int) -{ - int w = rc.right - rc.left; - int h = rc.bottom - rc.top; - - TQImage img(w, h, 32); - - img.fill(convertTQRgb(fill, alphaFill)); - img.setAlphaBuffer(TRUE); - - // Assume that "cornerSize" means outline width. - if (cornerSize > 0) - { - TQRgb oline = convertTQRgb(outline, alphaOutline); - - int linew = cornerSize; - - if (linew > w) - linew = w; - - for (int y = 0; y < h; ++y) - { - int x; - - if (y < cornerSize || y >= (h - cornerSize)) - for (x = 0; x < w; ++x) - img.setPixel(x, y, oline); - else - { - for (x = 0; x < linew; ++x) - img.setPixel(x, y, oline); - - for (x = w - 1; x >= w - linew; --x) - img.setPixel(x, y, oline); - } - } - } - - painter->drawImage(rc.left, rc.top, img); -} - -void SurfaceImpl::Ellipse(PRectangle rc,ColourAllocated fore, - ColourAllocated back) -{ - painter -> setPen(convertTQColor(fore)); - painter -> setBrush(convertTQColor(back)); - painter -> drawEllipse(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void SurfaceImpl::Copy(PRectangle rc,Point from,Surface &surfaceSource) -{ - SurfaceImpl &si = static_cast(surfaceSource); - TQPaintDevice *spd = si.painter -> device(); - TQPaintDevice *dpd = painter -> device(); - - if (spd && dpd) - { - si.painter -> end(); - painter -> end(); - - bitBlt(dpd,rc.left,rc.top,spd,from.x,from.y, - rc.right - rc.left,rc.bottom - rc.top); - - si.painter -> begin(spd); - painter -> begin(dpd); - } -} - -void SurfaceImpl::DrawTextNoClip(PRectangle rc,Font &font_,int ybase, - const char *s,int len,ColourAllocated fore, - ColourAllocated back) -{ - FillRectangle(rc,back); - DrawTextTransparent(rc,font_,ybase,s,len,fore); -} - -void SurfaceImpl::DrawTextClipped(PRectangle rc,Font &font_,int ybase, - const char *s,int len,ColourAllocated fore, - ColourAllocated back) -{ - SetClip(rc); - DrawTextNoClip(rc,font_,ybase,s,len,fore,back); - painter -> setClipping(FALSE); -} - -void SurfaceImpl::DrawTextTransparent(PRectangle rc,Font &font_,int ybase, - const char *s,int len, - ColourAllocated fore) -{ - TQString qs = convertText(s,len); - - setFont(font_); - painter -> setPen(convertTQColor(fore)); - painter -> drawText(rc.left,ybase,qs); -} - -void SurfaceImpl::DrawXPM(PRectangle rc,const XPM *xpm) -{ - int x, y; - const TQPixmap &qpm = xpm -> Pixmap(); - - x = rc.left + (rc.Width() - qpm.width()) / 2; - y = rc.top + (rc.Height() - qpm.height()) / 2; - - painter -> drawPixmap(x,y,qpm); -} - -void SurfaceImpl::MeasureWidths(Font &font_,const char *s,int len, - int *positions) -{ - if (setFont(font_)) - { - int totalWidth = 0, ui = 0; - TQString qs = convertText(s,len); - TQFontMetrics fm = painter -> fontMetrics(); - - for (int i = 0; i < qs.length(); ++i) - { - totalWidth += fm.width(qs[i]); - - int l = (unicodeMode ? TQString(qs[i]).utf8().length() : 1); - - while (l--) - positions[ui++] = totalWidth; - } - } - else - for (int i = 0; i < len; ++i) - positions[i] = i + 1; -} - -int SurfaceImpl::WidthText(Font &font_,const char *s,int len) -{ - if (setFont(font_)) - { - TQString qs = convertText(s,len); - - return painter -> fontMetrics().width(qs,qs.length()); - } - - return 1; -} - -int SurfaceImpl::WidthChar(Font &font_,char ch) -{ - if (setFont(font_)) - return painter -> fontMetrics().width(ch); - - return 1; -} - -int SurfaceImpl::Ascent(Font &font_) -{ - if (setFont(font_)) - return painter -> fontMetrics().ascent(); - - return 1; -} - -int SurfaceImpl::Descent(Font &font_) -{ - // TQt doesn't include the baseline in the descent, so add it. - - if (setFont(font_)) - return painter -> fontMetrics().descent() + 1; - - return 1; -} - -int SurfaceImpl::ExternalLeading(Font &font_) -{ - if (setFont(font_)) - return painter -> fontMetrics().leading(); - - return 0; -} - -int SurfaceImpl::Height(Font &font_) -{ - if (setFont(font_)) - return painter -> fontMetrics().height(); - - return 1; -} - -void SurfaceImpl::SetClip(PRectangle rc) -{ - painter -> setClipRect(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -// Set the painter font if there is one. Return true if it was set. -bool SurfaceImpl::setFont(Font &font_) -{ - TQFont *f = PFont(font_.GetID()); - - if (f) - painter -> setFont(*f); - - return f; -} - -// Convert a Scintilla string to a TQt Unicode string. -TQString SurfaceImpl::convertText(const char *s,int len) -{ - if (unicodeMode) - return TQString::fromUtf8(s,len); - - TQString qs; - - qs.setLatin1(s,len); - - return qs; -} - -// Convert a Scintilla colour and alpha component to a TQt TQRgb. -TQRgb SurfaceImpl::convertTQRgb(const ColourAllocated &col, unsigned alpha) -{ - long c = col.AsLong(); - - unsigned r = c & 0xff; - unsigned g = (c >> 8) & 0xff; - unsigned b = (c >> 16) & 0xff; - - TQRgb rgba = (alpha << 24) | (r << 16) | (g << 8) | b; - - return rgba; -} - -// Convert a Scintilla colour, and optional alpha component, to a TQt TQColor. -TQColor SurfaceImpl::convertTQColor(const ColourAllocated &col, unsigned alpha) -{ - return TQColor(convertTQRgb(col, alpha)); -} - - -// Window (widget) management. -Window::~Window() -{ -} - -void Window::Destroy() -{ - TQWidget *w = PWindow(id); - - if (w) - { - delete w; - id = 0; - } -} - -bool Window::HasFocus() -{ - return PWindow(id) -> hasFocus(); -} - -PRectangle Window::GetPosition() -{ - TQWidget *w = PWindow(id); - - // Before any size allocated pretend its big enough not to be scrolled. - PRectangle rc(0,0,5000,5000); - - if (w) - { - const TQRect &r = w -> geometry(); - - rc.left = r.left(); - rc.top = r.top(); - rc.right = r.right() + 1; - rc.bottom = r.bottom() + 1; - } - - return rc; -} - -void Window::SetPosition(PRectangle rc) -{ - PWindow(id) -> setGeometry(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void Window::SetPositionRelative(PRectangle rc,Window relativeTo) -{ - TQWidget *rel = PWindow(relativeTo.id); - TQPoint pos = rel -> mapToGlobal(rel -> pos()); - - int x = pos.x() + rc.left; - int y = pos.y() + rc.top; - - PWindow(id) -> setGeometry(x,y,rc.right - rc.left,rc.bottom - rc.top); -} - -PRectangle Window::GetClientPosition() -{ - return GetPosition(); -} - -void Window::Show(bool show) -{ - TQWidget *w = PWindow(id); - - if (show) - w -> show(); - else - w -> hide(); -} - -void Window::InvalidateAll() -{ - TQWidget *w = PWindow(id); - - if (w) - w -> update(); -} - -void Window::InvalidateRectangle(PRectangle rc) -{ - TQWidget *w = PWindow(id); - - if (w) - w -> update(rc.left,rc.top, - rc.right - rc.left,rc.bottom - rc.top); -} - -void Window::SetFont(Font &font) -{ - PWindow(id) -> setFont(*PFont(font.GetID())); -} - -void Window::SetCursor(Cursor curs) -{ - TQt::CursorShape qc; - - switch (curs) - { - case cursorText: - qc = TQt::IbeamCursor; - break; - - case cursorUp: - qc = TQt::UpArrowCursor; - break; - - case cursorWait: - qc = TQt::WaitCursor; - break; - - case cursorHoriz: - qc = TQt::SizeHorCursor; - break; - - case cursorVert: - qc = TQt::SizeVerCursor; - break; - - case cursorHand: - qc = TQt::PointingHandCursor; - break; - - default: - qc = TQt::ArrowCursor; - } - - PWindow(id) -> setCursor(qc); -} - -void Window::SetTitle(const char *s) -{ - PWindow(id) -> setCaption(s); -} - - -// Menu management. -Menu::Menu() : id(0) -{ -} - -void Menu::CreatePopUp() -{ - Destroy(); - id = new TQPopupMenu(); -} - -void Menu::Destroy() -{ - TQPopupMenu *m = PMenu(id); - - if (m) - { - delete m; - id = 0; - } -} - -void Menu::Show(Point pt,Window &) -{ - PMenu(id) -> popup(TQPoint(pt.x,pt.y)); -} - - -class DynamicLibraryImpl : public DynamicLibrary -{ -public: - DynamicLibraryImpl(const char *modulePath) - { - m = new TQLibrary(modulePath); - m -> load(); - } - - virtual ~DynamicLibraryImpl() - { - if (m) - delete m; - } - - virtual Function FindFunction(const char *name) - { - if (m) - return m -> resolve(name); - - return 0; - } - - virtual bool IsValid() - { - return m && m -> isLoaded(); - } - -private: - TQLibrary* m; -}; - -DynamicLibrary *DynamicLibrary::Load(const char *modulePath) -{ - return new DynamicLibraryImpl(modulePath); -} - - -// Elapsed time. This implementation assumes that the maximum elapsed time is -// less than 48 hours. -ElapsedTime::ElapsedTime() -{ - TQTime now = TQTime::currentTime(); - - bigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); - littleBit = now.msec(); -} - -double ElapsedTime::Duration(bool reset) -{ - long endBigBit, endLittleBit; - TQTime now = TQTime::currentTime(); - - endBigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); - endLittleBit = now.msec(); - - double duration = endBigBit - bigBit; - - if (duration < 0 || (duration == 0 && endLittleBit < littleBit)) - duration += 24 * 60 * 60; - - duration += (endLittleBit - littleBit) / 1000.0; - - if (reset) - { - bigBit = endBigBit; - littleBit = endLittleBit; - } - - return duration; -} - - -// Manage system wide parameters. -ColourDesired Platform::Chrome() -{ - return ColourDesired(0xe0,0xe0,0xe0); -} - -ColourDesired Platform::ChromeHighlight() -{ - return ColourDesired(0xff,0xff,0xff); -} - -const char *Platform::DefaultFont() -{ - return TQApplication::font().family().utf8(); -} - -int Platform::DefaultFontSize() -{ - return TQApplication::font().pointSize(); -} - -unsigned int Platform::DoubleClickTime() -{ - return TQApplication::doubleClickInterval(); -} - -bool Platform::MouseButtonBounce() -{ - return true; -} - -void Platform::DebugDisplay(const char *s) -{ - tqDebug("%s",s); -} - -bool Platform::IsKeyDown(int) -{ - return false; -} - -long Platform::SendScintilla(WindowID w,unsigned int msg,unsigned long wParam, - long lParam) -{ - return static_cast(PWindow(w) -> parentWidget()) -> SendScintilla(msg,wParam,lParam); -} - -long Platform::SendScintillaPointer(WindowID w,unsigned int msg, - unsigned long wParam,void *lParam) -{ - return static_cast(PWindow(w) -> parentWidget()) -> SendScintilla(msg,wParam,reinterpret_cast(lParam)); -} - -bool Platform::IsDBCSLeadByte(int codepage,char ch) -{ - // We don't support DBCS. - return false; -} - -int Platform::DBCSCharLength(int codePage,const char *s) -{ - // We don't support DBCS. - return 1; -} - -int Platform::DBCSCharMaxLength() -{ - // We don't support DBCS. - return 2; -} - -int Platform::Minimum(int a,int b) -{ - return (a < b) ? a : b; -} - -int Platform::Maximum(int a,int b) -{ - return (a > b) ? a : b; -} - -int Platform::Clamp(int val,int minVal,int maxVal) -{ - if (val > maxVal) - val = maxVal; - - if (val < minVal) - val = minVal; - - return val; -} - - -//#define TRACE - -#ifdef TRACE -void Platform::DebugPrintf(const char *format, ...) -{ - char buffer[2000]; - va_list pArguments; - - va_start(pArguments,format); - vsprintf(buffer,format,pArguments); - va_end(pArguments); - - DebugDisplay(buffer); -} -#else -void Platform::DebugPrintf(const char *, ...) -{ -} -#endif - -static bool assertionPopUps = true; - -bool Platform::ShowAssertionPopUps(bool assertionPopUps_) -{ - bool ret = assertionPopUps; - - assertionPopUps = assertionPopUps_; - - return ret; -} - -void Platform::Assert(const char *c,const char *file,int line) -{ - tqFatal("Assertion [%s] failed at %s %d\n",c,file,line); -} diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp deleted file mode 100644 index 3b34793..0000000 --- a/qt/SciListBox.cpp +++ /dev/null @@ -1,333 +0,0 @@ -// This module implements the specialisation of TQListBox that handles the -// Scintilla double-click callback. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include -#include -#include - -#include "SciListBox.h" - - -// The platform specific specialisation of the ListBox abstract class. - -class ListBoxX : public ListBox -{ -public: - ListBoxX(); - virtual ~ListBoxX(); - - CallBackAction cb_action; - void *cb_data; - - virtual void SetFont(Font &font); - virtual void Create(Window &parent,int,Point,int,bool); - virtual void SetAverageCharWidth(int); - virtual void SetVisibleRows(int); - virtual int GetVisibleRows() const; - virtual PRectangle GetDesiredRect(); - virtual int CaretFromEdge(); - virtual void Clear(); - virtual void Append(char *s,int type = -1); - virtual int Length(); - virtual void Select(int n); - virtual int GetSelection(); - virtual int Find(const char *prefix); - virtual void GetValue(int n,char *value,int len); - virtual void Sort(); - virtual void RegisterImage(int type,const char *xpm_data); - virtual void ClearRegisteredImages(); - virtual void SetDoubleClickAction(CallBackAction action,void *data); - virtual void SetList(const char *list,char separator,char typesep); - -private: - SciListBox *slb; - - typedef TQMap xpmMap; - xpmMap xset; -}; - - -ListBoxX::ListBoxX() : cb_action(0), cb_data(0), slb(0) -{ -} - - -ListBoxX::~ListBoxX() -{ -} - - -void ListBoxX::SetFont(Font &font) -{ - TQFont *f = reinterpret_cast(font.GetID()); - - if (f) - slb -> setFont(*f); -} - - -void ListBoxX::Create(Window &parent,int,Point,int,bool) -{ - // The parent we want is the QextScintillaBase, not the text area. - id = slb = new SciListBox(reinterpret_cast(parent.GetID()) -> parentWidget(),this); -} - - -void ListBoxX::SetAverageCharWidth(int) -{ - // We rely on TQListBox::sizeHint() for the size of the list box rather - // than make calculations based on the average character width and the - // number of visible rows. -} - - -void ListBoxX::SetVisibleRows(int) -{ -} - - -int ListBoxX::GetVisibleRows() const -{ - return slb -> numItemsVisible(); -} - - -PRectangle ListBoxX::GetDesiredRect() -{ - PRectangle rc(0,0,100,100); - - if (slb) - { - TQSize sh = slb -> sizeHint(); - - rc.right = sh.width(); - rc.bottom = sh.height(); - } - - return rc; -} - - -int ListBoxX::CaretFromEdge() -{ - int dist = 0; - - // Find the width of the biggest image. - for (xpmMap::Iterator it = xset.begin(); it != xset.end(); ++it) - { - int w = it.data().width(); - - if (dist < w) - dist = w; - } - - if (slb) - dist += slb -> frameWidth(); - - // Fudge factor - adjust if required. - dist += 3; - - return dist; -} - - -void ListBoxX::Clear() -{ - slb -> clear(); -} - - -void ListBoxX::Append(char *s,int type) -{ - xpmMap::ConstIterator it; - - if (type < 0 || (it = xset.find(type)) == xset.end()) - slb -> insertItem(s); - else - slb -> insertItem(it.data(),s); -} - - -int ListBoxX::Length() -{ - return (slb ? slb -> numRows() : 0); -} - - -void ListBoxX::Select(int n) -{ - slb -> setSelected(n,TRUE); -} - - -int ListBoxX::GetSelection() -{ - return slb -> currentItem(); -} - - -int ListBoxX::Find(const char *prefix) -{ - return slb -> index(slb -> findItem(prefix,TQt::CaseSensitive|TQt::BeginsWith)); -} - - -void ListBoxX::GetValue(int n,char *value,int len) -{ - TQString s = slb -> text(n); - - if (s.isNull() || len <= 0) - value[0] = '\0'; - else - { - strncpy(value,s.latin1(),len - 1); - value[len - 1] = '\0'; - } -} - - -void ListBoxX::Sort() -{ - slb -> sort(); -} - - -void ListBoxX::RegisterImage(int type,const char *xpm_data) -{ - xset.insert(type,*reinterpret_cast(xpm_data)); -} - - -void ListBoxX::ClearRegisteredImages() -{ - xset.clear(); -} - - -void ListBoxX::SetDoubleClickAction(CallBackAction action,void *data) -{ - cb_action = action; - cb_data = data; -} - - -void ListBoxX::SetList(const char *list,char separator,char typesep) -{ - char *words; - - Clear(); - - if ((words = strdup(list)) != NULL) - { - char *startword = words; - char *numword = NULL; - - for (int i = 0; words[i] != '\0'; i++) - { - if (words[i] == separator) - { - words[i] = '\0'; - - if (numword) - *numword = '\0'; - - Append(startword,numword ? atoi(numword + 1) : -1); - - startword = words + i + 1; - numword = NULL; - } - else if (words[i] == typesep) - { - numword = words + i; - } - } - - if (startword) - { - if (numword) - *numword = '\0'; - - Append(startword,numword ? atoi(numword + 1) : -1); - } - - free(words); - } -} - - -// The ListBox methods that need to be implemented explicitly. - -ListBox::ListBox() -{ -} - - -ListBox::~ListBox() -{ -} - - -ListBox *ListBox::Allocate() -{ - return new ListBoxX(); -} - - -SciListBox::SciListBox(TQWidget *parent,ListBoxX *lbx_) - : TQListBox(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder|WStaticContents), lbx(lbx_) -{ - setFocusProxy(parent); - - setFrameShape(StyledPanel); - setFrameShadow(Plain); - setHScrollBarMode(AlwaysOff); - - connect(this,TQT_SIGNAL(doubleClicked(TQListBoxItem *)), - TQT_SLOT(handleDoubleClick(TQListBoxItem *))); - - connect(this,TQT_SIGNAL(highlighted(TQListBoxItem *)), - TQT_SLOT(ensureCurrentVisible())); -} - - -SciListBox::~SciListBox() -{ - // Ensure that the main widget doesn't get a focus out event when this - // is destroyed. - setFocusProxy(0); -} - - -void SciListBox::handleDoubleClick(TQListBoxItem *) -{ - if (lbx && lbx -> cb_action) - lbx -> cb_action(lbx -> cb_data); -} - -#include "SciListBox.moc" diff --git a/qt/SciListBox.h b/qt/SciListBox.h deleted file mode 100644 index 1a8409d..0000000 --- a/qt/SciListBox.h +++ /dev/null @@ -1,52 +0,0 @@ -// This sub-class of TQListBox is needed to provide slots from which we can call -// ListBox's double-click callback. (And you thought this was a C++ program.) -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef SCILISTBOX_H -#define SCILISTBOX_H - - -#include - -#include "Platform.h" - - -class ListBoxX; - - -class SciListBox : public TQListBox -{ - TQ_OBJECT - - -public: - SciListBox(TQWidget *parent,ListBoxX *lbx_); - ~SciListBox(); - -private slots: - void handleDoubleClick(TQListBoxItem *); - -private: - ListBoxX *lbx; -}; - -#endif diff --git a/qt/ScintillaQt.cpp b/qt/ScintillaQt.cpp deleted file mode 100644 index 7d3722b..0000000 --- a/qt/ScintillaQt.cpp +++ /dev/null @@ -1,695 +0,0 @@ -// The implementation of the TQt specific subclass of ScintillaBase. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "qextscintillabase.h" -#include "ScintillaQt.h" - - -// We want to use the Scintilla notification names as TQt signal names. -#undef SCEN_CHANGE -#undef SCN_AUTOCSELECTION -#undef SCN_CALLTIPCLICK -#undef SCN_CHARADDED -#undef SCN_DOUBLECLICK -#undef SCN_DWELLEND -#undef SCN_DWELLSTART -#undef SCN_HOTSPOTCLICK -#undef SCN_HOTSPOTDOUBLECLICK -#undef SCN_MACRORECORD -#undef SCN_MARGINCLICK -#undef SCN_MODIFIED -#undef SCN_MODIFYATTEMPTRO -#undef SCN_NEEDSHOWN -#undef SCN_PAINTED -#undef SCN_SAVEPOINTLEFT -#undef SCN_SAVEPOINTREACHED -#undef SCN_STYLENEEDED -#undef SCN_UPDATEUI -#undef SCN_USERLISTSELECTION -#undef SCN_ZOOM - -enum -{ - SCEN_CHANGE = 768, - SCN_AUTOCSELECTION = 2022, - SCN_CALLTIPCLICK = 2021, - SCN_CHARADDED = 2001, - SCN_DOUBLECLICK = 2006, - SCN_DWELLEND = 2017, - SCN_DWELLSTART = 2016, - SCN_HOTSPOTCLICK = 2019, - SCN_HOTSPOTDOUBLECLICK = 2020, - SCN_MACRORECORD = 2009, - SCN_MARGINCLICK = 2010, - SCN_MODIFIED = 2008, - SCN_MODIFYATTEMPTRO = 2004, - SCN_NEEDSHOWN = 2011, - SCN_PAINTED = 2013, - SCN_SAVEPOINTLEFT = 2003, - SCN_SAVEPOINTREACHED = 2002, - SCN_STYLENEEDED = 2000, - SCN_UPDATEUI = 2007, - SCN_USERLISTSELECTION = 2014, - SCN_ZOOM = 2018 -}; - - -// The ctor. -ScintillaTQt::ScintillaTQt(QextScintillaBase *qsb_) : - capturedMouse(false), qsb(qsb_) -{ - wMain = qsb -> txtarea; - - // We aren't a TQObject so we use the API class to do TQObject related - // things for us. - qsb -> connect(&qtimer,TQT_SIGNAL(timeout()),TQT_SLOT(handleTimer())); - - Initialise(); -} - - -// The dtor. -ScintillaTQt::~ScintillaTQt() -{ - Finalise(); -} - - -// Initialise the instance. -void ScintillaTQt::Initialise() -{ - SetTicking(true); -} - - -// Tidy up the instance. -void ScintillaTQt::Finalise() -{ - SetTicking(false); - ScintillaBase::Finalise(); -} - - -// Start a drag. -void ScintillaTQt::StartDrag() -{ - // Allow applications to re-implement the drag start. - qsb -> startDrag(); -} - - -// Do the real drag start. -void ScintillaTQt::StartDragImpl() -{ - TQDragObject *dobj = new TQTextDrag(textRange(&drag),qsb -> txtarea); - - // Remove the dragged text if it was a move to another widget or - // application. - if (dobj -> drag() && dobj -> target() != qsb -> txtarea) - ClearSelection(); - - inDragDrop = false; - SetDragPosition(invalidPosition); -} - - -// Handle a drag enter event. -void ScintillaTQt::dragEnterEvent(TQDragEnterEvent *dee) -{ - dragMoveEvent(dee); -} - - -// Handle a drag move event. -void ScintillaTQt::dragMoveEvent(TQDragMoveEvent *dme) -{ - dme -> acceptAction(TQTextDrag::canDecode(dme)); - SetDragPosition(PositionFromLocation(Point(dme -> pos().x(),dme -> pos().y()))); -} - - -// Handle a drag leave event. -void ScintillaTQt::dragLeaveEvent(TQDragLeaveEvent *dle) -{ - SetDragPosition(invalidPosition); -} - - -// Handle a drop event. -void ScintillaTQt::dropEvent(TQDropEvent *de) -{ - TQString text; - - if (TQTextDrag::decode(de,text)) - { - bool moving = (de -> source() == qsb -> txtarea && de -> action() == TQDropEvent::Move); - - de -> acceptAction(); - - const char *s; - TQCString us; - - if (IsUnicodeMode()) - { - us = text.utf8(); - s = us.data(); - } - else - s = text.latin1(); - - DropAt(posDrop,s,moving,false); - SetDragPosition(invalidPosition); - Redraw(); - } -} - - -// Re-implement to trap certain messages. -sptr_t ScintillaTQt::WndProc(unsigned int iMessage,uptr_t wParam,sptr_t lParam) -{ - switch (iMessage) - { - case SCI_GRABFOCUS: - PWindow(wMain) -> setFocus(); - return 0; - - case SCI_GETDIRECTFUNCTION: - return reinterpret_cast(DirectFunction); - - case SCI_GETDIRECTPOINTER: - return reinterpret_cast(this); - } - - return ScintillaBase::WndProc(iMessage,wParam,lParam); -} - - -// Windows nonsense. -sptr_t ScintillaTQt::DefWndProc(unsigned int,uptr_t,sptr_t) -{ - return 0; -} - - -// Manage the timer. -void ScintillaTQt::SetTicking(bool on) -{ - if (timer.ticking != on) - { - timer.ticking = on; - - if (timer.ticking) - qtimer.start(timer.tickSize); - else - qtimer.stop(); - } - - timer.ticksToWait = caret.period; -} - - -// Grab or release the mouse (and keyboard). -void ScintillaTQt::SetMouseCapture(bool on) -{ - if (mouseDownCaptures) - if (on) - PWindow(wMain) -> grabMouse(); - else - PWindow(wMain) -> releaseMouse(); - - capturedMouse = on; -} - - -// Return true if the mouse/keyboard are currently grabbed. -bool ScintillaTQt::HaveMouseCapture() -{ - return capturedMouse; -} - - -// Set the position of the vertical scrollbar. -void ScintillaTQt::SetVerticalScrollPos() -{ - qsb -> vsb -> setValue(topLine); -} - - -// Set the position of the horizontal scrollbar. -void ScintillaTQt::SetHorizontalScrollPos() -{ - qsb -> hsb -> setValue(xOffset); -} - - -// Set the extent of the vertical and horizontal scrollbars and return true if -// the view needs re-drawing. -bool ScintillaTQt::ModifyScrollBars(int nMax,int nPage) -{ - qsb -> vsb -> setMinValue(0); - qsb -> vsb -> setMaxValue(nMax - nPage + 1); - qsb -> vsb -> setLineStep(1); - qsb -> vsb -> setPageStep(nPage); - - qsb -> hsb -> setMinValue(0); - qsb -> hsb -> setMaxValue(scrollWidth); - qsb -> hsb -> setPageStep(scrollWidth / 10); - - return true; -} - - -// Called after SCI_SETWRAPMODE and SCI_SETHSCROLLBAR. -void ScintillaTQt::ReconfigureScrollBars() -{ - // Hide or show the scrollbars if needed. - if (horizontalScrollBarVisible && wrapState == eWrapNone) - qsb->hsb->show(); - else - qsb->hsb->hide(); - - if (verticalScrollBarVisible) - qsb->vsb->show(); - else - qsb->vsb->hide(); -} - - -// Notify interested parties of any change in the document. -void ScintillaTQt::NotifyChange() -{ - emit qsb -> SCEN_CHANGE(); -} - - -// Notify interested parties of various events. This is the main mapping -// between Scintilla notifications and TQt signals. -void ScintillaTQt::NotifyParent(SCNotification scn) -{ - switch (scn.nmhdr.code) - { - case SCN_CALLTIPCLICK: - emit qsb -> SCN_CALLTIPCLICK(scn.position); - break; - - case SCN_AUTOCSELECTION: - emit qsb -> SCN_AUTOCSELECTION(scn.text,scn.lParam); - break; - - case SCN_CHARADDED: - emit qsb -> SCN_CHARADDED(scn.ch); - break; - - case SCN_DOUBLECLICK: - emit qsb -> SCN_DOUBLECLICK(); - break; - - case SCN_DWELLEND: - emit qsb -> SCN_DWELLEND(scn.position,scn.x,scn.y); - break; - - case SCN_DWELLSTART: - emit qsb -> SCN_DWELLSTART(scn.position,scn.x,scn.y); - break; - - case SCN_HOTSPOTCLICK: - emit qsb -> SCN_HOTSPOTCLICK(scn.position,scn.modifiers); - break; - - case SCN_HOTSPOTDOUBLECLICK: - emit qsb -> SCN_HOTSPOTDOUBLECLICK(scn.position,scn.modifiers); - break; - - case SCN_MACRORECORD: - emit qsb -> SCN_MACRORECORD(scn.message,scn.wParam,scn.lParam); - break; - - case SCN_MARGINCLICK: - emit qsb -> SCN_MARGINCLICK(scn.position,scn.modifiers, - scn.margin); - break; - - case SCN_MODIFIED: - emit qsb -> SCN_MODIFIED(scn.position,scn.modificationType, - scn.text,scn.length,scn.linesAdded, - scn.line,scn.foldLevelNow, - scn.foldLevelPrev); - break; - - case SCN_MODIFYATTEMPTRO: - emit qsb -> SCN_MODIFYATTEMPTRO(); - break; - - case SCN_NEEDSHOWN: - emit qsb -> SCN_NEEDSHOWN(scn.position,scn.length); - break; - - case SCN_PAINTED: - emit qsb -> SCN_PAINTED(); - break; - - case SCN_SAVEPOINTLEFT: - emit qsb -> SCN_SAVEPOINTLEFT(); - break; - - case SCN_SAVEPOINTREACHED: - emit qsb -> SCN_SAVEPOINTREACHED(); - break; - - case SCN_STYLENEEDED: - emit qsb -> SCN_STYLENEEDED(scn.position); - break; - - case SCN_UPDATEUI: - emit qsb -> SCN_UPDATEUI(); - break; - - case SCN_USERLISTSELECTION: - emit qsb -> SCN_USERLISTSELECTION(scn.text,scn.wParam); - break; - - case SCN_ZOOM: - emit qsb -> SCN_ZOOM(); - break; - - default: - tqWarning("Unknown notification: %u",scn.nmhdr.code); - } -} - - -// Handle a key that hasn't been filtered out as a command key. Return 0 if we -// haven't handled it. -int ScintillaTQt::KeyDefault(int key,int modifiers) -{ - // On Windows Alt Gr is returned as Ctrl-Alt (on X11 it seems to be the - // Meta key). We therefore ignore that combination. -#if defined(Q_OS_WIN) - modifiers &= (SCI_CTRL | SCI_ALT); - - if (modifiers == SCI_CTRL || modifiers == SCI_ALT) - return 0; -#else - if (modifiers & (SCI_CTRL | SCI_ALT)) - return 0; -#endif - - AddChar(key); - - return 1; -} - - -// Convert a text range to a TQString. -TQString ScintillaTQt::textRange(const SelectionText *text) -{ - TQString qs; - - if (text -> s) - if (IsUnicodeMode()) - qs = TQString::fromUtf8(text -> s); - else - qs.setLatin1(text -> s); - - return qs; -} - - -// Copy the selected text to the clipboard. -void ScintillaTQt::CopyToClipboard(const SelectionText &selectedText) -{ - TQApplication::clipboard() -> setText(textRange(&selectedText)); -} - - -// Implement copy. -void ScintillaTQt::Copy() -{ - if (currentPos != anchor) - { - SelectionText text; - - CopySelectionRange(&text); - CopyToClipboard(text); - } -} - - -// Implement paste. -void ScintillaTQt::Paste() -{ - TQString str = TQApplication::clipboard() -> text(); - - if (str.isEmpty()) - return; - - pdoc -> BeginUndoAction(); - - ClearSelection(); - - int len; - - if (IsUnicodeMode()) - { - TQCString s = str.utf8(); - - len = s.length(); - - if (len) - pdoc -> InsertString(currentPos,s.data(),len); - } - else - { - const char *s = str.latin1(); - - len = (s ? strlen(s) : 0); - - if (len) - pdoc -> InsertString(currentPos,s,len); - } - - SetEmptySelection(currentPos + len); - - pdoc -> EndUndoAction(); - - NotifyChange(); - Redraw(); -} - - -// A simple TQWidget sub-class to implement a call tip. No need to bother with -// all the moc stuff. -class TQtCallTip : public TQWidget -{ -public: - TQtCallTip(TQWidget *parent,ScintillaTQt *sci_); - ~TQtCallTip(); - -protected: - void paintEvent(TQPaintEvent *); - void mousePressEvent(TQMouseEvent *me); - -private: - ScintillaTQt *sci; -}; - - -// Create a call tip. -TQtCallTip::TQtCallTip(TQWidget *parent,ScintillaTQt *sci_) : - TQWidget(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder), sci(sci_) -{ - // Ensure that the main window keeps the focus (and the caret flashing) - // when this is displayed. - setFocusProxy(parent); -} - - -// Destroy a call tip. -TQtCallTip::~TQtCallTip() -{ - // Ensure that the main window doesn't receive a focus out event when - // this is destroyed. - setFocusProxy(0); -} - - -// Paint a call tip. -void TQtCallTip::paintEvent(TQPaintEvent *) -{ - Surface *surfaceWindow = Surface::Allocate(); - - if (surfaceWindow) - { - TQPainter p(this); - - surfaceWindow -> Init(&p,0); - sci -> ct.PaintCT(surfaceWindow); - surfaceWindow -> Release(); - - delete surfaceWindow; - } -} - - -// Handle a mouse press in a call tip. -void TQtCallTip::mousePressEvent(TQMouseEvent *me) -{ - Point pt; - - pt.x = me -> x(); - pt.y = me -> y(); - - sci -> ct.MouseClick(pt); - sci -> CallTipClick(); -} - - -// Create a call tip window. -void ScintillaTQt::CreateCallTipWindow(PRectangle rc) -{ - if (!ct.wCallTip.Created()) - ct.wCallTip = ct.wDraw = new TQtCallTip(qsb,this); - - PWindow(ct.wCallTip) -> resize(rc.right - rc.left,rc.bottom - rc.top); - ct.wCallTip.Show(); -} - - -// Add an item to the right button menu. -void ScintillaTQt::AddToPopUp(const char *label,int cmd,bool enabled) -{ - TQPopupMenu *pm = static_cast(popup.GetID()); - - if (label[0] != '\0') - { - TQString tr_label = tqApp -> translate("ContextMenu",label); - - pm -> insertItem(tr_label,qsb,TQT_SLOT(handlePopUp(int)),0,cmd); - pm -> setItemEnabled(cmd,enabled); - } - else - pm -> insertSeparator(); -} - - -// Claim the selection. -void ScintillaTQt::ClaimSelection() -{ - bool isSel = (currentPos != anchor); - - if (isSel) - { - TQClipboard *cb = TQApplication::clipboard(); - - // If we support X11 style selection then make it available - // now. - if (cb -> supportsSelection()) - { - SelectionText text; - - CopySelectionRange(&text); - - if (text.s) - { - cb -> setSelectionMode(TRUE); - cb -> setText(text.s); - cb -> setSelectionMode(FALSE); - } - } - - primarySelection = true; - } - else - primarySelection = false; - - emit qsb -> TQSCN_SELCHANGED(isSel); -} - - -// Unclaim the selection. -void ScintillaTQt::UnclaimSelection() -{ - if (primarySelection) - { - primarySelection = false; - qsb -> txtarea -> update(); - } -} - - -// Implemented to provide compatibility with the Windows version. -sptr_t ScintillaTQt::DirectFunction(ScintillaTQt *sciThis,unsigned int iMessage, - uptr_t wParam,sptr_t lParam) -{ - return sciThis -> WndProc(iMessage,wParam,lParam); -} - - -// Draw the contents of the widget. -void ScintillaTQt::paintEvent(TQPaintEvent *pe) -{ - bool isUnicodeMode = (pdoc && pdoc -> dbcsCodePage == SC_CP_UTF8); - - paintState = painting; - - const TQRect &qr = pe -> rect(); - - rcPaint.left = qr.left(); - rcPaint.top = qr.top(); - rcPaint.right = qr.right() + 1; - rcPaint.bottom = qr.bottom() + 1; - - PRectangle rcText = GetTextRectangle(); - paintingAllText = rcPaint.Contains(rcText); - - Surface *sw = Surface::Allocate(); - - if (sw) - { - TQPainter painter(PWindow(wMain)); - - sw -> Init(&painter,0); - sw -> SetUnicodeMode(isUnicodeMode); - Paint(sw,rcPaint); - sw -> Release(); - delete sw; - - // If the painting area was insufficient to cover the new style - // or brace highlight positions then repaint the whole thing. - if (paintState == paintAbandoned) - PWindow(wMain) -> update(); - } - - paintState = notPainting; -} diff --git a/qt/ScintillaQt.h b/qt/ScintillaQt.h deleted file mode 100644 index 08074b3..0000000 --- a/qt/ScintillaQt.h +++ /dev/null @@ -1,117 +0,0 @@ -// The definition of the TQt specific subclass of ScintillaBase. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef SCINTILLATQT_H -#define SCINTILLATQT_H - - -#include - -// These are needed because scintilla class header files don't seem to manage -// their own dependencies properly. -#include -#include -#include "Platform.h" -#include "Scintilla.h" -#include "SVector.h" -#include "CellBuffer.h" -#include "CharClassify.h" -#include "Document.h" -#include "Style.h" -#include "XPM.h" -#include "LineMarker.h" -#include "Indicator.h" -#include "ViewStyle.h" -#include "KeyMap.h" -#include "ContractionState.h" -#include "Editor.h" -#include "AutoComplete.h" -#include "CallTip.h" -#include "SString.h" -#include "PropSet.h" -#include "Accessor.h" -#include "KeyWords.h" - -#include "ScintillaBase.h" - - -class TQPaintEvent; -class QextScintillaBase; -class TQtCallTip; - - -class ScintillaTQt : public ScintillaBase -{ - friend class QextScintillaBase; - friend class TQtCallTip; - -public: - ScintillaTQt(QextScintillaBase *qsb_); - virtual ~ScintillaTQt(); - - virtual sptr_t WndProc(unsigned int iMessage,uptr_t wParam, - sptr_t lParam); - -private: - TQWidget *PWindow(Window &w) - { - return reinterpret_cast(w.GetID()); - } - - void Initialise(); - void Finalise(); - void StartDrag(); - void StartDragImpl(); - sptr_t DefWndProc(unsigned int,uptr_t,sptr_t); - void SetTicking(bool); - void SetMouseCapture(bool on); - bool HaveMouseCapture(); - void SetVerticalScrollPos(); - void SetHorizontalScrollPos(); - bool ModifyScrollBars(int nMax,int nPage); - void ReconfigureScrollBars(); - void NotifyChange(); - void NotifyParent(SCNotification scn); - int KeyDefault(int key,int modifiers); - void CopyToClipboard(const SelectionText &selectedText); - void Copy(); - void Paste(); - void CreateCallTipWindow(PRectangle rc); - void AddToPopUp(const char *label,int cmd = 0,bool enabled = true); - void ClaimSelection(); - void UnclaimSelection(); - static sptr_t DirectFunction(ScintillaTQt *sci,unsigned int iMessage, - uptr_t wParam,sptr_t lParam); - - TQString textRange(const SelectionText *text); - void paintEvent(TQPaintEvent *pe); - void dragEnterEvent(TQDragEnterEvent *dee); - void dragMoveEvent(TQDragMoveEvent *dme); - void dragLeaveEvent(TQDragLeaveEvent *dle); - void dropEvent(TQDropEvent *de); - - bool capturedMouse; - QextScintillaBase *qsb; - TQTimer qtimer; -}; - -#endif diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp deleted file mode 100644 index ab54883..0000000 --- a/qt/qextscintilla.cpp +++ /dev/null @@ -1,3036 +0,0 @@ -// This module implements the "official" high-level API of the TQt port of -// Scintilla. It is modelled on TQTextEdit - a method of the same name should -// behave in the same way. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintilla.h" -#include "qextscintillalexer.h" -#include "qextscintillaapis.h" -#include "qextscintillacommandset.h" - - -// Make sure these match the values in Scintilla.h. We don't #include that -// file because it just causes more clashes. -#define KEYWORDSET_MAX 8 -#define MARKER_MAX 31 - - -// The default fold margin width. -static const int defaultFoldMarginWidth = 14; - -// The default set of characters that make up a word. -static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; - - -// The ctor. -QextScintilla::QextScintilla(TQWidget *parent,const char *name,WFlags f) - : QextScintillaBase(parent,name,f), allocatedMarkers(0), oldPos(-1), - selText(FALSE), fold(NoFoldStyle), autoInd(FALSE), - braceMode(NoBraceMatch), acSource(AcsDocument), acThresh(-1), - acStart(""), acAPIs(0), ctAPIs(0), maxCallTips(-1), - showSingle(FALSE), modified(FALSE), explicit_fillups(FALSE), - fillups_enabled(FALSE), saved_fillups("") -{ - connect(this,TQT_SIGNAL(SCN_MODIFYATTEMPTRO()), - TQT_SIGNAL(modificationAttempted())); - - connect(this,TQT_SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)), - TQT_SLOT(handleModified(int,int,const char *,int,int,int,int,int))); - connect(this,TQT_SIGNAL(SCN_CALLTIPCLICK(int)), - TQT_SLOT(handleCallTipClick(int))); - connect(this,TQT_SIGNAL(SCN_CHARADDED(int)), - TQT_SLOT(handleCharAdded(int))); - connect(this,TQT_SIGNAL(SCN_MARGINCLICK(int,int,int)), - TQT_SLOT(handleMarginClick(int,int,int))); - connect(this,TQT_SIGNAL(SCN_SAVEPOINTREACHED()), - TQT_SLOT(handleSavePointReached())); - connect(this,TQT_SIGNAL(SCN_SAVEPOINTLEFT()), - TQT_SLOT(handleSavePointLeft())); - connect(this,TQT_SIGNAL(SCN_UPDATEUI()), - TQT_SLOT(handleUpdateUI())); - connect(this,TQT_SIGNAL(TQSCN_SELCHANGED(bool)), - TQT_SLOT(handleSelectionChanged(bool))); - connect(this,TQT_SIGNAL(SCN_USERLISTSELECTION(const char *,int)), - TQT_SLOT(handleUserListSelection(const char *,int))); - - // Set the default font. - setFont(TQApplication::font()); - - // Set the default fore and background colours. - TQColorGroup cg = TQApplication::palette().active(); - setColor(cg.text()); - setPaper(cg.base()); - -#if defined(Q_OS_WIN) - setEolMode(EolWindows); -#elif defined(Q_OS_MAC) - setEolMode(EolMac); -#else - setEolMode(EolUnix); -#endif - - // Capturing the mouse seems to cause problems on multi-head systems. - // TQt should do the right thing anyway. - SendScintilla(SCI_SETMOUSEDOWNCAPTURES,0UL); - - SendScintilla(SCI_SETPROPERTY,"fold","1"); - - setMatchedBraceForegroundColor(blue); - setUnmatchedBraceForegroundColor(red); - - setLexer(); - - // Set the visible policy. These are the same as SciTE's defaults - // which, presumably, are sensible. - SendScintilla(SCI_SETVISIBLEPOLICY,VISIBLE_STRICT|VISIBLE_SLOP,4); - - // Create the standard command set. - stdCmds = new QextScintillaCommandSet(this); - - doc.display(this,0); -} - - -// The dtor. -QextScintilla::~QextScintilla() -{ - doc.undisplay(this); - delete stdCmds; -} - - -// Return the current text colour. -TQColor QextScintilla::color() const -{ - return nl_text_colour; -} - - -// Set the text colour. -void QextScintilla::setColor(const TQColor &c) -{ - if (lex.isNull()) - { - // Assume style 0 applies to everything so that we don't need to use - // SCI_STYLECLEARALL which clears everything. - SendScintilla(SCI_STYLESETFORE, 0, c); - nl_text_colour = c; - } -} - - -// Return the current paper colour. -TQColor QextScintilla::paper() const -{ - return nl_paper_colour; -} - - -// Set the paper colour. -void QextScintilla::setPaper(const TQColor &c) -{ - if (lex.isNull()) - { - // Assume style 0 applies to everything so that we don't need to use - // SCI_STYLECLEARALL which clears everything. We still have to set the - // default style as well for the background without any text. - SendScintilla(SCI_STYLESETBACK, 0, c); - SendScintilla(SCI_STYLESETBACK, STYLE_DEFAULT, c); - nl_paper_colour = c; - } -} - - -// Set the default font. -void QextScintilla::setFont(const TQFont &f) -{ - if (lex.isNull()) - { - // Assume style 0 applies to everything so that we don't need to use - // SCI_STYLECLEARALL which clears everything. - setStylesFont(f, 0); - nl_font = f; - } -} - - -// Enable/disable auto-indent. -void QextScintilla::setAutoIndent(bool autoindent) -{ - autoInd = autoindent; -} - - -// Set the brace matching mode. -void QextScintilla::setBraceMatching(BraceMatch bm) -{ - braceMode = bm; -} - - -// Handle the addition of a character. -void QextScintilla::handleCharAdded(int ch) -{ - // Ignore if there is a selection. - long pos = SendScintilla(SCI_GETSELECTIONSTART); - - if (pos != SendScintilla(SCI_GETSELECTIONEND) || pos == 0) - return; - - // If auto-completion is already active then see if this character is a - // start character. If it is then create a new list which will be a - // subset of the current one. The case where it isn't a start - // character seem to be handled correctly elsewhere. - if (isListActive()) - { - if (isAutoCStartChar(ch)) - { - cancelList(); - startAutoCompletion(acSource, FALSE, FALSE); - } - - return; - } - - // Handle call tips. - if (strchr("(),", ch) != NULL) - callTip(); - - // Handle auto-indentation. - if (autoInd) - if (lex.isNull() || (lex -> autoIndentStyle() & AiMaintain)) - maintainIndentation(ch,pos); - else - autoIndentation(ch,pos); - - // See if we might want to start auto-completion. - if (!isCallTipActive()) - if (isAutoCStartChar(ch)) - startAutoCompletion(acSource, FALSE, FALSE); - else if (acThresh >= 1 && isWordChar(ch)) - startAutoCompletion(acSource, TRUE, FALSE); -} - - -// See if a call tip is active. -bool QextScintilla::isCallTipActive() -{ - return SendScintilla(SCI_CALLTIPACTIVE); -} - - -// Handle a possible change to any current call tip. -void QextScintilla::callTip() -{ - if (!ctAPIs) - return; - - long pos = SendScintilla(SCI_GETCURRENTPOS); - long linenr = SendScintilla(SCI_LINEFROMPOSITION,pos); - long linelen = SendScintilla(SCI_LINELENGTH,linenr); - - char *lbuf = new char[linelen + 1]; - - int loff = SendScintilla(SCI_GETCURLINE,linelen + 1,lbuf); - - int commas = 0, start = -1; - - // Move backwards through the line looking for the start of the current - // call tip and working out which argument it is. - while (loff > 0) - { - char ch = lbuf[--loff]; - - if (ch == ',') - ++commas; - else if (ch == ')') - { - int depth = 1; - - // Ignore everything back to the start of the - // corresponding parenthesis. - while (loff > 0) - { - ch = lbuf[--loff]; - - if (ch == ')') - ++depth; - else if (ch == '(' && --depth == 0) - break; - } - } - else if (ch == '(' && loff > 0) - { - if (isWordChar(lbuf[loff - 1])) - { - // The parenthesis is preceded by a word so - // find the start of that word. - lbuf[loff--] = '\0'; - - while (loff >= 0) - { - if (!isWordChar(lbuf[loff]) && !isAutoCStartChar(lbuf[loff])) - break; - - --loff; - } - - start = loff + 1; - break; - } - - // We are between parentheses that do not correspond to - // a call tip, so reset the argument count. - commas = 0; - } - } - - // Cancel any existing call tip. - SendScintilla(SCI_CALLTIPCANCEL); - - // Done if there is no new call tip to set. - if (start < 0) - { - delete []lbuf; - return; - } - - TQString ct = ctAPIs -> callTips(&lbuf[start],maxCallTips,commas); - - delete []lbuf; - - if (ct.isEmpty()) - return; - - ctpos = SendScintilla(SCI_POSITIONFROMLINE,linenr) + start; - - SendScintilla(SCI_CALLTIPSHOW,ctpos,ct.latin1()); - - // Done if there is more than one line in the call tip or there isn't a - // down arrow at the start. - if (ct[0] == '\002' || ct.find('\n') >= 0) - return; - - // Highlight the current argument. - int astart; - - if (commas == 0) - astart = ct.find('('); - else - { - astart = -1; - - do - astart = ct.find(',',astart + 1); - while (astart >= 0 && --commas > 0); - } - - int len = ct.length(); - - if (astart < 0 || ++astart == len) - return; - - // The end is at the next comma or unmatched closing parenthesis. - int aend, depth = 0; - - for (aend = astart; aend < len; ++aend) - { - TQChar ch = ct.at(aend); - - if (ch == ',' && depth == 0) - break; - else if (ch == '(') - ++depth; - else if (ch == ')') - { - if (depth == 0) - break; - - --depth; - } - } - - if (astart != aend) - SendScintilla(SCI_CALLTIPSETHLT,astart,aend); -} - - -// Handle a call tip click. -void QextScintilla::handleCallTipClick(int dir) -{ - if (!ctAPIs) - return; - - TQString ct = ctAPIs -> callTipsNextPrev(dir); - - if (ct.isNull()) - return; - - SendScintilla(SCI_CALLTIPSHOW,ctpos,ct.latin1()); -} - - -// Possibly start auto-completion. -void QextScintilla::startAutoCompletion(AutoCompletionSource acs, - bool checkThresh, bool single) -{ - // Get the current line. - long len = SendScintilla(SCI_GETCURLINE) + 1; - - char *line = new char[len]; - - int wend = SendScintilla(SCI_GETCURLINE, len, line); - - // Find the start of the auto-completion text. - int wstart = wend; - bool numeric = true; - - while (wstart > 0) - { - char ch = line[wstart - 1]; - - // Don't auto-complete numbers. - if (ch < '0' || ch > '9') - numeric = false; - - if (!isWordChar(ch) && !isAutoCStartChar(ch)) - break; - - --wstart; - } - - int wlen = wend - wstart; - - if (numeric || wlen == 0 || (checkThresh && wlen < acThresh)) - return; - - // Isolate the auto-completion text. - char *word = &line[wstart]; - line[wend] = '\0'; - - // Generate the string representing the valid words to select from. - TQStringList wlist; - bool cs = !SendScintilla(SCI_AUTOCGETIGNORECASE); - - if (acs == AcsAll || acs == AcsDocument) - { - SendScintilla(SCI_SETSEARCHFLAGS,SCFIND_WORDSTART | (cs ? SCFIND_MATCHCASE : 0)); - - long pos = 0; - long dlen = SendScintilla(SCI_GETLENGTH); - long caret = SendScintilla(SCI_GETCURRENTPOS); - TQString root(word); - - for (;;) - { - long fstart; - - SendScintilla(SCI_SETTARGETSTART,pos); - SendScintilla(SCI_SETTARGETEND,dlen); - - if ((fstart = SendScintilla(SCI_SEARCHINTARGET,wlen,word)) < 0) - break; - - // Move past the root part. - pos = fstart + wlen; - - // Skip if this is the word we are auto-completing. - if (pos == caret) - continue; - - // Get the rest of this word. - TQString w(root); - - while (pos < dlen) - { - char ch = SendScintilla(SCI_GETCHARAT,pos); - - if (!isWordChar(ch)) - break; - - w += ch; - - ++pos; - } - - // Add the word if it isn't already there. - if (wlist.findIndex(w) < 0) - wlist.append(w); - } - } - - if ((acs == AcsAll || acs == AcsAPIs) && acAPIs) - acAPIs->autoCompletionList(word, cs, wlist); - - delete []line; - - if (wlist.isEmpty()) - return; - - wlist.sort(); - - const char sep = '\x03'; - - SendScintilla(SCI_AUTOCSETCHOOSESINGLE,single); - SendScintilla(SCI_AUTOCSETSEPARATOR, sep); - SendScintilla(SCI_AUTOCSHOW, wlen, wlist.join(TQChar(sep)).latin1()); -} - - -// Check if a character is an auto-completion start character. -bool QextScintilla::isAutoCStartChar(char ch) const -{ - const char *start_chars = 0; - - if (!lex.isNull()) - start_chars = lex->autoCompletionStartCharacters(); - - if (!start_chars) - start_chars = acStart; - - return (strchr(start_chars, ch) != NULL); -} - - -// Maintain the indentation of the previous line. -void QextScintilla::maintainIndentation(char ch,long pos) -{ - if (ch != '\r' && ch != '\n') - return; - - int curr_line = SendScintilla(SCI_LINEFROMPOSITION,pos); - - // Get the indentation of the preceding non-zero length line. - int ind = 0; - - for (int line = curr_line - 1; line >= 0; --line) - { - if (SendScintilla(SCI_GETLINEENDPOSITION,line) > - SendScintilla(SCI_POSITIONFROMLINE,line)) - { - ind = indentation(line); - break; - } - } - - if (ind > 0) - autoIndentLine(pos,curr_line,ind); -} - - -// Implement auto-indentation. -void QextScintilla::autoIndentation(char ch,long pos) -{ - int curr_line = SendScintilla(SCI_LINEFROMPOSITION,pos); - int ind_width = indentationWidth(); - long curr_line_start = SendScintilla(SCI_POSITIONFROMLINE,curr_line); - - const char *block_start = lex -> blockStart(); - bool start_single = (block_start && strlen(block_start) == 1); - - const char *block_end = lex -> blockEnd(); - bool end_single = (block_end && strlen(block_end) == 1); - - if (end_single && block_end[0] == ch) - { - if ((lex -> autoIndentStyle() & AiClosing) && rangeIsWhitespace(curr_line_start,pos - 1)) - autoIndentLine(pos,curr_line,blockIndent(curr_line - 1) - indentationWidth()); - } - else if (start_single && block_start[0] == ch) - { - // De-indent if we have already indented because the previous - // line was a start of block keyword. - if ((lex->autoIndentStyle() & AiOpening) && curr_line > 0 && getIndentState(curr_line - 1) == isKeywordStart && rangeIsWhitespace(curr_line_start, pos - 1)) - autoIndentLine(pos,curr_line,blockIndent(curr_line - 1) - indentationWidth()); - } - else if (ch == '\r' || ch == '\n') - autoIndentLine(pos,curr_line,blockIndent(curr_line - 1)); -} - - -// Set the indentation for a line. -void QextScintilla::autoIndentLine(long pos,int line,int indent) -{ - if (indent < 0) - return; - - long pos_before = SendScintilla(SCI_GETLINEINDENTPOSITION,line); - SendScintilla(SCI_SETLINEINDENTATION,line,indent); - long pos_after = SendScintilla(SCI_GETLINEINDENTPOSITION,line); - long new_pos = -1; - - if (pos_after > pos_before) - new_pos = pos + (pos_after - pos_before); - else if (pos_after < pos_before && pos >= pos_after) - if (pos >= pos_before) - new_pos = pos + (pos_after - pos_before); - else - new_pos = pos_after; - - if (new_pos >= 0) - SendScintilla(SCI_SETSEL,new_pos,new_pos); -} - - -// Return the indentation of the block defined by the given line (or something -// significant before). -int QextScintilla::blockIndent(int line) -{ - if (line < 0) - return 0; - - // Handle the trvial case. - if (!lex -> blockStartKeyword() && !lex -> blockStart() && !lex -> blockEnd()) - return indentation(line); - - int line_limit = line - lex -> blockLookback(); - - if (line_limit < 0) - line_limit = 0; - - for (int l = line; l >= line_limit; --l) - { - IndentState istate = getIndentState(l); - - if (istate != isNone) - { - int ind_width = indentationWidth(); - int ind = indentation(l); - - if (istate == isBlockStart) - { - if (lex -> autoIndentStyle() & AiOpening) - ind += ind_width; - } - else if (istate == isBlockEnd) - { - if (!(lex -> autoIndentStyle() & AiClosing)) - ind -= ind_width; - - if (ind < 0) - ind = 0; - } - else if (line == l) - ind += ind_width; - - return ind; - } - } - - return indentation(line); -} - - -// Return TRUE if all characters starting at spos up to, but not including -// epos, are spaces or tabs. -bool QextScintilla::rangeIsWhitespace(long spos,long epos) -{ - while (spos < epos) - { - char ch = SendScintilla(SCI_GETCHARAT,spos); - - if (ch != ' ' && ch != '\t') - return FALSE; - - ++spos; - } - - return TRUE; -} - - -// Returns the indentation state of a line. -QextScintilla::IndentState QextScintilla::getIndentState(int line) -{ - IndentState istate; - - // Get the styled text. - long spos = SendScintilla(SCI_POSITIONFROMLINE,line); - long epos = SendScintilla(SCI_POSITIONFROMLINE,line + 1); - - char *text = new char[(epos - spos + 1) * 2]; - - SendScintilla(SCI_GETSTYLEDTEXT,spos,epos,text); - - int style, bstart_off, bend_off; - - // Block start/end takes precedence over keywords. - const char *bstart_words = lex->blockStart(&style); - bstart_off = findStyledWord(text, style, bstart_words); - - const char *bend_words = lex->blockEnd(&style); - bend_off = findStyledWord(text, style, bend_words); - - // If there is a block start but no block end characters then ignore it - // unless the block start is the last significant thing on the line, - // ie. assume Python-like blocking. - if (bstart_off >= 0 && !bend_words) - for (int i = bstart_off * 2; text[i] != '\0'; i += 2) - if (!TQChar(text[i]).isSpace()) - return isNone; - - if (bstart_off > bend_off) - istate = isBlockStart; - else if (bend_off > bstart_off) - istate = isBlockEnd; - else - { - const char *words = lex->blockStartKeyword(&style); - - istate = (findStyledWord(text,style,words) >= 0) ? isKeywordStart : isNone; - } - - delete[] text; - - return istate; -} - - -// text is a pointer to some styled text (ie. a character byte followed by a -// style byte). style is a style number. words is a space separated list of -// words. Returns the position in the text immediately after the last one of -// the words with the style. The reason we are after the last, and not the -// first, occurance is that we are looking for words that start and end a block -// where the latest one is the most significant. -int QextScintilla::findStyledWord(const char *text,int style,const char *words) -{ - if (!words) - return -1; - - // Find the range of text with the style we are looking for. - const char *stext; - - for (stext = text; stext[1] != style; stext += 2) - if (stext[0] == '\0') - return -1; - - // Move to the last character. - const char *etext = stext; - - while (etext[2] != '\0') - etext += 2; - - // Backtrack until we find the style. There will be one. - while (etext[1] != style) - etext -= 2; - - // Look for each word in turn. - while (words[0] != '\0') - { - // Find the end of the word. - const char *eword = words; - - while (eword[1] != ' ' && eword[1] != '\0') - ++eword; - - // Now search the text backwards. - const char *wp = eword; - - for (const char *tp = etext; tp >= stext; tp -= 2) - { - if (tp[0] != wp[0] || tp[1] != style) - { - // Reset the search. - wp = eword; - continue; - } - - // See if all the word has matched. - if (wp-- == words) - return ((tp - text) / 2) + (eword - words) + 1; - } - - // Move to the start of the next word if there is one. - words = eword + 1; - - if (words[0] == ' ') - ++words; - } - - return -1; -} - - -// Return TRUE if the code page is UTF8. -bool QextScintilla::isUtf8() -{ - return (SendScintilla(SCI_GETCODEPAGE) == SC_CP_UTF8); -} - - -// Set the code page. -void QextScintilla::setUtf8(bool cp) -{ - SendScintilla(SCI_SETCODEPAGE,(cp ? SC_CP_UTF8 : 0)); -} - - -// Return the end-of-line mode. -QextScintilla::EolMode QextScintilla::eolMode() -{ - return (EolMode)SendScintilla(SCI_GETEOLMODE); -} - - -// Set the end-of-line mode. -void QextScintilla::setEolMode(EolMode mode) -{ - SendScintilla(SCI_SETEOLMODE,mode); -} - - -// Convert the end-of-lines to a particular mode. -void QextScintilla::convertEols(EolMode mode) -{ - SendScintilla(SCI_CONVERTEOLS,mode); -} - - -// Return the edge colour. -TQColor QextScintilla::edgeColor() -{ - long res = SendScintilla(SCI_GETEDGECOLOUR); - - return TQColor((int)res, ((int)(res >> 8)) & 0x00ff, ((int)(res >> 16)) & 0x00ff); -} - - -// Set the edge colour. -void QextScintilla::setEdgeColor(const TQColor &col) -{ - SendScintilla(SCI_SETEDGECOLOUR,col); -} - - -// Return the edge column. -int QextScintilla::edgeColumn() -{ - return SendScintilla(SCI_GETEDGECOLUMN); -} - - -// Set the edge column. -void QextScintilla::setEdgeColumn(int colnr) -{ - SendScintilla(SCI_SETEDGECOLUMN,colnr); -} - - -// Return the edge mode. -QextScintilla::EdgeMode QextScintilla::edgeMode() -{ - return (EdgeMode)SendScintilla(SCI_GETEDGEMODE); -} - - -// Set the edge mode. -void QextScintilla::setEdgeMode(EdgeMode mode) -{ - SendScintilla(SCI_SETEDGEMODE,mode); -} - - -// Return the end-of-line visibility. -bool QextScintilla::eolVisibility() -{ - return SendScintilla(SCI_GETVIEWEOL); -} - - -// Set the end-of-line visibility. -void QextScintilla::setEolVisibility(bool visible) -{ - SendScintilla(SCI_SETVIEWEOL,visible); -} - - -// Return the whitespace visibility. -QextScintilla::WhitespaceVisibility QextScintilla::whitespaceVisibility() -{ - return (WhitespaceVisibility)SendScintilla(SCI_GETVIEWWS); -} - - -// Set the whitespace visibility. -void QextScintilla::setWhitespaceVisibility(WhitespaceVisibility mode) -{ - SendScintilla(SCI_SETVIEWWS,mode); -} - - -// Return the line wrap mode. -QextScintilla::WrapMode QextScintilla::wrapMode() -{ - return (WrapMode)SendScintilla(SCI_GETWRAPMODE); -} - - -// Set the line wrap mode. -void QextScintilla::setWrapMode(WrapMode mode) -{ - SendScintilla(SCI_SETLAYOUTCACHE, (mode == WrapNone ? SC_CACHE_CARET : SC_CACHE_DOCUMENT)); - SendScintilla(SCI_SETWRAPMODE, mode); -} - - -// Set the line wrap visual flags. -void QextScintilla::setWrapVisualFlags(WrapVisualFlag eflag, - WrapVisualFlag sflag, int sindent) -{ - int flags = SC_WRAPVISUALFLAG_NONE; - int loc = SC_WRAPVISUALFLAGLOC_DEFAULT; - - if (eflag == WrapFlagByText) - { - flags |= SC_WRAPVISUALFLAG_END; - loc |= SC_WRAPVISUALFLAGLOC_END_BY_TEXT; - } - else if (eflag == WrapFlagByBorder) - flags |= SC_WRAPVISUALFLAG_END; - - if (sflag == WrapFlagByText) - { - flags |= SC_WRAPVISUALFLAG_START; - loc |= SC_WRAPVISUALFLAGLOC_START_BY_TEXT; - } - else if (sflag == WrapFlagByBorder) - flags |= SC_WRAPVISUALFLAG_START; - - SendScintilla(SCI_SETWRAPVISUALFLAGS, flags); - SendScintilla(SCI_SETWRAPVISUALFLAGSLOCATION, loc); - SendScintilla(SCI_SETWRAPSTARTINDENT, sindent); -} - - -// Set the folding style. -void QextScintilla::setFolding(FoldStyle folding) -{ - fold = folding; - - if (folding == NoFoldStyle) - { - SendScintilla(SCI_SETMARGINWIDTHN,2,0L); - return; - } - - int mask = SendScintilla(SCI_GETMODEVENTMASK); - SendScintilla(SCI_SETMODEVENTMASK,mask | SC_MOD_CHANGEFOLD); - - SendScintilla(SCI_SETFOLDFLAGS,SC_FOLDFLAG_LINEAFTER_CONTRACTED); - - SendScintilla(SCI_SETMARGINTYPEN,2,(long)SC_MARGIN_SYMBOL); - SendScintilla(SCI_SETMARGINMASKN,2,SC_MASK_FOLDERS); - SendScintilla(SCI_SETMARGINSENSITIVEN,2,1); - - // Set the marker symbols to use. - switch (folding) - { - case PlainFoldStyle: - setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_MINUS); - setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_PLUS); - setFoldMarker(SC_MARKNUM_FOLDERSUB); - setFoldMarker(SC_MARKNUM_FOLDERTAIL); - setFoldMarker(SC_MARKNUM_FOLDEREND); - setFoldMarker(SC_MARKNUM_FOLDEROPENMID); - setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); - - break; - - case CircledFoldStyle: - setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_CIRCLEMINUS); - setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_CIRCLEPLUS); - setFoldMarker(SC_MARKNUM_FOLDERSUB); - setFoldMarker(SC_MARKNUM_FOLDERTAIL); - setFoldMarker(SC_MARKNUM_FOLDEREND); - setFoldMarker(SC_MARKNUM_FOLDEROPENMID); - setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); - - break; - - case BoxedFoldStyle: - setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_BOXMINUS); - setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_BOXPLUS); - setFoldMarker(SC_MARKNUM_FOLDERSUB); - setFoldMarker(SC_MARKNUM_FOLDERTAIL); - setFoldMarker(SC_MARKNUM_FOLDEREND); - setFoldMarker(SC_MARKNUM_FOLDEROPENMID); - setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); - - break; - - case CircledTreeFoldStyle: - setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_CIRCLEMINUS); - setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_CIRCLEPLUS); - setFoldMarker(SC_MARKNUM_FOLDERSUB,SC_MARK_VLINE); - setFoldMarker(SC_MARKNUM_FOLDERTAIL,SC_MARK_LCORNERCURVE); - setFoldMarker(SC_MARKNUM_FOLDEREND,SC_MARK_CIRCLEPLUSCONNECTED); - setFoldMarker(SC_MARKNUM_FOLDEROPENMID,SC_MARK_CIRCLEMINUSCONNECTED); - setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL,SC_MARK_TCORNERCURVE); - - break; - - case BoxedTreeFoldStyle: - setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_BOXMINUS); - setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_BOXPLUS); - setFoldMarker(SC_MARKNUM_FOLDERSUB,SC_MARK_VLINE); - setFoldMarker(SC_MARKNUM_FOLDERTAIL,SC_MARK_LCORNER); - setFoldMarker(SC_MARKNUM_FOLDEREND,SC_MARK_BOXPLUSCONNECTED); - setFoldMarker(SC_MARKNUM_FOLDEROPENMID,SC_MARK_BOXMINUSCONNECTED); - setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL,SC_MARK_TCORNER); - - break; - } - - SendScintilla(SCI_SETMARGINWIDTHN,2,defaultFoldMarginWidth); -} - - -// Set up a folder marker. -void QextScintilla::setFoldMarker(int marknr,int mark) -{ - SendScintilla(SCI_MARKERDEFINE,marknr,mark); - - if (mark != SC_MARK_EMPTY) - { - SendScintilla(SCI_MARKERSETFORE,marknr,white); - SendScintilla(SCI_MARKERSETBACK,marknr,black); - } -} - - -// Handle a click in the fold margin. This is mostly taken from SciTE. -void QextScintilla::foldClick(int lineClick,int bstate) -{ - if ((bstate & ShiftButton) && (bstate & ControlButton)) - { - foldAll(); - return; - } - - int levelClick = SendScintilla(SCI_GETFOLDLEVEL,lineClick); - - if (levelClick & SC_FOLDLEVELHEADERFLAG) - { - if (bstate & ShiftButton) - { - // Ensure all children are visible. - SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); - foldExpand(lineClick,TRUE,TRUE,100,levelClick); - } - else if (bstate & ControlButton) - { - if (SendScintilla(SCI_GETFOLDEXPANDED,lineClick)) - { - // Contract this line and all its children. - SendScintilla(SCI_SETFOLDEXPANDED,lineClick,0L); - foldExpand(lineClick,FALSE,TRUE,0,levelClick); - } - else - { - // Expand this line and all its children. - SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); - foldExpand(lineClick,TRUE,TRUE,100,levelClick); - } - } - else - { - // Toggle this line. - SendScintilla(SCI_TOGGLEFOLD,lineClick); - } - } -} - - -// Do the hard work of hiding and showing lines. This is mostly taken from -// SciTE. -void QextScintilla::foldExpand(int &line,bool doExpand,bool force, - int visLevels,int level) -{ - int lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,line,level & SC_FOLDLEVELNUMBERMASK); - - line++; - - while (line <= lineMaxSubord) - { - if (force) - { - if (visLevels > 0) - SendScintilla(SCI_SHOWLINES,line,line); - else - SendScintilla(SCI_HIDELINES,line,line); - } - else if (doExpand) - SendScintilla(SCI_SHOWLINES,line,line); - - int levelLine = level; - - if (levelLine == -1) - levelLine = SendScintilla(SCI_GETFOLDLEVEL,line); - - if (levelLine & SC_FOLDLEVELHEADERFLAG) - { - if (force) - { - if (visLevels > 1) - SendScintilla(SCI_SETFOLDEXPANDED,line,1); - else - SendScintilla(SCI_SETFOLDEXPANDED,line,0L); - - foldExpand(line,doExpand,force,visLevels - 1); - } - else if (doExpand) - { - if (!SendScintilla(SCI_GETFOLDEXPANDED,line)) - SendScintilla(SCI_SETFOLDEXPANDED,line,1); - - foldExpand(line,TRUE,force,visLevels - 1); - } - else - foldExpand(line,FALSE,force,visLevels - 1); - } - else - line++; - } -} - - -// Fully expand (if there is any line currently folded) all text. Otherwise, -// fold all text. This is mostly taken from SciTE. -void QextScintilla::foldAll(bool children) -{ - recolor(); - - int maxLine = SendScintilla(SCI_GETLINECOUNT); - bool expanding = TRUE; - - for (int lineSeek = 0; lineSeek < maxLine; lineSeek++) - { - if (SendScintilla(SCI_GETFOLDLEVEL,lineSeek) & SC_FOLDLEVELHEADERFLAG) - { - expanding = !SendScintilla(SCI_GETFOLDEXPANDED,lineSeek); - break; - } - } - - for (int line = 0; line < maxLine; line++) - { - int level = SendScintilla(SCI_GETFOLDLEVEL,line); - - if (!(level & SC_FOLDLEVELHEADERFLAG)) - continue; - - if (children || - (SC_FOLDLEVELBASE == (level & SC_FOLDLEVELNUMBERMASK))) - { - if (expanding) - { - SendScintilla(SCI_SETFOLDEXPANDED,line,1); - foldExpand(line,TRUE,FALSE,0,level); - line--; - } - else - { - int lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,line,-1); - - SendScintilla(SCI_SETFOLDEXPANDED,line,0L); - - if (lineMaxSubord > line) - SendScintilla(SCI_HIDELINES,line + 1,lineMaxSubord); - } - } - } -} - - -// Handle a fold change. This is mostly taken from SciTE. -void QextScintilla::foldChanged(int line,int levelNow,int levelPrev) -{ - if (levelNow & SC_FOLDLEVELHEADERFLAG) - { - if (!(levelPrev & SC_FOLDLEVELHEADERFLAG)) - SendScintilla(SCI_SETFOLDEXPANDED,line,1); - } - else if (levelPrev & SC_FOLDLEVELHEADERFLAG) - { - if (!SendScintilla(SCI_GETFOLDEXPANDED,line)) - { - // Removing the fold from one that has been contracted - // so should expand. Otherwise lines are left - // invisible with no way to make them visible. - foldExpand(line,TRUE,FALSE,0,levelPrev); - } - } -} - - -// Toggle the fold for a line if it contains a fold marker. -void QextScintilla::foldLine(int line) -{ - SendScintilla(SCI_TOGGLEFOLD,line); -} - - -// Handle the SCN_MODIFIED notification. -void QextScintilla::handleModified(int pos,int mtype,const char *text,int len, - int added,int line,int foldNow,int foldPrev) -{ - if (mtype & SC_MOD_CHANGEFOLD) - { - if (fold) - foldChanged(line,foldNow,foldPrev); - } - else if (mtype & (SC_MOD_INSERTTEXT | SC_MOD_DELETETEXT)) - emit textChanged(); -} - - -// Zoom in a number of points. -void QextScintilla::zoomIn(int range) -{ - zoomTo(SendScintilla(SCI_GETZOOM) + range); -} - - -// Zoom in a single point. -void QextScintilla::zoomIn() -{ - SendScintilla(SCI_ZOOMIN); -} - - -// Zoom out a number of points. -void QextScintilla::zoomOut(int range) -{ - zoomTo(SendScintilla(SCI_GETZOOM) - range); -} - - -// Zoom out a single point. -void QextScintilla::zoomOut() -{ - SendScintilla(SCI_ZOOMOUT); -} - - -// Set the zoom to a number of points. -void QextScintilla::zoomTo(int size) -{ - if (size < -10) - size = -10; - else if (size > 20) - size = 20; - - SendScintilla(SCI_SETZOOM,size); -} - - -// Find the first occurrence of a string. -bool QextScintilla::findFirst(const TQString &expr,bool re,bool cs,bool wo, - bool wrap,bool forward,int line,int index, - bool show) -{ - findState.inProgress = FALSE; - - if (expr.isEmpty()) - return FALSE; - - findState.expr = expr; - findState.wrap = wrap; - findState.forward = forward; - - findState.flags = (cs ? SCFIND_MATCHCASE : 0) | - (wo ? SCFIND_WHOLEWORD : 0) | - (re ? SCFIND_REGEXP : 0); - - if (line < 0 || index < 0) - findState.startpos = SendScintilla(SCI_GETCURRENTPOS); - else - findState.startpos = posFromLineIndex(line,index); - - if (forward) - findState.endpos = SendScintilla(SCI_GETLENGTH); - else - findState.endpos = 0; - - findState.show = show; - - return doFind(); -} - - -// Find the next occurrence of a string. -bool QextScintilla::findNext() -{ - if (!findState.inProgress) - return FALSE; - - return doFind(); -} - - -// Do the hard work of findFirst() and findNext(). -bool QextScintilla::doFind() -{ - SendScintilla(SCI_SETSEARCHFLAGS,findState.flags); - - long pos = simpleFind(); - - // See if it was found. If not and wraparound is wanted, try again. - if (pos == -1 && findState.wrap) - { - if (findState.forward) - { - findState.startpos = 0; - findState.endpos = SendScintilla(SCI_GETLENGTH); - } - else - { - findState.startpos = SendScintilla(SCI_GETLENGTH); - findState.endpos = 0; - } - - pos = simpleFind(); - } - - if (pos == -1) - { - findState.inProgress = FALSE; - return FALSE; - } - - // It was found. - long targstart = SendScintilla(SCI_GETTARGETSTART); - long targend = SendScintilla(SCI_GETTARGETEND); - - // Ensure the text found is visible if required. - if (findState.show) - { - int startLine = SendScintilla(SCI_LINEFROMPOSITION,targstart); - int endLine = SendScintilla(SCI_LINEFROMPOSITION,targend); - - for (int i = startLine; i <= endLine; ++i) - SendScintilla(SCI_ENSUREVISIBLEENFORCEPOLICY,i); - } - - // Now set the selection. - SendScintilla(SCI_SETSEL,targstart,targend); - - // Finally adjust the start position so that we don't find the same one - // again. - if (findState.forward) - findState.startpos = targend; - else if ((findState.startpos = targstart - 1) < 0) - findState.startpos = 0; - - findState.inProgress = TRUE; - return TRUE; -} - - -// Do a simple find between the start and end positions. -long QextScintilla::simpleFind() -{ - if (findState.startpos == findState.endpos) - return -1; - - SendScintilla(SCI_SETTARGETSTART,findState.startpos); - SendScintilla(SCI_SETTARGETEND,findState.endpos); - - long pos; - - if (isUtf8()) - { - TQCString s = findState.expr.utf8(); - - pos = SendScintilla(SCI_SEARCHINTARGET,s.length(),s.data()); - } - else - { - const char *s = findState.expr.latin1(); - - pos = SendScintilla(SCI_SEARCHINTARGET,strlen(s),s); - } - - return pos; -} - - -// Replace the text found with the previous findFirst() or findNext(). -void QextScintilla::replace(const TQString &replaceStr) -{ - if (!findState.inProgress) - return; - - long start = SendScintilla(SCI_GETSELECTIONSTART); - - SendScintilla(SCI_TARGETFROMSELECTION); - - long len; - int cmd = (findState.flags & SCFIND_REGEXP) ? SCI_REPLACETARGETRE : SCI_REPLACETARGET; - - if (isUtf8()) - len = SendScintilla(cmd,-1,replaceStr.utf8().data()); - else - len = SendScintilla(cmd,-1,replaceStr.latin1()); - - // Reset the selection. - SendScintilla(SCI_SETSELECTIONSTART,start); - SendScintilla(SCI_SETSELECTIONEND,start + len); - - if (findState.forward) - findState.startpos = start + len; -} - - -// Query the modified state. -bool QextScintilla::isModified() -{ - // We don't use SCI_GETMODIFY as it seems to be buggy in Scintilla - // v1.61. - return modified; -} - - -// Set the modified state. -void QextScintilla::setModified(bool m) -{ - if (!m) - SendScintilla(SCI_SETSAVEPOINT); -} - - -// Handle the SCN_MARGINCLICK notification. -void QextScintilla::handleMarginClick(int pos,int modifiers,int margin) -{ - int state = 0; - - if (modifiers & SCMOD_SHIFT) - state |= ShiftButton; - - if (modifiers & SCMOD_CTRL) - state |= ControlButton; - - if (modifiers & SCMOD_ALT) - state |= AltButton; - - int line = SendScintilla(SCI_LINEFROMPOSITION,pos); - - if (fold && margin == 2) - foldClick(line,state); - else - emit marginClicked(margin,line,(ButtonState)state); -} - - -// Handle the SCN_SAVEPOINTREACHED notification. -void QextScintilla::handleSavePointReached() -{ - if (modified) - { - modified = FALSE; - emit modificationChanged(FALSE); - } -} - - -// Handle the SCN_SAVEPOINTLEFT notification. -void QextScintilla::handleSavePointLeft() -{ - if (!modified) - { - modified = TRUE; - emit modificationChanged(TRUE); - } -} - - -// Handle the TQSCN_SELCHANGED signal. -void QextScintilla::handleSelectionChanged(bool yes) -{ - selText = yes; - - emit copyAvailable(yes); - emit selectionChanged(); -} - - -// Get the current selection. -void QextScintilla::getSelection(int *lineFrom,int *indexFrom, - int *lineTo,int *indexTo) -{ - if (selText) - { - lineIndexFromPos(SendScintilla(SCI_GETSELECTIONSTART), - lineFrom,indexFrom); - lineIndexFromPos(SendScintilla(SCI_GETSELECTIONEND), - lineTo,indexTo); - } - else - *lineFrom = *indexFrom = *lineTo = *indexTo = -1; -} - - -// Sets the current selection. -void QextScintilla::setSelection(int lineFrom,int indexFrom, - int lineTo,int indexTo) -{ - SendScintilla(SCI_SETSELECTIONSTART,posFromLineIndex(lineFrom,indexFrom)); - SendScintilla(SCI_SETSELECTIONEND,posFromLineIndex(lineTo,indexTo)); -} - - -// Set the background colour of selected text. -void QextScintilla::setSelectionBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_SETSELBACK,1,col); - - int alpha = tqAlpha(col.rgb()); - - if (alpha < 255) - SendScintilla(SCI_SETSELALPHA, alpha); -} - - -// Set the foreground colour of selected text. -void QextScintilla::setSelectionForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_SETSELFORE,1,col); -} - - -// Reset the background colour of selected text to the default. -void QextScintilla::resetSelectionBackgroundColor() -{ - SendScintilla(SCI_SETSELALPHA, SC_ALPHA_NOALPHA); - SendScintilla(SCI_SETSELBACK,0UL); -} - - -// Reset the foreground colour of selected text to the default. -void QextScintilla::resetSelectionForegroundColor() -{ - SendScintilla(SCI_SETSELFORE,0UL); -} - - -// Set the width of the caret. -void QextScintilla::setCaretWidth(int width) -{ - SendScintilla(SCI_SETCARETWIDTH,width); -} - - -// Set the foreground colour of the caret. -void QextScintilla::setCaretForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_SETCARETFORE,col); -} - - -// Set the background colour of the line containing the caret. -void QextScintilla::setCaretLineBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_SETCARETLINEBACK,col); - - int alpha = tqAlpha(col.rgb()); - - if (alpha < 255) - SendScintilla(SCI_SETCARETLINEBACKALPHA, alpha); -} - - -// Set the state of the background colour of the line containing the caret. -void QextScintilla::setCaretLineVisible(bool enable) -{ - SendScintilla(SCI_SETCARETLINEVISIBLE,enable); -} - - -// Query the read-only state. -bool QextScintilla::isReadOnly() -{ - return SendScintilla(SCI_GETREADONLY); -} - - -// Set the read-only state. -void QextScintilla::setReadOnly(bool ro) -{ - SendScintilla(SCI_SETREADONLY,ro); -} - - -// Append the given text. -void QextScintilla::append(const TQString &text) -{ - bool ro = ensureRW(); - - if (isUtf8()) - { - TQCString s = text.utf8(); - - SendScintilla(SCI_APPENDTEXT,s.length(),s.data()); - } - else - { - const char *s = text.latin1(); - - SendScintilla(SCI_APPENDTEXT,strlen(s),s); - } - - SendScintilla(SCI_EMPTYUNDOBUFFER); - - setReadOnly(ro); -} - - -// Insert the given text at the current position. -void QextScintilla::insert(const TQString &text) -{ - bool ro = ensureRW(); - - SendScintilla(SCI_BEGINUNDOACTION); - - if (isUtf8()) - SendScintilla(SCI_INSERTTEXT,-1,text.utf8().data()); - else - SendScintilla(SCI_INSERTTEXT,-1,text.latin1()); - - SendScintilla(SCI_ENDUNDOACTION); - - setReadOnly(ro); -} - - -// Insert the given text at the given position. -void QextScintilla::insertAt(const TQString &text,int line,int index) -{ - bool ro = ensureRW(); - long position = posFromLineIndex(line,index); - - SendScintilla(SCI_BEGINUNDOACTION); - - if (isUtf8()) - SendScintilla(SCI_INSERTTEXT,position,text.utf8().data()); - else - SendScintilla(SCI_INSERTTEXT,position,text.latin1()); - - SendScintilla(SCI_ENDUNDOACTION); - - setReadOnly(ro); -} - - -// Begin a sequence of undoable actions. -void QextScintilla::beginUndoAction() -{ - SendScintilla(SCI_BEGINUNDOACTION); -} - - -// End a sequence of undoable actions. -void QextScintilla::endUndoAction() -{ - SendScintilla(SCI_ENDUNDOACTION); -} - - -// Redo a sequence of actions. -void QextScintilla::redo() -{ - SendScintilla(SCI_REDO); -} - - -// Undo a sequence of actions. -void QextScintilla::undo() -{ - SendScintilla(SCI_UNDO); -} - - -// See if there is something to redo. -bool QextScintilla::isRedoAvailable() -{ - return SendScintilla(SCI_CANREDO); -} - - -// See if there is something to undo. -bool QextScintilla::isUndoAvailable() -{ - return SendScintilla(SCI_CANUNDO); -} - - -// Return the number of lines. -int QextScintilla::lines() -{ - return SendScintilla(SCI_GETLINECOUNT); -} - - -// Return the line at a position. -int QextScintilla::lineAt(const TQPoint &pos) -{ - long chpos = SendScintilla(SCI_POSITIONFROMPOINTCLOSE,pos.x(),pos.y()); - - if (chpos < 0) - return -1; - - return SendScintilla(SCI_LINEFROMPOSITION,chpos); -} - - -// Return the length of a line. -int QextScintilla::lineLength(int line) -{ - if (line < 0 || line >= SendScintilla(SCI_GETLINECOUNT)) - return -1; - - return SendScintilla(SCI_LINELENGTH,line); -} - - -// Return the length of the current text. -int QextScintilla::length() -{ - return SendScintilla(SCI_GETTEXTLENGTH); -} - - -// Remove any selected text. -void QextScintilla::removeSelectedText() -{ - SendScintilla(SCI_REPLACESEL,""); -} - - -// Return the current selected text. -TQString QextScintilla::selectedText() -{ - if (!selText) - return TQString(); - - // Scintilla doesn't tell us the length of the selected text so we use - // the length of the whole document. - char *buf = new char[length() + 1]; - - SendScintilla(SCI_GETSELTEXT,buf); - - TQString qs = convertText(buf); - delete[] buf; - - return qs; -} - - -// Return the current text. -TQString QextScintilla::text() -{ - int buflen = length() + 1; - char *buf = new char[buflen]; - - SendScintilla(SCI_GETTEXT,buflen,buf); - - TQString qs = convertText(buf); - delete[] buf; - - return qs; -} - - -// Return the text of a line. -TQString QextScintilla::text(int line) -{ - int line_len = lineLength(line); - - if (line_len < 1) - return TQString(); - - char *buf = new char[line_len + 1]; - - SendScintilla(SCI_GETLINE,line,buf); - buf[line_len] = '\0'; - - TQString qs = convertText(buf); - delete[] buf; - - return qs; -} - - -// Set the given text. -void QextScintilla::setText(const TQString &text) -{ - bool ro = ensureRW(); - - if (isUtf8()) - SendScintilla(SCI_SETTEXT,text.utf8().data()); - else - SendScintilla(SCI_SETTEXT,text.latin1()); - - SendScintilla(SCI_EMPTYUNDOBUFFER); - - setReadOnly(ro); -} - - -// Get the cursor position -void QextScintilla::getCursorPosition(int *line,int *index) -{ - long pos = SendScintilla(SCI_GETCURRENTPOS); - long lin = SendScintilla(SCI_LINEFROMPOSITION,pos); - long linpos = SendScintilla(SCI_POSITIONFROMLINE,lin); - - *line = lin; - *index = pos - linpos; -} - - -// Set the cursor position -void QextScintilla::setCursorPosition(int line,int index) -{ - SendScintilla(SCI_GOTOPOS,posFromLineIndex(line,index)); -} - - -// Ensure the cursor is visible. -void QextScintilla::ensureCursorVisible() -{ - SendScintilla(SCI_SCROLLCARET); -} - - -// Ensure a line is visible. -void QextScintilla::ensureLineVisible(int line) -{ - SendScintilla(SCI_ENSUREVISIBLEENFORCEPOLICY,line); -} - - -// Copy text to the clipboard. -void QextScintilla::copy() -{ - SendScintilla(SCI_COPY); -} - - -// Cut text to the clipboard. -void QextScintilla::cut() -{ - SendScintilla(SCI_CUT); -} - - -// Paste text from the clipboard. -void QextScintilla::paste() -{ - SendScintilla(SCI_PASTE); -} - - -// Select all text, or deselect any selected text. -void QextScintilla::selectAll(bool select) -{ - if (selText) - SendScintilla(SCI_SETANCHOR,SendScintilla(SCI_GETCURRENTPOS)); - else - SendScintilla(SCI_SELECTALL); -} - - -// Delete all text. -void QextScintilla::clear() -{ - bool ro = ensureRW(); - - SendScintilla(SCI_BEGINUNDOACTION); - SendScintilla(SCI_CLEARALL); - SendScintilla(SCI_ENDUNDOACTION); - - setReadOnly(ro); -} - - -// Return the indentation of a line. -int QextScintilla::indentation(int line) -{ - return SendScintilla(SCI_GETLINEINDENTATION,line); -} - - -// Set the indentation of a line. -void QextScintilla::setIndentation(int line,int indentation) -{ - SendScintilla(SCI_BEGINUNDOACTION); - SendScintilla(SCI_SETLINEINDENTATION,line,indentation); - SendScintilla(SCI_ENDUNDOACTION); -} - - -// Indent a line. -void QextScintilla::indent(int line) -{ - setIndentation(line,indentation(line) + indentWidth()); -} - - -// Unindent a line. -void QextScintilla::unindent(int line) -{ - int newIndent = indentation(line) - indentWidth(); - - if (newIndent < 0) - newIndent = 0; - - setIndentation(line,newIndent); -} - - -// Return the indentation of the current line. -int QextScintilla::currentIndent() -{ - return indentation(SendScintilla(SCI_LINEFROMPOSITION,SendScintilla(SCI_GETCURRENTPOS))); -} - - -// Return the current indentation width. -int QextScintilla::indentWidth() -{ - int w = indentationWidth(); - - if (w == 0) - w = tabWidth(); - - return w; -} - - -// Return the state of indentation guides. -bool QextScintilla::indentationGuides() -{ - return SendScintilla(SCI_GETINDENTATIONGUIDES); -} - - -// Enable and disable indentation guides. -void QextScintilla::setIndentationGuides(bool enable) -{ - SendScintilla(SCI_SETINDENTATIONGUIDES,enable); -} - - -// Set the background colour of indentation guides. -void QextScintilla::setIndentationGuidesBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETBACK,STYLE_INDENTGUIDE,col); -} - - -// Set the foreground colour of indentation guides. -void QextScintilla::setIndentationGuidesForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETFORE,STYLE_INDENTGUIDE,col); -} - - -// Return the indentation width. -int QextScintilla::indentationWidth() -{ - return SendScintilla(SCI_GETINDENT); -} - - -// Set the indentation width. -void QextScintilla::setIndentationWidth(int width) -{ - SendScintilla(SCI_SETINDENT,width); -} - - -// Return the tab width. -int QextScintilla::tabWidth() -{ - return SendScintilla(SCI_GETTABWIDTH); -} - - -// Set the tab width. -void QextScintilla::setTabWidth(int width) -{ - SendScintilla(SCI_SETTABWIDTH,width); -} - - -// Return the effect of the backspace key. -bool QextScintilla::backspaceUnindents() -{ - return SendScintilla(SCI_GETBACKSPACEUNINDENTS); -} - - -// Set the effect of the backspace key. -void QextScintilla::setBackspaceUnindents(bool unindents) -{ - SendScintilla(SCI_SETBACKSPACEUNINDENTS,unindents); -} - - -// Return the effect of the tab key. -bool QextScintilla::tabIndents() -{ - return SendScintilla(SCI_GETTABINDENTS); -} - - -// Set the effect of the tab key. -void QextScintilla::setTabIndents(bool indents) -{ - SendScintilla(SCI_SETTABINDENTS,indents); -} - - -// Return the indentation use of tabs. -bool QextScintilla::indentationsUseTabs() -{ - return SendScintilla(SCI_GETUSETABS); -} - - -// Set the indentation use of tabs. -void QextScintilla::setIndentationsUseTabs(bool tabs) -{ - SendScintilla(SCI_SETUSETABS,tabs); -} - - -// Return the state of line numbers in a margin. -bool QextScintilla::marginLineNumbers(int margin) -{ - return SendScintilla(SCI_GETMARGINTYPEN,margin); -} - - -// Enable and disable line numbers in a margin. -void QextScintilla::setMarginLineNumbers(int margin,bool lnrs) -{ - SendScintilla(SCI_SETMARGINTYPEN,margin,lnrs ? SC_MARGIN_NUMBER : 0); -} - - -// Return the marker mask of a margin. -int QextScintilla::marginMarkerMask(int margin) -{ - return SendScintilla(SCI_GETMARGINMASKN,margin); -} - - -// Set the marker mask of a margin. -void QextScintilla::setMarginMarkerMask(int margin,int mask) -{ - SendScintilla(SCI_SETMARGINMASKN,margin,mask); -} - - -// Return the state of a margin's sensitivity. -bool QextScintilla::marginSensitivity(int margin) -{ - return SendScintilla(SCI_GETMARGINSENSITIVEN,margin); -} - - -// Enable and disable a margin's sensitivity. -void QextScintilla::setMarginSensitivity(int margin,bool sens) -{ - SendScintilla(SCI_SETMARGINSENSITIVEN,margin,sens); -} - - -// Return the width of a margin. -int QextScintilla::marginWidth(int margin) -{ - return SendScintilla(SCI_GETMARGINWIDTHN,margin); -} - - -// Set the width of a margin. -void QextScintilla::setMarginWidth(int margin,int width) -{ - SendScintilla(SCI_SETMARGINWIDTHN,margin,width); -} - - -// Set the width of a margin to the width of some text. -void QextScintilla::setMarginWidth(int margin,const TQString &s) -{ - int width; - - if (isUtf8()) - width = SendScintilla(SCI_TEXTWIDTH,STYLE_LINENUMBER,s.utf8().data()); - else - width = SendScintilla(SCI_TEXTWIDTH,STYLE_LINENUMBER,s.latin1()); - - setMarginWidth(margin,width); -} - - -// Set the background colour of all margins. -void QextScintilla::setMarginsBackgroundColor(const TQColor &col) -{ - handleStylePaperChange(col,STYLE_LINENUMBER); -} - - -// Set the foreground colour of all margins. -void QextScintilla::setMarginsForegroundColor(const TQColor &col) -{ - handleStyleColorChange(col,STYLE_LINENUMBER); -} - - -// Set the font of all margins. -void QextScintilla::setMarginsFont(const TQFont &f) -{ - setStylesFont(f,STYLE_LINENUMBER); -} - - -// Define a marker based on a symbol. -int QextScintilla::markerDefine(MarkerSymbol sym,int mnr) -{ - checkMarker(mnr); - - if (mnr >= 0) - SendScintilla(SCI_MARKERDEFINE,mnr,static_cast(sym)); - - return mnr; -} - - -// Define a marker based on a character. -int QextScintilla::markerDefine(char ch,int mnr) -{ - checkMarker(mnr); - - if (mnr >= 0) - SendScintilla(SCI_MARKERDEFINE,mnr,static_cast(SC_MARK_CHARACTER) + ch); - - return mnr; -} - - -// Define a marker based on a TQPixmap. -int QextScintilla::markerDefine(const TQPixmap *pm,int mnr) -{ - checkMarker(mnr); - - if (mnr >= 0) - SendScintilla(SCI_MARKERDEFINEPIXMAP,mnr,pm); - - return mnr; -} - - -// Add a marker to a line. -int QextScintilla::markerAdd(int linenr,int mnr) -{ - if (mnr < 0 || mnr > MARKER_MAX || (allocatedMarkers & (1 << mnr)) == 0) - return -1; - - return SendScintilla(SCI_MARKERADD,linenr,mnr); -} - - -// Get the marker mask for a line. -unsigned QextScintilla::markersAtLine(int linenr) -{ - return SendScintilla(SCI_MARKERGET,linenr); -} - - -// Delete a marker from a line. -void QextScintilla::markerDelete(int linenr,int mnr) -{ - if (mnr <= MARKER_MAX) - { - if (mnr < 0) - { - unsigned am = allocatedMarkers; - - for (int m = 0; m <= MARKER_MAX; ++m) - { - if (am & 1) - SendScintilla(SCI_MARKERDELETE,linenr,m); - - am >>= 1; - } - } - else if (allocatedMarkers & (1 << mnr)) - SendScintilla(SCI_MARKERDELETE,linenr,mnr); - } -} - - -// Delete a marker from the text. -void QextScintilla::markerDeleteAll(int mnr) -{ - if (mnr <= MARKER_MAX) - { - if (mnr < 0) - SendScintilla(SCI_MARKERDELETEALL,-1); - else if (allocatedMarkers & (1 << mnr)) - SendScintilla(SCI_MARKERDELETEALL,mnr); - } -} - - -// Delete a marker handle from the text. -void QextScintilla::markerDeleteHandle(int mhandle) -{ - SendScintilla(SCI_MARKERDELETEHANDLE,mhandle); -} - - -// Return the line containing a marker instance. -int QextScintilla::markerLine(int mhandle) -{ - return SendScintilla(SCI_MARKERLINEFROMHANDLE,mhandle); -} - - -// Search forwards for a marker. -int QextScintilla::markerFindNext(int linenr,unsigned mask) -{ - return SendScintilla(SCI_MARKERNEXT,linenr,mask); -} - - -// Search backwards for a marker. -int QextScintilla::markerFindPrevious(int linenr,unsigned mask) -{ - return SendScintilla(SCI_MARKERPREVIOUS,linenr,mask); -} - - -// Set the marker background colour. -void QextScintilla::setMarkerBackgroundColor(const TQColor &col,int mnr) -{ - if (mnr <= MARKER_MAX) - { - int alpha = tqAlpha(col.rgb()); - - if (mnr < 0) - { - unsigned am = allocatedMarkers; - - for (int m = 0; m <= MARKER_MAX; ++m) - { - if (am & 1) - { - SendScintilla(SCI_MARKERSETBACK,m,col); - - if (alpha < 255) - SendScintilla(SCI_MARKERSETALPHA, m, alpha); - } - - am >>= 1; - } - } - else if (allocatedMarkers & (1 << mnr)) - { - SendScintilla(SCI_MARKERSETBACK,mnr,col); - - if (alpha < 255) - SendScintilla(SCI_MARKERSETALPHA, mnr, alpha); - } - } -} - - -// Set the marker foreground colour. -void QextScintilla::setMarkerForegroundColor(const TQColor &col,int mnr) -{ - if (mnr <= MARKER_MAX) - { - if (mnr < 0) - { - unsigned am = allocatedMarkers; - - for (int m = 0; m <= MARKER_MAX; ++m) - { - if (am & 1) - SendScintilla(SCI_MARKERSETFORE,m,col); - - am >>= 1; - } - } - else if (allocatedMarkers & (1 << mnr)) - SendScintilla(SCI_MARKERSETFORE,mnr,col); - } -} - - -// Check a marker, allocating a marker number if necessary. -void QextScintilla::checkMarker(int &mnr) -{ - if (mnr >= 0) - { - // Check the explicit marker number isn't already allocated. - if (mnr > MARKER_MAX || allocatedMarkers & (1 << mnr)) - mnr = -1; - } - else - { - unsigned am = allocatedMarkers; - - // Find the smallest unallocated marker number. - for (mnr = 0; mnr <= MARKER_MAX; ++mnr) - { - if ((am & 1) == 0) - break; - - am >>= 1; - } - } - - // Define the marker if it is valid. - if (mnr >= 0) - allocatedMarkers |= (1 << mnr); -} - - -// Reset the fold margin colours. -void QextScintilla::resetFoldMarginColors() -{ - SendScintilla(SCI_SETFOLDMARGINHICOLOUR,0,0L); - SendScintilla(SCI_SETFOLDMARGINCOLOUR,0,0L); -} - - -// Set the fold margin colours. -void QextScintilla::setFoldMarginColors(const TQColor &fore,const TQColor &back) -{ - SendScintilla(SCI_SETFOLDMARGINHICOLOUR,1,fore); - SendScintilla(SCI_SETFOLDMARGINCOLOUR,1,back); -} - - -// Set the call tips background colour. -void QextScintilla::setCallTipsBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_CALLTIPSETBACK,col); -} - - -// Set the call tips foreground colour. -void QextScintilla::setCallTipsForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_CALLTIPSETFORE,col); -} - - -// Set the call tips highlight colour. -void QextScintilla::setCallTipsHighlightColor(const TQColor &col) -{ - SendScintilla(SCI_CALLTIPSETFOREHLT,col); -} - - -// Set the matched brace background colour. -void QextScintilla::setMatchedBraceBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETBACK,STYLE_BRACELIGHT,col); -} - - -// Set the matched brace foreground colour. -void QextScintilla::setMatchedBraceForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETFORE,STYLE_BRACELIGHT,col); -} - - -// Set the unmatched brace background colour. -void QextScintilla::setUnmatchedBraceBackgroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETBACK,STYLE_BRACEBAD,col); -} - - -// Set the unmatched brace foreground colour. -void QextScintilla::setUnmatchedBraceForegroundColor(const TQColor &col) -{ - SendScintilla(SCI_STYLESETFORE,STYLE_BRACEBAD,col); -} - - -// Set the lexer. -void QextScintilla::setLexer(QextScintillaLexer *lexer) -{ - // Disconnect any previous lexer. - if (!lex.isNull()) - { - lex -> disconnect(this); - - SendScintilla(SCI_STYLERESETDEFAULT); - } - - // Connect up the new lexer. - lex = lexer; - - if (lex) - { - int bits = SendScintilla(SCI_GETSTYLEBITSNEEDED); - int nrStyles = 1 << bits; - - SendScintilla(SCI_SETSTYLEBITS,bits); - - connect(lex,TQT_SIGNAL(colorChanged(const TQColor &,int)), - TQT_SLOT(handleStyleColorChange(const TQColor &,int))); - connect(lex,TQT_SIGNAL(eolFillChanged(bool,int)), - TQT_SLOT(handleStyleEolFillChange(bool,int))); - connect(lex,TQT_SIGNAL(fontChanged(const TQFont &,int)), - TQT_SLOT(handleStyleFontChange(const TQFont &,int))); - connect(lex,TQT_SIGNAL(paperChanged(const TQColor &,int)), - TQT_SLOT(handleStylePaperChange(const TQColor &,int))); - connect(lex,TQT_SIGNAL(propertyChanged(const char *,const char *)), - TQT_SLOT(handlePropertyChange(const char *,const char *))); - - SendScintilla(SCI_SETLEXERLANGUAGE,lex -> lexer()); - - // Set the keywords. Scintilla allows for sets numbered 0 to - // KEYWORDSET_MAX (although the lexers only seem to exploit 0 - // to KEYWORDSET_MAX - 1). We number from 1 in line with - // SciTE's property files. - for (int k = 0; k <= KEYWORDSET_MAX; ++k) - { - const char *kw = lex -> keywords(k + 1); - - if (kw) - SendScintilla(SCI_SETKEYWORDS,k,kw); - } - - // Initialise each style. - for (int s = 0; s < nrStyles; ++s) - { - if (lex -> description(s).isNull()) - continue; - - handleStyleColorChange(lex -> color(s),s); - handleStyleEolFillChange(lex -> eolFill(s),s); - handleStyleFontChange(lex -> font(s),s); - handleStylePaperChange(lex -> paper(s),s); - } - - // Initialise the properties. - lex -> refreshProperties(); - - // Set the auto-completion fillups if they haven't been - // explcitly set. - if (fillups_enabled && !explicit_fillups) - SendScintilla(SCI_AUTOCSETFILLUPS, lex->autoCompletionFillups()); - } - else - { - SendScintilla(SCI_SETLEXER,SCLEX_NULL); - - setColor(nl_text_colour); - setPaper(nl_paper_colour); - setFont(nl_font); - } -} - - -// Get the current lexer. -QextScintillaLexer *QextScintilla::lexer() const -{ - return lex; -} - - -// Handle a change in lexer style foreground colour. -void QextScintilla::handleStyleColorChange(const TQColor &c,int style) -{ - SendScintilla(SCI_STYLESETFORE,style,c); -} - - -// Handle a change in lexer style end-of-line fill. -void QextScintilla::handleStyleEolFillChange(bool eolfill,int style) -{ - SendScintilla(SCI_STYLESETEOLFILLED,style,eolfill); -} - - -// Handle a change in lexer style font. -void QextScintilla::handleStyleFontChange(const TQFont &f,int style) -{ - setStylesFont(f,style); - - if (style == lex->defaultStyle()) - setStylesFont(f, STYLE_DEFAULT); - - if (style == lex -> braceStyle()) - { - setStylesFont(f,STYLE_BRACELIGHT); - setStylesFont(f,STYLE_BRACEBAD); - } -} - - -// Set the font for a style. -void QextScintilla::setStylesFont(const TQFont &f,int style) -{ - SendScintilla(SCI_STYLESETFONT,style,f.family().latin1()); - SendScintilla(SCI_STYLESETSIZE,style,f.pointSize()); - SendScintilla(SCI_STYLESETBOLD,style,f.bold()); - SendScintilla(SCI_STYLESETITALIC,style,f.italic()); - SendScintilla(SCI_STYLESETUNDERLINE,style,f.underline()); -} - - -// Handle a change in lexer style background colour. -void QextScintilla::handleStylePaperChange(const TQColor &c,int style) -{ - SendScintilla(SCI_STYLESETBACK,style,c); -} - - -// Handle a change in lexer property. -void QextScintilla::handlePropertyChange(const char *prop,const char *val) -{ - SendScintilla(SCI_SETPROPERTY,prop,val); -} - - -// Handle a change to the user visible user interface. -void QextScintilla::handleUpdateUI() -{ - long newPos = SendScintilla(SCI_GETCURRENTPOS); - - if (newPos != oldPos) - { - oldPos = newPos; - - int line = SendScintilla(SCI_LINEFROMPOSITION,newPos); - int col = SendScintilla(SCI_GETCOLUMN,newPos); - - emit cursorPositionChanged(line,col); - } - - if (braceMode != NoBraceMatch) - braceMatch(); -} - - -// Handle brace matching. -void QextScintilla::braceMatch() -{ - long braceAtCaret, braceOpposite; - - findMatchingBrace(braceAtCaret,braceOpposite,braceMode); - - if (braceAtCaret >= 0 && braceOpposite < 0) - { - SendScintilla(SCI_BRACEBADLIGHT,braceAtCaret); - SendScintilla(SCI_SETHIGHLIGHTGUIDE,0UL); - } - else - { - char chBrace = SendScintilla(SCI_GETCHARAT,braceAtCaret); - - SendScintilla(SCI_BRACEHIGHLIGHT,braceAtCaret,braceOpposite); - - long columnAtCaret = SendScintilla(SCI_GETCOLUMN,braceAtCaret); - long columnOpposite = SendScintilla(SCI_GETCOLUMN,braceOpposite); - - if (chBrace == ':') - { - long lineStart = SendScintilla(SCI_LINEFROMPOSITION,braceAtCaret); - long indentPos = SendScintilla(SCI_GETLINEINDENTPOSITION,lineStart); - long indentPosNext = SendScintilla(SCI_GETLINEINDENTPOSITION,lineStart + 1); - - columnAtCaret = SendScintilla(SCI_GETCOLUMN,indentPos); - - long columnAtCaretNext = SendScintilla(SCI_GETCOLUMN,indentPosNext); - long indentSize = SendScintilla(SCI_GETINDENT); - - if (columnAtCaretNext - indentSize > 1) - columnAtCaret = columnAtCaretNext - indentSize; - - if (columnOpposite == 0) - columnOpposite = columnAtCaret; - } - - long column = columnAtCaret; - - if (column > columnOpposite) - column = columnOpposite; - - SendScintilla(SCI_SETHIGHLIGHTGUIDE,column); - } -} - - -// Check if the character at a position is a brace. -long QextScintilla::checkBrace(long pos,int brace_style,bool &colonMode) -{ - long brace_pos = -1; - char ch = SendScintilla(SCI_GETCHARAT,pos); - - if (ch == ':') - { - // A bit of a hack. - if (!lex.isNull() && strcmp(lex -> lexer(),"python") == 0) - { - brace_pos = pos; - colonMode = TRUE; - } - } - else if (ch && strchr("[](){}<>",ch)) - { - if (brace_style < 0) - brace_pos = pos; - else - { - int style = SendScintilla(SCI_GETSTYLEAT,pos) & 0x1f; - - if (style == brace_style) - brace_pos = pos; - } - } - - return brace_pos; -} - - -// Find a brace and it's match. Return TRUE if the current position is inside -// a pair of braces. -bool QextScintilla::findMatchingBrace(long &brace,long &other,BraceMatch mode) -{ - bool colonMode = FALSE; - int brace_style = (lex.isNull() ? -1 : lex -> braceStyle()); - - brace = -1; - other = -1; - - long caretPos = SendScintilla(SCI_GETCURRENTPOS); - - if (caretPos > 0) - brace = checkBrace(caretPos - 1,brace_style,colonMode); - - bool isInside = FALSE; - - if (brace < 0 && mode == SloppyBraceMatch) - { - brace = checkBrace(caretPos,brace_style,colonMode); - - if (brace >= 0 && !colonMode) - isInside = TRUE; - } - - if (brace >= 0) - { - if (colonMode) - { - // Find the end of the Python indented block. - long lineStart = SendScintilla(SCI_LINEFROMPOSITION,brace); - long lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,lineStart,-1); - - other = SendScintilla(SCI_GETLINEENDPOSITION,lineMaxSubord); - } - else - other = SendScintilla(SCI_BRACEMATCH,brace); - - if (other > brace) - isInside = !isInside; - } - - return isInside; -} - - -// Move to the matching brace. -void QextScintilla::moveToMatchingBrace() -{ - gotoMatchingBrace(FALSE); -} - - -// Select to the matching brace. -void QextScintilla::selectToMatchingBrace() -{ - gotoMatchingBrace(TRUE); -} - - -// Move to the matching brace and optionally select the text. -void QextScintilla::gotoMatchingBrace(bool select) -{ - long braceAtCaret; - long braceOpposite; - - bool isInside = findMatchingBrace(braceAtCaret,braceOpposite,SloppyBraceMatch); - - if (braceOpposite >= 0) - { - // Convert the character positions into caret positions based - // on whether the caret position was inside or outside the - // braces. - if (isInside) - { - if (braceOpposite > braceAtCaret) - braceAtCaret++; - else - braceOpposite++; - } - else - { - if (braceOpposite > braceAtCaret) - braceOpposite++; - else - braceAtCaret++; - } - - ensureLineVisible(SendScintilla(SCI_LINEFROMPOSITION,braceOpposite)); - - if (select) - SendScintilla(SCI_SETSEL,braceAtCaret,braceOpposite); - else - SendScintilla(SCI_SETSEL,braceOpposite,braceOpposite); - } -} - - -// Return a position from a line number and an index within the line. -long QextScintilla::posFromLineIndex(int line,int index) -{ - long pos = SendScintilla(SCI_POSITIONFROMLINE,line); - - // Allow for multi-byte characters. - for(int i = 0; i < index; i++) - pos = SendScintilla(SCI_POSITIONAFTER,pos); - - return pos; -} - - -// Return a line number and an index within the line from a position. -void QextScintilla::lineIndexFromPos(long pos,int *line,int *index) -{ - long lin = SendScintilla(SCI_LINEFROMPOSITION,pos); - long linpos = SendScintilla(SCI_POSITIONFROMLINE,lin); - - *line = lin; - *index = pos - linpos; -} - - -// Convert a Scintilla string to a TQt Unicode string. -TQString QextScintilla::convertText(const char *s) -{ - if (isUtf8()) - return TQString::fromUtf8(s); - - TQString qs; - - qs.setLatin1(s); - - return qs; -} - - -// Set the source of the auto-completion list. -void QextScintilla::setAutoCompletionSource(AutoCompletionSource source) -{ - acSource = source; -} - - -// Set the threshold for automatic auto-completion. -void QextScintilla::setAutoCompletionThreshold(int thresh) -{ - acThresh = thresh; -} - - -// Set the auto-completion start characters. -void QextScintilla::setAutoCompletionStartCharacters(const char *start) -{ - acStart = start; -} - - -// Set the APIs for auto-completion. -void QextScintilla::setAutoCompletionAPIs(QextScintillaAPIs *apis) -{ - acAPIs = apis; -} - - -// Explicitly auto-complete from all sources. -void QextScintilla::autoCompleteFromAll() -{ - startAutoCompletion(AcsAll, FALSE, showSingle); -} - - -// Explicitly auto-complete from the APIs. -void QextScintilla::autoCompleteFromAPIs() -{ - startAutoCompletion(AcsAPIs, FALSE, showSingle); -} - - -// Explicitly auto-complete from the document. -void QextScintilla::autoCompleteFromDocument() -{ - // If we are not in a word then ignore. - if (currentCharInWord()) - startAutoCompletion(AcsDocument, FALSE, showSingle); -} - - -// Return TRUE if the current character (ie. the one before the carat) is part -// of a word. -bool QextScintilla::currentCharInWord() -{ - long pos = SendScintilla(SCI_GETCURRENTPOS); - - if (pos <= 0) - return FALSE; - - return isWordChar(SendScintilla(SCI_GETCHARAT,pos - 1)); -} - - -// Check if a character can be in a word. -bool QextScintilla::isWordChar(char ch) const -{ - const char *word_chars = 0; - - if (!lex.isNull()) - word_chars = lex->wordCharacters(); - - if (!word_chars) - word_chars = defaultWordChars; - - return (strchr(word_chars, ch) != NULL); -} - - -// Recolour the document. -void QextScintilla::recolor(int start,int end) -{ - SendScintilla(SCI_COLOURISE,start,end); -} - - -// Registered an image. -void QextScintilla::registerImage(int id,const TQPixmap *pm) -{ - SendScintilla(SCI_REGISTERIMAGE,id,pm); -} - - -// Clear all registered images. -void QextScintilla::clearRegisteredImages() -{ - SendScintilla(SCI_CLEARREGISTEREDIMAGES); -} - - -// Set the fill-up characters for auto-completion. -void QextScintilla::setAutoCompletionFillups(const char *fillups) -{ - if (!fillups) - fillups = ""; - - SendScintilla(SCI_AUTOCSETFILLUPS, fillups); - fillups_enabled = explicit_fillups = TRUE; - - // Save them in case we need to reenable them at some point. - saved_fillups = fillups; -} - - -// Enable/disable fill-ups for auto-completion. -void QextScintilla::setAutoCompletionFillupsEnabled(bool enabled) -{ - const char *fillups; - - if (!enabled) - fillups = ""; - else if (!explicit_fillups && !lex.isNull()) - fillups = lex->autoCompletionFillups(); - else - fillups = saved_fillups.data(); - - SendScintilla(SCI_AUTOCSETFILLUPS, fillups); - fillups_enabled = enabled; -} - - -// Return the state of fill-ups for auto-completion. -bool QextScintilla::autoCompletionFillupsEnabled() -{ - return fillups_enabled; -} - - -// Set the case sensitivity for auto-completion. -void QextScintilla::setAutoCompletionCaseSensitivity(bool cs) -{ - SendScintilla(SCI_AUTOCSETIGNORECASE,!cs); -} - - -// Return the case sensitivity for auto-completion. -bool QextScintilla::autoCompletionCaseSensitivity() -{ - return !SendScintilla(SCI_AUTOCGETIGNORECASE); -} - - -// Set the replace word mode for auto-completion. -void QextScintilla::setAutoCompletionReplaceWord(bool replace) -{ - SendScintilla(SCI_AUTOCSETDROPRESTOFWORD,replace); -} - - -// Return the replace word mode for auto-completion. -bool QextScintilla::autoCompletionReplaceWord() -{ - return SendScintilla(SCI_AUTOCGETDROPRESTOFWORD); -} - - -// Set the single item mode for auto-completion. -void QextScintilla::setAutoCompletionShowSingle(bool single) -{ - showSingle = single; -} - - -// Return the single item mode for auto-completion. -bool QextScintilla::autoCompletionShowSingle() -{ - return showSingle; -} - - -// Set the APIs for call tips. -void QextScintilla::setCallTipsAPIs(QextScintillaAPIs *apis) -{ - ctAPIs = apis; -} - - -// Set maximum number of call tips displayed. -void QextScintilla::setCallTipsVisible(int nr) -{ - maxCallTips = nr; -} - - -// Set the document to display. -void QextScintilla::setDocument(const QextScintillaDocument &document) -{ - if (doc.pdoc != document.pdoc) - { - doc.undisplay(this); - doc.attach(document); - doc.display(this,&document); - } -} - - -// Ensure the document is read-write and return True if was was read-only. -bool QextScintilla::ensureRW() -{ - bool ro = isReadOnly(); - - if (ro) - setReadOnly(FALSE); - - return ro; -} - - -// Return the number of the first visible line. -int QextScintilla::firstVisibleLine() -{ - return SendScintilla(SCI_GETFIRSTVISIBLELINE); -} - - -// Return the height in pixels of the text in a particular line. -int QextScintilla::textHeight(int linenr) -{ - return SendScintilla(SCI_TEXTHEIGHT, linenr); -} - - -// See if auto-completion or user list is active. -bool QextScintilla::isListActive() -{ - return SendScintilla(SCI_AUTOCACTIVE); -} - - -// Cancel any current auto-completion or user list. -void QextScintilla::cancelList() -{ - SendScintilla(SCI_AUTOCCANCEL); -} - - -// Display a user list. -void QextScintilla::showUserList(int id, const TQStringList &list) -{ - // Sanity check to make sure auto-completion doesn't get confused. - if (id <= 0) - return; - - const char sep = '\x03'; - - SendScintilla(SCI_AUTOCSETSEPARATOR, sep); - SendScintilla(SCI_USERLISTSHOW, id, list.join(TQChar(sep)).latin1()); -} - - -// Translate the SCN_USERLISTSELECTION notification into something more useful. -void QextScintilla::handleUserListSelection(const char *text, int id) -{ - emit userListActivated(id, TQString(text)); -} - -#include "qextscintilla.moc" diff --git a/qt/qextscintilla.h b/qt/qextscintilla.h deleted file mode 100644 index f36079e..0000000 --- a/qt/qextscintilla.h +++ /dev/null @@ -1,1458 +0,0 @@ -// This module defines the "official" high-level API of the TQt port of -// Scintilla. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLA_H -#define TQEXTSCINTILLA_H - - -#include -#include - -#include -#include -#include - - -class QextScintillaLexer; -class QextScintillaAPIs; -class QextScintillaCommandSet; - - -//! \brief The QextScintilla class implements a higher level, more TQt-like, -//! API to the Scintilla editor widget. -//! -//! QextScintilla implements methods, signals and slots similar to those found -//! in other TQt editor classes. It also provides a higher level interface to -//! features specific to Scintilla such as syntax styling, call tips, -//! auto-indenting and auto-completion than that provided by QextScintillaBase. -//! -//! The API is modelled on TQTextEdit - a method of the same name should behave -//! in the same way. -class TQEXTSCINTILLA_EXPORT QextScintilla : public QextScintillaBase -{ - TQ_OBJECT - - -public: - //! This enum defines the different auto-indentation styles. - enum { - //! A line is automatically indented to match the previous - //! line. - AiMaintain = 0x01, - - //! If the language supported by the current lexer has a - //! specific start of block character (e.g. { in C++), then a - //! line that begins with that character is indented as well as - //! the lines that make up the block. It may be logically ored - //! with AiClosing. - AiOpening = 0x02, - - //! If the language supported by the current lexer has a - //! specific end of block character (e.g. } in C++), then a - //! line that begins with that character is indented as well as - //! the lines that make up the block. It may be logically ored - //! with AiOpening. - AiClosing = 0x04 - }; - - //! This enum defines the different sources for auto-completion lists. - enum AutoCompletionSource { - //! The source is the current document. - AcsDocument, - - //! The source is any installed APIs. - AcsAPIs, - - //! The source is all available sources. - AcsAll - }; - - //! This enum defines the different brace matching modes. The - //! character pairs {}, [] and () are treated as braces. The Python - //! lexer will also match a : with the end of the corresponding - //! indented block. - enum BraceMatch { - //! Brace matching is disabled. - NoBraceMatch, - - //! Brace matching is enabled for a brace immediately before - //! the current position. - StrictBraceMatch, - - //! Brace matching is enabled for a brace immediately before or - //! after the current position. - SloppyBraceMatch - }; - - //! This enum defines the different edge modes for long lines. - enum EdgeMode { - //! Long lines are not marked. - EdgeNone = EDGE_NONE, - - //! A vertical line is drawn at the column set by - //! setEdgeColumn(). This is recommended for monospace fonts. - EdgeLine = EDGE_LINE, - - //! The background color of characters after the column limit - //! is changed to the color set by setEdgeColor(). This is - //! recommended for proportional fonts. - EdgeBackground = EDGE_BACKGROUND - }; - - //! This enum defines the different end-of-line modes. - enum EolMode { - //! A carriage return/line feed as used on Windows systems. - EolWindows = SC_EOL_CRLF, - - //! A line feed as used on Unix systems. - EolUnix = SC_EOL_LF, - - //! A carriage return as used on Mac systems. - EolMac = SC_EOL_CR - }; - - //! This enum defines the different styles for the folding margin. - enum FoldStyle { - //! Folding is disabled. - NoFoldStyle, - - //! Plain folding style using plus and minus symbols. - PlainFoldStyle, - - //! Circled folding style using circled plus and minus symbols. - CircledFoldStyle, - - //! Boxed folding style using boxed plus and minus symbols. - BoxedFoldStyle, - - //! Circled tree style using a flattened tree with circled plus - //! and minus symbols and rounded corners. - CircledTreeFoldStyle, - - //! Boxed tree style using a flattened tree with boxed plus and - //! minus symbols and right-angled corners. - BoxedTreeFoldStyle - }; - - //! This enum defines the different pre-defined marker symbols. - enum MarkerSymbol { - //! A circle. - Circle = SC_MARK_CIRCLE, - - //! A rectangle. - Rectangle = SC_MARK_ROUNDRECT, - - //! A triangle pointing to the right. - RightTriangle = SC_MARK_ARROW, - - //! A smaller rectangle. - SmallRectangle = SC_MARK_SMALLRECT, - - //! An arrow pointing to the right. - RightArrow = SC_MARK_SHORTARROW, - - //! An invisible marker that allows code to track the movement - //! of lines. - Invisible = SC_MARK_EMPTY, - - //! A triangle pointing down. - DownTriangle = SC_MARK_ARROWDOWN, - - //! A drawn minus sign. - Minus = SC_MARK_MINUS, - - //! A drawn plus sign. - Plus = SC_MARK_PLUS, - - //! A vertical line drawn in the background colour. - VerticalLine = SC_MARK_VLINE, - - //! A bottom left corner drawn in the background colour. - BottomLeftCorner = SC_MARK_LCORNER, - - //! A vertical line with a centre right horizontal line drawn - //! in the background colour. - LeftSideSplitter = SC_MARK_TCORNER, - - //! A drawn plus sign in a box. - BoxedPlus = SC_MARK_BOXPLUS, - - //! A drawn plus sign in a connected box. - BoxedPlusConnected = SC_MARK_BOXPLUSCONNECTED, - - //! A drawn minus sign in a box. - BoxedMinus = SC_MARK_BOXMINUS, - - //! A drawn minus sign in a connected box. - BoxedMinusConnected = SC_MARK_BOXMINUSCONNECTED, - - //! A rounded bottom left corner drawn in the background - //! colour. - RoundedBottomLeftCorner = SC_MARK_LCORNERCURVE, - - //! A vertical line with a centre right curved line drawn in - //! the background colour. - LeftSideRoundedSplitter = SC_MARK_TCORNERCURVE, - - //! A drawn plus sign in a circle. - CircledPlus = SC_MARK_CIRCLEPLUS, - - //! A drawn plus sign in a connected box. - CircledPlusConnected = SC_MARK_CIRCLEPLUSCONNECTED, - - //! A drawn minus sign in a circle. - CircledMinus = SC_MARK_CIRCLEMINUS, - - //! A drawn minus sign in a connected circle. - CircledMinusConnected = SC_MARK_CIRCLEMINUSCONNECTED, - - //! No symbol is drawn but the line of text is drawn with the - //! same background colour. - Background = SC_MARK_BACKGROUND, - - //! Three drawn dots. - ThreeDots = SC_MARK_DOTDOTDOT, - - //! Three drawn arrows pointing right. - ThreeRightArrows = SC_MARK_ARROWS - }; - - //! This enum defines the different whitespace visibility modes. When - //! whitespace is visible spaces are displayed as small centred dots - //! and tabs are displayed as light arrows pointing to the right. - enum WhitespaceVisibility { - //! Whitespace is invisible. - WsInvisible = SCWS_INVISIBLE, - - //! Whitespace is always visible. - WsVisible = SCWS_VISIBLEALWAYS, - - //! Whitespace is visible after the whitespace used for - //! indentation. - WsVisibleAfterIndent = SCWS_VISIBLEAFTERINDENT - }; - - //! This enum defines the different line wrap modes. - enum WrapMode { - //! Lines are not wrapped. - WrapNone = SC_WRAP_NONE, - - //! Lines are wrapped at word boundaries. - WrapWord = SC_WRAP_WORD, - - //! Lines are wrapped at character boundaries. - WrapCharacter = SC_WRAP_CHAR - }; - - //! This enum defines the different line wrap visual flags. - enum WrapVisualFlag { - //! No wrap flag is displayed. - WrapFlagNone, - - //! A wrap flag is displayed by the text. - WrapFlagByText, - - //! A wrap flag is displayed by the border. - WrapFlagByBorder - }; - - //! Construct an empty QextScintilla with parent \a parent, name \a - //! name, and widget flags \a f. - QextScintilla(TQWidget *parent = 0,const char *name = 0,WFlags f = 0); - - //! Destroys the QextScintilla instance. - virtual ~QextScintilla(); - - //! Returns TRUE if auto-completion lists are case sensitive. - //! - //! \sa setAutoCompletionCaseSensitivity() - bool autoCompletionCaseSensitivity(); - - //! Returns true if auto-completion fill-up characters are enabled. - //! - //! \sa setAutoCompletionFillups(), setAutoCompletionFillupsEnabled() - bool autoCompletionFillupsEnabled(); - - //! Returns TRUE if the rest of the word to the right of the current - //! cursor is removed when an item from an auto-completion list is - //! selected. - //! - //! \sa setAutoCompletionReplaceWord() - bool autoCompletionReplaceWord(); - - //! Returns TRUE if the only item in an auto-completion list with a - //! single entry is automatically used and the list not displayed. - //! - //! \sa setAutoCompletionShowSingle() - bool autoCompletionShowSingle(); - - //! Returns the current source for the auto-completion list when it is - //! being displayed automatically as the user types. - //! - //! \sa setAutoCompletionSource() - AutoCompletionSource autoCompletionSource() const {return acSource;} - - //! Returns the current threshold for the automatic display of the - //! auto-completion list as the user types. - //! - //! \sa setAutoCompletionThreshold() - int autoCompletionThreshold() const {return acThresh;} - - //! Returns TRUE if auto-indentation is enabled. - //! - //! \sa setAutoIndent() - bool autoIndent() const {return autoInd;} - - //! Returns TRUE if the backspace key unindents a line instead of - //! deleting a character. The default is FALSE. - //! - //! \sa setBackspaceUnindents(), tabIndents(), setTabIndents() - bool backspaceUnindents(); - - //! Mark the beginning of a sequence of actions that can be undone by - //! a single call to undo(). - //! - //! \sa endUndoAction(), undo() - void beginUndoAction(); - - //! Returns the brace matching mode. - //! - //! \sa setBraceMatching() - BraceMatch braceMatching() const {return braceMode;} - - //! Returns the maximum number of call tips that are displayed. - //! - //! \sa setCallTipsVisible() - int callTipsVisible() const {return maxCallTips;} - - //! Cancel any current auto-completion or user defined list. - void cancelList(); - - //! Clear all registered images. - //! - //! \sa registerImage() - void clearRegisteredImages(); - - //! All the lines of the text have their end-of-lines converted to mode - //! \a mode. - //! - //! \sa eolMode(), setEolMode() - void convertEols(EolMode mode); - - //! Returns the widget's text (ie. foreground) colour. - //! - //! \sa setColor() - TQColor color() const; - - //! Returns the attached document. - //! - //! \sa setDocument() - QextScintillaDocument document() {return doc;} - - //! Mark the end of a sequence of actions that can be undone by a - //! single call to undo(). - //! - //! \sa beginUndoAction(), undo() - void endUndoAction(); - - //! Returns the color of the marker used to show that a line has - //! exceeded the length set by setEdgeColumn(). - //! - //! \sa setEdgeColor(), \sa setEdgeColumn - TQColor edgeColor(); - - //! Returns the number of the column after which lines are considered - //! to be long. - //! - //! \sa setEdgeColumn() - int edgeColumn(); - - //! Returns the edge mode which determines how long lines are marked. - //! - //! \sa setEdgeMode() - EdgeMode edgeMode(); - - //! Returns the end-of-line mode. - //! - //! \sa setEolMode() - EolMode eolMode(); - - //! Returns the visibility of end-of-lines. - //! - //! \sa setEolVisibility() - bool eolVisibility(); - - //! Find the next occurrence of the string \a expr and return TRUE if - //! \a expr was found, otherwise returns FALSE. If \a expr is found it - //! becomes the current selection. - //! - //! If \a re is TRUE then \a expr is interpreted as a regular - //! expression rather than a simple string. - //! - //! If \a cs is TRUE then the search is case sensitive. - //! - //! If \a wo is TRUE then the search looks for whole word matches only, - //! otherwise it searches for any matching text. - //! - //! If \a wrap is TRUE then the search wraps around the end of the - //! text. - //! - //! If \a forward is TRUE (the default) then the search is forward from - //! the starting position to the end of the text, otherwise it is - //! backwards to the beginning of the text. - //! - //! If either \a line or \a index are negative (the default) then the - //! search begins from the current cursor position. Otherwise the - //! search begins at position \a index of line \a line. - //! - //! If \a show is TRUE (the default) then any text found is made - //! visible (ie. it is unfolded). - //! - //! \sa findNext(), replace() - virtual bool findFirst(const TQString &expr,bool re,bool cs,bool wo, - bool wrap,bool forward = TRUE,int line = -1, - int index = -1,bool show = TRUE); - - //! Find the next occurence of the string found using findFirst(). - //! - //! \sa findFirst(), replace() - virtual bool findNext(); - - //! Returns the number of the first visible line. - int firstVisibleLine(); - - //! Returns the current folding style. - //! - //! \sa setFolding() - FoldStyle folding() const {return fold;} - - //! Sets \a *line and \a *index to the line and index of the cursor. - //! - //! \sa setCursorPosition() - void getCursorPosition(int *line,int *index); - - //! If there is a selection, \a *lineFrom is set to the line number in - //! which the selection begins and \a *lineTo is set to the line number - //! in which the selection ends. (They could be the same.) - //! \a *indexFrom is set to the index at which the selection begins - //! within \a *lineFrom, and \a *indexTo is set to the index at which - //! the selection ends within \a *lineTo. If there is no selection, - //! \a *lineFrom, \a *indexFrom, \a *lineTo and \a *indexTo are all set - //! to -1. - //! - //! \sa setSelection() - void getSelection(int *lineFrom,int *indexFrom, - int *lineTo,int *indexTo); - - //! Returns TRUE if some text is selected. - //! - //! \sa selectedText() - bool hasSelectedText() const {return selText;} - - //! Returns the number of characters that line \a line is indented by. - //! - //! \sa setIndentation() - int indentation(int line); - - //! Returns TRUE if the display of indentation guides is enabled. - //! - //! \sa setIndentationGuides() - bool indentationGuides(); - - //! Returns TRUE if indentations are created using tabs and spaces, - //! rather than just spaces. The default is TRUE. - //! - //! \sa setIndentationsUseTabs() - bool indentationsUseTabs(); - - //! Returns the indentation width in characters. The default is 0 - //! which means that the value returned by tabWidth() is actually used. - //! - //! \sa setIndentationWidth(), tabWidth() - int indentationWidth(); - - //! Returns TRUE if a call tip is currently active. - bool isCallTipActive(); - - //! Returns TRUE if an auto-completion or user defined list is - //! currently active. - bool isListActive(); - - //! Returns TRUE if the text has been modified. - //! - //! \sa setModified(), modificationChanged() - bool isModified(); - - //! Returns TRUE if the text edit is read-only. - //! - //! \sa setReadOnly() - bool isReadOnly(); - - //! Returns TRUE if there is something that can be redone. - //! - //! \sa redo() - bool isRedoAvailable(); - - //! Returns TRUE if there is something that can be undone. - //! - //! \sa undo() - bool isUndoAvailable(); - - //! Returns TRUE if text is interpreted as being UTF8 encoded. The - //! default is to interpret the text as Latin1 encoded. - //! - //! \sa setUtf8() - bool isUtf8(); - - //! Returns the line which is at position \a pos or -1 if there is no - //! line at that position. - int lineAt(const TQPoint &pos); - - //! Returns the length of line \a line or -1 if there is no such line. - int lineLength(int line); - - //! Returns the number of lines of text. - int lines(); - - //! Returns the length of the text edit's text. - int length(); - - //! Returns the current language lexer used to style text. If it is 0 then - //! syntax styling is disabled. - //! - //! \sa setLexer() - QextScintillaLexer *lexer() const; - - //! Returns TRUE if line numbers are enabled for margin \a margin. - //! - //! \sa setMarginLineNumbers(), QextScintillaBase::SCI_GETMARGINTYPEN - bool marginLineNumbers(int margin); - - //! Returns the marker mask of margin \a margin. - //! - //! \sa setMarginMask(), QextScintillaMarker, - //! QextScintillaBase::SCI_GETMARGINMASKN - int marginMarkerMask(int margin); - - //! Returns TRUE if margin \a margin is sensitive to mouse clicks. - //! - //! \sa setMarginSensitivity(), marginClicked(), - //! QextScintillaBase::SCI_GETMARGINTYPEN - bool marginSensitivity(int margin); - - //! Returns the width in pixels of margin \a margin. - //! - //! \sa setMarginWidth(), QextScintillaBase::SCI_GETMARGINWIDTHN - int marginWidth(int margin); - - //! Define a marker using the symbol \a sym with the marker number - //! \a mnr. If \a mnr is -1 then the marker number is automatically - //! allocated. The marker number is returned or -1 if the marker - //! number was already allocated or too many markers have been defined. - //! - //! Markers are small geometric symbols and character used, for - //! example, to indicate the current line or, in debuggers, to indicate - //! breakpoints. If a margin has a width of 0 then its markers are not - //! drawn, but their background colours affect the background colour of - //! the corresponding line of text. - //! - //! There may be up to 32 markers defined and each line of text has a - //! set of these markers associated with it. Markers are drawn - //! according to their numerical identifier. Markers try to move with - //! their text by tracking where the start of their line moves to. For - //! example, when a line is deleted its markers are added to previous - //! line's markers. - //! - //! Each marker is identified by a marker number. Each instance of a - //! marker is identified by a marker handle. - int markerDefine(MarkerSymbol sym,int mnr = -1); - - //! Define a marker using the character \a ch with the marker number - //! \a mnr. If \a mnr is -1 then the marker number is automatically - //! allocated. The marker number is returned or -1 if the marker - //! number was already allocated or too many markers have been defined. - int markerDefine(char ch,int mnr = -1); - - //! Define a marker using a copy of the pixmap \a pm with the marker - //! number \a mnr. If \a mnr is -1 then the marker number is - //! automatically allocated. The marker number is returned or -1 if - //! the marker number was already allocated or too many markers have - //! been defined. - int markerDefine(const TQPixmap *pm,int mnr = -1); - - //! Add a marker number \a mnr to line number \a linenr. A handle for - //! the marker is returned which can be used to track the marker's - //! position, or -1 if the \a mnr was invalid. - //! - //! \sa markerDelete(), markerDeleteAll(), markerDeleteHandle() - int markerAdd(int linenr,int mnr); - - //! Returns the 32 bit mask of marker numbers at line number \a linenr. - //! - //! \sa markerAdd() - unsigned markersAtLine(int linenr); - - //! Delete all markers with the marker number \a mnr in the line - //! \a linenr. If \a mnr is -1 then delete all markers from line - //! \a linenr. - //! - //! \sa markerAdd(), markerDeleteAll(), markerDeleteHandle() - void markerDelete(int linenr,int mnr = -1); - - //! Delete the all markers with the marker number \a mnr. If \a mnr is - //! -1 then delete all markers. - //! - //! \sa markerAdd(), markerDelete(), markerDeleteHandle() - void markerDeleteAll(int mnr = -1); - - //! Delete the the marker instance with the marker handle \a mhandle. - //! - //! \sa markerAdd(), markerDelete(), markerDeleteAll() - void markerDeleteHandle(int mhandle); - - //! Return the line number that contains the marker instance with the - //! marker handle \a mhandle. - int markerLine(int mhandle); - - //! Return the number of the next line to contain at least one marker - //! from a 32 bit mask of markers. \a linenr is the line number to - //! start the search from. \a mask is the mask of markers to search - //! for. - //! - //! \sa markerFindPrevious() - int markerFindNext(int linenr,unsigned mask); - - //! Return the number of the previous line to contain at least one - //! marker from a 32 bit mask of markers. \a linenr is the line number - //! to start the search from. \a mask is the mask of markers to search - //! for. - //! - //! \sa markerFindNext() - int markerFindPrevious(int linenr,unsigned mask); - - //! Returns the widget's paper (ie. background) colour. - //! - //! \sa setPaper() - TQColor paper() const; - - //! Recolours the document between the \a start and \a end positions. - //! \a start defaults to the start of the document and \a end defaults - //! to the end of the document. - virtual void recolor(int start = 0,int end = -1); - - //! Register an image \a pm with ID \a id. Registered images can be - //! displayed in auto-completion lists. - //! - //! \sa clearRegisteredImages(), QextScintillaAPIs - void registerImage(int id,const TQPixmap *pm); - - //! Replace the current selection, set by a previous call to - //! findFirst() or findNext(), with \a replaceStr. - //! - //! \sa findFirst(), findNext() - virtual void replace(const TQString &replaceStr); - - //! Reset the fold margin colours to their defaults. - //! - //! \sa setFoldMarginColors() - void resetFoldMarginColors(); - - //! The fold margin may be drawn as a one pixel sized checkerboard - //! pattern of two colours, \a fore and \a back. - //! - //! \sa resetFoldMarginColors() - void setFoldMarginColors(const TQColor &fore,const TQColor &back); - - //! Sets the APIs used for auto-completion to \a apis. If \a apis is 0 - //! then any existing APIs are removed. - //! - //! \sa autoCompleteFromAPIs(), setCallTipsAPIs() - void setAutoCompletionAPIs(QextScintillaAPIs *apis = 0); - - //! A fill-up character is one that, when entered while an - //! auto-completion list is being displayed, causes the currently - //! selected item from the list to be added to the text followed by the - //! fill-up character. \a fillups is the set of fill-up characters. - //! The default is that no fill-up characters are set, although a lexer may - //! set its own. Explicitly setting the fill-up characters using this - //! method automatically enables their use. - //! - //! \sa autoCompletionFillupsEnabled(), setAutoCompletionFillupsEnabled() - void setAutoCompletionFillups(const char *fillups); - - //! Enable the use of fill-up characters, either those explicitly set or - //! those set by a lexer. By default, fill-up characters are disabled. - //! - //! \sa autoCompletionFillupsEnabled(), setAutoCompletionFillups() - void setAutoCompletionFillupsEnabled(bool enabled); - - //! A start character is one that, when entered, causes the - //! auto-completion list to be displayed. If a language lexer has been - //! set then this is ignored and the lexer defines the start - //! characters. The default is that no start characters are set. - //! - //! \sa setAutoCompletionThreshold() - void setAutoCompletionStartCharacters(const char *start); - - //! Sets the APIs used for call tips to \a apis. If \a apis is 0 then - //! then call tips are disabled. - //! - //! \sa setAutoCompletionAPIs() - void setCallTipsAPIs(QextScintillaAPIs *apis = 0); - - //! Set the background colour of call tips to \a col. The default is - //! white. - void setCallTipsBackgroundColor(const TQColor &col); - - //! Set the foreground colour of call tips to \a col. The default is - //! mid-gray. - void setCallTipsForegroundColor(const TQColor &col); - - //! Set the highlighted colour of call tip text to \a col. The default - //! is dark blue. - void setCallTipsHighlightColor(const TQColor &col); - - //! Set the maximum number of call tips that are displayed to \a nr. - //! If the maximum number is 0 then all applicable call tips are - //! displayed. If the maximum number is -1 then one call tip will be - //! displayed with up and down arrows that allow the use to scroll - //! through the full list. The default is -1. - //! - //! \sa callTipsVisible() - void setCallTipsVisible(int nr); - - //! Attach the document \a document, replacing the currently attached - //! document. - //! - //! \sa document() - void setDocument(const QextScintillaDocument &document); - - //! Set the color of the marker used to show that a line has exceeded - //! the length set by setEdgeColumn(). - //! - //! \sa edgeColor(), \sa setEdgeColumn - void setEdgeColor(const TQColor &col); - - //! Set the number of the column after which lines are considered to be - //! long. - //! - //! \sa edgeColumn() - void setEdgeColumn(int colnr); - - //! Set the edge mode which determines how long lines are marked. - //! - //! \sa edgeMode() - void setEdgeMode(EdgeMode mode); - - //! Set the default font. This has no effect if a language lexer has been - //! set. - virtual void setFont(const TQFont &f); - - //! Set the background colour, including the alpha component, of marker - //! \a mnr to \a col. If \a mnr is -1 then the colour of all markers - //! is set. The default is white. - //! - //! \sa setMarkerForegroundColor() - void setMarkerBackgroundColor(const TQColor &col,int mnr = -1); - - //! Set the foreground colour of marker \a mnr to \a col. If \a mnr is - //! -1 then the colour of all markers is set. The default is black. - //! - //! \sa setMarkerBackgroundColor() - void setMarkerForegroundColor(const TQColor &col,int mnr = -1); - - //! Set the background colour used to display matched braces to \a col. - //! The default is white. - //! - //! \sa setMatchedBraceForegroundColor() - void setMatchedBraceBackgroundColor(const TQColor &col); - - //! Set the foreground colour used to display matched braces to \a col. - //! The default is red. - //! - //! \sa setMatchedBraceBackgroundColor() - void setMatchedBraceForegroundColor(const TQColor &col); - - //! Set the background colour used to display unmatched braces to - //! \a col. The default is white. - //! - //! \sa setUnmatchedBraceForegroundColor() - void setUnmatchedBraceBackgroundColor(const TQColor &col); - - //! Set the foreground colour used to display unmatched braces to - //! \a col. The default is blue. - //! - //! \sa setUnmatchedBraceBackgroundColor() - void setUnmatchedBraceForegroundColor(const TQColor &col); - - //! Set the visual flags displayed when a line is wrapped. \a eflag - //! determines if and where the flag at the end of a line is displayed. - //! \a sflag determines if and where the flag at the start of a line is - //! displayed. \a sindent is the number of characters a wrapped line - //! is indented by. By default no visual flags are displayed. - void setWrapVisualFlags(WrapVisualFlag eflag, - WrapVisualFlag sflag = WrapFlagNone, int sindent = 0); - - //! Returns the selected text or an empty string if there is no - //! currently selected text. - //! - //! \sa hasSelectedText() - TQString selectedText(); - - //! Displays a user defined list which can be interacted with like an - //! auto-completion list. \a id is an identifier for the list which - //! is passed as an argument to the userListActivated() signal and must - //! be at least 1. \a list is the text with which the list is - //! populated. - //! - //! \sa cancelList(), isListActive(), userListActivated() - void showUserList(int id, const TQStringList &list); - - //! The standard command set is returned. - QextScintillaCommandSet *standardCommands() const {return stdCmds;} - - //! Returns TRUE if the tab key indents a line instead of inserting a - //! tab character. The default is TRUE. - //! - //! \sa setTabIndents(), backspaceUnindents(), setBackspaceUnindents() - bool tabIndents(); - - //! Returns the tab width in characters. The default is 8. - //! - //! \sa setTabWidth() - int tabWidth(); - - //! Returns the text edit's text. - //! - //! \sa setText() - TQString text(); - - //! \overload - //! - //! Returns the text of line \a line. - //! - //! \sa setText() - TQString text(int line); - - //! Returns the height in pixels of the text in line number \a linenr. - int textHeight(int linenr); - - //! Returns the visibility of whitespace. - //! - //! \sa setWhitespaceVisibility() - WhitespaceVisibility whitespaceVisibility(); - - //! Returns the line wrap mode. - //! - //! \sa setWrapMode() - WrapMode wrapMode(); - -public slots: - //! Appends the text \a text to the end of the text edit. Note that - //! the undo/redo history is cleared by this function. - virtual void append(const TQString &text); - - //! Display an auto-completion list based on any installed APIs, the - //! current contents of the document and the characters immediately to - //! the left of the cursor. - //! - //! \sa autoCompleteFromAPIs(), autoCompleteFromDocument() - virtual void autoCompleteFromAll(); - - //! Display an auto-completion list based on any installed APIs and the - //! characters immediately to the left of the cursor. - //! - //! \sa autoCompleteFromAll(), autoCompleteFromDocument(), - //! setAutoCompletionAPIs() - virtual void autoCompleteFromAPIs(); - - //! Display an auto-completion list based on the current contents of - //! the document and the characters immediately to the left of the - //! cursor. - //! - //! \sa autoCompleteFromAll(), autoCompleteFromAPIs() - virtual void autoCompleteFromDocument(); - - //! Display a call tip based on the the characters immediately to the - //! left of the cursor. - virtual void callTip(); - - //! Deletes all the text in the text edit. - virtual void clear(); - - //! Copies any selected text to the clipboard. - //! - //! \sa copyAvailable(), cut(), paste() - virtual void copy(); - - //! Copies any selected text to the clipboard and then deletes the - //! text. - //! - //! \sa copy(), paste() - virtual void cut(); - - //! Ensures that the cursor is visible. - virtual void ensureCursorVisible(); - - //! Ensures that the line number \a line is visible. - virtual void ensureLineVisible(int line); - - //! If any lines are currently folded then they are all unfolded. - //! Otherwise all lines are folded. This has the same effect as - //! clicking in the fold margin with the shift and control keys - //! pressed. If \a children is not set (the default) then only the top - //! level fold points are affected, otherwise the state of all fold - //! points are changed. - virtual void foldAll(bool children = FALSE); - - //! If the line \a line is folded then it is unfolded. Otherwise it is - //! folded. This has the same effect as clicking in the fold margin. - virtual void foldLine(int line); - - //! Increases the indentation of line \a line by an indentation width. - //! - //! \sa unindent() - virtual void indent(int line); - - //! Insert the text \a text at the current position. - virtual void insert(const TQString &text); - - //! Insert the text \a text in the line \a line at the position - //! \a index. - virtual void insertAt(const TQString &text,int line,int index); - - //! If the cursor is either side of a brace character then move it to - //! the position of the corresponding brace. - virtual void moveToMatchingBrace(); - - //! Pastes any text from the clipboard into the text edit at the - //! current cursor position. - //! - //! \sa copy(), cut() - virtual void paste(); - - //! Redo the last change or sequence of changes. - //! - //! \sa isRedoAvailable() - virtual void redo(); - - //! Removes any selected text. - virtual void removeSelectedText(); - - //! Resets the background colour of selected text to the default. - //! - //! \sa setSelectionBackgroundColor(), resetSelectionForegroundColor() - virtual void resetSelectionBackgroundColor(); - - //! Resets the foreground colour of selected text to the default. - //! - //! \sa setSelectionForegroundColor(), resetSelectionBackgroundColor() - virtual void resetSelectionForegroundColor(); - - //! If \a select is TRUE (the default) then all the text is selected. - //! If \a select is FALSE then any currently selected text is - //! deselected. - virtual void selectAll(bool select = TRUE); - - //! If the cursor is either side of a brace character then move it to - //! the position of the corresponding brace and select the text between - //! the braces. - virtual void selectToMatchingBrace(); - - //! If \a cs is TRUE then auto-completion lists are case sensitive. - //! The default is TRUE. - //! - //! \sa autoCompletionCaseSensitivity() - virtual void setAutoCompletionCaseSensitivity(bool cs); - - //! If \a replace is TRUE then when an item from an auto-completion - //! list is selected, the rest of the word to the right of the current - //! cursor is removed. The default is FALSE. - //! - //! \sa autoCompletionReplaceWord() - virtual void setAutoCompletionReplaceWord(bool replace); - - //! If \a single is TRUE then when there is only a single entry in an - //! auto-completion list it is automatically used and the list is not - //! displayed. This only has an effect when auto-completion is - //! explicitly requested (using autoCompleteFromAPIs() and - //! autoCompleteFromDocument()) and has no effect when auto-completion - //! is triggered as the user types. The default is FALSE. - //! - //! \sa autoCompletionShowSingle() - virtual void setAutoCompletionShowSingle(bool single); - - //! Sets the source for the auto-completion list when it is being - //! displayed automatically as the user types to \a source. The - //! default is AcsDocument. - //! - //! \sa autoCompletionSource() - virtual void setAutoCompletionSource(AutoCompletionSource source); - - //! Sets the threshold for the automatic display of the auto-completion - //! list as the user types to \a thresh. The threshold is the number - //! of characters that the user must type before the list is displayed. - //! If the threshold is less than or equal to 0 then the list is - //! disabled. The default is -1. - //! - //! \sa autoCompletionThreshold(), setAutoCompletionStartCharacters() - virtual void setAutoCompletionThreshold(int thresh); - - //! If \a autoindent is TRUE then auto-indentation is enabled. The - //! default is FALSE. - //! - //! \sa autoIndent() - virtual void setAutoIndent(bool autoindent); - - //! Sets the brace matching mode to \a bm. The default is - //! NoBraceMatching. - //! - //! \sa braceMatching() - virtual void setBraceMatching(BraceMatch bm); - - //! If \a deindent is TRUE then the backspace key will unindent a line - //! rather then delete a character. - //! - //! \sa backspaceUnindents(), tabIndents(), setTabIndents() - virtual void setBackspaceUnindents(bool unindent); - - //! Sets the foreground colour of the caret to \a col. - virtual void setCaretForegroundColor(const TQColor &col); - - //! Sets the background colour, including the alpha component, of the - //! line containing the caret to \a col. - //! - //! \sa setCaretLineVisible() - virtual void setCaretLineBackgroundColor(const TQColor &col); - - //! Enables or disables, according to \a enable, the background color - //! of the line containing the caret. - //! - //! \sa setCaretLineBackgroundColor() - virtual void setCaretLineVisible(bool enable); - - //! Sets the width of the caret to \a width pixels. A \a width of 0 - //! makes the caret invisible. - virtual void setCaretWidth(int width); - - //! The widget's text (ie. foreground) colour is set to \a c. This has no - //! effect if a language lexer has been set. - //! - //! \sa color() - virtual void setColor(const TQColor &c); - - //! Sets the cursor to the line \a line at the position \a index. - //! - //! \sa getCursorPosition() - virtual void setCursorPosition(int line,int index); - - //! Sets the end-of-line mode to \a mode. The default is the - //! platform's natural mode. - //! - //! \sa eolMode() - virtual void setEolMode(EolMode mode); - - //! If \a visible is TRUE then end-of-lines are made visible. The - //! default is that they are invisible. - //! - //! \sa eolVisibility() - virtual void setEolVisibility(bool visible); - - //! Sets the folding style for margin 2 to \a fold. The default is - //! NoFoldStyle (ie. folding is disabled). - //! - //! \sa folding() - virtual void setFolding(FoldStyle fold); - - //! Sets the indentation of line \a to \a indentation characters. - //! - //! \sa indentation() - virtual void setIndentation(int line,int indentation); - - //! Enables or disables, according to \a enable, this display of - //! indentation guides. - //! - //! \sa indentationGuides() - virtual void setIndentationGuides(bool enable); - - //! Set the background colour of indentation guides to \a col. - //! - //! \sa setIndentationGuidesForegroundColor() - virtual void setIndentationGuidesBackgroundColor(const TQColor &col); - - //! Set the foreground colour of indentation guides to \a col. - //! - //! \sa setIndentationGuidesBackgroundColor() - virtual void setIndentationGuidesForegroundColor(const TQColor &col); - - //! If \a tabs is TRUE then indentations are created using tabs and - //! spaces, rather than just spaces. - //! - //! \sa indentationsUseTabs() - virtual void setIndentationsUseTabs(bool tabs); - - //! Sets the indentation width to \a width characters. If \a width is - //! 0 then the value returned by tabWidth() is used. - //! - //! \sa indentationWidth(), tabWidth() - virtual void setIndentationWidth(int width); - - //! Sets the specific language lexer used to style text to \a lexer. If - //! \a lexer is 0 then syntax styling is disabled. - //! - //! \sa lexer() - virtual void setLexer(QextScintillaLexer *lexer = 0); - - //! Set the background colour of all margins to \a col. The default is - //! a gray. - //! - //! \sa setMarginsForegroundColor() - virtual void setMarginsBackgroundColor(const TQColor &col); - - //! Set the font used in all margins to \a f. - virtual void setMarginsFont(const TQFont &f); - - //! Set the foreground colour of all margins to \a col. The default is - //! black. - //! - //! \sa setMarginsBackgroundColor() - virtual void setMarginsForegroundColor(const TQColor &col); - - //! Enables or disables, according to \a lnrs, the display of line - //! numbers in margin \a margin. - //! - //! \sa marginLineNumbers(), QextScintillaBase::SCI_SETMARGINTYPEN - virtual void setMarginLineNumbers(int margin,bool lnrs); - - //! Sets the marker mask of margin \a margin to \a mask. Only those - //! markers whose bit is set in the mask are displayed in the margin. - //! - //! \sa marginMarkerMask(), QextScintillaMarker, - //! QextScintillaBase::SCI_SETMARGINMASKN - virtual void setMarginMarkerMask(int margin,int mask); - - //! Enables or disables, according to \a sens, the sensitivity of - //! margin \a margin to mouse clicks. If the user clicks in a - //! sensitive margin the marginClicked() signal is emitted. - //! - //! \sa marginSensitivity(), marginClicked(), - //! QextScintillaBase::SCI_SETMARGINSENSITIVEN - virtual void setMarginSensitivity(int margin,bool sens); - - //! Sets the width of margin \a margin to \a width pixels. If the - //! width of a margin is 0 then it is not displayed. - //! - //! \sa marginWidth(), QextScintillaBase::SCI_SETMARGINWIDTHN - virtual void setMarginWidth(int margin,int width); - - //! Sets the width of margin \a margin so that it is wide enough to - //! display \a s in the current margin font. - //! - //! \sa marginWidth(), QextScintillaBase::SCI_SETMARGINWIDTHN - virtual void setMarginWidth(int margin,const TQString &s); - - //! Sets the modified state of the text edit to \a m. Note that it is - //! only possible to clear the modified state (where \a m is FALSE). - //! Attempts to set the modified state (where \a m is TRUE) are - //! ignored. - //! - //! \sa isModified(), modificationChanged() - virtual void setModified(bool m); - - //! The widget's paper (ie. background) colour is set to \a c. This has no - //! effect if a language lexer has been set. - //! - //! \sa paper() - virtual void setPaper(const TQColor &c); - - //! Sets the read-only state of the text edit to \a ro. - //! - //! \sa isReadOnly() - virtual void setReadOnly(bool ro); - - //! Sets the selection which starts at position \a indexFrom in line - //! \a lineFrom and ends at position \a indexTo in line \a lineTo. The - //! cursor is moved to the end of the selection. - //! - //! \sa getSelection() - virtual void setSelection(int lineFrom,int indexFrom, - int lineTo,int indexTo); - - //! Sets the background colour, including the alpha component, of - //! selected text to \a col. - //! - //! \sa resetSelectionBackgroundColor(), setSelectionForegroundColor() - virtual void setSelectionBackgroundColor(const TQColor &col); - - //! Sets the foreground colour of selected text to \a col. - //! - //! \sa resetSelectionForegroundColor(), setSelectionBackgroundColor() - virtual void setSelectionForegroundColor(const TQColor &col); - - //! If \a indent is TRUE then the tab key will indent a line rather - //! then insert a tab character. - //! - //! \sa tabIndents(), backspaceUnindents(), setBackspaceUnindents() - virtual void setTabIndents(bool indent); - - //! Sets the tab width to \a width characters. - //! - //! \sa tabWidth() - virtual void setTabWidth(int width); - - //! Replaces all of the current text with \a text. Note that the - //! undo/redo history is cleared by this function. - //! - //! \sa text() - virtual void setText(const TQString &text); - - //! Sets the current text encoding. If \a cp is TRUE then UTF8 is - //! used, otherwise Latin1 is used. - //! - //! \sa isUtf8() - virtual void setUtf8(bool cp); - - //! Sets the visibility of whitespace to mode \a mode. The default is - //! that whitespace is invisible. - //! - //! \sa whitespaceVisibility() - virtual void setWhitespaceVisibility(WhitespaceVisibility mode); - - //! Sets the line wrap mode to mode \a mode. The default is that lines - //! are not wrapped. - //! - //! \sa wrapMode() - virtual void setWrapMode(WrapMode mode); - - //! Undo the last change or sequence of changes. - //! - //! Scintilla has multiple level undo and redo. It will continue to - //! record undoable actions until memory runs out. Sequences of - //! typing or deleting are compressed into single actions to make it - //! easier to undo and redo at a sensible level of detail. Sequences - //! of actions can be combined into actions that are undone as a unit. - //! These sequences occur between calls to beginUndoAction() and - //! endUndoAction(). These sequences can be nested and only the top - //! level sequences are undone as units. - //! - //! \sa beginUndoAction(), endUndoAction(), isUndoAvailable() - virtual void undo(); - - //! Decreases the indentation of line \a line by an indentation width. - //! - //! \sa indent() - virtual void unindent(int line); - - //! Zooms in on the text by by making the base font size \a range - //! points larger and recalculating all font sizes. - //! - //! \sa zoomOut(), zoomTo() - virtual void zoomIn(int range); - - //! \overload - //! - //! Zooms in on the text by by making the base font size one point - //! larger and recalculating all font sizes. - virtual void zoomIn(); - - //! Zooms out on the text by by making the base font size \a range - //! points smaller and recalculating all font sizes. - //! - //! \sa zoomIn(), zoomTo() - virtual void zoomOut(int range); - - //! \overload - //! - //! Zooms out on the text by by making the base font size one point - //! larger and recalculating all font sizes. - virtual void zoomOut(); - - //! Zooms the text by making the base font size \a size points and - //! recalculating all font sizes. - //! - //! \sa zoomIn(), zoomOut() - virtual void zoomTo(int size); - -signals: - //! This signal is emitted whenever the cursor position changes. - //! \a line contains the line number and \a pos contains the - //! character position within the line. - void cursorPositionChanged(int line,int pos); - - //! This signal is emitted whenever text is selected or de-selected. - //! \a yes is TRUE if text has been selected and FALSE if text has been - //! deselected. If \a yes is TRUE then copy() can be used to copy the - //! selection to the clipboard. If \a yes is FALSE then copy() does - //! nothing. - //! - //! \sa copy(), selectionChanged() - void copyAvailable(bool yes); - - //! This signal is emitted whenever the user clicks on a sensitive - //! margin. \a margin is the margin. \a line is the number of the - //! line where the user clicked. \a state is the state of the modifier - //! keys (ShiftButton, ControlButton and AltButton) when the user - //! clicked. - //! - //! \sa marginSensitivity(), setMarginSensitivity() - void marginClicked(int margin,int line,TQt::ButtonState state); - - //! This signal is emitted whenever the user attempts to modify - //! read-only text. - //! - //! \sa isReadOnly(), setReadOnly() - void modificationAttempted(); - - //! This signal is emitted whenever the modification state of the text - //! changes. \a m is TRUE if the text has been modified. - //! - //! \sa isModified(), setModified() - void modificationChanged(bool m); - - //! This signal is emitted whenever the selection changes. - //! - //! \sa copyAvailable() - void selectionChanged(); - - //! This signal is emitted whenever the text in the text edit changes. - void textChanged(); - - //! This signal is emitted when an item in a user defined list is - //! activated (selected). \a id is the list identifier. \a string is - //! the text of the item. - //! - //! \sa showUserList() - void userListActivated(int id, const TQString &string); - -private slots: - void handleCallTipClick(int dir); - void handleCharAdded(int charadded); - void handleMarginClick(int pos,int margin,int modifiers); - void handleModified(int pos,int mtype,const char *text,int len, - int added,int line,int foldNow,int foldPrev); - void handlePropertyChange(const char *prop,const char *val); - void handleSavePointReached(); - void handleSavePointLeft(); - void handleSelectionChanged(bool yes); - void handleUserListSelection(const char *text, int id); - - void handleStyleColorChange(const TQColor &c,int style); - void handleStyleEolFillChange(bool eolfill,int style); - void handleStyleFontChange(const TQFont &f,int style); - void handleStylePaperChange(const TQColor &c,int style); - - void handleUpdateUI(); - -private: - enum IndentState { - isNone, - isKeywordStart, - isBlockStart, - isBlockEnd - }; - - void maintainIndentation(char ch,long pos); - void autoIndentation(char ch,long pos); - void autoIndentLine(long pos,int line,int indent); - int blockIndent(int line); - IndentState getIndentState(int line); - bool rangeIsWhitespace(long spos,long epos); - int findStyledWord(const char *text,int style,const char *words); - - void checkMarker(int &mnr); - long posFromLineIndex(int line,int index); - void lineIndexFromPos(long pos,int *line,int *index); - int currentIndent(); - int indentWidth(); - bool doFind(); - long simpleFind(); - void foldClick(int lineClick,int bstate); - void foldChanged(int line,int levelNow,int levelPrev); - void foldExpand(int &line,bool doExpand,bool force = FALSE, - int visLevels = 0,int level = -1); - void setFoldMarker(int marknr,int mark = SC_MARK_EMPTY); - TQString convertText(const char *s); - void setStylesFont(const TQFont &f,int style); - - void braceMatch(); - bool findMatchingBrace(long &brace,long &other,BraceMatch mode); - long checkBrace(long pos,int brace_style,bool &colonMode); - void gotoMatchingBrace(bool select); - - void startAutoCompletion(AutoCompletionSource acs, bool checkThresh, - bool single); - bool isAutoCStartChar(char ch) const; - - bool currentCharInWord(); - bool isWordChar(char ch) const; - - bool ensureRW(); - - struct FindState - { - FindState() : inProgress(0) {} - - bool inProgress; - TQString expr; - bool wrap; - bool forward; - int flags; - long startpos; - long endpos; - bool show; - }; - - FindState findState; - - unsigned allocatedMarkers; - long oldPos; - bool selText; - FoldStyle fold; - bool autoInd; - BraceMatch braceMode; - AutoCompletionSource acSource; - int acThresh; - const char *acStart; - QextScintillaAPIs *acAPIs; - QextScintillaAPIs *ctAPIs; - int maxCallTips; - bool showSingle; - long ctpos; - TQGuardedPtr lex; - QextScintillaCommandSet *stdCmds; - QextScintillaDocument doc; - bool modified; - TQColor nl_text_colour; - TQColor nl_paper_colour; - TQFont nl_font; - bool explicit_fillups; - bool fillups_enabled; - TQCString saved_fillups; - -#if defined(TQ_DISABLE_COPY) - QextScintilla(const QextScintilla &); - QextScintilla &operator=(const QextScintilla &); -#endif -}; - -#endif diff --git a/qt/qextscintillaapis.cpp b/qt/qextscintillaapis.cpp deleted file mode 100644 index 7c94af1..0000000 --- a/qt/qextscintillaapis.cpp +++ /dev/null @@ -1,213 +0,0 @@ -// This module implements the QextScintillaAPIs class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "qextscintillaapis.h" - - -// The ctor. -QextScintillaAPIs::QextScintillaAPIs() : sorted(TRUE), ctcursor(0) -{ -} - - -// The dtor. -QextScintillaAPIs::~QextScintillaAPIs() -{ -} - - -// Clear out all API information. -bool QextScintillaAPIs::load(const TQString &fname) -{ - TQFile f(fname); - - if (!f.open(IO_ReadOnly)) - return FALSE; - - TQTextStream ts(&f); - - for (;;) - { - TQString line = ts.readLine(); - - if (line.isNull()) - break; - - apis.append(line); - } - - sorted = FALSE; - - return TRUE; -} - - -// Add a single API entry. -void QextScintillaAPIs::add(const TQString &entry) -{ - apis.append(entry); - sorted = FALSE; -} - - -// Clear out all API information. -void QextScintillaAPIs::clear() -{ - apis.clear(); - sorted = TRUE; -} - - -// Add auto-completion words to an existing list. -void QextScintillaAPIs::autoCompletionList(const TQString &starts, bool cs, - TQStringList &wlist) -{ - ensureSorted(); - - TQStringList::ConstIterator it = apis.begin(); - - // Find the first match in the sorted list. - while (it != apis.end()) - { - if ((*it).find(starts, 0, cs) == 0) - break; - - ++it; - } - - TQString prev; - - while (it != apis.end()) - { - if ((*it).find(starts, 0, cs) != 0) - break; - - TQString w = (*it).section('(', 0, 0); - - if (w != prev) - { - if (wlist.findIndex(w) < 0) - wlist.append(w); - - prev = w; - } - - ++it; - } -} - - -// Return the call tip for a function. -TQString QextScintillaAPIs::callTips(const TQString &function,int maxnr, - int commas) -{ - ensureSorted(); - - TQStringList::ConstIterator it; - - // Find the first match in the sorted list. - for (it = apis.begin(); it != apis.end(); ++it) - if ((*it).startsWith(function)) - break; - - TQStringList cts; - TQString prev; - - while (it != apis.end() && (*it).startsWith(function)) - { - if (maxnr > 0 && maxnr == cts.count()) - break; - - TQString w = *it; - - // Remove any image ID used by auto-completion. - w.replace(TQRegExp("\\?[^(]*"),""); - - if (w.find('(') == function.length() && w.contains(',') >= commas && w != prev) - { - cts.append(w); - prev = w; - } - - ++it; - } - - // See if we want to add a down arrow. - if (maxnr < 0 && cts.count() > 1) - { - // Remember the state so we can scroll through it later. - ctlist = cts; - ctcursor = 0; - - TQString ct = cts[0]; - - ct.prepend('\002'); - - return ct; - } - - ctlist.clear(); - - return cts.join("\n"); -} - - -// Return the next or previous call tip. -TQString QextScintillaAPIs::callTipsNextPrev(int dir) -{ - TQString ct; - - // Get the call tip. - if (dir == 1 && ctcursor > 0) - ct = ctlist[--ctcursor]; - else if (dir == 2 && ctcursor < ctlist.count() - 1) - ct = ctlist[++ctcursor]; - - // Add the arrows. - if (!ct.isNull()) - { - if (ctcursor < ctlist.count() - 1) - ct.prepend('\002'); - - if (ctcursor > 0) - ct.prepend('\001'); - } - - return ct; -} - - -// Ensure the list is sorted. -void QextScintillaAPIs::ensureSorted() -{ - if (!sorted) - { - apis.sort(); - sorted = TRUE; - } -} diff --git a/qt/qextscintillaapis.h b/qt/qextscintillaapis.h deleted file mode 100644 index 30e90f3..0000000 --- a/qt/qextscintillaapis.h +++ /dev/null @@ -1,84 +0,0 @@ -// This module defines interface to the QextScintillaAPIs class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLAAPIS_H -#define TQEXTSCINTILLAAPIS_H - - -#include - -#include - - -//! \brief The QextScintillaAPIs class represents the textual API information -//! used in call tips and for auto-completion. -//! -//! API information is read from one or more files. Each API function is -//! described by a single line of text comprising the function's name, followed -//! by the function's optional comma separated parameters enclosed in -//! parenthesis, and finally followed by optional explanatory text. -//! -//! A function name may be followed by a `?' and a number. The number is used -//! by auto-completion to display a registered TQPixmap with the function name. -//! -//! All function names are used by auto-completion, but only those that include -//! function parameters are used in call tips. -class TQEXTSCINTILLA_EXPORT QextScintillaAPIs -{ -public: - //! Constructs a QextScintillaAPIs instance. - QextScintillaAPIs(); - - //! Destroys the QextScintillaAPIs instance. - ~QextScintillaAPIs(); - - //! Add the single API entry \a entry to the current set. - void add(const TQString &entry); - - //! Load the API information from the file named \a fname, adding it to - //! the current set. Returns TRUE if successful, otherwise FALSE. - bool load(const TQString &fname); - - //! Deletes all API information. - void clear(); - -private: - friend class QextScintilla; - - void autoCompletionList(const TQString &starts, bool cs, - TQStringList &wlist); - TQString callTips(const TQString &function,int maxnr,int commas); - TQString callTipsNextPrev(int dir); - void ensureSorted(); - - bool sorted; - int ctcursor; - TQStringList apis; - TQStringList ctlist; - -#if defined(TQ_DISABLE_COPY) - QextScintillaAPIs(const QextScintillaAPIs &); - QextScintillaAPIs &operator=(const QextScintillaAPIs &); -#endif -}; - -#endif diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp deleted file mode 100644 index 4776da7..0000000 --- a/qt/qextscintillabase.cpp +++ /dev/null @@ -1,586 +0,0 @@ -// This module implements the "official" low-level API. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include "qextscintillabase.moc" -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "qextscintillabase.h" -#include "ScintillaQt.h" - - -// The #defines in Scintilla.h and the enums in qextscintillabase.h conflict -// (because we want to use the same names) so we have to undefine those we use -// in this file. -#undef SCI_SETCARETPERIOD -#undef SCK_DOWN -#undef SCK_UP -#undef SCK_LEFT -#undef SCK_RIGHT -#undef SCK_HOME -#undef SCK_END -#undef SCK_PRIOR -#undef SCK_NEXT -#undef SCK_DELETE -#undef SCK_INSERT -#undef SCK_ESCAPE -#undef SCK_BACK -#undef SCK_TAB -#undef SCK_RETURN -#undef SCK_ADD -#undef SCK_SUBTRACT -#undef SCK_DIVIDE - - -// Remember if we have linked the lexers. -static bool lexersLinked = FALSE; - -// The list of instances. -static TQPtrList poolList; - - -// The ctor. -QextScintillaBase::QextScintillaBase(TQWidget *parent,const char *name,WFlags f) - : TQWidget(parent,name,f) -{ - sci = 0; - - TQGridLayout *layout = new TQGridLayout(this,2,2); - - txtarea = new TQWidget(this,0,WRepaintNoErase|WResizeNoErase); - txtarea -> setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); - txtarea -> setMouseTracking(TRUE); - txtarea -> setAcceptDrops(TRUE); - txtarea -> setFocusPolicy(WheelFocus); - txtarea -> setFocusProxy(this); - layout -> addWidget(txtarea,0,0); - - vsb = new TQScrollBar(Qt::Vertical,this); - layout -> addWidget(vsb,0,1); - connect(vsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleVSb(int))); - - hsb = new TQScrollBar(Qt::Horizontal,this); - layout -> addWidget(hsb,1,0); - connect(hsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleHSb(int))); - - txtarea -> installEventFilter(this); - - setFocusPolicy(WheelFocus); - - sci = new ScintillaTQt(this); - - SendScintilla(SCI_SETCARETPERIOD,TQApplication::cursorFlashTime() / 2); - - // Make sure the lexers are linked in. - if (!lexersLinked) - { - Scintilla_LinkLexers(); - - lexersLinked = TRUE; - } - - TQClipboard *cb = TQApplication::clipboard(); - - if (cb -> supportsSelection()) - connect(cb,TQT_SIGNAL(selectionChanged()),TQT_SLOT(handleSelection())); - - // Add it to the pool. - poolList.append(this); -} - - -// The dtor. -QextScintillaBase::~QextScintillaBase() -{ - // Remove it from the pool. - poolList.remove(this); - - delete sci; -} - - -// Return the viewport widget. -TQWidget *QextScintillaBase::viewport() const -{ - return txtarea; -} - - -// Return an instance from the pool. -QextScintillaBase *QextScintillaBase::pool() -{ - return poolList.first(); -} - - -// Send a message to the real Scintilla widget using the low level Scintilla -// API. -long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, - long lParam) -{ - return sci -> WndProc(msg,wParam,lParam); -} - - -// Send a message to the real Scintilla widget that needs a TextRange -// structure. -long QextScintillaBase::SendScintilla(unsigned int msg,long cpMin,long cpMax, - char *lpstrText) -{ - TextRange tr; - - tr.chrg.cpMin = cpMin; - tr.chrg.cpMax = cpMax; - tr.lpstrText = lpstrText; - - return sci -> WndProc(msg,0,reinterpret_cast(&tr)); -} - - -// Send a message to the real Scintilla widget that needs a RangeToFormat -// structure. -long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, - TQPainter *hdc,const TQRect &rc, - long cpMin,long cpMax) -{ - RangeToFormat rf; - - rf.hdc = rf.hdcTarget = reinterpret_cast(hdc); - - rf.rc.left = rc.left(); - rf.rc.top = rc.top(); - rf.rc.right = rc.right() + 1; - rf.rc.bottom = rc.bottom() + 1; - - rf.chrg.cpMin = cpMin; - rf.chrg.cpMax = cpMax; - - return sci -> WndProc(msg,wParam,reinterpret_cast(&rf)); -} - - -// Send a message to the real Scintilla widget that needs a colour. -long QextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, - const TQColor &col) -{ - long lParam = (col.blue() << 16) | (col.green() << 8) | col.red(); - - return sci -> WndProc(msg,wParam,lParam); -} - - -// Send a message to the real Scintilla widget that needs a colour. -long QextScintillaBase::SendScintilla(unsigned int msg,const TQColor &col) -{ - unsigned long wParam = (col.blue() << 16) | (col.green() << 8) | col.red(); - - return sci -> WndProc(msg,wParam,0); -} - - -// Handle events on behalf of the text area. -bool QextScintillaBase::eventFilter(TQObject *o,TQEvent *e) -{ - if (o != txtarea) - return TQWidget::eventFilter(o,e); - - bool used = TRUE; - - switch (e -> type()) - { - case TQEvent::Paint: - sci -> paintEvent(static_cast(e)); - break; - - case TQEvent::Resize: - sci -> ChangeSize(); - break; - - case TQEvent::MouseButtonPress: - mousePress(static_cast(e)); - break; - - case TQEvent::MouseButtonRelease: - mouseRelease(static_cast(e)); - break; - - case TQEvent::MouseButtonDblClick: - mouseDoubleClick(static_cast(e)); - break; - - case TQEvent::MouseMove: - mouseMove(static_cast(e)); - break; - - case TQEvent::Wheel: - mouseWheel(static_cast(e)); - break; - - case TQEvent::ContextMenu: - contextMenu(static_cast(e)); - break; - - case TQEvent::DragEnter: - sci -> dragEnterEvent(static_cast(e)); - break; - - case TQEvent::DragMove: - sci -> dragMoveEvent(static_cast(e)); - break; - - case TQEvent::DragLeave: - sci -> dragLeaveEvent(static_cast(e)); - break; - - case TQEvent::Drop: - sci -> dropEvent(static_cast(e)); - break; - - default: - used = FALSE; - } - - return used; -} - - -// Handle the timer on behalf of the ScintillaTQt instance. -void QextScintillaBase::handleTimer() -{ - sci -> Tick(); -} - - -// Handle the context menu on behalf of the ScintillaTQt instance. -void QextScintillaBase::handlePopUp(int cmd) -{ - sci -> Command(cmd); -} - - -// Re-implemented to tell the widget it has the focus. -void QextScintillaBase::focusInEvent(TQFocusEvent *) -{ - sci -> SetFocusState(true); -} - - -// Re-implemented to tell the widget it has lost the focus. -void QextScintillaBase::focusOutEvent(TQFocusEvent *) -{ - sci -> SetFocusState(false); -} - - -// Handle a mouse button press. -void QextScintillaBase::mousePress(TQMouseEvent *me) -{ - setFocus(); - - Point pt(me -> x(),me -> y()); - - switch (me -> button()) - { - case LeftButton: - { - unsigned clickTime; - - // It is a triple click if the timer is running and the - // mouse hasn't moved too much. - if (triple_click.isActive() && (me -> globalPos() - triple_click_at).manhattanLength() < TQApplication::startDragDistance()) - clickTime = sci -> lastClickTime + Platform::DoubleClickTime() - 1; - else - clickTime = sci -> lastClickTime + Platform::DoubleClickTime() + 1; - - triple_click.stop(); - - bool shift = me -> state() & ShiftButton; - bool ctrl = me -> state() & ControlButton; - bool alt = me -> state() & AltButton; - - sci -> ButtonDown(pt,clickTime,shift,ctrl,alt); - break; - } - - case MidButton: - { - TQClipboard *cb = TQApplication::clipboard(); - - if (cb -> supportsSelection()) - { - cb -> setSelectionMode(TRUE); - - int pos = sci -> PositionFromLocation(pt); - - sci -> SetSelection(pos,pos); - sci -> Paste(); - - cb -> setSelectionMode(FALSE); - } - - break; - } - - default: - break; - } -} - - -// Handle a context menu event. -void QextScintillaBase::contextMenu(TQContextMenuEvent *cme) -{ - TQApplication::sendEvent(this,cme); - - if (!cme -> isConsumed()) - sci -> ContextMenu(Point(cme -> globalX(),cme -> globalY())); -} - - -// Handle a mouse button releases. -void QextScintillaBase::mouseRelease(TQMouseEvent *me) -{ - if (sci -> HaveMouseCapture() && me -> button() == LeftButton) - { - bool ctrl = me -> state() & ControlButton; - - sci -> ButtonUp(Point(me -> x(),me -> y()),0,ctrl); - } -} - - -// Handle a mouse move. -void QextScintillaBase::mouseMove(TQMouseEvent *me) -{ - sci -> ButtonMove(Point(me -> x(),me -> y())); -} - - -// Handle a mouse wheel event. -void QextScintillaBase::mouseWheel(TQWheelEvent *we) -{ - setFocus(); - - if (we -> orientation() == Qt::Horizontal || we -> state() & ShiftButton) - TQApplication::sendEvent(hsb,we); - else if (we -> orientation() == Qt::Vertical) - TQApplication::sendEvent(vsb,we); -} - - -// Handle a mouse button double click. -void QextScintillaBase::mouseDoubleClick(TQMouseEvent *me) -{ - setFocus(); - - if (me -> button() == LeftButton) - { - // Make sure Scintilla will interpret this as a double-click. - unsigned clickTime = sci -> lastClickTime + Platform::DoubleClickTime() - 1; - - bool shift = me -> state() & ShiftButton; - bool ctrl = me -> state() & ControlButton; - bool alt = me -> state() & AltButton; - - sci -> ButtonDown(Point(me -> x(),me -> y()),clickTime,shift,ctrl,alt); - - // Remember the current position and time in case it turns into a - // triple click. - triple_click_at = me -> globalPos(); - triple_click.start(TQApplication::doubleClickInterval()); - } -} - - -// Re-implemented to handle key press events. -void QextScintillaBase::keyPressEvent(TQKeyEvent *ke) -{ - unsigned key; - - switch (ke -> key()) - { - case Key_Down: - key = SCK_DOWN; - break; - - case Key_Up: - key = SCK_UP; - break; - - case Key_Left: - key = SCK_LEFT; - break; - - case Key_Right: - key = SCK_RIGHT; - break; - - case Key_Home: - key = SCK_HOME; - break; - - case Key_End: - key = SCK_END; - break; - - case Key_Prior: - key = SCK_PRIOR; - break; - - case Key_Next: - key = SCK_NEXT; - break; - - case Key_Delete: - key = SCK_DELETE; - break; - - case Key_Insert: - key = SCK_INSERT; - break; - - case Key_Escape: - key = SCK_ESCAPE; - break; - - case Key_Backspace: - key = SCK_BACK; - break; - - case Key_Tab: - key = SCK_TAB; - break; - - case Key_Return: - case Key_Enter: - key = SCK_RETURN; - break; - - default: - if (sci -> IsUnicodeMode()) - { - // Work out if the original input was a single ASCII - // key. - if (ke -> text().length() == 1) - { - if ((key = ke -> text()[0].unicode()) >= 0x80) - key = 0; - } - else - key = 0; - } - else - { - key = ke -> ascii(); - - if (key >= 0x01 && key <= 0x1f) - key += 0x40; - } - } - - bool consumed = FALSE; - - if (key) - { - bool shift = ke -> state() & ShiftButton; - bool ctrl = ke -> state() & ControlButton; - bool alt = ke -> state() & AltButton; - - // If the character is eventually added by KeyDefault() then - // the return value of KeyDown() will be true, but consumed - // will incorrectly be false. - if (sci -> KeyDown(key,shift,ctrl,alt,&consumed) && !consumed) - consumed = TRUE; - } - else if (sci -> IsUnicodeMode()) - { - if (ke -> text().length() > 0 && !ke -> text()[0].isNull()) - { - TQCString s = ke -> text().utf8(); - - sci -> AddCharUTF(s.data(),s.length()); - - consumed = TRUE; - } - } - - if (!consumed) - ke -> ignore(); -} - - -// Re-implemented to make sure tabs are passed to the editor. -bool QextScintillaBase::focusNextPrevChild(bool) -{ - return false; -} - - -// Start a drag and allow this to be re-implemented by an application. -void QextScintillaBase::startDrag() -{ - sci -> StartDragImpl(); -} - - -// Handle the vertical scrollbar. -void QextScintillaBase::handleVSb(int val) -{ - sci -> ScrollTo(val); -} - - -// Handle the horizontal scrollbar. -void QextScintillaBase::handleHSb(int val) -{ - sci ->HorizontalScrollTo(val); -} - - -// Return the current prefered size. -TQSize QextScintillaBase::sizeHint() const -{ - int height = sci -> vs.lineHeight * sci -> pdoc -> LinesTotal(); - - if (sci -> horizontalScrollBarVisible) - height += hsb -> sizeHint().height(); - - return TQSize(sci -> scrollWidth,height); -} - - -// Handle the selection changing. -void QextScintillaBase::handleSelection() -{ - if (!TQApplication::clipboard() -> ownsSelection()) - sci -> UnclaimSelection(); -} diff --git a/qt/qextscintillabase.h b/qt/qextscintillabase.h deleted file mode 100644 index 8936bf0..0000000 --- a/qt/qextscintillabase.h +++ /dev/null @@ -1,2414 +0,0 @@ -// This class defines the "official" low-level API. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLABASE_H -#define TQEXTSCINTILLABASE_H - - -#include -#include -#include -#include - -#include - - -class ScintillaTQt; -class TQScrollBar; -class TQColor; -class TQPainter; -class TQPixmap; - - -//! \brief The QextScintillaBase class implements the Scintilla editor widget -//! and its low-level API. -//! -//! Scintilla (http://www.scintilla.org) is a powerful C++ editor class that -//! supports many features including syntax styling, error indicators, code -//! completion and call tips. It is particularly useful as a programmer's -//! editor. -//! -//! QextScintillaBase is a port to TQt of Scintilla. It implements the standard -//! Scintilla API which consists of a number of messages each taking up to -//! two arguments. -//! -//! See QextScintilla for the implementation of a higher level API that is more -//! consistent with the rest of the TQt toolkit. -class TQEXTSCINTILLA_EXPORT QextScintillaBase : public TQWidget -{ - TQ_OBJECT - - -public: - //! The low-level Scintilla API is implemented as a set of messages - //! each of which takes up to two parameters (\a wParam and \a lParam) - //! and optionally return a value. This enum defines all the possible - //! messages. - //! - //! \sa SendScintilla() - enum - { - //! - SCI_START = 2000, - - //! - SCI_OPTIONAL_START = 3000, - - //! - SCI_LEXER_START = 4000, - - //! This message appends some text to the end of the document. - //! \a wParam is the length of the text. - //! \a lParam is the text to be appended. - SCI_ADDTEXT = 2001, - - //! - SCI_ADDSTYLEDTEXT = 2002, - - //! - SCI_INSERTTEXT = 2003, - - //! - SCI_CLEARALL = 2004, - - //! - SCI_CLEARDOCUMENTSTYLE = 2005, - - //! - SCI_GETLENGTH = 2006, - - //! - SCI_GETCHARAT = 2007, - - //! This message returns the current position. - //! - //! \sa SCI_SETCURRENTPOS - SCI_GETCURRENTPOS = 2008, - - //! This message returns the anchor. - //! - //! \sa SCI_SETANCHOR - SCI_GETANCHOR = 2009, - - //! - SCI_GETSTYLEAT = 2010, - - //! - SCI_REDO = 2011, - - //! - SCI_SETUNDOCOLLECTION = 2012, - - //! - SCI_SELECTALL = 2013, - - //! This message marks the current state of the text as the - //! the save point. This is usually done when the text is saved - //! or loaded. - //! - //! \sa SCN_SAVEPOINTREACHED(), SCN_SAVEPOINTLEFT() - SCI_SETSAVEPOINT = 2014, - - //! - SCI_GETSTYLEDTEXT = 2015, - - //! - SCI_CANREDO = 2016, - - //! This message returns the line that contains a particular - //! instance of a marker. - //! \a wParam is the handle of the marker. - //! - //! \sa SCI_MARKERADD - SCI_MARKERLINEFROMHANDLE = 2017, - - //! This message removes a particular instance of a marker. - //! \a wParam is the handle of the marker. - //! - //! \sa SCI_MARKERADD - SCI_MARKERDELETEHANDLE = 2018, - - //! - SCI_GETUNDOCOLLECTION = 2019, - - //! - SCI_GETVIEWWS = 2020, - - //! - SCI_SETVIEWWS = 2021, - - //! - SCI_POSITIONFROMPOINT = 2022, - - //! - SCI_POSITIONFROMPOINTCLOSE = 2023, - - //! - SCI_GOTOLINE = 2024, - - //! This message clears the current selection and sets the - //! current position. - //! \a wParam is the new current position. - //! - //! \sa SCI_SETCURRENTPOS - SCI_GOTOPOS = 2025, - - //! This message sets the anchor. - //! \a wParam is the new anchor. - //! - //! \sa SCI_GETANCHOR - SCI_SETANCHOR = 2026, - - //! - SCI_GETCURLINE = 2027, - - //! This message returns the character position of the start of - //! the text that needs to be syntax styled. - //! - //! \sa SCN_STYLENEEDED() - SCI_GETENDSTYLED = 2028, - - //! - SCI_CONVERTEOLS = 2029, - - //! - SCI_GETEOLMODE = 2030, - - //! - SCI_SETEOLMODE = 2031, - - //! - SCI_STARTSTYLING = 2032, - - //! - SCI_SETSTYLING = 2033, - - //! - SCI_GETBUFFEREDDRAW = 2034, - - //! - SCI_SETBUFFEREDDRAW = 2035, - - //! - SCI_SETTABWIDTH = 2036, - - //! - SCI_GETTABWIDTH = 2121, - - //! - SCI_SETCODEPAGE = 2037, - - //! - SCI_SETUSEPALETTE = 2039, - - //! This message sets the symbol used to draw one of 32 - //! markers. Some markers have pre-defined uses, see the - //! SC_MARKNUM_* values. - //! \a wParam is the number of the marker. - //! \a lParam is the marker symbol and is one of the SC_MARK_* - //! values. - //! - //! \sa SCI_MARKERADD, SCI_MARKERDEFINEPIXMAP - SCI_MARKERDEFINE = 2040, - - //! This message sets the foreground colour used to draw a - //! marker. A colour is represented as a 24 bit value. The 8 - //! least significant bits correspond to red, the middle 8 bits - //! correspond to green, and the 8 most significant bits - //! correspond to blue. The default value is 0x000000. - //! \a wParam is the number of the marker. - //! \a lParam is the colour. - //! - //! \sa SCI_MARKERSETBACK - SCI_MARKERSETFORE = 2041, - - //! This message sets the background colour used to draw a - //! marker. A colour is represented as a 24 bit value. The 8 - //! least significant bits correspond to red, the middle 8 bits - //! correspond to green, and the 8 most significant bits - //! correspond to blue. The default value is 0xffffff. - //! \a wParam is the number of the marker. - //! \a lParam is the colour. - //! - //! \sa SCI_MARKERSETFORE - SCI_MARKERSETBACK = 2042, - - //! This message adds a marker to a line. A handle for the - //! marker is returned which can be used to track the marker's - //! position. - //! \a wParam is the line number. - //! \a lParam is the number of the marker. - //! - //! \sa SCI_MARKERDELETE, SCI_MARKERDELETEALL, - //! SCI_MARKERDELETEHANDLE - SCI_MARKERADD = 2043, - - //! This message deletes a marker from a line. - //! \a wParam is the line number. - //! \a lParam is the number of the marker. - //! - //! \sa SCI_MARKERADD, SCI_MARKERDELETEALL - SCI_MARKERDELETE = 2044, - - //! This message deletes all occurences of a marker. - //! \a wParam is the number of the marker. If \a wParam is -1 - //! then all markers are removed. - //! - //! \sa SCI_MARKERADD, SCI_MARKERDELETE - SCI_MARKERDELETEALL = 2045, - - //! This message returns the 32 bit mask of markers at a line. - //! \a wParam is the line number. - SCI_MARKERGET = 2046, - - //! This message looks for the next line to contain at least - //! one marker contained in a 32 bit mask of markers and - //! returns the line number. - //! \a wParam is the line number to start the search from. - //! \a lParam is the mask of markers to search for. - //! - //! \sa SCI_MARKERPREVIOUS - SCI_MARKERNEXT = 2047, - - //! This message looks for the previous line to contain at - //! least one marker contained in a 32 bit mask of markers and - //! returns the line number. - //! \a wParam is the line number to start the search from. - //! \a lParam is the mask of markers to search for. - //! - //! \sa SCI_MARKERNEXT - SCI_MARKERPREVIOUS = 2048, - - //! This message sets the symbol used to draw one of the 32 - //! markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker - //! symbol. - //! \a wParam is the number of the marker. - //! \a lParam is a pointer to a TQPixmap instance. Note that in - //! other ports of Scintilla this is a pointer to either raw or - //! textual XPM image data. - //! - //! \sa SCI_MARKERDEFINE - SCI_MARKERDEFINEPIXMAP = 2049, - - //! This message sets what can be displayed in a margin. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! \a lParam is the logical or of the SC_MARGIN_* values. - //! - //! \sa SCI_GETMARGINTYPEN - SCI_SETMARGINTYPEN = 2240, - - //! This message returns what can be displayed in a margin. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! - //! \sa SCI_SETMARGINTYPEN - SCI_GETMARGINTYPEN = 2241, - - //! This message sets the width of a margin in pixels. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! \a lParam is the new margin width. - //! - //! \sa SCI_GETMARGINWIDTHN - SCI_SETMARGINWIDTHN = 2242, - - //! This message returns the width of a margin in pixels. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! - //! \sa SCI_SETMARGINWIDTHN - SCI_GETMARGINWIDTHN = 2243, - - //! This message sets the mask of a margin. The mask is a 32 - //! value with one bit for each possible marker. If a bit is - //! set then the corresponding marker is displayed. By - //! default, all markers are displayed. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! \a lParam is the new margin mask. - //! - //! \sa SCI_GETMARGINMASKN, SCI_MARKERDEFINE - SCI_SETMARGINMASKN = 2244, - - //! This message returns the mask of a margin. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! - //! \sa SCI_SETMARGINMASKN - SCI_GETMARGINMASKN = 2245, - - //! This message sets the sensitivity of a margin to mouse - //! clicks. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! \a lParam is non-zero to make the margin sensitive to mouse - //! clicks. When the mouse is clicked the SCN_MARGINCLICK() - //! signal is emitted. - //! - //! \sa SCI_GETMARGINSENSITIVEN, SCN_MARGINCLICK() - SCI_SETMARGINSENSITIVEN = 2246, - - //! This message returns the sensitivity of a margin to mouse - //! clicks. - //! \a wParam is the number of the margin: 0, 1 or 2. - //! - //! \sa SCI_SETMARGINSENSITIVEN, SCN_MARGINCLICK() - SCI_GETMARGINSENSITIVEN = 2247, - - //! - SCI_STYLECLEARALL = 2050, - - //! - SCI_STYLESETFORE = 2051, - - //! - SCI_STYLESETBACK = 2052, - - //! - SCI_STYLESETBOLD = 2053, - - //! - SCI_STYLESETITALIC = 2054, - - //! - SCI_STYLESETSIZE = 2055, - - //! - SCI_STYLESETFONT = 2056, - - //! - SCI_STYLESETEOLFILLED = 2057, - - //! - SCI_STYLERESETDEFAULT = 2058, - - //! - SCI_STYLESETUNDERLINE = 2059, - - //! - SCI_STYLESETCASE = 2060, - - //! - SCI_STYLESETCHARACTERSET = 2066, - - //! - SCI_SETSELFORE = 2067, - - //! - SCI_SETSELBACK = 2068, - - //! - SCI_SETCARETFORE = 2069, - - //! - SCI_ASSIGNCMDKEY = 2070, - - //! - SCI_CLEARCMDKEY = 2071, - - //! - SCI_CLEARALLCMDKEYS = 2072, - - //! - SCI_SETSTYLINGEX = 2073, - - //! - SCI_STYLESETVISIBLE = 2074, - - //! - SCI_GETCARETPERIOD = 2075, - - //! - SCI_SETCARETPERIOD = 2076, - - //! - SCI_SETWORDCHARS = 2077, - - //! - SCI_BEGINUNDOACTION = 2078, - - //! - SCI_ENDUNDOACTION = 2079, - - //! - SCI_INDICSETSTYLE = 2080, - - //! - SCI_INDICGETSTYLE = 2081, - - //! - SCI_INDICSETFORE = 2082, - - //! - SCI_INDICGETFORE = 2083, - - //! - SCI_SETWHITESPACEFORE = 2084, - - //! - SCI_SETWHITESPACEBACK = 2085, - - //! - SCI_SETSTYLEBITS = 2090, - - //! - SCI_GETSTYLEBITS = 2091, - - //! - SCI_SETLINESTATE = 2092, - - //! - SCI_GETLINESTATE = 2093, - - //! - SCI_GETMAXLINESTATE = 2094, - - //! - SCI_GETCARETLINEVISIBLE = 2095, - - //! - SCI_SETCARETLINEVISIBLE = 2096, - - //! - SCI_GETCARETLINEBACK = 2097, - - //! - SCI_SETCARETLINEBACK = 2098, - - //! - SCI_STYLESETCHANGEABLE = 2099, - - //! - SCI_AUTOCSHOW = 2100, - - //! - SCI_AUTOCCANCEL = 2101, - - //! - SCI_AUTOCACTIVE = 2102, - - //! - SCI_AUTOCPOSSTART = 2103, - - //! - SCI_AUTOCCOMPLETE = 2104, - - //! - SCI_AUTOCSTOPS = 2105, - - //! - SCI_AUTOCSETSEPARATOR = 2106, - - //! - SCI_AUTOCGETSEPARATOR = 2107, - - //! - SCI_AUTOCSELECT = 2108, - - //! - SCI_AUTOCSETCANCELATSTART = 2110, - - //! - SCI_AUTOCGETCANCELATSTART = 2111, - - //! - SCI_AUTOCSETFILLUPS = 2112, - - //! - SCI_AUTOCSETCHOOSESINGLE = 2113, - - //! - SCI_AUTOCGETCHOOSESINGLE = 2114, - - //! - SCI_AUTOCSETIGNORECASE = 2115, - - //! - SCI_AUTOCGETIGNORECASE = 2116, - - //! - SCI_USERLISTSHOW = 2117, - - //! - SCI_AUTOCSETAUTOHIDE = 2118, - - //! - SCI_AUTOCGETAUTOHIDE = 2119, - - //! - SCI_AUTOCSETDROPRESTOFWORD = 2270, - - //! - SCI_AUTOCGETDROPRESTOFWORD = 2271, - - //! - SCI_SETINDENT = 2122, - - //! - SCI_GETINDENT = 2123, - - //! - SCI_SETUSETABS = 2124, - - //! - SCI_GETUSETABS = 2125, - - //! - SCI_SETLINEINDENTATION = 2126, - - //! - SCI_GETLINEINDENTATION = 2127, - - //! - SCI_GETLINEINDENTPOSITION = 2128, - - //! - SCI_GETCOLUMN = 2129, - - //! - SCI_SETHSCROLLBAR = 2130, - - //! - SCI_GETHSCROLLBAR = 2131, - - //! - SCI_SETINDENTATIONGUIDES = 2132, - - //! - SCI_GETINDENTATIONGUIDES = 2133, - - //! - SCI_SETHIGHLIGHTGUIDE = 2134, - - //! - SCI_GETHIGHLIGHTGUIDE = 2135, - - //! - SCI_GETLINEENDPOSITION = 2136, - - //! - SCI_GETCODEPAGE = 2137, - - //! - SCI_GETCARETFORE = 2138, - - //! - SCI_GETUSEPALETTE = 2139, - - //! This message returns a non-zero value if the document is - //! read-only. - //! - //! \sa SCI_SETREADONLY - SCI_GETREADONLY = 2140, - - //! This message sets the current position. - //! \a wParam is the new current position. - //! - //! \sa SCI_GETCURRENTPOS - SCI_SETCURRENTPOS = 2141, - - //! - SCI_SETSELECTIONSTART = 2142, - - //! - SCI_GETSELECTIONSTART = 2143, - - //! - SCI_SETSELECTIONEND = 2144, - - //! - SCI_GETSELECTIONEND = 2145, - - //! - SCI_SETPRINTMAGNIFICATION = 2146, - - //! - SCI_GETPRINTMAGNIFICATION = 2147, - - //! - SCI_SETPRINTCOLOURMODE = 2148, - - //! - SCI_GETPRINTCOLOURMODE = 2149, - - //! - SCI_FINDTEXT = 2150, - - //! - SCI_FORMATRANGE = 2151, - - //! - SCI_GETFIRSTVISIBLELINE = 2152, - - //! - SCI_GETLINE = 2153, - - //! - SCI_GETLINECOUNT = 2154, - - //! - SCI_SETMARGINLEFT = 2155, - - //! - SCI_GETMARGINLEFT = 2156, - - //! - SCI_SETMARGINRIGHT = 2157, - - //! - SCI_GETMARGINRIGHT = 2158, - - //! This message returns a non-zero value if the document has - //! been modified. - SCI_GETMODIFY = 2159, - - //! - SCI_SETSEL = 2160, - - //! - SCI_GETSELTEXT = 2161, - - //! - SCI_GETTEXTRANGE = 2162, - - //! - SCI_HIDESELECTION = 2163, - - //! - SCI_POINTXFROMPOSITION = 2164, - - //! - SCI_POINTYFROMPOSITION = 2165, - - //! - SCI_LINEFROMPOSITION = 2166, - - //! - SCI_POSITIONFROMLINE = 2167, - - //! - SCI_LINESCROLL = 2168, - - //! - SCI_SCROLLCARET = 2169, - - //! - SCI_REPLACESEL = 2170, - - //! This message sets the read-only state of the document. - //! \a wParam is the new read-only state of the document. - //! - //! \sa SCI_GETREADONLY - SCI_SETREADONLY = 2171, - - //! - SCI_NULL = 2172, - - //! - SCI_CANPASTE = 2173, - - //! - SCI_CANUNDO = 2174, - - //! This message empties the undo buffer. - SCI_EMPTYUNDOBUFFER = 2175, - - //! - SCI_UNDO = 2176, - - //! - SCI_CUT = 2177, - - //! - SCI_COPY = 2178, - - //! - SCI_PASTE = 2179, - - //! - SCI_CLEAR = 2180, - - //! This message sets the text of the document. - //! \a wParam is unused. - //! \a lParam is the new text of the document. - //! - //! \sa SCI_GETTEXT - SCI_SETTEXT = 2181, - - //! This message gets the text of the document. - //! \a wParam is size of the buffer that the text is copied to. - //! \a lParam is the address of the buffer that the text is - //! copied to. - //! - //! \sa SCI_SETTEXT - SCI_GETTEXT = 2182, - - //! This message returns the length of the document. - SCI_GETTEXTLENGTH = 2183, - - //! - SCI_GETDIRECTFUNCTION = 2184, - - //! - SCI_GETDIRECTPOINTER = 2185, - - //! - SCI_SETOVERTYPE = 2186, - - //! - SCI_GETOVERTYPE = 2187, - - //! - SCI_SETCARETWIDTH = 2188, - - //! - SCI_GETCARETWIDTH = 2189, - - //! - SCI_SETTARGETSTART = 2190, - - //! - SCI_GETTARGETSTART = 2191, - - //! - SCI_SETTARGETEND = 2192, - - //! - SCI_GETTARGETEND = 2193, - - //! - SCI_REPLACETARGET = 2194, - - //! - SCI_REPLACETARGETRE = 2195, - - //! - SCI_SEARCHINTARGET = 2197, - - //! - SCI_SETSEARCHFLAGS = 2198, - - //! - SCI_GETSEARCHFLAGS = 2199, - - //! - SCI_CALLTIPSHOW = 2200, - - //! - SCI_CALLTIPCANCEL = 2201, - - //! - SCI_CALLTIPACTIVE = 2202, - - //! - SCI_CALLTIPPOSSTART = 2203, - - //! - SCI_CALLTIPSETHLT = 2204, - - //! - SCI_CALLTIPSETBACK = 2205, - - //! - SCI_CALLTIPSETFORE = 2206, - - //! - SCI_CALLTIPSETFOREHLT = 2207, - - //! - SCI_AUTOCSETMAXWIDTH = 2208, - - //! - SCI_AUTOCGETMAXWIDTH = 2209, - - //! - SCI_AUTOCSETMAXHEIGHT = 2210, - - //! - SCI_AUTOCGETMAXHEIGHT = 2211, - - //! - SCI_CALLTIPUSESTYLE = 2212, - - //! - SCI_VISIBLEFROMDOCLINE = 2220, - - //! - SCI_DOCLINEFROMVISIBLE = 2221, - - //! - SCI_SETFOLDLEVEL = 2222, - - //! - SCI_GETFOLDLEVEL = 2223, - - //! - SCI_GETLASTCHILD = 2224, - - //! - SCI_GETFOLDPARENT = 2225, - - //! - SCI_SHOWLINES = 2226, - - //! - SCI_HIDELINES = 2227, - - //! - SCI_GETLINEVISIBLE = 2228, - - //! - SCI_SETFOLDEXPANDED = 2229, - - //! - SCI_GETFOLDEXPANDED = 2230, - - //! - SCI_TOGGLEFOLD = 2231, - - //! - SCI_ENSUREVISIBLE = 2232, - - //! - SCI_SETFOLDFLAGS = 2233, - - //! - SCI_ENSUREVISIBLEENFORCEPOLICY = 2234, - - //! - SCI_WRAPCOUNT = 2235, - - //! - SCI_SETTABINDENTS = 2260, - - //! - SCI_GETTABINDENTS = 2261, - - //! - SCI_SETBACKSPACEUNINDENTS = 2262, - - //! - SCI_GETBACKSPACEUNINDENTS = 2263, - - //! - SCI_SETMOUSEDWELLTIME = 2264, - - //! - SCI_GETMOUSEDWELLTIME = 2265, - - //! - SCI_WORDSTARTPOSITION = 2266, - - //! - SCI_WORDENDPOSITION = 2267, - - //! - SCI_SETWRAPMODE = 2268, - - //! - SCI_GETWRAPMODE = 2269, - - //! - SCI_SETLAYOUTCACHE = 2272, - - //! - SCI_GETLAYOUTCACHE = 2273, - - //! - SCI_SETSCROLLWIDTH = 2274, - - //! - SCI_GETSCROLLWIDTH = 2275, - - //! This message returns the width of some text when rendered - //! in a particular style. - //! \a wParam is the style number and is one of the STYLE_* - //! values or one of the styles defined by a lexer. - //! \a lParam is a pointer to the text. - SCI_TEXTWIDTH = 2276, - - //! - SCI_SETENDATLASTLINE = 2277, - - //! - SCI_GETENDATLASTLINE = 2278, - - //! - SCI_TEXTHEIGHT = 2279, - - //! - SCI_SETVSCROLLBAR = 2280, - - //! - SCI_GETVSCROLLBAR = 2281, - - //! - SCI_APPENDTEXT = 2282, - - //! - SCI_GETTWOPHASEDRAW = 2283, - - //! - SCI_SETTWOPHASEDRAW = 2284, - - //! - SCI_AUTOCGETTYPESEPARATOR = 2285, - - //! - SCI_AUTOCSETTYPESEPARATOR = 2286, - - //! - SCI_TARGETFROMSELECTION = 2287, - - //! - SCI_LINESJOIN = 2288, - - //! - SCI_LINESSPLIT = 2289, - - //! - SCI_SETFOLDMARGINCOLOUR = 2290, - - //! - SCI_SETFOLDMARGINHICOLOUR = 2291, - - //! - SCI_LINEDOWN = 2300, - - //! - SCI_LINEDOWNEXTEND = 2301, - - //! - SCI_LINEUP = 2302, - - //! - SCI_LINEUPEXTEND = 2303, - - //! - SCI_CHARLEFT = 2304, - - //! - SCI_CHARLEFTEXTEND = 2305, - - //! - SCI_CHARRIGHT = 2306, - - //! - SCI_CHARRIGHTEXTEND = 2307, - - //! - SCI_WORDLEFT = 2308, - - //! - SCI_WORDLEFTEXTEND = 2309, - - //! - SCI_WORDRIGHT = 2310, - - //! - SCI_WORDRIGHTEXTEND = 2311, - - //! - SCI_HOME = 2312, - - //! - SCI_HOMEEXTEND = 2313, - - //! - SCI_LINEEND = 2314, - - //! - SCI_LINEENDEXTEND = 2315, - - //! - SCI_DOCUMENTSTART = 2316, - - //! - SCI_DOCUMENTSTARTEXTEND = 2317, - - //! - SCI_DOCUMENTEND = 2318, - - //! - SCI_DOCUMENTENDEXTEND = 2319, - - //! - SCI_PAGEUP = 2320, - - //! - SCI_PAGEUPEXTEND = 2321, - - //! - SCI_PAGEDOWN = 2322, - - //! - SCI_PAGEDOWNEXTEND = 2323, - - //! - SCI_EDITTOGGLEOVERTYPE = 2324, - - //! - SCI_CANCEL = 2325, - - //! - SCI_DELETEBACK = 2326, - - //! - SCI_TAB = 2327, - - //! - SCI_BACKTAB = 2328, - - //! - SCI_NEWLINE = 2329, - - //! - SCI_FORMFEED = 2330, - - //! - SCI_VCHOME = 2331, - - //! - SCI_VCHOMEEXTEND = 2332, - - //! - SCI_ZOOMIN = 2333, - - //! - SCI_ZOOMOUT = 2334, - - //! - SCI_DELWORDLEFT = 2335, - - //! - SCI_DELWORDRIGHT = 2336, - - //! - SCI_LINECUT = 2337, - - //! - SCI_LINEDELETE = 2338, - - //! - SCI_LINETRANSPOSE = 2339, - - //! - SCI_LOWERCASE = 2340, - - //! - SCI_UPPERCASE = 2341, - - //! - SCI_LINESCROLLDOWN = 2342, - - //! - SCI_LINESCROLLUP = 2343, - - //! - SCI_DELETEBACKNOTLINE = 2344, - - //! - SCI_HOMEDISPLAY = 2345, - - //! - SCI_HOMEDISPLAYEXTEND = 2346, - - //! - SCI_LINEENDDISPLAY = 2347, - - //! - SCI_LINEENDDISPLAYEXTEND = 2348, - - //! - SCI_MOVECARETINSIDEVIEW = 2401, - - //! - SCI_LINELENGTH = 2350, - - //! - SCI_BRACEHIGHLIGHT = 2351, - - //! - SCI_BRACEBADLIGHT = 2352, - - //! - SCI_BRACEMATCH = 2353, - - //! - SCI_GETVIEWEOL = 2355, - - //! - SCI_SETVIEWEOL = 2356, - - //! - SCI_GETDOCPOINTER = 2357, - - //! - SCI_SETDOCPOINTER = 2358, - - //! - SCI_SETMODEVENTMASK = 2359, - - //! - SCI_GETEDGECOLUMN = 2360, - - //! - SCI_SETEDGECOLUMN = 2361, - - //! - SCI_GETEDGEMODE = 2362, - - //! - SCI_SETEDGEMODE = 2363, - - //! - SCI_GETEDGECOLOUR = 2364, - - //! - SCI_SETEDGECOLOUR = 2365, - - //! - SCI_SEARCHANCHOR = 2366, - - //! - SCI_SEARCHNEXT = 2367, - - //! - SCI_SEARCHPREV = 2368, - - //! - SCI_LINESONSCREEN = 2370, - - //! - SCI_USEPOPUP = 2371, - - //! - SCI_SELECTIONISRECTANGLE = 2372, - - //! - SCI_SETZOOM = 2373, - - //! - SCI_GETZOOM = 2374, - - //! - SCI_CREATEDOCUMENT = 2375, - - //! - SCI_ADDREFDOCUMENT = 2376, - - //! - SCI_RELEASEDOCUMENT = 2377, - - //! - SCI_GETMODEVENTMASK = 2378, - - //! - SCI_SETFOCUS = 2380, - - //! - SCI_GETFOCUS = 2381, - - //! - SCI_SETSTATUS = 2382, - - //! - SCI_GETSTATUS = 2383, - - //! - SCI_SETMOUSEDOWNCAPTURES = 2384, - - //! - SCI_GETMOUSEDOWNCAPTURES = 2385, - - //! - SCI_SETCURSOR = 2386, - - //! - SCI_GETCURSOR = 2387, - - //! - SCI_SETCONTROLCHARSYMBOL = 2388, - - //! - SCI_GETCONTROLCHARSYMBOL = 2389, - - //! - SCI_WORDPARTLEFT = 2390, - - //! - SCI_WORDPARTLEFTEXTEND = 2391, - - //! - SCI_WORDPARTRIGHT = 2392, - - //! - SCI_WORDPARTRIGHTEXTEND = 2393, - - //! - SCI_SETVISIBLEPOLICY = 2394, - - //! - SCI_DELLINELEFT = 2395, - - //! - SCI_DELLINERIGHT = 2396, - - //! - SCI_SETXOFFSET = 2397, - - //! - SCI_GETXOFFSET = 2398, - - //! - SCI_CHOOSECARETX = 2399, - - //! - SCI_GRABFOCUS = 2400, - - //! - SCI_SETXCARETPOLICY = 2402, - - //! - SCI_SETYCARETPOLICY = 2403, - - //! - SCI_LINEDUPLICATE = 2404, - - //! This message takes a copy of an image and registers it so - //! that it can be refered to by a unique integer identifier. - //! \a wParam is the image's identifier. - //! \a lParam is a pointer to a TQPixmap instance. Note that in - //! other ports of Scintilla this is a pointer to either raw or - //! textual XPM image data. - //! - //! \sa SCI_CLEARREGISTEREDIMAGES - SCI_REGISTERIMAGE = 2405, - - //! - SCI_SETPRINTWRAPMODE = 2406, - - //! - SCI_GETPRINTWRAPMODE = 2407, - - //! This message de-registers all currently registered images. - //! - //! \sa SCI_REGISTERIMAGE - SCI_CLEARREGISTEREDIMAGES = 2408, - - //! - SCI_STYLESETHOTSPOT = 2409, - - //! - SCI_SETHOTSPOTACTIVEFORE = 2410, - - //! - SCI_SETHOTSPOTACTIVEBACK = 2411, - - //! - SCI_SETHOTSPOTACTIVEUNDERLINE = 2412, - - //! - SCI_PARADOWN = 2413, - - //! - SCI_PARADOWNEXTEND = 2414, - - //! - SCI_PARAUP = 2415, - - //! - SCI_PARAUPEXTEND = 2416, - - //! - SCI_POSITIONBEFORE = 2417, - - //! - SCI_POSITIONAFTER = 2418, - - //! - SCI_COPYRANGE = 2419, - - //! - SCI_COPYTEXT = 2420, - - //! - SCI_SETSELECTIONMODE = 2422, - - //! - SCI_GETSELECTIONMODE = 2423, - - //! - SCI_GETLINESELSTARTPOSITION = 2424, - - //! - SCI_GETLINESELENDPOSITION = 2425, - - //! - SCI_LINEDOWNRECTEXTEND = 2426, - - //! - SCI_LINEUPRECTEXTEND = 2427, - - //! - SCI_CHARLEFTRECTEXTEND = 2428, - - //! - SCI_CHARRIGHTRECTEXTEND = 2429, - - //! - SCI_HOMERECTEXTEND = 2430, - - //! - SCI_VCHOMERECTEXTEND = 2431, - - //! - SCI_LINEENDRECTEXTEND = 2432, - - //! - SCI_PAGEUPRECTEXTEND = 2433, - - //! - SCI_PAGEDOWNRECTEXTEND = 2434, - - //! - SCI_STUTTEREDPAGEUP = 2435, - - //! - SCI_STUTTEREDPAGEUPEXTEND = 2436, - - //! - SCI_STUTTEREDPAGEDOWN = 2437, - - //! - SCI_STUTTEREDPAGEDOWNEXTEND = 2438, - - //! - SCI_WORDLEFTEND = 2439, - - //! - SCI_WORDLEFTENDEXTEND = 2440, - - //! - SCI_WORDRIGHTEND = 2441, - - //! - SCI_WORDRIGHTENDEXTEND = 2442, - - //! - SCI_SETWHITESPACECHARS = 2443, - - //! - SCI_SETCHARSDEFAULT = 2444, - - //! - SCI_AUTOCGETCURRENT = 2445, - - //! - SCI_ALLOCATE = 2446, - - //! - SCI_HOMEWRAP = 2349, - - //! - SCI_HOMEWRAPEXTEND = 2450, - - //! - SCI_LINEENDWRAP = 2451, - - //! - SCI_LINEENDWRAPEXTEND = 2452, - - //! - SCI_VCHOMEWRAP = 2453, - - //! - SCI_VCHOMEWRAPEXTEND = 2454, - - //! - SCI_LINECOPY = 2455, - - //! - SCI_FINDCOLUMN = 2456, - - //! - SCI_GETCARETSTICKY = 2457, - - //! - SCI_SETCARETSTICKY = 2458, - - //! - SCI_TOGGLECARETSTICKY = 2459, - - //! - SCI_SETWRAPVISUALFLAGS = 2460, - - //! - SCI_GETWRAPVISUALFLAGS = 2461, - - //! - SCI_SETWRAPVISUALFLAGSLOCATION = 2462, - - //! - SCI_GETWRAPVISUALFLAGSLOCATION = 2463, - - //! - SCI_SETWRAPSTARTINDENT = 2464, - - //! - SCI_GETWRAPSTARTINDENT = 2465, - - //! - SCI_MARKERADDSET = 2466, - - //! - SCI_SETPASTECONVERTENDINGS = 2467, - - //! - SCI_GETPASTECONVERTENDINGS = 2468, - - //! - SCI_SELECTIONDUPLICATE = 2469, - - //! - SCI_SETCARETLINEBACKALPHA = 2470, - - //! - SCI_GETCARETLINEBACKALPHA = 2471, - - //! - SCI_MARKERSETALPHA = 2476, - - //! - SCI_GETSELALPHA = 2477, - - //! - SCI_SETSELALPHA = 2478, - - //! - SCI_STARTRECORD = 3001, - - //! - SCI_STOPRECORD = 3002, - - //! This message sets the number of the lexer to use for syntax - //! styling. - //! \a wParam is the number of the lexer and is one of the - //! SCLEX_* values. - SCI_SETLEXER = 4001, - - //! This message returns the number of the lexer being used for - //! syntax styling. - SCI_GETLEXER = 4002, - - //! - SCI_COLOURISE = 4003, - - //! - SCI_SETPROPERTY = 4004, - - //! - SCI_SETKEYWORDS = 4005, - - //! This message sets the name of the lexer to use for syntax - //! styling. - //! \a wParam is unused. - //! \a lParam is the name of the lexer. - SCI_SETLEXERLANGUAGE = 4006, - - //! - SCI_LOADLEXERLIBRARY = 4007, - - //! - SCI_GETPROPERTY = 4008, - - //! - SCI_GETPROPERTYEXPANDED = 4009, - - //! - SCI_GETPROPERTYINT = 4010, - - //! - SCI_GETSTYLEBITSNEEDED = 4011 - }; - - enum - { - SC_ALPHA_TRANSPARENT = 0, - SC_ALPHA_OPAQUE = 255, - SC_ALPHA_NOALPHA = 256 - }; - - enum - { - SC_WRAPVISUALFLAG_NONE = 0x0000, - SC_WRAPVISUALFLAG_END = 0x0001, - SC_WRAPVISUALFLAG_START = 0x0002 - }; - - enum - { - SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000, - SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001, - SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 - }; - - //! This enum defines the different selection modes. - //! - //! \sa SCI_GETSELECTIONMODE, SCI_SETSELECTIONMODE - enum - { - SC_SEL_STREAM = 0, - SC_SEL_RECTANGLE = 1, - SC_SEL_LINES = 2 - }; - - enum - { - SCWS_INVISIBLE = 0, - SCWS_VISIBLEALWAYS = 1, - SCWS_VISIBLEAFTERINDENT = 2 - }; - - enum - { - SC_EOL_CRLF = 0, - SC_EOL_CR = 1, - SC_EOL_LF = 2 - }; - - enum - { - SC_CP_DBCS = 1, - SC_CP_UTF8 = 65001 - }; - - //! This enum defines the different marker symbols. - //! - //! \sa SCI_MARKERDEFINE - enum - { - //! A circle. - SC_MARK_CIRCLE = 0, - - //! A rectangle. - SC_MARK_ROUNDRECT = 1, - - //! A triangle pointing to the right. - SC_MARK_ARROW = 2, - - //! A smaller rectangle. - SC_MARK_SMALLRECT = 3, - - //! An arrow pointing to the right. - SC_MARK_SHORTARROW = 4, - - //! An invisible marker that allows code to track the movement - //! of lines. - SC_MARK_EMPTY = 5, - - //! A triangle pointing down. - SC_MARK_ARROWDOWN = 6, - - //! A drawn minus sign. - SC_MARK_MINUS = 7, - - //! A drawn plus sign. - SC_MARK_PLUS = 8, - - //! A vertical line drawn in the background colour. - SC_MARK_VLINE = 9, - - //! A bottom left corner drawn in the background colour. - SC_MARK_LCORNER = 10, - - //! A vertical line with a centre right horizontal line drawn - //! in the background colour. - SC_MARK_TCORNER = 11, - - //! A drawn plus sign in a box. - SC_MARK_BOXPLUS = 12, - - //! A drawn plus sign in a connected box. - SC_MARK_BOXPLUSCONNECTED = 13, - - //! A drawn minus sign in a box. - SC_MARK_BOXMINUS = 14, - - //! A drawn minus sign in a connected box. - SC_MARK_BOXMINUSCONNECTED = 15, - - //! A rounded bottom left corner drawn in the background - //! colour. - SC_MARK_LCORNERCURVE = 16, - - //! A vertical line with a centre right curved line drawn in - //! the background colour. - SC_MARK_TCORNERCURVE = 17, - - //! A drawn plus sign in a circle. - SC_MARK_CIRCLEPLUS = 18, - - //! A drawn plus sign in a connected box. - SC_MARK_CIRCLEPLUSCONNECTED = 19, - - //! A drawn minus sign in a circle. - SC_MARK_CIRCLEMINUS = 20, - - //! A drawn minus sign in a connected circle. - SC_MARK_CIRCLEMINUSCONNECTED = 21, - - //! No symbol is drawn but the line of text is drawn with the - //! same background colour. - SC_MARK_BACKGROUND = 22, - - //! Three drawn dots. - SC_MARK_DOTDOTDOT = 23, - - //! Three drawn arrows pointing right. - SC_MARK_ARROWS = 24, - - //! An XPM format pixmap. - SC_MARK_PIXMAP = 25, - - //! A full rectangle. - SC_MARK_FULLRECT = 26, - - //! Characters can be used as symbols by adding this to the - //! ASCII value of the character. - SC_MARK_CHARACTER = 10000 - }; - - enum - { - SC_MARKNUM_FOLDEREND = 25, - SC_MARKNUM_FOLDEROPENMID = 26, - SC_MARKNUM_FOLDERMIDTAIL = 27, - SC_MARKNUM_FOLDERTAIL = 28, - SC_MARKNUM_FOLDERSUB = 29, - SC_MARKNUM_FOLDER = 30, - SC_MARKNUM_FOLDEROPEN = 31, - SC_MASK_FOLDERS = 0xfe000000 - }; - - //! This enum defines what can be displayed in a margin. - //! - //! \sa SCI_GETMARGINTYPEN, SCI_SETMARGINTYPEN - enum - { - //! The margin can display symbols. Note that all margins can - //! display symbols. - SC_MARGIN_SYMBOL = 0, - - //! The margin will display line numbers. - SC_MARGIN_NUMBER = 1, - - //! The margin's background color will be set to the default - //! background color. - SC_MARGIN_BACK = 2, - - //! The margin's background color will be set to the default - //! foreground color. - SC_MARGIN_FORE = 3 - }; - - enum - { - STYLE_DEFAULT = 32, - STYLE_LINENUMBER = 33, - STYLE_BRACELIGHT = 34, - STYLE_BRACEBAD = 35, - STYLE_CONTROLCHAR = 36, - STYLE_INDENTGUIDE = 37, - STYLE_CALLTIP = 38, - STYLE_LASTPREDEFINED = 39, - STYLE_MAX = 127 - }; - - enum - { - SC_CHARSET_ANSI = 0, - SC_CHARSET_DEFAULT = 1, - SC_CHARSET_BALTIC = 186, - SC_CHARSET_CHINESEBIG5 = 136, - SC_CHARSET_EASTEUROPE = 238, - SC_CHARSET_GB2312 = 134, - SC_CHARSET_GREEK = 161, - SC_CHARSET_HANGUL = 129, - SC_CHARSET_MAC = 77, - SC_CHARSET_OEM = 255, - SC_CHARSET_RUSSIAN = 204, - SC_CHARSET_SHIFTJIS = 128, - SC_CHARSET_SYMBOL = 2, - SC_CHARSET_TURKISH = 162, - SC_CHARSET_JOHAB = 130, - SC_CHARSET_HEBREW = 177, - SC_CHARSET_ARABIC = 178, - SC_CHARSET_VIETNAMESE = 163, - SC_CHARSET_THAI = 222, - SC_CHARSET_8859_15 = 1000 - }; - - enum - { - SC_CASE_MIXED = 0, - SC_CASE_UPPER = 1, - SC_CASE_LOWER = 2 - }; - - enum - { - INDIC_MAX = 7, - INDIC_PLAIN = 0, - INDIC_SQUIGGLE = 1, - INDIC_TT = 2, - INDIC_DIAGONAL = 3, - INDIC_STRIKE = 4, - INDIC_HIDDEN = 5, - INDIC_BOX = 6, - INDIC_ROUNDBOX = 7, - INDIC0_MASK = 0x20, - INDIC1_MASK = 0x40, - INDIC2_MASK = 0x80, - INDICS_MASK = 0xe0 - }; - - enum - { - SC_PRINT_NORMAL = 0, - SC_PRINT_INVERTLIGHT = 1, - SC_PRINT_BLACKONWHITE = 2, - SC_PRINT_COLOURONWHITE = 3, - SC_PRINT_COLOURONWHITEDEFAULTBG = 4 - }; - - enum - { - SCFIND_WHOLEWORD = 2, - SCFIND_MATCHCASE = 4, - SCFIND_WORDSTART = 0x00100000, - SCFIND_REGEXP = 0x00200000, - SCFIND_POSIX = 0x00400000 - }; - - enum - { - SC_FOLDLEVELBASE = 0x00400, - SC_FOLDLEVELWHITEFLAG = 0x01000, - SC_FOLDLEVELHEADERFLAG = 0x02000, - SC_FOLDLEVELBOXHEADERFLAG = 0x04000, - SC_FOLDLEVELBOXFOOTERFLAG = 0x08000, - SC_FOLDLEVELCONTRACTED = 0x10000, - SC_FOLDLEVELUNINDENT = 0x20000, - SC_FOLDLEVELNUMBERMASK = 0x00fff - }; - - enum - { - SC_FOLDFLAG_BOX = 0x0001, - SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002, - SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004, - SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008, - SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010, - SC_FOLDFLAG_LEVELNUMBERS = 0x0040 - }; - - enum - { - SC_TIME_FOREVER = 10000000 - }; - - enum - { - SC_WRAP_NONE = 0, - SC_WRAP_WORD = 1, - SC_WRAP_CHAR = 2 - }; - - enum - { - SC_CACHE_NONE = 0, - SC_CACHE_CARET = 1, - SC_CACHE_PAGE = 2, - SC_CACHE_DOCUMENT = 3 - }; - - enum - { - EDGE_NONE = 0, - EDGE_LINE = 1, - EDGE_BACKGROUND = 2 - }; - - enum - { - SC_CURSORNORMAL = -1, - SC_CURSORWAIT = 4 - }; - - enum - { - VISIBLE_SLOP = 0x01, - VISIBLE_STRICT = 0x04 - }; - - enum - { - CARET_SLOP = 0x01, - CARET_STRICT = 0x04, - CARET_JUMPS = 0x10, - CARET_EVEN = 0x08 - }; - - enum - { - SC_MOD_INSERTTEXT = 0x1, - SC_MOD_DELETETEXT = 0x2, - SC_MOD_CHANGESTYLE = 0x4, - SC_MOD_CHANGEFOLD = 0x8, - SC_PERFORMED_USER = 0x10, - SC_PERFORMED_UNDO = 0x20, - SC_PERFORMED_REDO = 0x40, - SC_MULTISTEPUNDOREDO = 0x80, - SC_LASTSTEPINUNDOREDO = 0x100, - SC_MOD_CHANGEMARKER = 0x200, - SC_MOD_BEFOREINSERT = 0x400, - SC_MOD_BEFOREDELETE = 0x800, - SC_MULTILINEUNDOREDO = 0x1000, - SC_MODEVENTMASKALL = 0x1fff - }; - - enum - { - SCK_DOWN = 300, - SCK_UP = 301, - SCK_LEFT = 302, - SCK_RIGHT = 303, - SCK_HOME = 304, - SCK_END = 305, - SCK_PRIOR = 306, - SCK_NEXT = 307, - SCK_DELETE = 308, - SCK_INSERT = 309, - SCK_ESCAPE = 7, - SCK_BACK = 8, - SCK_TAB = 9, - SCK_RETURN = 13, - SCK_ADD = 310, - SCK_SUBTRACT = 311, - SCK_DIVIDE = 312 - }; - - //! This enum defines the different modifier keys. - enum - { - //! No modifier key. - SCMOD_NORM = 0, - - //! Shift key. - SCMOD_SHIFT = 1, - - //! Control key. - SCMOD_CTRL = 2, - - //! Alt key. - SCMOD_ALT = 4 - }; - - //! This enum defines the different language lexers. - //! - //! \sa SCI_GETLEXER, SCI_SETLEXER - enum - { - //! No lexer is selected and the SCN_STYLENEEDED signal is - //! emitted so that the application can style the text as - //! needed. This is the default. - SCLEX_CONTAINER = 0, - - //! Select the null lexer that does no syntax styling. - SCLEX_NULL = 1, - - //! Select the Python lexer. - SCLEX_PYTHON = 2, - - //! Select the C++ lexer. - SCLEX_CPP = 3, - - //! Select the HTML lexer. - SCLEX_HTML = 4, - - //! Select the XML lexer. - SCLEX_XML = 5, - - //! Select the Perl lexer. - SCLEX_PERL = 6, - - //! Select the SQL lexer. - SCLEX_SQL = 7, - - //! Select the Visual Basic lexer. - SCLEX_VB = 8, - - //! Select the lexer for properties style files. - SCLEX_PROPERTIES = 9, - - //! Select the lexer for error list style files. - SCLEX_ERRORLIST = 10, - - //! Select the Makefile lexer. - SCLEX_MAKEFILE = 11, - - //! Select the Windows batch file lexer. - SCLEX_BATCH = 12, - - //! Select the LaTex lexer. - SCLEX_LATEX = 14, - - //! Select the Lua lexer. - SCLEX_LUA = 15, - - //! Select the lexer for diff output. - SCLEX_DIFF = 16, - - //! Select the lexer for Apache configuration files. - SCLEX_CONF = 17, - - //! Select the Pascal lexer. - SCLEX_PASCAL = 18, - - //! Select the Avenue lexer. - SCLEX_AVE = 19, - - //! Select the Ada lexer. - SCLEX_ADA = 20, - - //! Select the Lisp lexer. - SCLEX_LISP = 21, - - //! Select the Ruby lexer. - SCLEX_RUBY = 22, - - //! Select the Eiffel lexer. - SCLEX_EIFFEL = 23, - - //! Select the Eiffel lexer folding at keywords. - SCLEX_EIFFELKW = 24, - - //! Select the Tcl lexer. - SCLEX_TCL = 25, - - //! Select the lexer for nnCron files. - SCLEX_NNCRONTAB = 26, - - //! Select the Bullant lexer. - SCLEX_BULLANT = 27, - - //! Select the VBScript lexer. - SCLEX_VBSCRIPT = 28, - - //! Select the ASP lexer. - SCLEX_ASP = SCLEX_HTML, - - //! Select the PHP lexer. - SCLEX_PHP = SCLEX_HTML, - - //! Select the Baan lexer. - SCLEX_BAAN = 31, - - //! Select the Matlab lexer. - SCLEX_MATLAB = 32, - - //! Select the Scriptol lexer. - SCLEX_SCRIPTOL = 33, - - //! Select the assembler lexer. - SCLEX_ASM = 34, - - //! Select the C++ lexer with case insensitive keywords. - SCLEX_CPPNOCASE = 35, - - //! Select the FORTRAN lexer. - SCLEX_FORTRAN = 36, - - //! Select the FORTRAN77 lexer. - SCLEX_F77 = 37, - - //! Select the CSS lexer. - SCLEX_CSS = 38, - - //! Select the POV lexer. - SCLEX_POV = 39, - - //! Select the Basser Lout typesetting language lexer. - SCLEX_LOUT = 40, - - //! Select the EScript lexer. - SCLEX_ESCRIPT = 41, - - //! Select the PostScript lexer. - SCLEX_PS = 42, - - //! Select the NSIS lexer. - SCLEX_NSIS = 43, - - //! Select the MMIX assembly language lexer. - SCLEX_MMIXAL = 44, - - //! Select the Clarion lexer. - SCLEX_CLW = 45, - - //! Select the Clarion lexer with case insensitive keywords. - SCLEX_CLWNOCASE = 46, - - //! Select the MPT text log file lexer. - SCLEX_LOT = 47, - - //! Select the YAML lexer. - SCLEX_YAML = 48, - - //! Select the TeX lexer. - SCLEX_TEX = 49, - - //! Select the Metapost lexer. - SCLEX_METAPOST = 50, - - //! Select the PowerBASIC lexer. - SCLEX_POWERBASIC = 51, - - //! Select the Forth lexer. - SCLEX_FORTH = 52, - - //! Select the Erlang lexer. - SCLEX_ERLANG = 53, - - //! Select the Octave lexer. - SCLEX_OCTAVE = 54, - - //! Select the MS SQL lexer. - SCLEX_MSSQL = 55, - - //! Select the Verilog lexer. - SCLEX_VERILOG = 56, - - //! Select the KIX-Scripts lexer. - SCLEX_KIX = 57, - - //! Select the Gui4Cli lexer. - SCLEX_GUI4CLI = 58, - - //! Select the Specman E lexer. - SCLEX_SPECMAN = 59, - - //! Select the AutoIt3 lexer. - SCLEX_AU3 = 60, - - //! Select the APDL lexer. - SCLEX_APDL = 61, - - //! Select the Bash lexer. - SCLEX_BASH = 62, - - //! Select the ASN.1 lexer. - SCLEX_ASN1 = 63, - - //! Select the VHDL lexer. - SCLEX_VHDL = 64, - - //! Select the Caml lexer. - SCLEX_CAML = 65, - - //! Select the BlitzBasic lexer. - SCLEX_BLITZBASIC = 66, - - //! Select the PureBasic lexer. - SCLEX_PUREBASIC = 67, - - //! Select the Haskell lexer. - SCLEX_HASKELL = 68, - - //! Select the PHPScript lexer. - SCLEX_PHPSCRIPT = 69, - - //! Select the TADS3 lexer. - SCLEX_TADS3 = 70, - - //! Select the REBOL lexer. - SCLEX_REBOL = 71, - - //! Select the Smalltalk lexer. - SCLEX_SMALLTALK = 72, - - //! Select the FlagShip lexer. - SCLEX_FLAGSHIP = 73, - - //! Select the Csound lexer. - SCLEX_CSOUND = 74, - - //! Select the FreeBasic lexer. - SCLEX_FREEBASIC = 75, - - //! Select the InnoSetup lexer. - SCLEX_INNOSETUP = 76, - - //! Select the Opal lexer. - SCLEX_OPAL = 77, - - //! Select the Spice lexer. - SCLEX_SPICE = 78 - }; - - //! Construct an empty QextScintillaBase with parent \a parent, name - //! \a name, and widget flags \a f. - QextScintillaBase(TQWidget *parent = 0,const char *name = 0, - WFlags f = 0); - - //! Destroys the QextScintillaBase instance. - virtual ~QextScintillaBase(); - - //! Returns a pointer to a QextScintillaBase instance, or 0 if there - //! isn't one. This can be used by the higher level API to send - //! messages that aren't associated with a particular instance. - static QextScintillaBase *pool(); - - //! Send the Scintilla message \a msg with the optional parameters \a - //! wParam and \a lParam. - long SendScintilla(unsigned int msg,unsigned long wParam = 0, - long lParam = 0); - - //! \overload - long SendScintilla(unsigned int msg,unsigned long wParam, - const char *lParam) - { - return SendScintilla(msg,wParam,reinterpret_cast(lParam)); - } - - //! \overload - long SendScintilla(unsigned int msg,const char *lParam) - { - return SendScintilla(msg,0UL,reinterpret_cast(lParam)); - } - - //! \overload - long SendScintilla(unsigned int msg,const char *wParam, - const char *lParam) - { - return SendScintilla(msg,reinterpret_cast(wParam),reinterpret_cast(lParam)); - } - - //! \overload - long SendScintilla(unsigned int msg, long wParam) - { - return SendScintilla(msg, static_cast(wParam), 0L); - } - - //! \overload - long SendScintilla(unsigned int msg, int wParam) - { - return SendScintilla(msg, static_cast(wParam), 0L); - } - - //! \overload - long SendScintilla(unsigned int msg,long cpMin,long cpMax, - char *lpstrText); - - //! \overload - long SendScintilla(unsigned int msg,unsigned long wParam, - const TQColor &col); - - //! \overload - long SendScintilla(unsigned int msg,const TQColor &col); - - //! \overload - long SendScintilla(unsigned int msg,unsigned long wParam,TQPainter *hdc, - const TQRect &rc,long cpMin,long cpMax); - - //! \overload - long SendScintilla(unsigned int msg,unsigned long wParam, - const TQPixmap *lParam) - { - return SendScintilla(msg,wParam,reinterpret_cast(lParam)); - } - - //! Returns the recommended size of the widget. - virtual TQSize sizeHint() const; - - //! Returns the viewport widget. This is the widget that actually - //! contains the text. - TQWidget *viewport() const; - -signals: - //! This signal is emitted when text is selected or de-selected. - //! \a yes is TRUE if text has been selected and FALSE if text has been - //! deselected. - void TQSCN_SELCHANGED(bool yes); - - //! This signal is emitted when the user selects an item in an - //! auto-completion list. It is emitted before the selection is - //! inserted. The insertion can be cancelled by sending an - //! SCI_AUTOCANCEL message from a connected slot. - //! \a position is the start position of the word being completed. - //! \a selection is the text of the selection. - void SCN_AUTOCSELECTION(const char *selection,int position); - - //! This signal is emitted when the document has changed for any - //! reason. - void SCEN_CHANGE(); - - //! This signal ir emitted when the user clicks on a calltip. - //! \a position is 1 if the user clicked on the up arrow, 2 if the user - //! clicked on the down arrow, and 0 if the user clicked elsewhere. - void SCN_CALLTIPCLICK(int direction); - - //! This signal is emitted whenever the user enters an ordinary - //! character into the text. \a charadded is the character. It can be - //! used to decide to display a call tip or an auto-completion list. - void SCN_CHARADDED(int charadded); - - //! - void SCN_DOUBLECLICK(); - - //! - void SCN_DWELLEND(int,int,int); - - //! - void SCN_DWELLSTART(int,int,int); - - //! This signal is emitted when the user clicks on text in a style - //! with the hotspot attribute set. - //! \a position is the position in the text where the click occured. - //! \a modifiers is the logical or of the modifier keys that were - //! pressed when the user clicked. - void SCN_HOTSPOTCLICK(int position,int modifiers); - - //! This signal is emitted when the user double clicks on text in a - //! style with the hotspot attribute set. - //! \a position is the position in the text where the double click - //! occured. - //! \a modifiers is the logical or of the modifier keys that were - //! pressed when the user double clicked. - void SCN_HOTSPOTDOUBLECLICK(int position,int modifiers); - - //! This signal is emitted when a recordable editor command has been - //! executed. - void SCN_MACRORECORD(unsigned int,unsigned long,long); - - //! This signal is emitted when the user clicks on a sensitive margin. - //! \a position is the position of the start of the line against which - //! the user clicked. - //! \a modifiers is the logical or of the modifier keys that were - //! pressed when the user clicked. - //! \a margin is the number of the margin the user clicked in: 0, 1 or - //! 2. - //! - //! \sa SCI_GETMARGINSENSITIVEN, SCI_SETMARGINSENSITIVEN - void SCN_MARGINCLICK(int position,int modifiers,int margin); - - //! - void SCN_MODIFIED(int,int,const char *,int,int,int,int,int); - - //! This signal is emitted when the user attempts to modify read-only - //! text. - void SCN_MODIFYATTEMPTRO(); - - //! - void SCN_NEEDSHOWN(int,int); - - //! This signal is emitted when painting has been completed. It is - //! useful to trigger some other change but to have the paint be done - //! first to appear more reponsive to the user. - void SCN_PAINTED(); - - //! This signal is emitted when the current state of the text no longer - //! corresponds to the state of the text at the save point. - //! - //! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTREACHED() - void SCN_SAVEPOINTLEFT(); - - //! This signal is emitted when the current state of the text - //! corresponds to the state of the text at the save point. This allows - //! feedback to be given to the user as to whether the text has been - //! modified since it was last saved. - //! - //! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTLEFT() - void SCN_SAVEPOINTREACHED(); - - //! This signal is emitted when a range of text needs to be syntax - //! styled. The range is from the value returned by the - //! SCI_GETENDSTYLED message and \a position. It is only emitted if - //! the currently selected lexer is SCNLEX_CONTAINER. - //! - //! \sa SCI_COLOURISE, SCI_GETENDSTYLED - void SCN_STYLENEEDED(int position); - - //! - void SCN_UPDATEUI(); - - //! - void SCN_USERLISTSELECTION(const char *,int); - - //! - void SCN_ZOOM(); - -protected: - //! Re-implemented to filter certain events. - bool eventFilter(TQObject *o,TQEvent *e); - - //! Re-implemented to handle the key presses for the widget. - virtual void keyPressEvent(TQKeyEvent *ke); - - //! Re-implemented to tell Scintilla it has the focus. - virtual void focusInEvent(TQFocusEvent *); - - //! Re-implemented to tell Scintilla it has lost the focus. - virtual void focusOutEvent(TQFocusEvent *); - - //! Re-implemented to allow tabs to be entered as text. - virtual bool focusNextPrevChild(bool); - - //! Start a drag operation. - virtual void startDrag(); - -private slots: - void handleTimer(); - void handleVSb(int value); - void handleHSb(int value); - void handlePopUp(int cmd); - void handleSelection(); - -private: - friend class ScintillaTQt; - - void mousePress(TQMouseEvent *me); - void mouseRelease(TQMouseEvent *me); - void mouseDoubleClick(TQMouseEvent *me); - void mouseMove(TQMouseEvent *me); - void mouseWheel(TQWheelEvent *we); - void contextMenu(TQContextMenuEvent *cme); - - ScintillaTQt *sci; - TQPoint triple_click_at; - TQTimer triple_click; - TQScrollBar *vsb; - TQScrollBar *hsb; - TQWidget *txtarea; - -#if defined(TQ_DISABLE_COPY) - QextScintillaBase(const QextScintillaBase &); - QextScintillaBase &operator=(const QextScintillaBase &); -#endif -}; - -#endif diff --git a/qt/qextscintillacommand.cpp b/qt/qextscintillacommand.cpp deleted file mode 100644 index 8b391bc..0000000 --- a/qt/qextscintillacommand.cpp +++ /dev/null @@ -1,202 +0,0 @@ -// This module implements the QextScintillaCommand class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "qextscintillacommand.h" -#include "qextscintilla.h" -#include "qextscintillabase.h" - - -static int convert(int key); - - -// The ctor. -QextScintillaCommand::QextScintillaCommand(QextScintilla *qs,int msg,int key, - int altkey, const char *desc) : - qsCmd(qs), msgCmd(msg), - qkey(key), qaltkey(altkey), - descCmd(desc) -{ - scikey = convert(qkey); - - if (scikey) - qsCmd -> SendScintilla(QextScintillaBase::SCI_ASSIGNCMDKEY,scikey,msgCmd); - - scialtkey = convert(qaltkey); - - if (scialtkey) - qsCmd -> SendScintilla(QextScintillaBase::SCI_ASSIGNCMDKEY,scialtkey,msgCmd); -} - - -// Bind a key to a command. -void QextScintillaCommand::setKey(int key) -{ - bindKey(key,qkey,scikey); -} - - -// Bind an alternate key to a command. -void QextScintillaCommand::setAlternateKey(int altkey) -{ - bindKey(altkey,qaltkey,scialtkey); -} - - -// Do the hard work of binding a key. -void QextScintillaCommand::bindKey(int key,int &qk,int &scik) -{ - int new_scikey; - - // Ignore if it is invalid, allowing for the fact that we might be - // unbinding it. - if (key) - { - new_scikey = convert(key); - - if (!new_scikey) - return; - } - else - new_scikey = 0; - - if (scik) - qsCmd -> SendScintilla(QextScintillaBase::SCI_CLEARCMDKEY,scik); - - qk = key; - scik = new_scikey; - - if (scik) - qsCmd -> SendScintilla(QextScintillaBase::SCI_ASSIGNCMDKEY,scik,msgCmd); -} - - -// See if a key is valid. -bool QextScintillaCommand::validKey(int key) -{ - return convert(key); -} - - -// Convert a TQt character to the Scintilla equivalent. Return zero if it is -// invalid. -static int convert(int key) -{ - // Convert the modifiers. - int sci_mod = 0; - - if (key & TQt::SHIFT) - sci_mod |= QextScintillaBase::SCMOD_SHIFT; - - if (key & TQt::CTRL) - sci_mod |= QextScintillaBase::SCMOD_CTRL; - - if (key & TQt::ALT) - sci_mod |= QextScintillaBase::SCMOD_ALT; - - key &= ~TQt::MODIFIER_MASK; - - // Convert the key. - int sci_key; - - if (key > 0x7f) - switch (key) - { - case TQt::Key_Down: - sci_key = QextScintillaBase::SCK_DOWN; - break; - - case TQt::Key_Up: - sci_key = QextScintillaBase::SCK_UP; - break; - - case TQt::Key_Left: - sci_key = QextScintillaBase::SCK_LEFT; - break; - - case TQt::Key_Right: - sci_key = QextScintillaBase::SCK_RIGHT; - break; - - case TQt::Key_Home: - sci_key = QextScintillaBase::SCK_HOME; - break; - - case TQt::Key_End: - sci_key = QextScintillaBase::SCK_END; - break; - - case TQt::Key_Prior: - sci_key = QextScintillaBase::SCK_PRIOR; - break; - - case TQt::Key_Next: - sci_key = QextScintillaBase::SCK_NEXT; - break; - - case TQt::Key_Delete: - sci_key = QextScintillaBase::SCK_DELETE; - break; - - case TQt::Key_Insert: - sci_key = QextScintillaBase::SCK_INSERT; - break; - - case TQt::Key_Escape: - sci_key = QextScintillaBase::SCK_ESCAPE; - break; - - case TQt::Key_Backspace: - sci_key = QextScintillaBase::SCK_BACK; - break; - - case TQt::Key_Tab: - sci_key = QextScintillaBase::SCK_TAB; - break; - - case TQt::Key_Return: - sci_key = QextScintillaBase::SCK_RETURN; - break; - - default: - sci_key = 0; - } - else - sci_key = key; - - if (sci_key) - sci_key |= (sci_mod << 16); - - return sci_key; -} - - -// Return the translated user friendly description. -TQString QextScintillaCommand::description() const -{ - return tqApp -> translate("QextScintillaCommand",descCmd); -} diff --git a/qt/qextscintillacommand.h b/qt/qextscintillacommand.h deleted file mode 100644 index d8f5f12..0000000 --- a/qt/qextscintillacommand.h +++ /dev/null @@ -1,99 +0,0 @@ -// This defines the interface to the QextScintillaCommand class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLACOMMAND_H -#define TQEXTSCINTILLACOMMAND_H - - -#include - -#include - - -class QextScintilla; - - -//! \brief The QextScintillaCommand class represents an internal editor command -//! that may have one or two keys bound to it. -//! -//! Methods are provided to change the keys bound to the command and to remove -//! a key binding. Each command has a user friendly description of the command -//! for use in key mapping dialogs. -class TQEXTSCINTILLA_EXPORT QextScintillaCommand -{ -public: - //! Binds the key \a key to the command. If \a key is 0 then the key - //! binding is removed. If \a key is invalid then the key binding is - //! unchanged. Valid keys are any visible or control character or any - //! of \c Key_Down, \c Key_Up, \c Key_Left, \c Key_Right, \c Key_Home, - //! \c Key_End, \c Key_Prior, \c Key_Next, \c Key_Delete, - //! \c Key_Insert, \c Key_Escape, \c Key_Backspace, \c Key_Tab and - //! \c Key_Return. Keys may be modified with any combination of - //! \c SHIFT, \c CTRL and \c ALT. - //! - //! \sa key(), setAlternateKey(), validKey() - void setKey(int key); - - //! Binds the alternate key \a altkey to the command. If \a key is 0 - //! then the alternate key binding is removed. - //! - //! \sa alternateKey(), setKey(), validKey() - void setAlternateKey(int altkey); - - //! The key that is currently bound to the command is returned. - //! - //! \sa setKey(), alternateKey() - int key() const {return qkey;} - - //! The alternate key that is currently bound to the command is - //! returned. - //! - //! \sa setAlternateKey(), key() - int alternateKey() const {return qaltkey;} - - //! If the key \a key is valid then TRUE is returned. - static bool validKey(int key); - - //! The user friendly description of the command is returned. - TQString description() const; - -private: - friend class QextScintillaCommandSet; - - QextScintillaCommand(QextScintilla *qs,int msg,int key,int altkey, - const char *desc); - - int msgId() const {return msgCmd;} - void bindKey(int key,int &qk,int &scik); - - QextScintilla *qsCmd; - int msgCmd; - int qkey, scikey, qaltkey, scialtkey; - const char *descCmd; - -#if defined(TQ_DISABLE_COPY) - QextScintillaCommand(const QextScintillaCommand &); - QextScintillaCommand &operator=(const QextScintillaCommand &); -#endif -}; - -#endif diff --git a/qt/qextscintillacommandset.cpp b/qt/qextscintillacommandset.cpp deleted file mode 100644 index d7b1896..0000000 --- a/qt/qextscintillacommandset.cpp +++ /dev/null @@ -1,656 +0,0 @@ -// This module implements the QextScintillaCommandSet class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include - -#include "qextscintillacommandset.h" -#include "qextscintillacommand.h" -#include "qextscintilla.h" - - -// The ctor. -QextScintillaCommandSet::QextScintillaCommandSet(QextScintilla *qs) : qsci(qs) -{ - struct sci_cmd { - int msg; - int key; - int altkey; - const char *desc; - }; - - // This is based on the default table in src/KeyMap.cxx. - static struct sci_cmd cmd_table[] = { - { - QextScintillaBase::SCI_LINEDOWN, - TQt::Key_Down, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move down one line") - }, - { - QextScintillaBase::SCI_LINEDOWNEXTEND, - TQt::Key_Down | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection down one line") - }, - { - QextScintillaBase::SCI_LINESCROLLDOWN, - TQt::Key_Down | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Scroll view down one line") - }, - { - QextScintillaBase::SCI_LINEDOWNRECTEXTEND, - TQt::Key_Down | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection down one line") - }, - { - QextScintillaBase::SCI_LINEUP, - TQt::Key_Up, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move up one line") - }, - { - QextScintillaBase::SCI_LINEUPEXTEND, - TQt::Key_Up | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection up one line") - }, - { - QextScintillaBase::SCI_LINESCROLLUP, - TQt::Key_Up | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Scroll view up one line") - }, - { - QextScintillaBase::SCI_LINEUPRECTEXTEND, - TQt::Key_Up | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection up one line") - }, - { - QextScintillaBase::SCI_PARAUP, - TQt::Key_BracketLeft | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move up one paragraph") - }, - { - QextScintillaBase::SCI_PARAUPEXTEND, - TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection up one paragraph") - }, - { - QextScintillaBase::SCI_PARADOWN, - TQt::Key_BracketRight | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move down one paragraph") - }, - { - QextScintillaBase::SCI_PARADOWNEXTEND, - TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection down one paragraph") - }, - { - QextScintillaBase::SCI_CHARLEFT, - TQt::Key_Left, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move left one character") - }, - { - QextScintillaBase::SCI_CHARLEFTEXTEND, - TQt::Key_Left | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection left one character") - }, - { - QextScintillaBase::SCI_WORDLEFT, - TQt::Key_Left | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move left one word") - }, - { - QextScintillaBase::SCI_WORDLEFTEXTEND, - TQt::Key_Left | TQt::SHIFT | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection left one word") - }, - { - QextScintillaBase::SCI_CHARLEFTRECTEXTEND, - TQt::Key_Left | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection left one character") - }, - { - QextScintillaBase::SCI_CHARRIGHT, - TQt::Key_Right, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move right one character") - }, - { - QextScintillaBase::SCI_CHARRIGHTEXTEND, - TQt::Key_Right | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection right one character") - }, - { - QextScintillaBase::SCI_WORDRIGHT, - TQt::Key_Right | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move right one word") - }, - { - QextScintillaBase::SCI_WORDRIGHTEXTEND, - TQt::Key_Right | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection right one word") - }, - { - QextScintillaBase::SCI_CHARRIGHTRECTEXTEND, - TQt::Key_Right | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection right one character") - }, - { - QextScintillaBase::SCI_WORDPARTLEFT, - TQt::Key_Slash | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move left one word part") - }, - { - QextScintillaBase::SCI_WORDPARTLEFTEXTEND, - TQt::Key_Slash | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection left one word part") - }, - { - QextScintillaBase::SCI_WORDPARTRIGHT, - TQt::Key_Backslash | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move right one word part") - }, - { - QextScintillaBase::SCI_WORDPARTRIGHTEXTEND, - TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection right one word part") - }, - { - QextScintillaBase::SCI_VCHOME, - TQt::Key_Home, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to first visible character in line") - }, - { - QextScintillaBase::SCI_VCHOMEEXTEND, - TQt::Key_Home | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to first visible character in line") - }, - { - QextScintillaBase::SCI_DOCUMENTSTART, - TQt::Key_Home | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to start of text") - }, - { - QextScintillaBase::SCI_DOCUMENTSTARTEXTEND, - TQt::Key_Home | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to start of text") - }, - { - QextScintillaBase::SCI_HOMEDISPLAY, - TQt::Key_Home | TQt::ALT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to start of displayed line") - }, - { - QextScintillaBase::SCI_HOMEDISPLAYEXTEND, - 0, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to start of line") - }, - { - QextScintillaBase::SCI_VCHOMERECTEXTEND, - TQt::Key_Home | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection to first visible character in line") - }, - { - QextScintillaBase::SCI_LINEEND, - TQt::Key_End, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to end of line") - }, - { - QextScintillaBase::SCI_LINEENDEXTEND, - TQt::Key_End | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to end of line") - }, - { - QextScintillaBase::SCI_DOCUMENTEND, - TQt::Key_End | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to end of text") - }, - { - QextScintillaBase::SCI_DOCUMENTENDEXTEND, - TQt::Key_End | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to end of text") - }, - { - QextScintillaBase::SCI_LINEENDDISPLAY, - TQt::Key_End | TQt::ALT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move to end of displayed line") - }, - { - QextScintillaBase::SCI_LINEENDDISPLAYEXTEND, - 0, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection to end of displayed line") - }, - { - QextScintillaBase::SCI_LINEENDRECTEXTEND, - TQt::Key_End | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection to end of line") - }, - { - QextScintillaBase::SCI_PAGEUP, - TQt::Key_Prior, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move up one page") - }, - { - QextScintillaBase::SCI_PAGEUPEXTEND, - TQt::Key_Prior | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection up one page") - }, - { - QextScintillaBase::SCI_PAGEUPRECTEXTEND, - TQt::Key_Prior | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection up one page") - }, - { - QextScintillaBase::SCI_PAGEDOWN, - TQt::Key_Next, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move down one page") - }, - { - QextScintillaBase::SCI_PAGEDOWNEXTEND, - TQt::Key_Next | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend selection down one page") - }, - { - QextScintillaBase::SCI_PAGEDOWNRECTEXTEND, - TQt::Key_Next | TQt::ALT | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Extend rectangular selection down one page") - }, - { - QextScintillaBase::SCI_CLEAR, - TQt::Key_Delete, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete current character") - }, - { - QextScintillaBase::SCI_CUT, - TQt::Key_X | TQt::CTRL, - TQt::Key_Delete | TQt::SHIFT, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Cut selection") - }, - { - QextScintillaBase::SCI_DELWORDRIGHT, - TQt::Key_Delete | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete word to right") - }, - { - QextScintillaBase::SCI_DELLINERIGHT, - TQt::Key_Delete | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete line to right") - }, - { - QextScintillaBase::SCI_EDITTOGGLEOVERTYPE, - TQt::Key_Insert, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Toggle insert/overtype") - }, - { - QextScintillaBase::SCI_PASTE, - TQt::Key_V | TQt::CTRL, - TQt::Key_Insert | TQt::SHIFT, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Paste") - }, - { - QextScintillaBase::SCI_COPY, - TQt::Key_C | TQt::CTRL, - TQt::Key_Insert | TQt::CTRL, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Copy selection") - }, - { - QextScintillaBase::SCI_CANCEL, - TQt::Key_Escape, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Cancel") - }, - { - QextScintillaBase::SCI_DELETEBACK, - TQt::Key_Backspace, - TQt::Key_Backspace | TQt::SHIFT, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete previous character") - }, - { - QextScintillaBase::SCI_DELWORDLEFT, - TQt::Key_Backspace | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete word to left") - }, - { - QextScintillaBase::SCI_UNDO, - TQt::Key_Z | TQt::CTRL, - TQt::Key_Backspace | TQt::ALT, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Undo the last command") - }, - { - QextScintillaBase::SCI_DELLINELEFT, - TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete line to left") - }, - { - QextScintillaBase::SCI_REDO, - TQt::Key_Y | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Redo last command") - }, - { - QextScintillaBase::SCI_SELECTALL, - TQt::Key_A | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Select all text") - }, - { - QextScintillaBase::SCI_TAB, - TQt::Key_Tab, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Indent one level") - }, - { - QextScintillaBase::SCI_BACKTAB, - TQt::Key_Tab | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Move back one indentation level") - }, - { - QextScintillaBase::SCI_NEWLINE, - TQt::Key_Return, - TQt::Key_Return | TQt::SHIFT, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Insert new line") - }, - { - QextScintillaBase::SCI_ZOOMIN, - TQt::Key_Plus | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Zoom in") - }, - { - QextScintillaBase::SCI_ZOOMOUT, - TQt::Key_Minus | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Zoom out") - }, - { - QextScintillaBase::SCI_SETZOOM, - 0, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Set zoom") - }, - { - QextScintillaBase::SCI_FORMFEED, - 0, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Formfeed") - }, - { - QextScintillaBase::SCI_LINECUT, - TQt::Key_L | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Cut current line") - }, - { - QextScintillaBase::SCI_LINEDELETE, - TQt::Key_L | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete current line") - }, - { - QextScintillaBase::SCI_LINECOPY, - TQt::Key_T | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Copy current line") - }, - { - QextScintillaBase::SCI_LINETRANSPOSE, - TQt::Key_T | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Swap current and previous lines") - }, - { - QextScintillaBase::SCI_SELECTIONDUPLICATE, - TQt::Key_D | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Duplicate selection") - }, - { - QextScintillaBase::SCI_LOWERCASE, - TQt::Key_U | TQt::CTRL, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Convert selection to lower case") - }, - { - QextScintillaBase::SCI_UPPERCASE, - TQt::Key_U | TQt::CTRL | TQt::SHIFT, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Convert selection to upper case") - }, - { - QextScintillaBase::SCI_DELETEBACKNOTLINE, - 0, - 0, - TQT_TRANSLATE_NOOP("QextScintillaCommand", - "Delete previous character if not at line start") - }, - }; - - cmds.setAutoDelete(TRUE); - - // Clear the default map. - qsci -> SendScintilla(QextScintillaBase::SCI_CLEARALLCMDKEYS); - - for (int i = 0; i < sizeof (cmd_table) / sizeof (cmd_table[0]); ++i) - cmds.append(new QextScintillaCommand(qsci,cmd_table[i].msg,cmd_table[i].key,cmd_table[i].altkey,cmd_table[i].desc)); -} - - -// Read the command set from settings. -bool QextScintillaCommandSet::readSettings(TQSettings &qs,const char *prefix) -{ - bool rc = TRUE; - TQString skey; - - for (QextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) - { - skey.sprintf("%s/keymap/c%d/",prefix,cmd -> msgId()); - - int key; - bool ok; - - // Read the key. - key = qs.readNumEntry(skey + "key",0,&ok); - - if (ok) - cmd -> setKey(key); - else - rc = FALSE; - - // Read the alternate key. - key = qs.readNumEntry(skey + "alt",0,&ok); - - if (ok) - cmd -> setAlternateKey(key); - else - rc = FALSE; - } - - return rc; -} - - -// Write the command set to settings. -bool QextScintillaCommandSet::writeSettings(TQSettings &qs,const char *prefix) -{ - bool rc = TRUE; - TQString skey; - - for (const QextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) - { - skey.sprintf("%s/keymap/c%d/",prefix,cmd -> msgId()); - - // Write the key. - if (!qs.writeEntry(skey + "key",cmd -> key())) - rc = FALSE; - - // Write the alternate key. - if (!qs.writeEntry(skey + "alt",cmd -> alternateKey())) - rc = FALSE; - } - - return rc; -} - - -// Clear the key bindings. -void QextScintillaCommandSet::clearKeys() -{ - TQPtrList &set = commands(); - - for (QextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) - cmd -> setKey(0); -} - - -// Clear the alternate key bindings. -void QextScintillaCommandSet::clearAlternateKeys() -{ - TQPtrList &set = commands(); - - for (QextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) - cmd -> setAlternateKey(0); -} diff --git a/qt/qextscintillacommandset.h b/qt/qextscintillacommandset.h deleted file mode 100644 index 8959d64..0000000 --- a/qt/qextscintillacommandset.h +++ /dev/null @@ -1,82 +0,0 @@ -// This defines the interface to the QextScintillaCommandSet class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLACOMMANDSET_H -#define TQEXTSCINTILLACOMMANDSET_H - - -#include - -#include -#include - - -class TQSettings; -class QextScintilla; - - -//! \brief The QextScintillaCommandSet class represents the set of all internal -//! editor commands that may have keys bound. -//! -//! Methods are provided to access the individual commands and to read and -//! write the current bindings from and to settings files. -class TQEXTSCINTILLA_EXPORT QextScintillaCommandSet -{ -public: - //! The key bindings for each command in the set are read from the - //! settings \a qs. \a prefix is prepended to the key of each entry. - //! TRUE is returned if there was no error. - //! - //! \sa writeSettings() - bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); - - //! The key bindings for each command in the set are written to the - //! settings \a qs. \a prefix is prepended to the key of each entry. - //! TRUE is returned if there was no error. - //! - //! \sa readSettings() - bool writeSettings(TQSettings &qs,const char *prefix = "/Scintilla"); - - //! The commands in the set are returned as a list. - TQPtrList &commands() {return cmds;} - - //! The primary keys bindings for all commands are removed. - void clearKeys(); - - //! The alternate keys bindings for all commands are removed. - void clearAlternateKeys(); - -private: - friend class QextScintilla; - - QextScintillaCommandSet(QextScintilla *qs); - - QextScintilla *qsci; - TQPtrList cmds; - -#if defined(TQ_DISABLE_COPY) - QextScintillaCommandSet(const QextScintillaCommandSet &); - QextScintillaCommandSet &operator=(const QextScintillaCommandSet &); -#endif -}; - -#endif diff --git a/qt/qextscintilladocument.cpp b/qt/qextscintilladocument.cpp deleted file mode 100644 index 3bb4cda..0000000 --- a/qt/qextscintilladocument.cpp +++ /dev/null @@ -1,142 +0,0 @@ -// This module implements the QextScintillaDocument class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include "qextscintilladocument.h" -#include "qextscintillabase.h" - - -// This internal class encapsulates the underlying document and is shared by -// QextScintillaDocument instances. -class QextScintillaDocumentP -{ -public: - QextScintillaDocumentP() : doc(0), nr_displays(0), nr_attaches(1) {} - - long doc; // The Scintilla document. - int nr_displays; // The number of displays. - int nr_attaches; // The number of attaches. -}; - - -// The ctor. -QextScintillaDocument::QextScintillaDocument() -{ - pdoc = new QextScintillaDocumentP(); -} - - -// The dtor. -QextScintillaDocument::~QextScintillaDocument() -{ - detach(); -} - - -// The copy ctor. -QextScintillaDocument::QextScintillaDocument(const QextScintillaDocument &that) -{ - attach(that); -} - - -// The assignment operator. -QextScintillaDocument &QextScintillaDocument::operator=(const QextScintillaDocument &that) -{ - if (pdoc != that.pdoc) - { - detach(); - attach(that); - } - - return *this; -} - - -// Attach an existing document to this one. -void QextScintillaDocument::attach(const QextScintillaDocument &that) -{ - ++that.pdoc -> nr_attaches; - pdoc = that.pdoc; -} - - -// Detach the underlying document. -void QextScintillaDocument::detach() -{ - if (!pdoc) - return; - - if (--pdoc -> nr_attaches == 0) - { - if (pdoc -> doc && pdoc -> nr_displays == 0) - { - QextScintillaBase *qsb = QextScintillaBase::pool(); - - // Release the explicit reference to the document. If - // the pool is empty then we just accept the memory - // leak. - if (qsb) - qsb -> SendScintilla(QextScintillaBase::SCI_RELEASEDOCUMENT,0,pdoc -> doc); - } - - delete pdoc; - } - - pdoc = 0; -} - - -// Undisplay and detach the underlying document. -void QextScintillaDocument::undisplay(QextScintillaBase *qsb) -{ - if (--pdoc -> nr_attaches == 0) - delete pdoc; - else if (--pdoc -> nr_displays == 0) - { - // Create an explicit reference to the document to keep it - // alive. - qsb -> SendScintilla(QextScintillaBase::SCI_ADDREFDOCUMENT,0,pdoc -> doc); - } - - pdoc = 0; -} - - -// Display the underlying document. -void QextScintillaDocument::display(QextScintillaBase *qsb,const QextScintillaDocument *from) -{ - long ndoc; - - if (from) - { - ndoc = from -> pdoc -> doc; - qsb -> SendScintilla(QextScintillaBase::SCI_SETDOCPOINTER,0,ndoc); - } - else - ndoc = qsb -> SendScintilla(QextScintillaBase::SCI_GETDOCPOINTER); - - pdoc -> doc = ndoc; - ++pdoc -> nr_displays; -} diff --git a/qt/qextscintilladocument.h b/qt/qextscintilladocument.h deleted file mode 100644 index 5e333df..0000000 --- a/qt/qextscintilladocument.h +++ /dev/null @@ -1,61 +0,0 @@ -// This defines the interface to the QextScintillaDocument class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLADOCUMENT_H -#define TQEXTSCINTILLADOCUMENT_H - - -#include - - -class QextScintillaBase; -class QextScintillaDocumentP; - - -//! \brief The QextScintillaDocument class represents a document to be editted. -//! -//! It is an opaque class that can be attached to multiple instances of -//! QextScintilla to create different simultaneous views of the same document. -//! QextScintillaDocument uses implicit sharing so that copying class instances -//! is a cheap operation. -class TQEXTSCINTILLA_EXPORT QextScintillaDocument -{ -public: - //! Create a new unattached document. - QextScintillaDocument(); - virtual ~QextScintillaDocument(); - - QextScintillaDocument(const QextScintillaDocument &); - QextScintillaDocument &operator=(const QextScintillaDocument &); - -private: - friend class QextScintilla; - - void attach(const QextScintillaDocument &that); - void detach(); - void display(QextScintillaBase *qsb,const QextScintillaDocument *from); - void undisplay(QextScintillaBase *qsb); - - QextScintillaDocumentP *pdoc; -}; - -#endif diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h deleted file mode 100644 index cd0fffe..0000000 --- a/qt/qextscintillaglobal.h +++ /dev/null @@ -1,62 +0,0 @@ -// This module defines various things common to all of the TQt port to -// Scintilla. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLAGLOBAL_H -#define TQEXTSCINTILLAGLOBAL_H - - -#include - - -#define TQSCINTILLA_VERSION 0x010701 -#define TQSCINTILLA_VERSION_STR "1.7.1" -#define TQSCINTILLA_BUILD "@RM_BUILD@" - - -// Under Windows, define TQEXTSCINTILLA_MAKE_DLL to create a Scintilla DLL, or -// define TQEXTSCINTILLA_DLL to link against a Scintilla DLL, or define neither -// to either build or link against a static Scintilla library. -#if defined(TQ_WS_WIN) - -#if defined(TQEXTSCINTILLA_DLL) -#define TQEXTSCINTILLA_EXPORT __declspec(dllimport) -#elif defined(TQEXTSCINTILLA_MAKE_DLL) -#define TQEXTSCINTILLA_EXPORT __declspec(dllexport) -#endif - -#else - -#if defined(__KDE_HAVE_GCC_VISIBILITY) -#define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default"))) -#else -#define TQEXTSCINTILLA_EXPORT -#endif - -#endif - -#if !defined(TQEXTSCINTILLA_EXPORT) -#define TQEXTSCINTILLA_EXPORT -#endif - - -#endif diff --git a/qt/qextscintillalexer.cpp b/qt/qextscintillalexer.cpp deleted file mode 100644 index ed43821..0000000 --- a/qt/qextscintillalexer.cpp +++ /dev/null @@ -1,449 +0,0 @@ -// This module implements the QextScintillaLexer class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include - -#include "qextscintillalexer.h" -#include "qextscintilla.h" -#include "qextscintillabase.h" - - -// The ctor. -QextScintillaLexer::QextScintillaLexer(TQObject *parent,const char *name) - : TQObject(parent,name), autoIndStyle(-1) -{ -#if defined(Q_OS_WIN) - defFont = TQFont("Verdana",10); -#else - defFont = TQFont("Bitstream Vera Sans",9); -#endif - - // Set the default fore and background colours. - TQColorGroup cg = TQApplication::palette().active(); - defColor = cg.text(); - defPaper = cg.base(); -} - - -// The dtor. -QextScintillaLexer::~QextScintillaLexer() -{ -} - - -// Default implementation to return the set of fill up characters that can end -// auto-completion. -const char *QextScintillaLexer::autoCompletionFillups() const -{ - return "("; -} - - -// Default implementation to return the set of characters that can start -// auto-completion. -const char *QextScintillaLexer::autoCompletionStartCharacters() const -{ - return 0; -} - - -// Default implementation to return the list of keywords that can start a -// block. -const char *QextScintillaLexer::blockStartKeyword(int *) const -{ - return 0; -} - - -// Default implementation to return the list of characters that can start a -// block. -const char *QextScintillaLexer::blockStart(int *) const -{ - return 0; -} - - -// Default implementation to return the list of characters that can end a -// block. -const char *QextScintillaLexer::blockEnd(int *) const -{ - return 0; -} - - -// Default implementation to return the style used for braces. -int QextScintillaLexer::braceStyle() const -{ - return -1; -} - - -// Default implementation to return the number of lines to look back when -// auto-indenting. -int QextScintillaLexer::blockLookback() const -{ - return 20; -} - - -// Default implementation to return the characters that make up a word. -const char *QextScintillaLexer::wordCharacters() const -{ - return 0; -} - - -// Default implementation to return the style used for whitespace. -int QextScintillaLexer::defaultStyle() const -{ - return 0; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexer::color(int) const -{ - return defaultColor(); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexer::eolFill(int) const -{ - return FALSE; -} - - -// Returns the font for a style. -TQFont QextScintillaLexer::font(int) const -{ - return defaultFont(); -} - - -// Returns the set of keywords. -const char *QextScintillaLexer::keywords(int) const -{ - return 0; -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexer::paper(int) const -{ - return defaultPaper(); -} - - -// Returns the default font for all styles. -TQFont QextScintillaLexer::defaultFont() const -{ - return defFont; -} - - -// Sets the default font for all styles. -void QextScintillaLexer::setDefaultFont(const TQFont &f) -{ - defFont = f; -} - - -// Returns the default text colour for all styles. -TQColor QextScintillaLexer::defaultColor() const -{ - return defColor; -} - - -// Sets the default text colour for all styles. -void QextScintillaLexer::setDefaultColor(const TQColor &c) -{ - defColor = c; -} - - -// Returns the default paper colour for all styles. -TQColor QextScintillaLexer::defaultPaper() const -{ - return defPaper; -} - - -// Sets the default paper colour for all styles. -void QextScintillaLexer::setDefaultPaper(const TQColor &c) -{ - defPaper = c; -} - - -// Read properties from the settings. -bool QextScintillaLexer::readProperties(TQSettings &,const TQString &) -{ - return TRUE; -} - - -// Refresh all properties. -void QextScintillaLexer::refreshProperties() -{ -} - - -// Write properties to the settings. -bool QextScintillaLexer::writeProperties(TQSettings &,const TQString &) const -{ - return TRUE; -} - - -// Restore the user settings. -bool QextScintillaLexer::readSettings(TQSettings &qs,const char *prefix) -{ - bool ok, flag, rc = TRUE; - int num; - TQString key; - - // Read the styles. - for (int i = 0; i < 128; ++i) - { - // Ignore invalid styles. - if (description(i).isNull()) - continue; - - key.sprintf("%s/%s/style%d/",prefix,language(),i); - - // Read the foreground colour. - num = qs.readNumEntry(key + "color",0,&ok); - - if (ok) - emit colorChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); - else - rc = FALSE; - - // Read the end-of-line fill. - flag = qs.readBoolEntry(key + "eolfill",0,&ok); - - if (ok) - emit eolFillChanged(flag,i); - else - rc = FALSE; - - // Read the font - TQStringList fdesc; - - fdesc = qs.readListEntry(key + "font",',',&ok); - - if (ok && fdesc.count() == 5) - { - TQFont f; - - f.setFamily(fdesc[0]); - f.setPointSize(fdesc[1].toInt()); - f.setBold(fdesc[2].toInt()); - f.setItalic(fdesc[3].toInt()); - f.setUnderline(fdesc[4].toInt()); - - emit fontChanged(f,i); - } - else - rc = FALSE; - - // Read the background colour. - num = qs.readNumEntry(key + "paper",0,&ok); - - if (ok) - emit paperChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); - else - rc = FALSE; - } - - // Read the properties. - key.sprintf("%s/%s/properties/",prefix,language()); - - if (!readProperties(qs,key)) - rc = FALSE; - - refreshProperties(); - - // Read the rest. - key.sprintf("%s/%s/",prefix,language()); - - num = qs.readNumEntry(key + "autoindentstyle",0,&ok); - - if (ok) - autoIndStyle = num; - else - rc = FALSE; - - return rc; -} - - -// Save the user settings. -bool QextScintillaLexer::writeSettings(TQSettings &qs,const char *prefix) const -{ - bool rc = TRUE; - TQString key; - - // Write the styles. - for (int i = 0; i < 128; ++i) - { - // Ignore invalid styles. - if (description(i).isNull()) - continue; - - int num; - TQColor c; - - key.sprintf("%s/%s/style%d/",prefix,language(),i); - - // Write the foreground colour. - c = color(i); - num = (c.red() << 16) | (c.green() << 8) | c.blue(); - - if (!qs.writeEntry(key + "color",num)) - rc = FALSE; - - // Write the end-of-line fill. - if (!qs.writeEntry(key + "eolfill",eolFill(i))) - rc = FALSE; - - // Write the font - TQStringList fdesc; - TQString fmt("%1"); - TQFont f; - - f = font(i); - - fdesc += f.family(); - fdesc += fmt.arg(f.pointSize()); - - // The casts are for Borland. - fdesc += fmt.arg((int)f.bold()); - fdesc += fmt.arg((int)f.italic()); - fdesc += fmt.arg((int)f.underline()); - - if (!qs.writeEntry(key + "font",fdesc,',')) - rc = FALSE; - - // Write the background colour. - c = paper(i); - num = (c.red() << 16) | (c.green() << 8) | c.blue(); - - if (!qs.writeEntry(key + "paper",num)) - rc = FALSE; - } - - // Write the properties. - key.sprintf("%s/%s/properties/",prefix,language()); - - if (!writeProperties(qs,key)) - rc = FALSE; - - // Write the rest. - key.sprintf("%s/%s/",prefix,language()); - - if (!qs.writeEntry(key + "autoindentstyle",autoIndStyle)) - rc = FALSE; - - return rc; -} - - -// Return the auto-indentation style. -int QextScintillaLexer::autoIndentStyle() -{ - // We can't do this in the ctor because we want the virtuals to work. - if (autoIndStyle < 0) - autoIndStyle = (blockStartKeyword() || blockStart() || blockEnd()) ? - 0 : QextScintilla::AiMaintain; - - return autoIndStyle; -} - - -// Set the auto-indentation style. -void QextScintillaLexer::setAutoIndentStyle(int autoindentstyle) -{ - autoIndStyle = autoindentstyle; -} - - -// Set the foreground colour for a style. -void QextScintillaLexer::setColor(const TQColor &c,int style) -{ - if (style >= 0) - emit colorChanged(c,style); - else - for (int i = 0; i < 128; ++i) - if (!description(i).isNull()) - emit colorChanged(c,i); -} - - -// Set the end-of-line fill for a style. -void QextScintillaLexer::setEolFill(bool eolfill,int style) -{ - if (style >= 0) - emit eolFillChanged(eolfill,style); - else - for (int i = 0; i < 128; ++i) - if (!description(i).isNull()) - emit eolFillChanged(eolfill,i); -} - - -// Set the font for a style. -void QextScintillaLexer::setFont(const TQFont &f,int style) -{ - if (style >= 0) - emit fontChanged(f,style); - else - for (int i = 0; i < 128; ++i) - if (!description(i).isNull()) - emit fontChanged(f,i); -} - - -// Set the background colour for a style. -void QextScintillaLexer::setPaper(const TQColor &c,int style) -{ - if (style >= 0) - emit paperChanged(c,style); - else - { - for (int i = 0; i < 128; ++i) - if (!description(i).isNull()) - emit paperChanged(c,i); - - emit paperChanged(c,QextScintillaBase::STYLE_DEFAULT); - } -} - -#include "qextscintillalexer.moc" diff --git a/qt/qextscintillalexer.h b/qt/qextscintillalexer.h deleted file mode 100644 index cc245b7..0000000 --- a/qt/qextscintillalexer.h +++ /dev/null @@ -1,275 +0,0 @@ -// This defines the interface to the QextScintillaLexer class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXER_H -#define TQEXTSCINTILLALEXER_H - - -#include -#include -#include -#include - -#include - - -class TQSettings; - - -//! \brief The QextScintillaLexer class is an abstract class used as a base for -//! specific language lexers. -//! -//! A Scintilla lexer scans the text breaking it up into separate language -//! objects, e.g. keywords, strings, operators. The lexer then uses a -//! different style to draw each object. A style is identified by a style -//! number and has a number of attributes, including colour and font. A -//! specific language lexer will implement appropriate default styles which can -//! be overriden by an application by further sub-classing the specific -//! language lexer. -//! -//! A specific language lexer may provide one or more sets of words to be -//! recognised as keywords. Most lexers only provide one set, but some may -//! support languages embedded in other languages and provide several sets. -//! -//! QextScintillaLexer provides convenience methods for saving and restoring -//! user preferences for fonts and colours. -class TQEXTSCINTILLA_EXPORT QextScintillaLexer : public TQObject -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaLexer with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexer(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexer instance. - virtual ~QextScintillaLexer(); - - //! Returns the name of the language. It must be re-implemented by a - //! sub-class. - virtual const char *language() const = 0; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. It must be re-implemented by a sub-class. - virtual const char *lexer() const = 0; - - //! \internal Returns the characters that can fill up auto-completion. - //! These are ignored if QextScintilla::setAutoCompletionFillups() has - //! been explicitly called. - virtual const char *autoCompletionFillups() const; - - //! \internal Returns the characters that can start auto-completion. - virtual const char *autoCompletionStartCharacters() const; - - //! Returns the auto-indentation style. The default is 0 if the - //! language is block structured, or QextScintilla::AiMaintain if not. - //! - //! \sa setAutoIndentStyle(), QextScintilla::AiMaintain, - //! QextScintilla::AiOpening, QextScintilla::AiClosing - int autoIndentStyle(); - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the end of a block for - //! auto-indentation. The style is returned via \a style. - virtual const char *blockEnd(int *style = 0) const; - - //! \internal Returns the number of lines prior to the current one when - //! determining the scope of a block when auto-indenting. - virtual int blockLookback() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The style is returned via \a style. - virtual const char *blockStart(int *style = 0) const; - - //! \internal Returns a space separated list of keywords in a - //! particular style that define the start of a block for - //! auto-indentation. The style is returned via \a style. - virtual const char *blockStartKeyword(int *style = 0) const; - - //! \internal Returns the style used for braces for brace matching. - virtual int braceStyle() const; - - //! \internal Returns the string of characters that comprise a word. - //! The default is 0 which implies the upper and lower case alphabetic - //! characters and underscore. - virtual const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. The default colour is black. - //! - //! \sa paper() - virtual TQColor color(int style) const; - - //! Returns the end-of-line for style number \a style. The default is - //! FALSE. - virtual bool eolFill(int style) const; - - //! Returns the font for style number \a style. The default font is - //! that returned by defaultFont(). - //! - //! \sa defaultFont() - virtual TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. 0 is returned if there - //! is no such set. - virtual const char *keywords(int set) const; - - //! \internal Returns the number of the style used for whitespace. The - //! default implementation returns 0 which is the convention adopted by - //! most lexers. - virtual int defaultStyle() const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - virtual TQString description(int style) const = 0; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa defaultPaper(), color() - virtual TQColor paper(int style) const; - - //! Returns the default font for all styles. - //! - //! \sa setDefaultFont() - virtual TQFont defaultFont() const; - - //! Returns the default text colour for all styles. - //! - //! \sa setDefaultColor() - virtual TQColor defaultColor() const; - - //! Returns the default paper colour for all styles. - //! - //! \sa setDefaultPaper() - virtual TQColor defaultPaper() const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - virtual void refreshProperties(); - - //! The colour, paper, font and end-of-line for each style number, and - //! all lexer specific properties are read from the settings \a qs. - //! \a prefix is prepended to the key of each entry. TRUE is returned - //! if there was no error. - //! - //! \sa writeSettings(), QextScintilla::setLexer() - bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); - - //! The colour, paper, font and end-of-line for each style number, and - //! all lexer specific properties are written to the settings \a qs. - //! \a prefix is prepended to the key of each entry. TRUE is returned - //! if there was no error. - //! - //! \sa readSettings() - bool writeSettings(TQSettings &qs, - const char *prefix = "/Scintilla") const; - -public slots: - //! The auto-indentation style is set to \a autoindentstyle. - //! - //! \sa autoIndentStyle(), QextScintilla::AiMaintain, - //! QextScintilla::AiOpening, QextScintilla::AiClosing - virtual void setAutoIndentStyle(int autoindentstyle); - - //! The foreground colour for style number \a style is set to \a c. If - //! \a style is -1 then the colour is set for all styles. - virtual void setColor(const TQColor &c,int style = -1); - - //! The default font for all styles is set to \a f. - //! - //! \sa defaultFont() - virtual void setDefaultFont(const TQFont &f); - - //! The default text colour for all styles is set to \a c. - //! - //! \sa defaultColor(), color() - virtual void setDefaultColor(const TQColor &c); - - //! The default paper colour for all styles is set to \a c. - //! - //! \sa defaultPaper(), paper() - virtual void setDefaultPaper(const TQColor &c); - - //! The end-of-line fill for style number \a style is set to - //! \a eoffill. If \a style is -1 then the fill is set for all styles. - virtual void setEolFill(bool eoffill,int style = -1); - - //! The font for style number \a style is set to \a f. If \a style is - //! -1 then the font is set for all styles. - virtual void setFont(const TQFont &f,int style = -1); - - //! The background colour for style number \a style is set to \a c. If - //! \a style is -1 then the colour is set for all styles. - virtual void setPaper(const TQColor &c,int style = -1); - -signals: - //! This signal is emitted when the foreground colour of style number - //! \a style has changed. The new colour is \a c. - void colorChanged(const TQColor &c,int style); - - //! This signal is emitted when the end-of-file fill of style number - //! \a style has changed. The new fill is \a eoffilled. - void eolFillChanged(bool eoffilled,int style); - - //! This signal is emitted when the font of style number \a style has - //! changed. The new font is \a f. - void fontChanged(const TQFont &f,int style); - - //! This signal is emitted when the background colour of style number - //! \a style has changed. The new colour is \a c. - void paperChanged(const TQColor &c,int style); - - //! This signal is emitted when the value of the lexer property \a prop - //! needs to be changed. The new value is \a val. - void propertyChanged(const char *prop,const char *val); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - virtual bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - virtual bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - int autoIndStyle; - TQFont defFont; - TQColor defColor; - TQColor defPaper; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexer(const QextScintillaLexer &); - QextScintillaLexer &operator=(const QextScintillaLexer &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp deleted file mode 100644 index a35af48..0000000 --- a/qt/qextscintillalexerbash.cpp +++ /dev/null @@ -1,374 +0,0 @@ -// This module implements the QextScintillaLexerBash class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerbash.h" - - -// The ctor. -QextScintillaLexerBash::QextScintillaLexerBash(TQObject *parent, - const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_compact(TRUE) -{ -} - - -// The dtor. -QextScintillaLexerBash::~QextScintillaLexerBash() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerBash::language() const -{ - return "Bash"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerBash::lexer() const -{ - return "bash"; -} - - -// Return the style used for braces. -int QextScintillaLexerBash::braceStyle() const -{ - return Operator; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerBash::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerBash::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Error: - case Backticks: - return TQColor(0xff,0xff,0x00); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - return TQColor(0x00,0x00,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - case SingleQuotedHereDocument: - return TQColor(0x7f,0x00,0x7f); - - case Operator: - case Identifier: - case Scalar: - case ParameterExpansion: - case HereDocumentDelimiter: - return TQColor(0x00,0x00,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerBash::eolFill(int style) const -{ - switch (style) - { - case SingleQuotedHereDocument: - return TRUE; - } - - return FALSE; -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerBash::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case Keyword: - case Operator: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case DoubleQuotedString: - case SingleQuotedString: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerBash::keywords(int set) const -{ - if (set == 1) - return - "alias ar asa awk banner basename bash bc bdiff break " - "bunzip2 bzip2 cal calendar case cat cc cd chmod " - "cksum clear cmp col comm compress continue cp cpio " - "crypt csplit ctags cut date dc dd declare deroff dev " - "df diff diff3 dircmp dirname do done du echo ed " - "egrep elif else env esac eval ex exec exit expand " - "export expr false fc fgrep fi file find fmt fold for " - "function functions getconf getopt getopts grep gres " - "hash head help history iconv id if in integer jobs " - "join kill local lc let line ln logname look ls m4 " - "mail mailx make man mkdir more mt mv newgrp nl nm " - "nohup ntps od pack paste patch pathchk pax pcat perl " - "pg pr print printf ps pwd read readonly red return " - "rev rm rmdir sed select set sh shift size sleep sort " - "spell split start stop strings strip stty sum " - "suspend sync tail tar tee test then time times touch " - "tr trap true tsort tty type typeset ulimit umask " - "unalias uname uncompress unexpand uniq unpack unset " - "until uudecode uuencode vi vim vpax wait wc whence " - "which while who wpaste wstart xargs zcat " - - "chgrp chown chroot dir dircolors factor groups " - "hostid install link md5sum mkfifo mknod nice pinky " - "printenv ptx readlink seq sha1sum shred stat su tac " - "unlink users vdir whoami yes"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerBash::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Error: - return tr("Error"); - - case Comment: - return tr("Comment"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case Scalar: - return tr("Scalar"); - - case ParameterExpansion: - return tr("Parameter expansion"); - - case Backticks: - return tr("Backticks"); - - case HereDocumentDelimiter: - return tr("Here document delimiter"); - - case SingleQuotedHereDocument: - return tr("Single-quoted here document"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerBash::paper(int style) const -{ - switch (style) - { - case Error: - return TQColor(0xff,0x00,0x00); - - case Scalar: - return TQColor(0xff,0xe0,0xe0); - - case ParameterExpansion: - return TQColor(0xff,0xff,0xe0); - - case Backticks: - return TQColor(0xa0,0x80,0x80); - - case HereDocumentDelimiter: - case SingleQuotedHereDocument: - return TQColor(0xdd,0xd0,0xdd); - } - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerBash::refreshProperties() -{ - setCommentProp(); - setCompactProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerBash::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerBash::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerBash::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerBash::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerBash::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerBash::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerBash::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerBash::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - -#include "qextscintillalexerbash.moc" diff --git a/qt/qextscintillalexerbash.h b/qt/qextscintillalexerbash.h deleted file mode 100644 index 3692a77..0000000 --- a/qt/qextscintillalexerbash.h +++ /dev/null @@ -1,190 +0,0 @@ -// This defines the interface to the QextScintillaLexerBash class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERBASH_H -#define TQEXTSCINTILLALEXERBASH_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerBash class encapsulates the Scintilla Bash -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerBash : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Bash lexer. - enum { - //! The default. - Default = 0, - - //! \deprecated White space. - WhiteSpace = Default, - - //! An error. - Error = 1, - - //! A comment. - Comment = 2, - - //! A number. - Number = 3, - - //! A keyword. - Keyword = 4, - - //! A double-quoted string. - DoubleQuotedString = 5, - - //! A single-quoted string. - SingleQuotedString = 6, - - //! An operator. - Operator = 7, - - //! An identifier - Identifier = 8, - - //! A scalar. - Scalar = 9, - - //! Parameter expansion. - ParameterExpansion = 10, - - //! Backticks. - Backticks = 11, - - //! A here document delimiter. - HereDocumentDelimiter = 12, - - //! A single quoted here document. - SingleQuotedHereDocument = 13 - }; - - //! Construct a QextScintillaLexerBash with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerBash(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerBash instance. - virtual ~QextScintillaLexerBash(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - -public slots: - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setCompactProp(); - - bool fold_comments; - bool fold_compact; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerBash(const QextScintillaLexerBash &); - QextScintillaLexerBash &operator=(const QextScintillaLexerBash &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp deleted file mode 100644 index f21b6a2..0000000 --- a/qt/qextscintillalexerbatch.cpp +++ /dev/null @@ -1,203 +0,0 @@ -// This module implements the QextScintillaLexerBatch class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerbatch.h" - - -// The ctor. -QextScintillaLexerBatch::QextScintillaLexerBatch(TQObject *parent, - const char *name) - : QextScintillaLexer(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerBatch::~QextScintillaLexerBatch() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerBatch::language() const -{ - return "Batch"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerBatch::lexer() const -{ - return "batch"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerBatch::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerBatch::color(int style) const -{ - switch (style) - { - case Default: - case Operator: - return TQColor(0x00,0x00,0x00); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case Keyword: - case ExternalCommand: - return TQColor(0x00,0x00,0x7f); - - case Label: - return TQColor(0x7f,0x00,0x7f); - - case HideCommandChar: - return TQColor(0x7f,0x7f,0x00); - - case Variable: - return TQColor(0x80,0x00,0x80); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerBatch::eolFill(int style) const -{ - return (style == Label); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerBatch::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case Keyword: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case ExternalCommand: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - f.setBold(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerBatch::keywords(int set) const -{ - if (set == 1) - return - "rem set if exist errorlevel for in do break call " - "chcp cd chdir choice cls country ctty date del " - "erase dir echo exit goto loadfix loadhigh mkdir md " - "move path pause prompt rename ren rmdir rd shift " - "time type ver verify vol com con lpt nul"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerBatch::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case Keyword: - return tr("Keyword"); - - case Label: - return tr("Label"); - - case HideCommandChar: - return tr("Hide command character"); - - case ExternalCommand: - return tr("External command"); - - case Variable: - return tr("Variable"); - - case Operator: - return tr("Operator"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerBatch::paper(int style) const -{ - switch (style) - { - case Label: - return TQColor(0x60,0x60,0x60); - } - - return QextScintillaLexer::paper(style); -} - -#include "qextscintillalexerbatch.moc" diff --git a/qt/qextscintillalexerbatch.h b/qt/qextscintillalexerbatch.h deleted file mode 100644 index a2ba42a..0000000 --- a/qt/qextscintillalexerbatch.h +++ /dev/null @@ -1,120 +0,0 @@ -// This defines the interface to the QextScintillaLexerBatch class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERBATCH_H -#define TQEXTSCINTILLALEXERBATCH_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerBatch class encapsulates the Scintilla batch -//! file lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerBatch : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! batch file lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A keyword. - Keyword = 2, - - //! A label. - Label = 3, - - //! An hide command character. - HideCommandChar = 4, - - //! An external command . - ExternalCommand = 5, - - //! A variable. - Variable = 6, - - //! An operator - Operator = 7 - }; - - //! Construct a QextScintillaLexerBatch with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerBatch(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerBatch instance. - virtual ~QextScintillaLexerBatch(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerBatch(const QextScintillaLexerBatch &); - QextScintillaLexerBatch &operator=(const QextScintillaLexerBatch &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp deleted file mode 100644 index 797abc0..0000000 --- a/qt/qextscintillalexercpp.cpp +++ /dev/null @@ -1,520 +0,0 @@ -// This module implements the QextScintillaLexerCPP class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexercpp.h" - - -// The ctor. -QextScintillaLexerCPP::QextScintillaLexerCPP(TQObject *parent,const char *name, - bool caseInsensitiveKeywords) - : QextScintillaLexer(parent,name), fold_atelse(FALSE), - fold_comments(FALSE), fold_compact(TRUE), fold_preproc(TRUE), - style_preproc(FALSE), nocase(caseInsensitiveKeywords) -{ -} - - -// The dtor. -QextScintillaLexerCPP::~QextScintillaLexerCPP() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerCPP::language() const -{ - return "C++"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerCPP::lexer() const -{ - return (nocase ? "cppnocase" : "cpp"); -} - - -// Return the list of keywords that can start a block. -const char *QextScintillaLexerCPP::blockStartKeyword(int *style) const -{ - if (style) - *style = Keyword; - - return "case catch class default do else finally for if private " - "protected public struct try union while"; -} - - -// Return the list of characters that can start a block. -const char *QextScintillaLexerCPP::blockStart(int *style) const -{ - if (style) - *style = Operator; - - return "{"; -} - - -// Return the list of characters that can end a block. -const char *QextScintillaLexerCPP::blockEnd(int *style) const -{ - if (style) - *style = Operator; - - return "}"; -} - - -// Return the style used for braces. -int QextScintillaLexerCPP::braceStyle() const -{ - return Operator; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerCPP::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerCPP::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Comment: - case CommentLine: - return TQColor(0x00,0x7f,0x00); - - case CommentDoc: - case CommentLineDoc: - return TQColor(0x3f,0x70,0x3f); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - return TQColor(0x00,0x00,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - return TQColor(0x7f,0x00,0x7f); - - case PreProcessor: - return TQColor(0x7f,0x7f,0x00); - - case Operator: - case UnclosedString: - return TQColor(0x00,0x00,0x00); - - case Identifier: - break; - - case Regex: - return TQColor(0x3f,0x7f,0x3f); - - case CommentDocKeyword: - return TQColor(0x30,0x60,0xa0); - - case CommentDocKeywordError: - return TQColor(0x80,0x40,0x20); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerCPP::eolFill(int style) const -{ - return (style == UnclosedString); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerCPP::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: - case CommentLine: - case CommentDoc: - case CommentLineDoc: - case CommentDocKeyword: - case CommentDocKeywordError: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case Keyword: - case Operator: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case DoubleQuotedString: - case SingleQuotedString: - case UnclosedString: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerCPP::keywords(int set) const -{ - if (set == 1) - return - "and and_eq asm auto bitand bitor bool break case " - "catch char class compl const const_cast continue " - "default delete do double dynamic_cast else enum " - "explicit export extern false float for friend goto if " - "inline int long mutable namespace new not not_eq " - "operator or or_eq private protected public register " - "reinterpret_cast return short signed sizeof static " - "static_cast struct switch template this throw true " - "try typedef typeid typename union unsigned using " - "virtual void volatile wchar_t while xor xor_eq"; - - if (set == 3) - return - "a addindex addtogroup anchor arg attention author b " - "brief bug c class code date def defgroup deprecated " - "dontinclude e em endcode endhtmlonly endif " - "endlatexonly endlink endverbatim enum example " - "exception f$ f[ f] file fn hideinitializer " - "htmlinclude htmlonly if image include ingroup " - "internal invariant interface latexonly li line link " - "mainpage name namespace nosubgrouping note overload " - "p page par param post pre ref relates remarks return " - "retval sa section see showinitializer since skip " - "skipline struct subsection test throw todo typedef " - "union until var verbatim verbinclude version warning " - "weakgroup $ @ \\ & < > # { }"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerCPP::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("C comment"); - - case CommentLine: - return tr("C++ comment"); - - case CommentDoc: - return tr("JavaDoc style C comment"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case PreProcessor: - return tr("Pre-processor block"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case UnclosedString: - return tr("Unclosed string"); - - case CommentLineDoc: - return tr("JavaDoc style C++ comment"); - - case KeywordSet2: - return tr("Secondary keywords and identifiers"); - - case CommentDocKeyword: - return tr("JavaDoc keyword"); - - case CommentDocKeywordError: - return tr("JavaDoc keyword error"); - - case GlobalClass: - return tr("Global classes and typedefs"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerCPP::paper(int style) const -{ - if (style == UnclosedString) - return TQColor(0xe0,0xc0,0xe0); - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerCPP::refreshProperties() -{ - setAtElseProp(); - setCommentProp(); - setCompactProp(); - setPreprocProp(); - setStylePreprocProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerCPP::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold at else flag. - flag = qs.readBoolEntry(prefix + "foldatelse",FALSE,&ok); - - if (ok) - fold_atelse = flag; - else - rc = FALSE; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - // Read the fold preprocessor flag. - flag = qs.readBoolEntry(prefix + "foldpreprocessor",TRUE,&ok); - - if (ok) - fold_preproc = flag; - else - rc = FALSE; - - // Read the style preprocessor flag. - flag = qs.readBoolEntry(prefix + "stylepreprocessor",FALSE,&ok); - - if (ok) - style_preproc = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerCPP::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold at else flag. - if (!qs.writeEntry(prefix + "foldatelse",fold_atelse)) - rc = FALSE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - // Write the fold preprocessor flag. - if (!qs.writeEntry(prefix + "foldpreprocessor",fold_preproc)) - rc = FALSE; - - // Write the style preprocessor flag. - if (!qs.writeEntry(prefix + "stylepreprocessor",style_preproc)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if else can be folded. -bool QextScintillaLexerCPP::foldAtElse() const -{ - return fold_atelse; -} - - -// Set if else can be folded. -void QextScintillaLexerCPP::setFoldAtElse(bool fold) -{ - fold_atelse = fold; - - setAtElseProp(); -} - - -// Set the "fold.at.else" property. -void QextScintillaLexerCPP::setAtElseProp() -{ - emit propertyChanged("fold.at.else",(fold_atelse ? "1" : "0")); -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerCPP::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerCPP::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerCPP::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerCPP::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerCPP::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerCPP::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - - -// Return TRUE if preprocessor blocks can be folded. -bool QextScintillaLexerCPP::foldPreprocessor() const -{ - return fold_preproc; -} - - -// Set if preprocessor blocks can be folded. -void QextScintillaLexerCPP::setFoldPreprocessor(bool fold) -{ - fold_preproc = fold; - - setPreprocProp(); -} - - -// Set the "fold.preprocessor" property. -void QextScintillaLexerCPP::setPreprocProp() -{ - emit propertyChanged("fold.preprocessor",(fold_preproc ? "1" : "0")); -} - - -// Return TRUE if preprocessor lines are styled. -bool QextScintillaLexerCPP::stylePreprocessor() const -{ - return style_preproc; -} - - -// Set if preprocessor lines are styled. -void QextScintillaLexerCPP::setStylePreprocessor(bool style) -{ - style_preproc = style; - - setStylePreprocProp(); -} - - -// Set the "style.within.preprocessor" property. -void QextScintillaLexerCPP::setStylePreprocProp() -{ - emit propertyChanged("style.within.preprocessor",(style_preproc ? "1" : "0")); -} - -#include "qextscintillalexercpp.moc" diff --git a/qt/qextscintillalexercpp.h b/qt/qextscintillalexercpp.h deleted file mode 100644 index 82bde28..0000000 --- a/qt/qextscintillalexercpp.h +++ /dev/null @@ -1,274 +0,0 @@ -// This defines the interface to the QextScintillaLexerCPP class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERCPP_H -#define TQEXTSCINTILLALEXERCPP_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerCPP class encapsulates the Scintilla C++ -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerCPP : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! C++ lexer. - enum { - //! The default. - Default = 0, - - //! \deprecated White space. - WhiteSpace = Default, - - //! A C comment. - Comment = 1, - - //! A C++ comment line. - CommentLine = 2, - - //! A JavaDoc/Doxygen style C comment. - CommentDoc = 3, - - //! A number. - Number = 4, - - //! A keyword. - Keyword = 5, - - //! A double-quoted string. - DoubleQuotedString = 6, - - //! A single-quoted string. - SingleQuotedString = 7, - - //! An IDL UUID. - UUID = 8, - - //! A pre-processor block. - PreProcessor = 9, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! The end of a line where a string is not closed. - UnclosedString = 12, - - //! A C# verbatim string. - VerbatimString = 13, - - //! A JavaScript regular expression. - Regex = 14, - - //! A JavaDoc/Doxygen style C++ comment line. - CommentLineDoc = 15, - - //! A keyword defined in keyword set number 2. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet2 = 16, - - //! A JavaDoc/Doxygen keyword. - CommentDocKeyword = 17, - - //! A JavaDoc/Doxygen keyword error. - CommentDocKeywordError = 18, - - //! A global class or typedef defined in keyword set number 4. - //! The class must be sub-classed and re-implement keywords() - //! to make use of this style. - GlobalClass = 19 - }; - - //! Construct a QextScintillaLexerCPP with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - //! \a caseInsensitiveKeywords is TRUE if the lexer ignores the case of - //! keywords. - QextScintillaLexerCPP(TQObject *parent = 0,const char *name = 0, - bool caseInsensitiveKeywords = FALSE); - - //! Destroys the QextScintillaLexerCPP instance. - virtual ~QextScintillaLexerCPP(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the end of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockEnd(int *style = 0) const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStart(int *style = 0) const; - - //! \internal Returns a space separated list of keywords in a - //! particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStartKeyword(int *style = 0) const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if "} else {" lines can be folded. - //! - //! \sa setFoldAtElse() - bool foldAtElse() const; - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - - //! Returns TRUE if preprocessor blocks can be folded. - //! - //! \sa setFoldPreprocessor() - bool foldPreprocessor() const; - - //! Returns TRUE if preprocessor lines (after the preprocessor - //! directive) are styled. - //! - //! \sa setStylePreprocessor() - bool stylePreprocessor() const; - -public slots: - //! If \a fold is TRUE then "} else {" lines can be folded. The - //! default is FALSE. - //! - //! \sa foldAtElse() - virtual void setFoldAtElse(bool fold); - - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - - //! If \a fold is TRUE then preprocessor blocks can be folded. The - //! default is TRUE. - //! - //! \sa foldPreprocessor() - virtual void setFoldPreprocessor(bool fold); - - //! If \a style is TRUE then preprocessor lines (after the preprocessor - //! directive) are styled. The default is FALSE. - //! - //! \sa stylePreprocessor() - virtual void setStylePreprocessor(bool style); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - //! \sa writeProperties() - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - //! \sa readProperties() - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setAtElseProp(); - void setCommentProp(); - void setCompactProp(); - void setPreprocProp(); - void setStylePreprocProp(); - - bool fold_atelse; - bool fold_comments; - bool fold_compact; - bool fold_preproc; - bool style_preproc; - - bool nocase; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerCPP(const QextScintillaLexerCPP &); - QextScintillaLexerCPP &operator=(const QextScintillaLexerCPP &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp deleted file mode 100644 index 56ac5e4..0000000 --- a/qt/qextscintillalexercsharp.cpp +++ /dev/null @@ -1,123 +0,0 @@ -// This module implements the QextScintillaLexerCSharp class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "qextscintillalexercsharp.h" - - -// The ctor. -QextScintillaLexerCSharp::QextScintillaLexerCSharp(TQObject *parent,const char *name) - : QextScintillaLexerCPP(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerCSharp::~QextScintillaLexerCSharp() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerCSharp::language() const -{ - return "C#"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerCSharp::color(int style) const -{ - if (style == VerbatimString) - return TQColor(0x00,0x7f,0x00); - - return QextScintillaLexerCPP::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerCSharp::eolFill(int style) const -{ - if (style == VerbatimString) - return TRUE; - - return QextScintillaLexerCPP::eolFill(style); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerCSharp::font(int style) const -{ - if (style == VerbatimString) -#if defined(Q_OS_WIN) - return TQFont("Courier New",10); -#else - return TQFont("Bitstream Vera Sans Mono",9); -#endif - - return QextScintillaLexerCPP::font(style); -} - - -// Returns the set of keywords. -const char *QextScintillaLexerCSharp::keywords(int set) const -{ - if (set != 1) - return 0; - - return "abstract as base bool break byte case catch char checked " - "class const continue decimal default delegate do double else " - "enum event explicit extern false finally fixed float for " - "foreach goto if implicit in int interface internal is lock " - "long namespace new null object operator out override params " - "private protected public readonly ref return sbyte sealed " - "short sizeof stackalloc static string struct switch this " - "throw true try typeof uint ulong unchecked unsafe ushort " - "using virtual void while"; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerCSharp::description(int style) const -{ - if (style == VerbatimString) - return tr("Verbatim string"); - - return QextScintillaLexerCPP::description(style); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerCSharp::paper(int style) const -{ - if (style == VerbatimString) - return TQColor(0xe0,0xff,0xe0); - - return QextScintillaLexer::paper(style); -} - -#include "qextscintillalexercsharp.moc" diff --git a/qt/qextscintillalexercsharp.h b/qt/qextscintillalexercsharp.h deleted file mode 100644 index 5b4695d..0000000 --- a/qt/qextscintillalexercsharp.h +++ /dev/null @@ -1,85 +0,0 @@ -// This defines the interface to the QextScintillaLexerCSharp class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERCSHARP_H -#define TQEXTSCINTILLALEXERCSHARP_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerCSharp class encapsulates the Scintilla C# -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerCSharp : public QextScintillaLexerCPP -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaLexerCSharp with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerCSharp(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerCSharp instance. - virtual ~QextScintillaLexerCSharp(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerCSharp(const QextScintillaLexerCSharp &); - QextScintillaLexerCSharp &operator=(const QextScintillaLexerCSharp &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp deleted file mode 100644 index d9eba5d..0000000 --- a/qt/qextscintillalexercss.cpp +++ /dev/null @@ -1,381 +0,0 @@ -// This module implements the QextScintillaLexerCSS class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexercss.h" - - -// The ctor. -QextScintillaLexerCSS::QextScintillaLexerCSS(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_compact(TRUE) -{ -} - - -// The dtor. -QextScintillaLexerCSS::~QextScintillaLexerCSS() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerCSS::language() const -{ - return "CSS"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerCSS::lexer() const -{ - return "css"; -} - - -// Return the list of characters that can start a block. -const char *QextScintillaLexerCSS::blockStart(int *style) const -{ - if (style) - *style = Operator; - - return "{"; -} - - -// Return the list of characters that can end a block. -const char *QextScintillaLexerCSS::blockEnd(int *style) const -{ - if (style) - *style = Operator; - - return "}"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerCSS::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerCSS::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0xff,0x00,0x80); - - case Tag: - return TQColor(0x00,0x00,0x7f); - - case PseudoClass: - case Attribute: - return TQColor(0x80,0x00,0x00); - - case UnknownPseudoClass: - case UnknownProperty: - return TQColor(0xff,0x00,0x00); - - case Operator: - return TQColor(0x00,0x00,0x00); - - case CSS1Property: - return TQColor(0x00,0x40,0xe0); - - case Value: - case DoubleQuotedString: - case SingleQuotedString: - return TQColor(0x7f,0x00,0x7f); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case IDSelector: - return TQColor(0x00,0x7f,0x7f); - - case Important: - return TQColor(0xff,0x80,0x00); - - case AtRule: - return TQColor(0x7f,0x7f,0x00); - - case CSS2Property: - return TQColor(0x00,0xa0,0xe0); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerCSS::font(int style) const -{ - TQFont f; - - if (style == Comment) -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - else - { - f = QextScintillaLexer::font(style); - - switch (style) - { - case Tag: - case Important: - case AtRule: - f.setBold(TRUE); - break; - - case IDSelector: - f.setItalic(TRUE); - break; - } - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerCSS::keywords(int set) const -{ - if (set == 1) - return - "color background-color background-image " - "background-repeat background-attachment " - "background-position background font-family " - "font-style font-variant font-weight font-size font " - "word-spacing letter-spacing text-decoration " - "vertical-align text-transform text-align " - "text-indent line-height margin-top margin-right " - "margin-bottom margin-left margin padding-top " - "padding-right padding-bottom padding-left padding " - "border-top-width border-right-width " - "border-bottom-width border-left-width border-width " - "border-top border-right border-bottom border-left " - "border border-color border-style width height float " - "clear display white-space list-style-type " - "list-style-image list-style-position list-style"; - - if (set == 2) - return - "first-letter first-line link active visited " - "first-child focus hover lang before after left " - "right first"; - - if (set == 3) - return - "border-top-color border-right-color " - "border-bottom-color border-left-color border-color " - "border-top-style border-right-style " - "border-bottom-style border-left-style border-style " - "top right bottom left position z-index direction " - "unicode-bidi min-width max-width min-height " - "max-height overflow clip visibility content quotes " - "counter-reset counter-increment marker-offset size " - "marks page-break-before page-break-after " - "page-break-inside page orphans widows font-stretch " - "font-size-adjust unicode-range units-per-em src " - "panose-1 stemv stemh slope cap-height x-height " - "ascent descent widths bbox definition-src baseline " - "centerline mathline topline text-shadow " - "caption-side table-layout border-collapse " - "border-spacing empty-cells speak-header cursor " - "outline outline-width outline-style outline-color " - "volume speak pause-before pause-after pause " - "cue-before cue-after cue play-during azimuth " - "elevation speech-rate voice-family pitch " - "pitch-range stress richness speak-punctuation " - "speak-numeral"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerCSS::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Tag: - return tr("Tag"); - - case ClassSelector: - return tr("Class selector"); - - case PseudoClass: - return tr("Pseudo-class"); - - case UnknownPseudoClass: - return tr("Unknown pseudo-class"); - - case Operator: - return tr("Operator"); - - case CSS1Property: - return tr("CSS1 property"); - - case UnknownProperty: - return tr("Unknown property"); - - case Value: - return tr("Value"); - - case IDSelector: - return tr("ID selector"); - - case Important: - return tr("Important"); - - case AtRule: - return tr("@-rule"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case CSS2Property: - return tr("CSS2 property"); - - case Attribute: - return tr("Attribute"); - } - - return TQString(); -} - - -// Refresh all properties. -void QextScintillaLexerCSS::refreshProperties() -{ - setCommentProp(); - setCompactProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerCSS::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerCSS::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerCSS::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerCSS::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerCSS::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerCSS::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerCSS::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerCSS::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - -#include "qextscintillalexercss.moc" diff --git a/qt/qextscintillalexercss.h b/qt/qextscintillalexercss.h deleted file mode 100644 index e055ea8..0000000 --- a/qt/qextscintillalexercss.h +++ /dev/null @@ -1,194 +0,0 @@ -// This defines the interface to the QextScintillaLexerCSS class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERCSS_H -#define TQEXTSCINTILLALEXERCSS_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerCSS class encapsulates the Scintilla CSS -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerCSS : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! CSS lexer. - enum { - //! The default. - Default = 0, - - //! A tag. - Tag = 1, - - //! A class selector. - ClassSelector = 2, - - //! A pseudo-class. - PseudoClass = 3, - - //! An pseudo-class. - UnknownPseudoClass = 4, - - //! An operator. - Operator = 5, - - //! A CSS1 property. - CSS1Property = 6, - - //! An unknown property. - UnknownProperty = 7, - - //! A value. - Value = 8, - - //! A comment. - Comment = 9, - - //! An ID selector. - IDSelector = 10, - - //! An important value. - Important = 11, - - //! An @-rule. - AtRule = 12, - - //! A double-quoted string. - DoubleQuotedString = 13, - - //! A single-quoted string. - SingleQuotedString = 14, - - //! A CSS2 property. - CSS2Property = 15, - - //! An attribute. - Attribute = 16 - }; - - //! Construct a QextScintillaLexerCSS with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerCSS(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerCSS instance. - virtual ~QextScintillaLexerCSS(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the end of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockEnd(int *style = 0) const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStart(int *style = 0) const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - -public slots: - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setCompactProp(); - - bool fold_comments; - bool fold_compact; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerCSS(const QextScintillaLexerCSS &); - QextScintillaLexerCSS &operator=(const QextScintillaLexerCSS &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp deleted file mode 100644 index d935873..0000000 --- a/qt/qextscintillalexerdiff.cpp +++ /dev/null @@ -1,128 +0,0 @@ -// This module implements the QextScintillaLexerDiff class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerdiff.h" - - -// The ctor. -QextScintillaLexerDiff::QextScintillaLexerDiff(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerDiff::~QextScintillaLexerDiff() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerDiff::language() const -{ - return "Diff"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerDiff::lexer() const -{ - return "diff"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerDiff::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerDiff::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x00,0x00,0x00); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case Command: - return TQColor(0x7f,0x7f,0x00); - - case Header: - return TQColor(0x7f,0x00,0x00); - - case Position: - return TQColor(0x7f,0x00,0x7f); - - case LineRemoved: - return TQColor(0x00,0x7f,0x7f); - - case LineAdded: - return TQColor(0x00,0x00,0x7f); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the user name of a style. -TQString QextScintillaLexerDiff::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case Command: - return tr("Command"); - - case Header: - return tr("Header"); - - case Position: - return tr("Position"); - - case LineRemoved: - return tr("Removed line"); - - case LineAdded: - return tr("Added line"); - } - - return TQString(); -} - -#include "qextscintillalexerdiff.moc" diff --git a/qt/qextscintillalexerdiff.h b/qt/qextscintillalexerdiff.h deleted file mode 100644 index 9587c13..0000000 --- a/qt/qextscintillalexerdiff.h +++ /dev/null @@ -1,101 +0,0 @@ -// This defines the interface to the QextScintillaLexerDiff class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERDIFF_H -#define TQEXTSCINTILLALEXERDIFF_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerDiff class encapsulates the Scintilla Diff -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerDiff : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Diff lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A command. - Command = 2, - - //! A header. - Header = 3, - - //! A position. - Position = 4, - - //! A removed line. - LineRemoved = 5, - - //! An added line. - LineAdded = 6 - }; - - //! Construct a QextScintillaLexerDiff with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerDiff(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerDiff instance. - virtual ~QextScintillaLexerDiff(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerDiff(const QextScintillaLexerDiff &); - QextScintillaLexerDiff &operator=(const QextScintillaLexerDiff &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp deleted file mode 100644 index d634a2b..0000000 --- a/qt/qextscintillalexerhtml.cpp +++ /dev/null @@ -1,1137 +0,0 @@ -// This module implements the QextScintillaLexerHTML class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerhtml.h" -#include "qextscintillalexerjavascript.h" -#include "qextscintillalexerpython.h" - - -// The ctor. -QextScintillaLexerHTML::QextScintillaLexerHTML(TQObject *parent, - const char *name) - : QextScintillaLexer(parent,name), fold_compact(TRUE), - fold_preproc(TRUE), case_sens_tags(FALSE) -{ -} - - -// The dtor. -QextScintillaLexerHTML::~QextScintillaLexerHTML() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerHTML::language() const -{ - return "HTML"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerHTML::lexer() const -{ - return "hypertext"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerHTML::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerHTML::color(int style) const -{ - switch (style) - { - case Default: - case JavaScriptDefault: - case JavaScriptWord: - case JavaScriptSymbol: - case ASPJavaScriptDefault: - case ASPJavaScriptWord: - case ASPJavaScriptSymbol: - case VBScriptDefault: - case ASPVBScriptDefault: - case PHPOperator: - return TQColor(0x00,0x00,0x00); - - case Tag: - case XMLTagEnd: - case Script: - case SGMLDefault: - case SGMLCommand: - case VBScriptKeyword: - case VBScriptIdentifier: - case VBScriptUnclosedString: - case ASPVBScriptKeyword: - case ASPVBScriptIdentifier: - case ASPVBScriptUnclosedString: - return TQColor(0x00,0x00,0x80); - - case UnknownTag: - case UnknownAttribute: - return TQColor(0xff,0x00,0x00); - - case Attribute: - case VBScriptNumber: - case ASPVBScriptNumber: - return TQColor(0x00,0x80,0x80); - - case HTMLNumber: - case JavaScriptNumber: - case ASPJavaScriptNumber: - case PythonNumber: - case PythonFunctionMethodName: - case ASPPythonNumber: - case ASPPythonFunctionMethodName: - return TQColor(0x00,0x7f,0x7f); - - case HTMLDoubleQuotedString: - case HTMLSingleQuotedString: - case JavaScriptDoubleQuotedString: - case JavaScriptSingleQuotedString: - case ASPJavaScriptDoubleQuotedString: - case ASPJavaScriptSingleQuotedString: - case PythonDoubleQuotedString: - case PythonSingleQuotedString: - case ASPPythonDoubleQuotedString: - case ASPPythonSingleQuotedString: - case PHPKeyword: - return TQColor(0x7f,0x00,0x7f); - - case OtherInTag: - case Entity: - case VBScriptString: - case ASPVBScriptString: - return TQColor(0x80,0x00,0x80); - - case HTMLComment: - case SGMLComment: - return TQColor(0x80,0x80,0x00); - - case XMLStart: - case XMLEnd: - case PHPStart: - case PythonClassName: - case ASPPythonClassName: - return TQColor(0x00,0x00,0xff); - - case HTMLValue: - return TQColor(0xff,0x00,0xff); - - case SGMLParameter: - return TQColor(0x00,0x66,0x00); - - case SGMLDoubleQuotedString: - case SGMLError: - return TQColor(0x80,0x00,0x00); - - case SGMLSingleQuotedString: - return TQColor(0x99,0x33,0x00); - - case SGMLSpecial: - return TQColor(0x33,0x66,0xff); - - case SGMLEntity: - return TQColor(0x33,0x33,0x33); - - case SGMLBlockDefault: - return TQColor(0x00,0x00,0x66); - - case JavaScriptStart: - case ASPJavaScriptStart: - return TQColor(0x7f,0x7f,0x00); - - case JavaScriptComment: - case JavaScriptCommentLine: - case ASPJavaScriptComment: - case ASPJavaScriptCommentLine: - case PythonComment: - case ASPPythonComment: - case PHPDoubleQuotedString: - return TQColor(0x00,0x7f,0x00); - - case JavaScriptCommentDoc: - return TQColor(0x3f,0x70,0x3f); - - case JavaScriptKeyword: - case ASPJavaScriptKeyword: - case PythonKeyword: - case ASPPythonKeyword: - case PHPVariable: - case PHPDoubleQuotedVariable: - return TQColor(0x00,0x00,0x7f); - - case ASPJavaScriptCommentDoc: - return TQColor(0x7f,0x7f,0x7f); - - case VBScriptComment: - case ASPVBScriptComment: - return TQColor(0x00,0x80,0x00); - - case PythonStart: - case PythonDefault: - case ASPPythonStart: - case ASPPythonDefault: - return TQColor(0x80,0x80,0x80); - - case PythonTripleSingleQuotedString: - case PythonTripleDoubleQuotedString: - case ASPPythonTripleSingleQuotedString: - case ASPPythonTripleDoubleQuotedString: - return TQColor(0x7f,0x00,0x00); - - case PHPDefault: - return TQColor(0x00,0x00,0x33); - - case PHPSingleQuotedString: - return TQColor(0x00,0x9f,0x00); - - case PHPNumber: - return TQColor(0xcc,0x99,0x00); - - case PHPComment: - return TQColor(0x99,0x99,0x99); - - case PHPCommentLine: - return TQColor(0x66,0x66,0x66); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerHTML::eolFill(int style) const -{ - switch (style) - { - case JavaScriptDefault: - case JavaScriptComment: - case JavaScriptCommentDoc: - case JavaScriptUnclosedString: - case ASPJavaScriptDefault: - case ASPJavaScriptComment: - case ASPJavaScriptCommentDoc: - case ASPJavaScriptUnclosedString: - case VBScriptDefault: - case VBScriptComment: - case VBScriptNumber: - case VBScriptKeyword: - case VBScriptString: - case VBScriptIdentifier: - case VBScriptUnclosedString: - case ASPVBScriptDefault: - case ASPVBScriptComment: - case ASPVBScriptNumber: - case ASPVBScriptKeyword: - case ASPVBScriptString: - case ASPVBScriptIdentifier: - case ASPVBScriptUnclosedString: - case PythonDefault: - case PythonComment: - case PythonNumber: - case PythonDoubleQuotedString: - case PythonSingleQuotedString: - case PythonKeyword: - case PythonTripleSingleQuotedString: - case PythonTripleDoubleQuotedString: - case PythonClassName: - case PythonFunctionMethodName: - case PythonOperator: - case PythonIdentifier: - case ASPPythonDefault: - case ASPPythonComment: - case ASPPythonNumber: - case ASPPythonDoubleQuotedString: - case ASPPythonSingleQuotedString: - case ASPPythonKeyword: - case ASPPythonTripleSingleQuotedString: - case ASPPythonTripleDoubleQuotedString: - case ASPPythonClassName: - case ASPPythonFunctionMethodName: - case ASPPythonOperator: - case ASPPythonIdentifier: - case PHPDefault: - return TRUE; - } - - return QextScintillaLexer::eolFill(style); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerHTML::font(int style) const -{ - TQFont f; - - switch (style) - { - case Default: - case Entity: -#if defined(Q_OS_WIN) - f = TQFont("Times New Roman",11); -#else - f = TQFont("Bitstream Charter",10); -#endif - break; - - case HTMLComment: -#if defined(Q_OS_WIN) - f = TQFont("Verdana",9); -#else - f = TQFont("Bitstream Vera Sans",8); -#endif - break; - - case SGMLCommand: - case PythonKeyword: - case PythonClassName: - case PythonFunctionMethodName: - case PythonOperator: - case ASPPythonKeyword: - case ASPPythonClassName: - case ASPPythonFunctionMethodName: - case ASPPythonOperator: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case JavaScriptDefault: - case JavaScriptCommentDoc: - case JavaScriptKeyword: - case JavaScriptSymbol: - case ASPJavaScriptDefault: - case ASPJavaScriptCommentDoc: - case ASPJavaScriptKeyword: - case ASPJavaScriptSymbol: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - f.setBold(TRUE); - break; - - case JavaScriptComment: - case JavaScriptCommentLine: - case JavaScriptNumber: - case JavaScriptWord: - case JavaScriptDoubleQuotedString: - case JavaScriptSingleQuotedString: - case ASPJavaScriptComment: - case ASPJavaScriptCommentLine: - case ASPJavaScriptNumber: - case ASPJavaScriptWord: - case ASPJavaScriptDoubleQuotedString: - case ASPJavaScriptSingleQuotedString: - case VBScriptComment: - case ASPVBScriptComment: - case PythonComment: - case ASPPythonComment: - case PHPComment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case VBScriptDefault: - case VBScriptNumber: - case VBScriptString: - case VBScriptIdentifier: - case VBScriptUnclosedString: - case ASPVBScriptDefault: - case ASPVBScriptNumber: - case ASPVBScriptString: - case ASPVBScriptIdentifier: - case ASPVBScriptUnclosedString: -#if defined(Q_OS_WIN) - f = TQFont("Lucida Sans Unicode",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case VBScriptKeyword: - case ASPVBScriptKeyword: -#if defined(Q_OS_WIN) - f = TQFont("Lucida Sans Unicode",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - f.setBold(TRUE); - break; - - case PythonDoubleQuotedString: - case PythonSingleQuotedString: - case ASPPythonDoubleQuotedString: - case ASPPythonSingleQuotedString: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - case PHPKeyword: - case PHPVariable: - case PHPDoubleQuotedVariable: - f = QextScintillaLexer::font(style); - f.setItalic(TRUE); - break; - - case PHPCommentLine: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - f.setItalic(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerHTML::keywords(int set) const -{ - if (set == 1) - return - "a abbr acronym address applet area " - "b base basefont bdo big blockquote body br button " - "caption center cite code col colgroup " - "dd del dfn dir div dl dt " - "em " - "fieldset font form frame frameset " - "h1 h2 h3 h4 h5 h6 head hr html " - "i iframe img input ins isindex " - "kbd " - "label legend li link " - "map menu meta " - "noframes noscript " - "object ol optgroup option " - "p param pre " - "q " - "s samp script select small span strike strong style " - "sub sup " - "table tbody td textarea tfoot th thead title tr tt " - "u ul " - "var " - "xml xmlns " - "abbr accept-charset accept accesskey action align " - "alink alt archive axis " - "background bgcolor border " - "cellpadding cellspacing char charoff charset checked " - "cite class classid clear codebase codetype color " - "cols colspan compact content coords " - "data datafld dataformatas datapagesize datasrc " - "datetime declare defer dir disabled " - "enctype event " - "face for frame frameborder " - "headers height href hreflang hspace http-equiv " - "id ismap label lang language leftmargin link " - "longdesc " - "marginwidth marginheight maxlength media method " - "multiple " - "name nohref noresize noshade nowrap " - "object onblur onchange onclick ondblclick onfocus " - "onkeydown onkeypress onkeyup onload onmousedown " - "onmousemove onmouseover onmouseout onmouseup onreset " - "onselect onsubmit onunload " - "profile prompt " - "readonly rel rev rows rowspan rules " - "scheme scope selected shape size span src standby " - "start style summary " - "tabindex target text title topmargin type " - "usemap " - "valign value valuetype version vlink vspace " - "width " - "text password checkbox radio submit reset file " - "hidden image " - "public !doctype"; - - if (set == 2) - return QextScintillaLexerJavaScript::keywordClass; - - if (set == 3) - return - // Move these to QextScintillaLexerVisualBasic when we - // get round to implementing it. - "and begin case call continue do each else elseif end " - "erase error event exit false for function get gosub " - "goto if implement in load loop lset me mid new next " - "not nothing on or property raiseevent rem resume " - "return rset select set stop sub then to true unload " - "until wend while with withevents attribute alias as " - "boolean byref byte byval const compare currency date " - "declare dim double enum explicit friend global " - "integer let lib long module object option optional " - "preserve private property public redim single static " - "string type variant"; - - if (set == 4) - return QextScintillaLexerPython::keywordClass; - - if (set == 5) - return - "and argv as argc break case cfunction class continue " - "declare default do die " - "echo else elseif empty enddeclare endfor endforeach " - "endif endswitch endwhile e_all e_parse e_error " - "e_warning eval exit extends " - "false for foreach function global " - "http_cookie_vars http_get_vars http_post_vars " - "http_post_files http_env_vars http_server_vars " - "if include include_once list new not null " - "old_function or " - "parent php_os php_self php_version print " - "require require_once return " - "static switch stdclass this true var xor virtual " - "while " - "__file__ __line__ __sleep __wakeup"; - - if (set == 6) - return "ELEMENT DOCTYPE ATTLIST ENTITY NOTATION"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerHTML::description(int style) const -{ - switch (style) - { - case Default: - return tr("HTML default"); - - case Tag: - return tr("Tag"); - - case UnknownTag: - return tr("Unknown tag"); - - case Attribute: - return tr("Attribute"); - - case UnknownAttribute: - return tr("Unknown attribute"); - - case HTMLNumber: - return tr("HTML number"); - - case HTMLDoubleQuotedString: - return tr("HTML double-quoted string"); - - case HTMLSingleQuotedString: - return tr("HTML single-quoted string"); - - case OtherInTag: - return tr("Other text in a tag"); - - case HTMLComment: - return tr("HTML comment"); - - case Entity: - return tr("Entity"); - - case XMLTagEnd: - return tr("End of a tag"); - - case XMLStart: - return tr("Start of an XML fragment"); - - case XMLEnd: - return tr("End of an XML fragment"); - - case Script: - return tr("Script tag"); - - case ASPAtStart: - return tr("Start of an ASP fragment with @"); - - case ASPStart: - return tr("Start of an ASP fragment"); - - case CDATA: - return tr("CDATA"); - - case PHPStart: - return tr("Start of a PHP fragment"); - - case HTMLValue: - return tr("Unquoted HTML value"); - - case ASPXCComment: - return tr("ASP X-Code comment"); - - case SGMLDefault: - return tr("SGML default"); - - case SGMLCommand: - return tr("SGML command"); - - case SGMLParameter: - return tr("First parameter of an SGML command"); - - case SGMLDoubleQuotedString: - return tr("SGML double-quoted string"); - - case SGMLSingleQuotedString: - return tr("SGML single-quoted string"); - - case SGMLError: - return tr("SGML error"); - - case SGMLSpecial: - return tr("SGML special entity"); - - case SGMLComment: - return tr("SGML comment"); - - case SGMLParameterComment: - return tr("First parameter comment of an SGML command"); - - case SGMLBlockDefault: - return tr("SGML block default"); - - case JavaScriptStart: - return tr("Start of a JavaScript fragment"); - - case JavaScriptDefault: - return tr("JavaScript default"); - - case JavaScriptComment: - return tr("JavaScript comment"); - - case JavaScriptCommentLine: - return tr("JavaScript line comment"); - - case JavaScriptCommentDoc: - return tr("JavaDoc style JavaScript comment"); - - case JavaScriptNumber: - return tr("JavaScript number"); - - case JavaScriptWord: - return tr("JavaScript word"); - - case JavaScriptKeyword: - return tr("JavaScript keyword"); - - case JavaScriptDoubleQuotedString: - return tr("JavaScript double-quoted string"); - - case JavaScriptSingleQuotedString: - return tr("JavaScript single-quoted string"); - - case JavaScriptSymbol: - return tr("JavaScript symbol"); - - case JavaScriptUnclosedString: - return tr("JavaScript unclosed string"); - - case JavaScriptRegex: - return tr("JavaScript regular expression"); - - case ASPJavaScriptStart: - return tr("Start of an ASP JavaScript fragment"); - - case ASPJavaScriptDefault: - return tr("ASP JavaScript default"); - - case ASPJavaScriptComment: - return tr("ASP JavaScript comment"); - - case ASPJavaScriptCommentLine: - return tr("ASP JavaScript line comment"); - - case ASPJavaScriptCommentDoc: - return tr("JavaDoc style ASP JavaScript comment"); - - case ASPJavaScriptNumber: - return tr("ASP JavaScript number"); - - case ASPJavaScriptWord: - return tr("ASP JavaScript word"); - - case ASPJavaScriptKeyword: - return tr("ASP JavaScript keyword"); - - case ASPJavaScriptDoubleQuotedString: - return tr("ASP JavaScript double-quoted string"); - - case ASPJavaScriptSingleQuotedString: - return tr("ASP JavaScript single-quoted string"); - - case ASPJavaScriptSymbol: - return tr("ASP JavaScript symbol"); - - case ASPJavaScriptUnclosedString: - return tr("ASP JavaScript unclosed string"); - - case ASPJavaScriptRegex: - return tr("ASP JavaScript regular expression"); - - case VBScriptStart: - return tr("Start of a VBScript fragment"); - - case VBScriptDefault: - return tr("VBScript default"); - - case VBScriptComment: - return tr("VBScript comment"); - - case VBScriptNumber: - return tr("VBScript number"); - - case VBScriptKeyword: - return tr("VBScript keyword"); - - case VBScriptString: - return tr("VBScript string"); - - case VBScriptIdentifier: - return tr("VBScript identifier"); - - case VBScriptUnclosedString: - return tr("VBScript unclosed string"); - - case ASPVBScriptStart: - return tr("Start of an ASP VBScript fragment"); - - case ASPVBScriptDefault: - return tr("ASP VBScript default"); - - case ASPVBScriptComment: - return tr("ASP VBScript comment"); - - case ASPVBScriptNumber: - return tr("ASP VBScript number"); - - case ASPVBScriptKeyword: - return tr("ASP VBScript keyword"); - - case ASPVBScriptString: - return tr("ASP VBScript string"); - - case ASPVBScriptIdentifier: - return tr("ASP VBScript identifier"); - - case ASPVBScriptUnclosedString: - return tr("ASP VBScript unclosed string"); - - case PythonStart: - return tr("Start of a Python fragment"); - - case PythonDefault: - return tr("Python default"); - - case PythonComment: - return tr("Python comment"); - - case PythonNumber: - return tr("Python number"); - - case PythonDoubleQuotedString: - return tr("Python double-quoted string"); - - case PythonSingleQuotedString: - return tr("Python single-quoted string"); - - case PythonKeyword: - return tr("Python keyword"); - - case PythonTripleDoubleQuotedString: - return tr("Python triple double-quoted string"); - - case PythonTripleSingleQuotedString: - return tr("Python triple single-quoted string"); - - case PythonClassName: - return tr("Python class name"); - - case PythonFunctionMethodName: - return tr("Python function or method name"); - - case PythonOperator: - return tr("Python operator"); - - case PythonIdentifier: - return tr("Python identifier"); - - case ASPPythonStart: - return tr("Start of an ASP Python fragment"); - - case ASPPythonDefault: - return tr("ASP Python default"); - - case ASPPythonComment: - return tr("ASP Python comment"); - - case ASPPythonNumber: - return tr("ASP Python number"); - - case ASPPythonDoubleQuotedString: - return tr("ASP Python double-quoted string"); - - case ASPPythonSingleQuotedString: - return tr("ASP Python single-quoted string"); - - case ASPPythonKeyword: - return tr("ASP Python keyword"); - - case ASPPythonTripleDoubleQuotedString: - return tr("ASP Python triple double-quoted string"); - - case ASPPythonTripleSingleQuotedString: - return tr("ASP Python triple single-quoted string"); - - case ASPPythonClassName: - return tr("ASP Python class name"); - - case ASPPythonFunctionMethodName: - return tr("ASP Python function or method name"); - - case ASPPythonOperator: - return tr("ASP Python operator"); - - case ASPPythonIdentifier: - return tr("ASP Python identifier"); - - case PHPDefault: - return tr("PHP default"); - - case PHPDoubleQuotedString: - return tr("PHP double-quoted string"); - - case PHPSingleQuotedString: - return tr("PHP single-quoted string"); - - case PHPKeyword: - return tr("PHP keyword"); - - case PHPNumber: - return tr("PHP number"); - - case PHPVariable: - return tr("PHP variable"); - - case PHPComment: - return tr("PHP comment"); - - case PHPCommentLine: - return tr("PHP line comment"); - - case PHPDoubleQuotedVariable: - return tr("PHP double-quoted variable"); - - case PHPOperator: - return tr("PHP operator"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerHTML::paper(int style) const -{ - switch (style) - { - case ASPAtStart: - return TQColor(0xff,0xff,0x00); - - case ASPStart: - case CDATA: - return TQColor(0xff,0xdf,0x00); - - case PHPStart: - return TQColor(0xff,0xef,0xbf); - - case HTMLValue: - return TQColor(0xff,0xef,0xff); - - case SGMLDefault: - case SGMLCommand: - case SGMLParameter: - case SGMLDoubleQuotedString: - case SGMLSingleQuotedString: - case SGMLSpecial: - case SGMLEntity: - case SGMLComment: - return TQColor(0xef,0xef,0xff); - - case SGMLError: - return TQColor(0xff,0x66,0x66); - - case SGMLBlockDefault: - return TQColor(0xcc,0xcc,0xe0); - - case JavaScriptDefault: - case JavaScriptComment: - case JavaScriptCommentLine: - case JavaScriptCommentDoc: - case JavaScriptNumber: - case JavaScriptWord: - case JavaScriptKeyword: - case JavaScriptDoubleQuotedString: - case JavaScriptSingleQuotedString: - case JavaScriptSymbol: - return TQColor(0xf0,0xf0,0xff); - - case JavaScriptUnclosedString: - case ASPJavaScriptUnclosedString: - return TQColor(0xbf,0xbb,0xb0); - - case JavaScriptRegex: - case ASPJavaScriptRegex: - return TQColor(0xff,0xbb,0xb0); - - case ASPJavaScriptDefault: - case ASPJavaScriptComment: - case ASPJavaScriptCommentLine: - case ASPJavaScriptCommentDoc: - case ASPJavaScriptNumber: - case ASPJavaScriptWord: - case ASPJavaScriptKeyword: - case ASPJavaScriptDoubleQuotedString: - case ASPJavaScriptSingleQuotedString: - case ASPJavaScriptSymbol: - return TQColor(0xdf,0xdf,0x7f); - - case VBScriptDefault: - case VBScriptComment: - case VBScriptNumber: - case VBScriptKeyword: - case VBScriptString: - case VBScriptIdentifier: - return TQColor(0xef,0xef,0xff); - - case VBScriptUnclosedString: - case ASPVBScriptUnclosedString: - return TQColor(0x7f,0x7f,0xff); - - case ASPVBScriptDefault: - case ASPVBScriptComment: - case ASPVBScriptNumber: - case ASPVBScriptKeyword: - case ASPVBScriptString: - case ASPVBScriptIdentifier: - return TQColor(0xcf,0xcf,0xef); - - case PythonDefault: - case PythonComment: - case PythonNumber: - case PythonDoubleQuotedString: - case PythonSingleQuotedString: - case PythonKeyword: - case PythonTripleSingleQuotedString: - case PythonTripleDoubleQuotedString: - case PythonClassName: - case PythonFunctionMethodName: - case PythonOperator: - case PythonIdentifier: - return TQColor(0xef,0xff,0xef); - - case ASPPythonDefault: - case ASPPythonComment: - case ASPPythonNumber: - case ASPPythonDoubleQuotedString: - case ASPPythonSingleQuotedString: - case ASPPythonKeyword: - case ASPPythonTripleSingleQuotedString: - case ASPPythonTripleDoubleQuotedString: - case ASPPythonClassName: - case ASPPythonFunctionMethodName: - case ASPPythonOperator: - case ASPPythonIdentifier: - return TQColor(0xcf,0xef,0xcf); - - case PHPDefault: - case PHPDoubleQuotedString: - case PHPSingleQuotedString: - case PHPKeyword: - case PHPNumber: - case PHPVariable: - case PHPComment: - case PHPCommentLine: - case PHPDoubleQuotedVariable: - case PHPOperator: - return TQColor(0xff,0xf8,0xf8); - } - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerHTML::refreshProperties() -{ - setCompactProp(); - setPreprocProp(); - setCaseSensTagsProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerHTML::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - // Read the fold preprocessor flag. - flag = qs.readBoolEntry(prefix + "foldpreprocessor",FALSE,&ok); - - if (ok) - fold_preproc = flag; - else - rc = FALSE; - - // Read the case sensitive tags flag. - flag = qs.readBoolEntry(prefix + "casesensitivetags",FALSE,&ok); - - if (ok) - case_sens_tags = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerHTML::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - // Write the fold preprocessor flag. - if (!qs.writeEntry(prefix + "foldpreprocessor",fold_preproc)) - rc = FALSE; - - // Write the case sensitive tags flag. - if (!qs.writeEntry(prefix + "casesensitivetags",case_sens_tags)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if tags are case sensitive. -bool QextScintillaLexerHTML::caseSensitiveTags() const -{ - return case_sens_tags; -} - - -// Set if tags are case sensitive. -void QextScintillaLexerHTML::setCaseSensitiveTags(bool sens) -{ - case_sens_tags = sens; - - setCaseSensTagsProp(); -} - - -// Set the "html.tags.case.sensitive" property. -void QextScintillaLexerHTML::setCaseSensTagsProp() -{ - emit propertyChanged("html.tags.case.sensitive",(case_sens_tags ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerHTML::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerHTML::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerHTML::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - - -// Return TRUE if preprocessor blocks can be folded. -bool QextScintillaLexerHTML::foldPreprocessor() const -{ - return fold_preproc; -} - - -// Set if preprocessor blocks can be folded. -void QextScintillaLexerHTML::setFoldPreprocessor(bool fold) -{ - fold_preproc = fold; - - setPreprocProp(); -} - - -// Set the "fold.preprocessor" property. -void QextScintillaLexerHTML::setPreprocProp() -{ - emit propertyChanged("fold.html.preprocessor",(fold_preproc ? "1" : "0")); -} - -#include "qextscintillalexerhtml.moc" diff --git a/qt/qextscintillalexerhtml.h b/qt/qextscintillalexerhtml.h deleted file mode 100644 index 71ab42b..0000000 --- a/qt/qextscintillalexerhtml.h +++ /dev/null @@ -1,487 +0,0 @@ -// This defines the interface to the QextScintillaLexerHTML class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERHTML_H -#define TQEXTSCINTILLALEXERHTML_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerHTML class encapsulates the Scintilla HTML -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerHTML : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! HTML lexer. - enum { - //! The default. - Default = 0, - - //! A tag. - Tag = 1, - - //! An unknown tag. - UnknownTag = 2, - - //! An attribute. - Attribute = 3, - - //! An unknown attribute. - UnknownAttribute = 4, - - //! An HTML number. - HTMLNumber = 5, - - //! An HTML double-quoted string. - HTMLDoubleQuotedString = 6, - - //! An HTML single-quoted string. - HTMLSingleQuotedString = 7, - - //! Other text within a tag. - OtherInTag = 8, - - //! An HTML comment. - HTMLComment = 9, - - //! An entity. - Entity = 10, - - //! The end of an XML style tag. - XMLTagEnd = 11, - - //! The start of an XML fragment. - XMLStart = 12, - - //! The end of an XML fragment. - XMLEnd = 13, - - //! A script tag. - Script = 14, - - //! The start of an ASP fragment with @. - ASPAtStart = 15, - - //! The start of an ASP fragment. - ASPStart = 16, - - //! CDATA. - CDATA = 17, - - //! The start of a PHP fragment. - PHPStart = 18, - - //! An unquoted HTML value. - HTMLValue = 19, - - //! An ASP X-Code comment. - ASPXCComment = 20, - - //! The default for SGML. - SGMLDefault = 21, - - //! An SGML command. - SGMLCommand = 22, - - //! The first parameter of an SGML command. - SGMLParameter = 23, - - //! An SGML double-quoted string. - SGMLDoubleQuotedString = 24, - - //! An SGML single-quoted string. - SGMLSingleQuotedString = 25, - - //! An SGML error. - SGMLError = 26, - - //! An SGML special entity. - SGMLSpecial = 27, - - //! An SGML entity. - SGMLEntity = 28, - - //! An SGML comment. - SGMLComment = 29, - - //! A comment with the first parameter of an SGML command. - SGMLParameterComment = 30, - - //! The default for an SGML block. - SGMLBlockDefault = 31, - - //! The start of a JavaScript fragment. - JavaScriptStart = 40, - - //! The default for JavaScript. - JavaScriptDefault = 41, - - //! A JavaScript comment. - JavaScriptComment = 42, - - //! A JavaScript line comment. - JavaScriptCommentLine = 43, - - //! A JavaDoc style JavaScript comment. - JavaScriptCommentDoc = 44, - - //! A JavaScript number. - JavaScriptNumber = 45, - - //! A JavaScript word. - JavaScriptWord = 46, - - //! A JavaScript keyword. - JavaScriptKeyword = 47, - - //! A JavaScript double-quoted string. - JavaScriptDoubleQuotedString = 48, - - //! A JavaScript single-quoted string. - JavaScriptSingleQuotedString = 49, - - //! A JavaScript symbol. - JavaScriptSymbol = 50, - - //! The end of a JavaScript line where a string is not closed. - JavaScriptUnclosedString = 51, - - //! A JavaScript regular expression. - JavaScriptRegex = 52, - - //! The start of an ASP JavaScript fragment. - ASPJavaScriptStart = 55, - - //! The default for ASP JavaScript. - ASPJavaScriptDefault = 56, - - //! An ASP JavaScript comment. - ASPJavaScriptComment = 57, - - //! An ASP JavaScript line comment. - ASPJavaScriptCommentLine = 58, - - //! An ASP JavaDoc style JavaScript comment. - ASPJavaScriptCommentDoc = 59, - - //! An ASP JavaScript number. - ASPJavaScriptNumber = 60, - - //! An ASP JavaScript word. - ASPJavaScriptWord = 61, - - //! An ASP JavaScript keyword. - ASPJavaScriptKeyword = 62, - - //! An ASP JavaScript double-quoted string. - ASPJavaScriptDoubleQuotedString = 63, - - //! An ASP JavaScript single-quoted string. - ASPJavaScriptSingleQuotedString = 64, - - //! An ASP JavaScript symbol. - ASPJavaScriptSymbol = 65, - - //! The end of an ASP JavaScript line where a string is not - //! closed. - ASPJavaScriptUnclosedString = 66, - - //! An ASP JavaScript regular expression. - ASPJavaScriptRegex = 67, - - //! The start of a VBScript fragment. - VBScriptStart = 70, - - //! The default for VBScript. - VBScriptDefault = 71, - - //! A VBScript comment. - VBScriptComment = 72, - - //! A VBScript number. - VBScriptNumber = 73, - - //! A VBScript keyword. - VBScriptKeyword = 74, - - //! A VBScript string. - VBScriptString = 75, - - //! A VBScript identifier. - VBScriptIdentifier = 76, - - //! The end of a VBScript line where a string is not closed. - VBScriptUnclosedString = 77, - - //! The start of an ASP VBScript fragment. - ASPVBScriptStart = 80, - - //! The default for ASP VBScript. - ASPVBScriptDefault = 81, - - //! An ASP VBScript comment. - ASPVBScriptComment = 82, - - //! An ASP VBScript number. - ASPVBScriptNumber = 83, - - //! An ASP VBScript keyword. - ASPVBScriptKeyword = 84, - - //! An ASP VBScript string. - ASPVBScriptString = 85, - - //! An ASP VBScript identifier. - ASPVBScriptIdentifier = 86, - - //! The end of an ASP VBScript line where a string is not - //! closed. - ASPVBScriptUnclosedString = 87, - - //! The start of a Python fragment. - PythonStart = 90, - - //! The default for Python. - PythonDefault = 91, - - //! A Python comment. - PythonComment = 92, - - //! A Python number. - PythonNumber = 93, - - //! A Python double-quoted string. - PythonDoubleQuotedString = 94, - - //! A Python single-quoted string. - PythonSingleQuotedString = 95, - - //! A Python keyword. - PythonKeyword = 96, - - //! A Python triple single-quoted string. - PythonTripleSingleQuotedString = 97, - - //! A Python triple double-quoted string. - PythonTripleDoubleQuotedString = 98, - - //! The name of a Python class. - PythonClassName = 99, - - //! The name of a Python function or method. - PythonFunctionMethodName = 100, - - //! A Python operator. - PythonOperator = 101, - - //! A Python identifier. - PythonIdentifier = 102, - - //! The start of an ASP Python fragment. - ASPPythonStart = 105, - - //! The default for ASP Python. - ASPPythonDefault = 106, - - //! An ASP Python comment. - ASPPythonComment = 107, - - //! An ASP Python number. - ASPPythonNumber = 108, - - //! An ASP Python double-quoted string. - ASPPythonDoubleQuotedString = 109, - - //! An ASP Python single-quoted string. - ASPPythonSingleQuotedString = 110, - - //! An ASP Python keyword. - ASPPythonKeyword = 111, - - //! An ASP Python triple single-quoted string. - ASPPythonTripleSingleQuotedString = 112, - - //! An ASP Python triple double-quoted string. - ASPPythonTripleDoubleQuotedString = 113, - - //! The name of an ASP Python class. - ASPPythonClassName = 114, - - //! The name of an ASP Python function or method. - ASPPythonFunctionMethodName = 115, - - //! An ASP Python operator. - ASPPythonOperator = 116, - - //! An ASP Python identifier - ASPPythonIdentifier = 117, - - //! The default for PHP. - PHPDefault = 118, - - //! A PHP double-quoted string. - PHPDoubleQuotedString = 119, - - //! A PHP single-quoted string. - PHPSingleQuotedString = 120, - - //! A PHP keyword. - PHPKeyword = 121, - - //! A PHP number. - PHPNumber = 122, - - //! A PHP variable. - PHPVariable = 123, - - //! A PHP comment. - PHPComment = 124, - - //! A PHP line comment. - PHPCommentLine = 125, - - //! A PHP double-quoted variable. - PHPDoubleQuotedVariable = 126, - - //! A PHP operator. - PHPOperator = 127 - }; - - //! Construct a QextScintillaLexerHTML with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerHTML(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerHTML instance. - virtual ~QextScintillaLexerHTML(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - - //! Returns TRUE if preprocessor blocks can be folded. - //! - //! \sa setFoldPreprocessor() - bool foldPreprocessor() const; - - //! Returns TRUE if tags are case sensitive. - //! - //! \sa setCaseSensitiveTags() - bool caseSensitiveTags() const; - -public slots: - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - - //! If \a fold is TRUE then preprocessor blocks can be folded. The - //! default is FALSE. - //! - //! \sa foldPreprocessor() - virtual void setFoldPreprocessor(bool fold); - - //! If \a sens is TRUE then tags are case sensitive. The default is - //! FALSE. - //! - //! \sa caseSensitiveTags() - virtual void setCaseSensitiveTags(bool sens); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCompactProp(); - void setPreprocProp(); - void setCaseSensTagsProp(); - - bool fold_compact; - bool fold_preproc; - bool case_sens_tags; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerHTML(const QextScintillaLexerHTML &); - QextScintillaLexerHTML &operator=(const QextScintillaLexerHTML &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexeridl.cpp b/qt/qextscintillalexeridl.cpp deleted file mode 100644 index df68b9f..0000000 --- a/qt/qextscintillalexeridl.cpp +++ /dev/null @@ -1,107 +0,0 @@ -// This module implements the QextScintillaLexerIDL class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "qextscintillalexeridl.h" - - -// The ctor. -QextScintillaLexerIDL::QextScintillaLexerIDL(TQObject *parent,const char *name) - : QextScintillaLexerCPP(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerIDL::~QextScintillaLexerIDL() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerIDL::language() const -{ - return "IDL"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerIDL::color(int style) const -{ - if (style == UUID) - return TQColor(0x80,0x40,0x80); - - return QextScintillaLexerCPP::color(style); -} - - -// Returns the set of keywords. -const char *QextScintillaLexerIDL::keywords(int set) const -{ - if (set != 1) - return 0; - - return "aggregatable allocate appobject arrays async async_uuid " - "auto_handle bindable boolean broadcast byte byte_count " - "call_as callback char coclass code comm_status const " - "context_handle context_handle_noserialize " - "context_handle_serialize control cpp_quote custom decode " - "default defaultbind defaultcollelem defaultvalue " - "defaultvtable dispinterface displaybind dllname double dual " - "enable_allocate encode endpoint entry enum error_status_t " - "explicit_handle fault_status first_is float handle_t heap " - "helpcontext helpfile helpstring helpstringcontext " - "helpstringdll hidden hyper id idempotent ignore iid_as iid_is " - "immediatebind implicit_handle import importlib in include " - "in_line int __int64 __int3264 interface last_is lcid " - "length_is library licensed local long max_is maybe message " - "methods midl_pragma midl_user_allocate midl_user_free min_is " - "module ms_union ncacn_at_dsp ncacn_dnet_nsp ncacn_http " - "ncacn_ip_tcp ncacn_nb_ipx ncacn_nb_nb ncacn_nb_tcp ncacn_np " - "ncacn_spx ncacn_vns_spp ncadg_ip_udp ncadg_ipx ncadg_mq " - "ncalrpc nocode nonbrowsable noncreatable nonextensible notify " - "object odl oleautomation optimize optional out out_of_line " - "pipe pointer_default pragma properties propget propput " - "propputref ptr public range readonly ref represent_as " - "requestedit restricted retval shape short signed size_is " - "small source strict_context_handle string struct switch " - "switch_is switch_type transmit_as typedef uidefault union " - "unique unsigned user_marshal usesgetlasterror uuid v1_enum " - "vararg version void wchar_t wire_marshal"; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerIDL::description(int style) const -{ - if (style == UUID) - return tr("UUID"); - - return QextScintillaLexerCPP::description(style); -} - -#include "qextscintillalexeridl.moc" diff --git a/qt/qextscintillalexeridl.h b/qt/qextscintillalexeridl.h deleted file mode 100644 index efe6bde..0000000 --- a/qt/qextscintillalexeridl.h +++ /dev/null @@ -1,73 +0,0 @@ -// This defines the interface to the QextScintillaLexerIDL class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERIDL_H -#define TQEXTSCINTILLALEXERIDL_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerIDL class encapsulates the Scintilla IDL -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerIDL : public QextScintillaLexerCPP -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaLexerIDL with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerIDL(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerIDL instance. - virtual ~QextScintillaLexerIDL(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerIDL(const QextScintillaLexerIDL &); - QextScintillaLexerIDL &operator=(const QextScintillaLexerIDL &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerjava.cpp b/qt/qextscintillalexerjava.cpp deleted file mode 100644 index ab06467..0000000 --- a/qt/qextscintillalexerjava.cpp +++ /dev/null @@ -1,64 +0,0 @@ -// This module implements the QextScintillaLexerJava class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include "qextscintillalexerjava.h" - - -// The ctor. -QextScintillaLexerJava::QextScintillaLexerJava(TQObject *parent,const char *name) - : QextScintillaLexerCPP(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerJava::~QextScintillaLexerJava() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerJava::language() const -{ - return "Java"; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerJava::keywords(int set) const -{ - if (set != 1) - return 0; - - return "abstract assert boolean break byte case catch char class " - "const continue default do double else extends final finally " - "float for future generic goto if implements import inner " - "instanceof int interface long native new null operator outer " - "package private protected public rest return short static " - "super switch synchronized this throw throws transient try var " - "void volatile while"; -} - -#include "qextscintillalexerjava.moc" diff --git a/qt/qextscintillalexerjava.h b/qt/qextscintillalexerjava.h deleted file mode 100644 index 1fcd459..0000000 --- a/qt/qextscintillalexerjava.h +++ /dev/null @@ -1,62 +0,0 @@ -// This defines the interface to the QextScintillaLexerJava class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERJAVA_H -#define TQEXTSCINTILLALEXERJAVA_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerJava class encapsulates the Scintilla Java -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerJava : public QextScintillaLexerCPP -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaLexerJava with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerJava(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerJava instance. - virtual ~QextScintillaLexerJava(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerJava(const QextScintillaLexerJava &); - QextScintillaLexerJava &operator=(const QextScintillaLexerJava &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp deleted file mode 100644 index 238a570..0000000 --- a/qt/qextscintillalexerjavascript.cpp +++ /dev/null @@ -1,125 +0,0 @@ -// This module implements the QextScintillaLexerJavaScript class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include - -#include "qextscintillalexerjavascript.h" - - -// The list of JavaScript keywords that can be used by other friendly lexers. -const char *QextScintillaLexerJavaScript::keywordClass = - "abstract boolean break byte case catch char class const continue " - "debugger default delete do double else enum export extends final " - "finally float for function goto if implements import in instanceof " - "int interface long native new package private protected public " - "return short static super switch synchronized this throw throws " - "transient try typeof var void volatile while with"; - - -// The ctor. -QextScintillaLexerJavaScript::QextScintillaLexerJavaScript(TQObject *parent,const char *name) - : QextScintillaLexerCPP(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerJavaScript::~QextScintillaLexerJavaScript() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerJavaScript::language() const -{ - return "JavaScript"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerJavaScript::color(int style) const -{ - if (style == Regex) - return TQColor(0x3f,0x7f,0x3f); - - return QextScintillaLexerCPP::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerJavaScript::eolFill(int style) const -{ - if (style == Regex) - return TRUE; - - return QextScintillaLexerCPP::eolFill(style); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerJavaScript::font(int style) const -{ - if (style == Regex) -#if defined(Q_OS_WIN) - return TQFont("Courier New",10); -#else - return TQFont("Bitstream Vera Sans Mono",9); -#endif - - return QextScintillaLexerCPP::font(style); -} - - -// Returns the set of keywords. -const char *QextScintillaLexerJavaScript::keywords(int set) const -{ - if (set != 1) - return 0; - - return keywordClass; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerJavaScript::description(int style) const -{ - if (style == Regex) - return tr("Regular expression"); - - return QextScintillaLexerCPP::description(style); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerJavaScript::paper(int style) const -{ - if (style == Regex) - return TQColor(0xe0,0xf0,0xff); - - return QextScintillaLexer::paper(style); -} - -#include "qextscintillalexerjavascript.moc" diff --git a/qt/qextscintillalexerjavascript.h b/qt/qextscintillalexerjavascript.h deleted file mode 100644 index 26cbf7d..0000000 --- a/qt/qextscintillalexerjavascript.h +++ /dev/null @@ -1,89 +0,0 @@ -// This defines the interface to the QextScintillaLexerJavaScript class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERJSCRIPT_H -#define TQEXTSCINTILLALEXERJSCRIPT_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerJavaScript class encapsulates the Scintilla -//! JavaScript lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerJavaScript : public QextScintillaLexerCPP -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaLexerJavaScript with parent \a parent and - //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerJavaScript(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerJavaScript instance. - virtual ~QextScintillaLexerJavaScript(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - -private: - friend class QextScintillaLexerHTML; - - static const char *keywordClass; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerJavaScript(const QextScintillaLexerJavaScript &); - QextScintillaLexerJavaScript &operator=(const QextScintillaLexerJavaScript &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerlua.cpp b/qt/qextscintillalexerlua.cpp deleted file mode 100644 index 57945a5..0000000 --- a/qt/qextscintillalexerlua.cpp +++ /dev/null @@ -1,351 +0,0 @@ -// This module implements the QextScintillaLexerLua class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerlua.h" - - -// The ctor. -QextScintillaLexerLua::QextScintillaLexerLua(TQObject *parent, const char *name) - : QextScintillaLexer(parent,name), fold_compact(TRUE) -{ -} - - -// The dtor. -QextScintillaLexerLua::~QextScintillaLexerLua() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerLua::language() const -{ - return "Lua"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerLua::lexer() const -{ - return "lua"; -} - - -// Return the list of characters that can start a block. -const char *QextScintillaLexerLua::blockStart(int *style) const -{ - if (style) - *style = Operator; - - return ""; -} - - -// Return the style used for braces. -int QextScintillaLexerLua::braceStyle() const -{ - return Operator; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerLua::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x00,0x00,0x00); - - case Comment: - case LineComment: - return TQColor(0x00,0x7f,0x00); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - case BasicFunctions: - case StringTableMathsFunctions: - case CoroutinesIOSystemFacilities: - return TQColor(0x00,0x00,0x7f); - - case String: - case Character: - case LiteralString: - return TQColor(0x7f,0x00,0x7f); - - case Preprocessor: - return TQColor(0x7f,0x7f,0x00); - - case Operator: - case Identifier: - break; - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerLua::eolFill(int style) const -{ - return (style == Comment || style == UnclosedString); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerLua::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: - case LineComment: - case LiteralString: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerLua::keywords(int set) const -{ - if (set == 1) - // Keywords. - return - "and break do else elseif end false for function if " - "in local nil not or repeat return then true until " - "while"; - - if (set == 2) - // Basic functions. - return - "_ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT _STDERR " - "_STDIN _STDOUT call dostring foreach foreachi getn " - "globals newtype rawget rawset require sort tinsert " - "tremove " - - "G getfenv getmetatable ipairs loadlib next pairs " - "pcall rawegal rawget rawset require setfenv " - "setmetatable xpcall string table math coroutine io " - "os debug"; - - if (set == 3) - // String, table and maths functions. - return - "abs acos asin atan atan2 ceil cos deg exp floor " - "format frexp gsub ldexp log log10 max min mod rad " - "random randomseed sin sqrt strbyte strchar strfind " - "strlen strlower strrep strsub strupper tan " - - "string.byte string.char string.dump string.find " - "string.len string.lower string.rep string.sub " - "string.upper string.format string.gfind string.gsub " - "table.concat table.foreach table.foreachi table.getn " - "table.sort table.insert table.remove table.setn " - "math.abs math.acos math.asin math.atan math.atan2 " - "math.ceil math.cos math.deg math.exp math.floor " - "math.frexp math.ldexp math.log math.log10 math.max " - "math.min math.mod math.pi math.rad math.random " - "math.randomseed math.sin math.sqrt math.tan"; - - if (set == 4) - // Coroutine, I/O and system facilities. - return - "openfile closefile readfrom writeto appendto remove " - "rename flush seek tmpfile tmpname read write clock " - "date difftime execute exit getenv setlocale time " - - "coroutine.create coroutine.resume coroutine.status " - "coroutine.wrap coroutine.yield io.close io.flush " - "io.input io.lines io.open io.output io.read " - "io.tmpfile io.type io.write io.stdin io.stdout " - "io.stderr os.clock os.date os.difftime os.execute " - "os.exit os.getenv os.remove os.rename os.setlocale " - "os.time os.tmpname"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerLua::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case LineComment: - return tr("Line comment"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case String: - return tr("String"); - - case Character: - return tr("Character"); - - case LiteralString: - return tr("Literal string"); - - case Preprocessor: - return tr("Preprocessor"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case UnclosedString: - return tr("Unclosed string"); - - case BasicFunctions: - return tr("Basic functions"); - - case StringTableMathsFunctions: - return tr("String, table and maths functions"); - - case CoroutinesIOSystemFacilities: - return tr("Coroutines, i/o and system facilities"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerLua::paper(int style) const -{ - switch (style) - { - case Comment: - return TQColor(0xd0,0xf0,0xf0); - - case LiteralString: - return TQColor(0xe0,0xff,0xff); - - case UnclosedString: - return TQColor(0xe0,0xc0,0xe0); - - case BasicFunctions: - return TQColor(0xd0,0xff,0xd0); - - case StringTableMathsFunctions: - return TQColor(0xd0,0xd0,0xff); - - case CoroutinesIOSystemFacilities: - return TQColor(0xff,0xd0,0xd0); - } - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerLua::refreshProperties() -{ - setCompactProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerLua::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerLua::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerLua::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact. -void QextScintillaLexerLua::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerLua::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - -#include "qextscintillalexerlua.moc" diff --git a/qt/qextscintillalexerlua.h b/qt/qextscintillalexerlua.h deleted file mode 100644 index cce9a8e..0000000 --- a/qt/qextscintillalexerlua.h +++ /dev/null @@ -1,179 +0,0 @@ -// This defines the interface to the QextScintillaLexerLua class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERLUA_H -#define TQEXTSCINTILLALEXERLUA_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerLua class encapsulates the Scintilla Lua -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerLua : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Lua lexer. - enum { - //! The default. - Default = 0, - - //! A block comment. - Comment = 1, - - //! A line comment. - LineComment = 2, - - //! A number. - Number = 4, - - //! A keyword. - Keyword = 5, - - //! A string. - String = 6, - - //! A character. - Character = 7, - - //! A literal string. - LiteralString = 8, - - //! Preprocessor - Preprocessor = 9, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! The end of a line where a string is not closed. - UnclosedString = 12, - - //! Basic functions. - BasicFunctions = 13, - - //! String, table and maths functions. - StringTableMathsFunctions = 14, - - //! Coroutines, I/O and system facilities. - CoroutinesIOSystemFacilities = 15 - }; - - //! Construct a QextScintillaLexerLua with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerLua(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerLua instance. - virtual ~QextScintillaLexerLua(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStart(int *style = 0) const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - -public slots: - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCompactProp(); - - bool fold_compact; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerLua(const QextScintillaLexerLua &); - QextScintillaLexerLua &operator=(const QextScintillaLexerLua &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp deleted file mode 100644 index 13b7fb2..0000000 --- a/qt/qextscintillalexermakefile.cpp +++ /dev/null @@ -1,161 +0,0 @@ -// This module implements the QextScintillaLexerMakefile class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexermakefile.h" - - -// The ctor. -QextScintillaLexerMakefile::QextScintillaLexerMakefile(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerMakefile::~QextScintillaLexerMakefile() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerMakefile::language() const -{ - return "Makefile"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerMakefile::lexer() const -{ - return "makefile"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerMakefile::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerMakefile::color(int style) const -{ - switch (style) - { - case Default: - case Operator: - return TQColor(0x00,0x00,0x00); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case Preprocessor: - return TQColor(0x7f,0x7f,0x00); - - case Variable: - return TQColor(0x00,0x00,0x80); - - case Target: - return TQColor(0xa0,0x00,0x00); - - case Error: - return TQColor(0xff,0xff,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerMakefile::eolFill(int style) const -{ - return (style == Error); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerMakefile::font(int style) const -{ - TQFont f; - - if (style == Comment) -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - else - f = QextScintillaLexer::font(style); - - return f; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerMakefile::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case Preprocessor: - return tr("Preprocessor"); - - case Variable: - return tr("Variable"); - - case Operator: - return tr("Operator"); - - case Target: - return tr("Target"); - - case Error: - return tr("Error"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerMakefile::paper(int style) const -{ - if (style == Error) - return TQColor(0xff,0x00,0x00); - - return QextScintillaLexer::paper(style); -} - -#include "qextscintillalexermakefile.moc" diff --git a/qt/qextscintillalexermakefile.h b/qt/qextscintillalexermakefile.h deleted file mode 100644 index e673bd6..0000000 --- a/qt/qextscintillalexermakefile.h +++ /dev/null @@ -1,113 +0,0 @@ -// This defines the interface to the QextScintillaLexerMakefile class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERMAKEFILE_H -#define TQEXTSCINTILLALEXERMAKEFILE_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerMakefile class encapsulates the Scintilla -//! Makefile lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerMakefile : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Makefile lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A pre-processor directive. - Preprocessor = 2, - - //! A variable. - Variable = 3, - - //! An operator. - Operator = 4, - - //! A target. - Target = 5, - - //! An error. - Error = 9 - }; - - //! Construct a QextScintillaLexerMakefile with parent \a parent and - //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerMakefile(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerMakefile instance. - virtual ~QextScintillaLexerMakefile(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerMakefile(const QextScintillaLexerMakefile &); - QextScintillaLexerMakefile &operator=(const QextScintillaLexerMakefile &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp deleted file mode 100644 index 8a9a0c8..0000000 --- a/qt/qextscintillalexerperl.cpp +++ /dev/null @@ -1,487 +0,0 @@ -// This module implements the QextScintillaLexerPerl class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerperl.h" - - -// The ctor. -QextScintillaLexerPerl::QextScintillaLexerPerl(TQObject *parent, - const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_compact(TRUE) -{ -} - - -// The dtor. -QextScintillaLexerPerl::~QextScintillaLexerPerl() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerPerl::language() const -{ - return "Perl"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerPerl::lexer() const -{ - return "perl"; -} - - -// Return the style used for braces. -int QextScintillaLexerPerl::braceStyle() const -{ - return Operator; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerPerl::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerPerl::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Error: - case Backticks: - case QuotedStringQX: - return TQColor(0xff,0xff,0x00); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case POD: - case PODVerbatim: - return TQColor(0x00,0x40,0x00); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - return TQColor(0x00,0x00,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - case SingleQuotedHereDocument: - case DoubleQuotedHereDocument: - case BacktickHereDocument: - case QuotedStringQ: - case QuotedStringQQ: - return TQColor(0x7f,0x00,0x7f); - - case Operator: - case Identifier: - case Scalar: - case Array: - case Hash: - case SymbolTable: - case Regex: - case Substitution: - case HereDocumentDelimiter: - case QuotedStringQR: - case QuotedStringQW: - return TQColor(0x00,0x00,0x00); - - case DataSection: - return TQColor(0x60,0x00,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerPerl::eolFill(int style) const -{ - switch (style) - { - case POD: - case DataSection: - case SingleQuotedHereDocument: - case DoubleQuotedHereDocument: - case BacktickHereDocument: - case PODVerbatim: - return TRUE; - } - - return FALSE; -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerPerl::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case POD: -#if defined(Q_OS_WIN) - f = TQFont("Times New Roman",11); -#else - f = TQFont("Bitstream Charter",10); -#endif - break; - - case Keyword: - case Operator: - case DoubleQuotedHereDocument: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case DoubleQuotedString: - case SingleQuotedString: - case QuotedStringQQ: - case PODVerbatim: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - case BacktickHereDocument: - f = QextScintillaLexer::font(style); - f.setItalic(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerPerl::keywords(int set) const -{ - if (set == 1) - return - "NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ " - "AUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT " - "NE CHECK abs accept alarm and atan2 bind binmode " - "bless caller chdir chmod chomp chop chown chr chroot " - "close closedir cmp connect continue cos crypt " - "dbmclose dbmopen defined delete die do dump each " - "else elsif endgrent endhostent endnetent endprotoent " - "endpwent endservent eof eq eval exec exists exit exp " - "fcntl fileno flock for foreach fork format formline " - "ge getc getgrent getgrgid getgrnam gethostbyaddr " - "gethostbyname gethostent getlogin getnetbyaddr " - "getnetbyname getnetent getpeername getpgrp getppid " - "getpriority getprotobyname getprotobynumber " - "getprotoent getpwent getpwnam getpwuid getservbyname " - "getservbyport getservent getsockname getsockopt glob " - "gmtime goto grep gt hex if index int ioctl join keys " - "kill last lc lcfirst le length link listen local " - "localtime lock log lstat lt m map mkdir msgctl " - "msgget msgrcv msgsnd my ne next no not oct open " - "opendir or ord our pack package pipe pop pos print " - "printf prototype push q qq qr quotemeta qu qw qx " - "rand read readdir readline readlink readpipe recv " - "redo ref rename require reset return reverse " - "rewinddir rindex rmdir s scalar seek seekdir select " - "semctl semget semop send setgrent sethostent " - "setnetent setpgrp setpriority setprotoent setpwent " - "setservent setsockopt shift shmctl shmget shmread " - "shmwrite shutdown sin sleep socket socketpair sort " - "splice split sprintf sqrt srand stat study sub " - "substr symlink syscall sysopen sysread sysseek " - "system syswrite tell telldir tie tied time times tr " - "truncate uc ucfirst umask undef unless unlink unpack " - "unshift untie until use utime values vec wait " - "waitpid wantarray warn while write x xor y"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerPerl::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Error: - return tr("Error"); - - case Comment: - return tr("Comment"); - - case POD: - return tr("POD"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case Scalar: - return tr("Scalar"); - - case Array: - return tr("Array"); - - case Hash: - return tr("Hash"); - - case SymbolTable: - return tr("Symbol table"); - - case Regex: - return tr("Regular expression"); - - case Substitution: - return tr("Substitution"); - - case Backticks: - return tr("Backticks"); - - case DataSection: - return tr("Data section"); - - case HereDocumentDelimiter: - return tr("Here document delimiter"); - - case SingleQuotedHereDocument: - return tr("Single-quoted here document"); - - case DoubleQuotedHereDocument: - return tr("Double-quoted here document"); - - case BacktickHereDocument: - return tr("Backtick here document"); - - case QuotedStringQ: - return tr("Quoted string (q)"); - - case QuotedStringQQ: - return tr("Quoted string (qq)"); - - case QuotedStringQX: - return tr("Quoted string (qx)"); - - case QuotedStringQR: - return tr("Quoted string (qr)"); - - case QuotedStringQW: - return tr("Quoted string (qw)"); - - case PODVerbatim: - return tr("POD verbatim"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerPerl::paper(int style) const -{ - switch (style) - { - case Error: - return TQColor(0xff,0x00,0x00); - - case POD: - return TQColor(0xe0,0xff,0xe0); - - case Scalar: - return TQColor(0xff,0xe0,0xe0); - - case Array: - return TQColor(0xff,0xff,0xe0); - - case Hash: - return TQColor(0xff,0xe0,0xff); - - case SymbolTable: - return TQColor(0xe0,0xe0,0xe0); - - case Regex: - return TQColor(0xa0,0xff,0xa0); - - case Substitution: - return TQColor(0xf0,0xe0,0x80); - - case Backticks: - return TQColor(0xa0,0x80,0x80); - - case DataSection: - return TQColor(0xff,0xf0,0xd8); - - case HereDocumentDelimiter: - case SingleQuotedHereDocument: - case DoubleQuotedHereDocument: - case BacktickHereDocument: - return TQColor(0xdd,0xd0,0xdd); - - case PODVerbatim: - return TQColor(0xc0,0xff,0xc0); - } - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerPerl::refreshProperties() -{ - setCommentProp(); - setCompactProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerPerl::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerPerl::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerPerl::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerPerl::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerPerl::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerPerl::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerPerl::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerPerl::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - -#include "qextscintillalexerperl.moc" diff --git a/qt/qextscintillalexerperl.h b/qt/qextscintillalexerperl.h deleted file mode 100644 index a0abe15..0000000 --- a/qt/qextscintillalexerperl.h +++ /dev/null @@ -1,232 +0,0 @@ -// This defines the interface to the QextScintillaLexerPerl class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERPERL_H -#define TQEXTSCINTILLALEXERPERL_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerPerl class encapsulates the Scintilla Perl -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerPerl : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Perl lexer. - enum { - //! The default. - Default = 0, - - //! \deprecated White space. - WhiteSpace = Default, - - //! An error. - Error = 1, - - //! A comment. - Comment = 2, - - //! A POD. - POD = 3, - - //! A number. - Number = 4, - - //! A keyword. - Keyword = 5, - - //! A double-quoted string. - DoubleQuotedString = 6, - - //! A single-quoted string. - SingleQuotedString = 7, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! A scalar. - Scalar = 12, - - //! An array. - Array = 13, - - //! A hash. - Hash = 14, - - //! A symbol table. - SymbolTable = 15, - - //! A regular expression. - Regex = 17, - - //! A substitution. - Substitution = 18, - - //! Backticks. - Backticks = 20, - - //! A data section. - DataSection = 21, - - //! A here document delimiter. - HereDocumentDelimiter = 22, - - //! A single quoted here document. - SingleQuotedHereDocument = 23, - - //! A double quoted here document. - DoubleQuotedHereDocument = 24, - - //! A backtick here document. - BacktickHereDocument = 25, - - //! A quoted string (q). - QuotedStringQ = 26, - - //! A quoted string (qq). - QuotedStringQQ = 27, - - //! A quoted string (qx). - QuotedStringQX = 28, - - //! A quoted string (qr). - QuotedStringQR = 29, - - //! A quoted string (qw). - QuotedStringQW = 30, - - //! A verbatim POD. - PODVerbatim = 31 - }; - - //! Construct a QextScintillaLexerPerl with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPerl(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerPerl instance. - virtual ~QextScintillaLexerPerl(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - -public slots: - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setCompactProp(); - - bool fold_comments; - bool fold_compact; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerPerl(const QextScintillaLexerPerl &); - QextScintillaLexerPerl &operator=(const QextScintillaLexerPerl &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp deleted file mode 100644 index e212709..0000000 --- a/qt/qextscintillalexerpov.cpp +++ /dev/null @@ -1,493 +0,0 @@ -// This module implements the QextScintillaLexerPOV class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerpov.h" - - -// The ctor. -QextScintillaLexerPOV::QextScintillaLexerPOV(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_compact(TRUE), fold_directives(FALSE) -{ -} - - -// The dtor. -QextScintillaLexerPOV::~QextScintillaLexerPOV() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerPOV::language() const -{ - return "POV"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerPOV::lexer() const -{ - return "pov"; -} - - -// Return the style used for braces. -int QextScintillaLexerPOV::braceStyle() const -{ - return Operator; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerPOV::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerPOV::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0xff,0x00,0x80); - - case Comment: - case CommentLine: - return TQColor(0x00,0x7f,0x00); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Operator: - return TQColor(0x00,0x00,0x00); - - case String: - return TQColor(0x7f,0x00,0x7f); - - case Directive: - return TQColor(0x7f,0x7f,0x00); - - case BadDirective: - return TQColor(0x80,0x40,0x20); - - case ObjectsCSGAppearance: - case TypesModifiersItems: - case PredefinedIdentifiers: - case PredefinedFunctions: - case KeywordSet6: - case KeywordSet7: - case KeywordSet8: - return TQColor(0x00,0x00,0x7f); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerPOV::eolFill(int style) const -{ - return (style == UnclosedString); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerPOV::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: - case CommentLine: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case UnclosedString: - case PredefinedIdentifiers: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case BadDirective: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - f.setItalic(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerPOV::keywords(int set) const -{ - if (set == 1) - return - "declare local include undef fopen fclose read write " - "default version case range break debug error " - "warning if ifdef ifndef switch while macro else end"; - - if (set == 2) - return - "camera light_source light_group object blob sphere " - "cylinder box cone height_field julia_fractal lathe " - "prism sphere_sweep superellipsoid sor text torus " - "bicubic_patch disc mesh mesh2 polygon triangle " - "smooth_triangle plane poly cubic quartic quadric " - "isosurface parametric union intersection difference " - "merge function array spline vertex_vectors " - "normal_vectors uv_vectors face_indices " - "normal_indices uv_indices texture texture_list " - "interior_texture texture_map material_map image_map " - "color_map colour_map pigment_map normal_map " - "slope_map bump_map density_map pigment normal " - "material interior finish reflection irid slope " - "pigment_pattern image_pattern warp media scattering " - "density background fog sky_sphere rainbow " - "global_settings radiosity photons pattern transform " - "looks_like projected_through contained_by " - "clipped_by bounded_by"; - - if (set == 3) - return - "linear_spline quadratic_spline cubic_spline " - "natural_spline bezier_spline b_spline read write " - "append inverse open perspective orthographic " - "fisheye ultra_wide_angle omnimax panoramic " - "spherical spotlight jitter circular orient " - "media_attenuation media_interaction shadowless " - "parallel refraction collect pass_through " - "global_lights hierarchy sturm smooth gif tga iff " - "pot png pgm ppm jpeg tiff sys ttf quaternion " - "hypercomplex linear_sweep conic_sweep type " - "all_intersections split_union cutaway_textures " - "no_shadow no_image no_reflection double_illuminate " - "hollow uv_mapping all use_index use_color " - "use_colour no_bump_scale conserve_energy fresnel " - "average agate boxed bozo bumps cells crackle " - "cylindrical density_file dents facets granite " - "leopard marble onion planar quilted radial ripples " - "spotted waves wood wrinkles solid use_alpha " - "interpolate magnet noise_generator toroidal " - "ramp_wave triangle_wave sine_wave scallop_wave " - "cubic_wave poly_wave once map_type method fog_type " - "hf_gray_16 charset ascii utf8 rotate scale " - "translate matrix location right up direction sky " - "angle look_at aperture blur_samples focal_point " - "confidence variance radius falloff tightness " - "point_at area_light adaptive fade_distance " - "fade_power threshold strength water_level tolerance " - "max_iteration precision slice u_steps v_steps " - "flatness inside_vector accuracy max_gradient " - "evaluate max_trace precompute target ior dispersion " - "dispersion_samples caustics color colour rgb rgbf " - "rgbt rgbft red green blue filter transmit gray hf " - "fade_color fade_colour quick_color quick_colour " - "brick checker hexagon brick_size mortar bump_size " - "ambient diffuse brilliance crand phong phong_size " - "metallic specular roughness reflection_exponent " - "exponent thickness gradient spiral1 spiral2 " - "agate_turb form metric offset df3 coords size " - "mandel exterior julia control0 control1 altitude " - "turbulence octaves omega lambda repeat flip " - "black-hole orientation dist_exp major_radius " - "frequency phase intervals samples ratio absorption " - "emission aa_threshold aa_level eccentricity " - "extinction distance turb_depth fog_offset fog_alt " - "width arc_angle falloff_angle adc_bailout " - "ambient_light assumed_gamma irid_wavelength " - "number_of_waves always_sample brigthness count " - "error_bound gray_threshold load_file " - "low_error_factor max_sample minimum_reuse " - "nearest_count pretrace_end pretrace_start " - "recursion_limit save_file spacing gather " - "max_trace_level autostop expand_thresholds"; - - if (set == 4) - return - "x y z t u v yes no true false on off clock " - "clock_delta clock_on final_clock final_frame " - "frame_number image_height image_width initial_clock " - "initial_frame pi version"; - - if (set == 5) - return - "abs acos acosh asc asin asinh atan atanh atan2 ceil " - "cos cosh defined degrees dimensions dimension_size " - "div exp file_exists floor inside int ln log max min " - "mod pow prod radians rand seed select sin sinh sqrt " - "strcmp strlen sum tan tanh val vdot vlength " - "min_extent max_extent trace vaxis_rotate vcross " - "vrotate vnormalize vturbulence chr concat str " - "strlwr strupr substr vstr sqr cube reciprocal pwr"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerPOV::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case CommentLine: - return tr("Comment line"); - - case Number: - return tr("Number"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case String: - return tr("String"); - - case UnclosedString: - return tr("Unclosed string"); - - case Directive: - return tr("Directive"); - - case BadDirective: - return tr("Bad directive"); - - case ObjectsCSGAppearance: - return tr("Objects, CSG and appearance"); - - case TypesModifiersItems: - return tr("Types, modifiers and items"); - - case PredefinedIdentifiers: - return tr("Predefined identifiers"); - - case PredefinedFunctions: - return tr("Predefined functions"); - - case KeywordSet6: - return tr("User defined 1"); - - case KeywordSet7: - return tr("User defined 2"); - - case KeywordSet8: - return tr("User defined 3"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerPOV::paper(int style) const -{ - switch (style) - { - case UnclosedString: - return TQColor(0xe0,0xc0,0xe0); - - case ObjectsCSGAppearance: - return TQColor(0xff,0xd0,0xd0); - - case TypesModifiersItems: - return TQColor(0xff,0xff,0xd0); - - case PredefinedFunctions: - return TQColor(0xd0,0xd0,0xff); - - case KeywordSet6: - return TQColor(0xd0,0xff,0xd0); - - case KeywordSet7: - return TQColor(0xd0,0xd0,0xd0); - - case KeywordSet8: - return TQColor(0xe0,0xe0,0xe0); - } - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerPOV::refreshProperties() -{ - setCommentProp(); - setCompactProp(); - setDirectiveProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerPOV::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - // Read the fold directives flag. - flag = qs.readBoolEntry(prefix + "folddirectives",FALSE,&ok); - - if (ok) - fold_directives = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerPOV::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - // Write the fold directives flag. - if (!qs.writeEntry(prefix + "folddirectives",fold_directives)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerPOV::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerPOV::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerPOV::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerPOV::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerPOV::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerPOV::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - - -// Return TRUE if directives can be folded. -bool QextScintillaLexerPOV::foldDirectives() const -{ - return fold_directives; -} - - -// Set if directives can be folded. -void QextScintillaLexerPOV::setFoldDirectives(bool fold) -{ - fold_directives = fold; - - setDirectiveProp(); -} - - -// Set the "fold.directive" property. -void QextScintillaLexerPOV::setDirectiveProp() -{ - emit propertyChanged("fold.directive",(fold_directives ? "1" : "0")); -} - -#include "qextscintillalexerpov.moc" diff --git a/qt/qextscintillalexerpov.h b/qt/qextscintillalexerpov.h deleted file mode 100644 index c98ec49..0000000 --- a/qt/qextscintillalexerpov.h +++ /dev/null @@ -1,215 +0,0 @@ -// This defines the interface to the QextScintillaLexerPOV class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERPOV_H -#define TQEXTSCINTILLALEXERPOV_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerPOV class encapsulates the Scintilla POV -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerPOV : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! POV lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A comment line. - CommentLine = 2, - - //! A number. - Number = 3, - - //! An operator. - Operator = 4, - - //! An identifier - Identifier = 5, - - //! A string. - String = 6, - - //! The end of a line where a string is not closed. - UnclosedString = 7, - - //! A directive. - Directive = 8, - - //! A bad directive. - BadDirective = 9, - - //! Objects, CSG and appearance. - ObjectsCSGAppearance = 10, - - //! Types, modifiers and items. - TypesModifiersItems = 11, - - //! Predefined identifiers. - PredefinedIdentifiers = 12, - - //! Predefined identifiers. - PredefinedFunctions = 13, - - //! A keyword defined in keyword set number 6. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet6 = 14, - - //! A keyword defined in keyword set number 7. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet7 = 15, - - //! A keyword defined in keyword set number 8. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet8 = 16 - }; - - //! Construct a QextScintillaLexerPOV with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPOV(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerPOV instance. - virtual ~QextScintillaLexerPOV(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - - //! Returns TRUE if directives can be folded. - //! - //! \sa setFoldDirectives() - bool foldDirectives() const; - -public slots: - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - - //! If \a fold is TRUE then directives can be folded. The default is - //! FALSE. - //! - //! \sa foldDirectives() - virtual void setFoldDirectives(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setCompactProp(); - void setDirectiveProp(); - - bool fold_comments; - bool fold_compact; - bool fold_directives; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerPOV(const QextScintillaLexerPOV &); - QextScintillaLexerPOV &operator=(const QextScintillaLexerPOV &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp deleted file mode 100644 index 54fdb71..0000000 --- a/qt/qextscintillalexerproperties.cpp +++ /dev/null @@ -1,209 +0,0 @@ -// This module implements the QextScintillaLexerProperties class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerproperties.h" - - -// The ctor. -QextScintillaLexerProperties::QextScintillaLexerProperties(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name), fold_compact(TRUE) -{ -} - - -// The dtor. -QextScintillaLexerProperties::~QextScintillaLexerProperties() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerProperties::language() const -{ - return "Properties"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerProperties::lexer() const -{ - return "props"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerProperties::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerProperties::color(int style) const -{ - switch (style) - { - case Comment: - return TQColor(0x00,0x7f,0x7f); - - case Section: - return TQColor(0x7f,0x00,0x7f); - - case Assignment: - return TQColor(0xb0,0x60,0x00); - - case DefaultValue: - return TQColor(0x7f,0x7f,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerProperties::eolFill(int style) const -{ - return (style == Section); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerProperties::font(int style) const -{ - TQFont f; - - if (style == Comment) -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - else - f = QextScintillaLexer::font(style); - - return f; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerProperties::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case Section: - return tr("Section"); - - case Assignment: - return tr("Assignment"); - - case DefaultValue: - return tr("Default value"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerProperties::paper(int style) const -{ - if (style == Section) - return TQColor(0xe0,0xf0,0xf0); - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerProperties::refreshProperties() -{ - setCompactProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerProperties::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerProperties::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerProperties::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerProperties::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerProperties::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - -#include "qextscintillalexerproperties.moc" diff --git a/qt/qextscintillalexerproperties.h b/qt/qextscintillalexerproperties.h deleted file mode 100644 index 23a70f0..0000000 --- a/qt/qextscintillalexerproperties.h +++ /dev/null @@ -1,142 +0,0 @@ -// This defines the interface to the QextScintillaLexerProperties class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERPROPERTIES_H -#define TQEXTSCINTILLALEXERPROPERTIES_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerProperties class encapsulates the Scintilla -//! Properties lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerProperties : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Properties lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A section. - Section = 2, - - //! An assignment operator. - Assignment = 3, - - //! A default value. - DefaultValue = 4 - }; - - //! Construct a QextScintillaLexerProperties with parent \a parent and - //! name \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerProperties(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerProperties instance. - virtual ~QextScintillaLexerProperties(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - -public slots: - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - //! \sa writeProperties() - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - //! \sa readProperties() - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCompactProp(); - - bool fold_compact; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerProperties(const QextScintillaLexerProperties &); - QextScintillaLexerProperties &operator=(const QextScintillaLexerProperties &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerpython.cpp b/qt/qextscintillalexerpython.cpp deleted file mode 100644 index c9688e3..0000000 --- a/qt/qextscintillalexerpython.cpp +++ /dev/null @@ -1,412 +0,0 @@ -// This module implements the QextScintillaLexerPython class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerpython.h" - - -// The list of Python keywords that can be used by other friendly lexers. -const char *QextScintillaLexerPython::keywordClass = - "and assert break class continue def del elif else except exec " - "finally for from global if import in is lambda None not or pass " - "print raise return try while yield"; - - -// The ctor. -QextScintillaLexerPython::QextScintillaLexerPython(TQObject *parent, - const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_quotes(FALSE), indent_warn(NoWarning) -{ -} - - -// The dtor. -QextScintillaLexerPython::~QextScintillaLexerPython() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerPython::language() const -{ - return "Python"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerPython::lexer() const -{ - return "python"; -} - - -// Return the set of characters that can start autocompletion. -const char *QextScintillaLexerPython::autoCompletionStartCharacters() const -{ - return "."; -} - - -// Return the list of characters that can start a block. -const char *QextScintillaLexerPython::blockStart(int *style) const -{ - if (style) - *style = Operator; - - return ":"; -} - - -// Return the number of lines to look back when auto-indenting. -int QextScintillaLexerPython::blockLookback() const -{ - // This must be 0 otherwise de-indenting a Python block gets very - // difficult. - return 0; -} - - -// Return the style used for braces. -int QextScintillaLexerPython::braceStyle() const -{ - return Operator; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerPython::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - return TQColor(0x7f,0x00,0x7f); - - case Keyword: - return TQColor(0x00,0x00,0x7f); - - case TripleSingleQuotedString: - case TripleDoubleQuotedString: - return TQColor(0x7f,0x00,0x00); - - case ClassName: - return TQColor(0x00,0x00,0xff); - - case FunctionMethodName: - return TQColor(0x00,0x7f,0x7f); - - case Operator: - case Identifier: - break; - - case CommentBlock: - return TQColor(0x7f,0x7f,0x7f); - - case UnclosedString: - return TQColor(0x00,0x00,0x00); - - case HighlightedIdentifier: - return TQColor(0x40,0x70,0x90); - - case Decorator: - return TQColor(0x80,0x50,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerPython::eolFill(int style) const -{ - return (style == UnclosedString); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerPython::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case DoubleQuotedString: - case SingleQuotedString: - case UnclosedString: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - case Keyword: - case ClassName: - case FunctionMethodName: - case Operator: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerPython::keywords(int set) const -{ - if (set != 1) - return 0; - - return keywordClass; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerPython::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case Number: - return tr("Number"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case Keyword: - return tr("Keyword"); - - case TripleSingleQuotedString: - return tr("Triple single-quoted string"); - - case TripleDoubleQuotedString: - return tr("Triple double-quoted string"); - - case ClassName: - return tr("Class name"); - - case FunctionMethodName: - return tr("Function or method name"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case CommentBlock: - return tr("Comment block"); - - case UnclosedString: - return tr("Unclosed string"); - - case HighlightedIdentifier: - return tr("Highlighted identifier"); - - case Decorator: - return tr("Decorator"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerPython::paper(int style) const -{ - if (style == UnclosedString) - return TQColor(0xe0,0xc0,0xe0); - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerPython::refreshProperties() -{ - setCommentProp(); - setQuotesProp(); - setTabWhingeProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerPython::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE, num; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold quotes flag. - flag = qs.readBoolEntry(prefix + "foldquotes",FALSE,&ok); - - if (ok) - fold_quotes = flag; - else - rc = FALSE; - - // Read the indentation warning. - num = qs.readNumEntry(prefix + "indentwarning",(int)NoWarning,&ok); - - if (ok) - indent_warn = (IndentationWarning)num; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerPython::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold quotes flag. - if (!qs.writeEntry(prefix + "foldquotes",fold_quotes)) - rc = FALSE; - - // Write the indentation warning. - if (!qs.writeEntry(prefix + "indentwarning",(int)indent_warn)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerPython::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerPython::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment.python" property. -void QextScintillaLexerPython::setCommentProp() -{ - emit propertyChanged("fold.comment.python",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if quotes can be folded. -bool QextScintillaLexerPython::foldQuotes() const -{ - return fold_quotes; -} - - -// Set if quotes can be folded. -void QextScintillaLexerPython::setFoldQuotes(bool fold) -{ - fold_quotes = fold; - - setQuotesProp(); -} - - -// Set the "fold.quotes.python" property. -void QextScintillaLexerPython::setQuotesProp() -{ - emit propertyChanged("fold.quotes.python",(fold_quotes ? "1" : "0")); -} - - -// Return the indentation warning. -QextScintillaLexerPython::IndentationWarning QextScintillaLexerPython::indentationWarning() const -{ - return indent_warn; -} - - -// Set the indentation warning. -void QextScintillaLexerPython::setIndentationWarning(IndentationWarning warn) -{ - indent_warn = warn; - - setTabWhingeProp(); -} - - -// Set the "tab.timmy.whinge.level" property. -void QextScintillaLexerPython::setTabWhingeProp() -{ - emit propertyChanged("tab.timmy.whinge.level",TQString::number(indent_warn).latin1()); -} - -#include "qextscintillalexerpython.moc" diff --git a/qt/qextscintillalexerpython.h b/qt/qextscintillalexerpython.h deleted file mode 100644 index f4f8e70..0000000 --- a/qt/qextscintillalexerpython.h +++ /dev/null @@ -1,245 +0,0 @@ -// This defines the interface to the QextScintillaLexerPython class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERPYTHON_H -#define TQEXTSCINTILLALEXERPYTHON_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerPython class encapsulates the Scintilla Python -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerPython : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Python lexer. - enum { - //! The default. - Default = 0, - - //! \deprecated White space. - WhiteSpace = Default, - - //! A comment. - Comment = 1, - - //! A number. - Number = 2, - - //! A double-quoted string. - DoubleQuotedString = 3, - - //! A single-quoted string. - SingleQuotedString = 4, - - //! A keyword. - Keyword = 5, - - //! A triple single-quoted string. - TripleSingleQuotedString = 6, - - //! A triple double-quoted string. - TripleDoubleQuotedString = 7, - - //! The name of a class. - ClassName = 8, - - //! The name of a function or method. - FunctionMethodName = 9, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! A comment block. - CommentBlock = 12, - - //! The end of a line where a string is not closed. - UnclosedString = 13, - - //! A highlighted identifier. These are defined by keyword set - //! 2. Reimplement keywords() to define keyword set 2. - HighlightedIdentifier = 14, - - //! A decorator. - Decorator = 15 - }; - - //! This enum defines the different conditions that can cause - //! indentations to be displayed as being bad. - enum IndentationWarning { - //! Bad indentation is not displayed differently. - NoWarning = 0, - - //! The indentation is inconsistent when compared to the - //! previous line, ie. it is made up of a different combination - //! of tabs and/or spaces. - Inconsistent = 1, - - //! The indentation is made up of spaces followed by tabs. - TabsAfterSpaces = 2, - - //! The indentation contains spaces. - Spaces = 3, - - //! The indentation contains tabs. - Tabs = 4 - }; - - //! Construct a QextScintillaLexerPython with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerPython(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerPython instance. - virtual ~QextScintillaLexerPython(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the characters that can start auto-completion. - const char *autoCompletionStartCharacters() const; - - //! \internal Returns the number of lines prior to the current one when - //! determining the scope of a block when auto-indenting. - int blockLookback() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStart(int *style = 0) const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if indented comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if triple quoted strings can be folded. - //! - //! \sa setFoldQuotes() - bool foldQuotes() const; - - //! Returns the condition that will cause bad indentations to be - //! displayed. - //! - //! \sa setIndentationWarning() - IndentationWarning indentationWarning() const; - -public slots: - //! If \a fold is TRUE then indented comment blocks can be folded. The - //! default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then triple quoted strings can be folded. The - //! default is FALSE. - //! - //! \sa foldQuotes() - virtual void setFoldQuotes(bool fold); - - //! Sets the condition that will cause bad indentations to be - //! displayed. - //! - //! \sa indentationWarning() - virtual void setIndentationWarning(IndentationWarning warn); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setQuotesProp(); - void setTabWhingeProp(); - - bool fold_comments; - bool fold_quotes; - IndentationWarning indent_warn; - - friend class QextScintillaLexerHTML; - - static const char *keywordClass; - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerPython(const QextScintillaLexerPython &); - QextScintillaLexerPython &operator=(const QextScintillaLexerPython &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexerruby.cpp b/qt/qextscintillalexerruby.cpp deleted file mode 100644 index 031d724..0000000 --- a/qt/qextscintillalexerruby.cpp +++ /dev/null @@ -1,385 +0,0 @@ -// This module implements the QextScintillaLexerRuby class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexerruby.h" - - -// The ctor. -QextScintillaLexerRuby::QextScintillaLexerRuby(TQObject *parent, - const char *name) - : QextScintillaLexer(parent, name) -{ -} - - -// The dtor. -QextScintillaLexerRuby::~QextScintillaLexerRuby() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerRuby::language() const -{ - return "Ruby"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerRuby::lexer() const -{ - return "ruby"; -} - - -// Return the list of words that can start a block. -const char *QextScintillaLexerRuby::blockStart(int *style) const -{ - if (style) - *style = Keyword; - - return "do"; -} - - -// Return the list of words that can start end a block. -const char *QextScintillaLexerRuby::blockEnd(int *style) const -{ - if (style) - *style = Keyword; - - return "end"; -} - - -// Return the list of words that can start end a block. -const char *QextScintillaLexerRuby::blockStartKeyword(int *style) const -{ - if (style) - *style = Keyword; - - return "def class if do elsif else case while for"; -} - - -// Return the style used for braces. -int QextScintillaLexerRuby::braceStyle() const -{ - return Operator; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerRuby::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Comment: - return TQColor(0x00,0x7f,0x00); - - case POD: - return TQColor(0x00,0x40,0x00); - - case Number: - case FunctionMethodName: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - case DemotedKeyword: - return TQColor(0x00,0x00,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - case HereDocument: - case PercentStringq: - case PercentStringQ: - return TQColor(0x7f,0x00,0x7f); - - case ClassName: - return TQColor(0x00,0x00,0xff); - - case Regex: - case HereDocumentDelimiter: - case PercentStringr: - case PercentStringw: - return TQColor(0x00,0x00,0x00); - - case Global: - return TQColor(0x80,0x00,0x80); - - case Symbol: - return TQColor(0xc0,0xa0,0x30); - - case ModuleName: - return TQColor(0xa0,0x00,0xa0); - - case InstanceVariable: - return TQColor(0xb0,0x00,0x80); - - case ClassVariable: - return TQColor(0x80,0x00,0xb0); - - case Backticks: - case PercentStringx: - return TQColor(0xff,0xff,0x00); - - case DataSection: - return TQColor(0x60,0x00,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerRuby::eolFill(int style) const -{ - bool fill; - - switch (style) - { - case POD: - case DataSection: - case HereDocument: - fill = true; - break; - - default: - fill = false; - } - - return fill; -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerRuby::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case POD: - case DoubleQuotedString: - case SingleQuotedString: - case PercentStringq: - case PercentStringQ: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - case Keyword: - case ClassName: - case FunctionMethodName: - case Operator: - case ModuleName: - case DemotedKeyword: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerRuby::keywords(int set) const -{ - if (set == 1) - return - "__FILE__ and def end in or self unless __LINE__ " - "begin defined? ensure module redo super until BEGIN " - "break do false next rescue then when END case else " - "for nil require retry true while alias class elsif " - "if not return undef yield"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerRuby::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Error: - return tr("Error"); - - case Comment: - return tr("Comment"); - - case POD: - return tr("POD"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case ClassName: - return tr("Class name"); - - case FunctionMethodName: - return tr("Function or method name"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case Regex: - return tr("Regular expression"); - - case Global: - return tr("Global"); - - case Symbol: - return tr("Symbol"); - - case ModuleName: - return tr("Module name"); - - case InstanceVariable: - return tr("Instance variable"); - - case ClassVariable: - return tr("Class variable"); - - case Backticks: - return tr("Backticks"); - - case DataSection: - return tr("Data section"); - - case HereDocumentDelimiter: - return tr("Here document delimiter"); - - case HereDocument: - return tr("Here document"); - - case PercentStringq: - return tr("%q string"); - - case PercentStringQ: - return tr("%Q string"); - - case PercentStringx: - return tr("%x string"); - - case PercentStringr: - return tr("%r string"); - - case PercentStringw: - return tr("%w string"); - - case DemotedKeyword: - return tr("Demoted keyword"); - - case Stdin: - return tr("stdin"); - - case Stdout: - return tr("stdout"); - - case Stderr: - return tr("stderr"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerRuby::paper(int style) const -{ - switch (style) - { - case Error: - return TQColor(0xff,0x00,0x00); - - case POD: - return TQColor(0xc0,0xff,0xc0); - - case Regex: - case PercentStringr: - return TQColor(0xa0,0xff,0xa0); - - case Backticks: - case PercentStringx: - return TQColor(0xa0,0x80,0x80); - - case DataSection: - return TQColor(0xff,0xf0,0xd8); - - case HereDocumentDelimiter: - case HereDocument: - return TQColor(0xdd,0xd0,0xdd); - - case PercentStringw: - return TQColor(0xff,0xff,0xe0); - - case Stdin: - case Stdout: - case Stderr: - return TQColor(0xff,0x80,0x80); - } - - return QextScintillaLexer::paper(style); -} - -#include "qextscintillalexerruby.moc" diff --git a/qt/qextscintillalexerruby.h b/qt/qextscintillalexerruby.h deleted file mode 100644 index ffffaf4..0000000 --- a/qt/qextscintillalexerruby.h +++ /dev/null @@ -1,204 +0,0 @@ -// This defines the interface to the QextScintillaLexerRuby class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERRUBY_H -#define TQEXTSCINTILLALEXERRUBY_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerRuby class encapsulates the Scintilla Ruby -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerRuby : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! Ruby lexer. - enum { - //! The default. - Default = 0, - - //! An error. - Error = 1, - - //! A comment. - Comment = 2, - - //! A POD. - POD = 3, - - //! A number. - Number = 4, - - //! A keyword. - Keyword = 5, - - //! A double-quoted string. - DoubleQuotedString = 6, - - //! A single-quoted string. - SingleQuotedString = 7, - - //! The name of a class. - ClassName = 8, - - //! The name of a function or method. - FunctionMethodName = 9, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! A regular expression. - Regex = 12, - - //! A global. - Global = 13, - - //! A symbol. - Symbol = 14, - - //! The name of a module. - ModuleName = 15, - - //! An instance variable. - InstanceVariable = 16, - - //! A class variable. - ClassVariable = 17, - - //! Backticks. - Backticks = 18, - - //! A data section. - DataSection = 19, - - //! A here document delimiter. - HereDocumentDelimiter = 20, - - //! A here document. - HereDocument = 21, - - //! A %q string. - PercentStringq = 24, - - //! A %Q string. - PercentStringQ = 25, - - //! A %x string. - PercentStringx = 26, - - //! A %r string. - PercentStringr = 27, - - //! A %w string. - PercentStringw = 28, - - //! A demoted keyword. - DemotedKeyword = 29, - - //! stdin. - Stdin = 30, - - //! stdout. - Stdout = 31, - - //! stderr. - Stderr = 40 - }; - - //! Construct a QextScintillaLexerRuby with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerRuby(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerRuby instance. - virtual ~QextScintillaLexerRuby(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the end of a block for - //! auto-indentation. The style is returned via \a style. - const char *blockEnd(int *style = 0) const; - - //! \internal Returns a space separated list of words or characters in - //! a particular style that define the start of a block for - //! auto-indentation. The styles is returned via \a style. - const char *blockStart(int *style = 0) const; - - //! \internal Returns a space separated list of keywords in a - //! particular style that define the start of a block for - //! auto-indentation. The style is returned via \a style. - const char *blockStartKeyword(int *style = 0) const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerRuby(const QextScintillaLexerRuby &); - QextScintillaLexerRuby &operator=(const QextScintillaLexerRuby &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexersql.cpp b/qt/qextscintillalexersql.cpp deleted file mode 100644 index bd836dd..0000000 --- a/qt/qextscintillalexersql.cpp +++ /dev/null @@ -1,457 +0,0 @@ -// This module implements the QextScintillaLexerSQL class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexersql.h" - - -// The ctor. -QextScintillaLexerSQL::QextScintillaLexerSQL(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name), fold_comments(FALSE), - fold_compact(TRUE), backslash_escapes(FALSE) -{ -} - - -// The dtor. -QextScintillaLexerSQL::~QextScintillaLexerSQL() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerSQL::language() const -{ - return "SQL"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerSQL::lexer() const -{ - return "sql"; -} - - -// Return the style used for braces. -int QextScintillaLexerSQL::braceStyle() const -{ - return Operator; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerSQL::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x80,0x80,0x80); - - case Comment: - case CommentLine: - case PlusPrompt: - case PlusComment: - case CommentLineHash: - return TQColor(0x00,0x7f,0x00); - - case CommentDoc: - return TQColor(0x7f,0x7f,0x7f); - - case Number: - return TQColor(0x00,0x7f,0x7f); - - case Keyword: - return TQColor(0x00,0x00,0x7f); - - case DoubleQuotedString: - case SingleQuotedString: - return TQColor(0x7f,0x00,0x7f); - - case PlusKeyword: - return TQColor(0x7f,0x7f,0x00); - - case Operator: - case Identifier: - break; - - case CommentDocKeyword: - return TQColor(0x30,0x60,0xa0); - - case CommentDocKeywordError: - return TQColor(0x80,0x40,0x20); - - case KeywordSet5: - return TQColor(0x4b,0x00,0x82); - - case KeywordSet6: - return TQColor(0xb0,0x00,0x40); - - case KeywordSet7: - return TQColor(0x8b,0x00,0x00); - - case KeywordSet8: - return TQColor(0x80,0x00,0x80); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the end-of-line fill for a style. -bool QextScintillaLexerSQL::eolFill(int style) const -{ - return (style == PlusPrompt); -} - - -// Returns the font of the text for a style. -TQFont QextScintillaLexerSQL::font(int style) const -{ - TQFont f; - - switch (style) - { - case Comment: - case CommentLine: - case PlusComment: - case CommentLineHash: - case CommentDocKeyword: - case CommentDocKeywordError: -#if defined(Q_OS_WIN) - f = TQFont("Comic Sans MS",9); -#else - f = TQFont("Bitstream Vera Serif",9); -#endif - break; - - case Keyword: - case Operator: - f = QextScintillaLexer::font(style); - f.setBold(TRUE); - break; - - case DoubleQuotedString: - case SingleQuotedString: - case PlusPrompt: -#if defined(Q_OS_WIN) - f = TQFont("Courier New",10); -#else - f = TQFont("Bitstream Vera Sans Mono",9); -#endif - break; - - default: - f = QextScintillaLexer::font(style); - } - - return f; -} - - -// Returns the set of keywords. -const char *QextScintillaLexerSQL::keywords(int set) const -{ - if (set == 1) - return - "absolute action add admin after aggregate alias all " - "allocate alter and any are array as asc assertion " - "at authorization before begin binary bit blob " - "boolean both breadth by call cascade cascaded case " - "cast catalog char character check class clob close " - "collate collation column commit completion connect " - "connection constraint constraints constructor " - "continue corresponding create cross cube current " - "current_date current_path current_role current_time " - "current_timestamp current_user cursor cycle data " - "date day deallocate dec decimal declare default " - "deferrable deferred delete depth deref desc " - "describe descriptor destroy destructor " - "deterministic dictionary diagnostics disconnect " - "distinct domain double drop dynamic each else end " - "end-exec equals escape every except exception exec " - "execute external false fetch first float for " - "foreign found from free full function general get " - "global go goto grant group grouping having host " - "hour identity if ignore immediate in indicator " - "initialize initially inner inout input insert int " - "integer intersect interval into is isolation " - "iterate join key language large last lateral " - "leading left less level like limit local localtime " - "localtimestamp locator map match minute modifies " - "modify module month names national natural nchar " - "nclob new next no none not null numeric object of " - "off old on only open operation option or order " - "ordinality out outer output pad parameter " - "parameters partial path postfix precision prefix " - "preorder prepare preserve primary prior privileges " - "procedure public read reads real recursive ref " - "references referencing relative restrict result " - "return returns revoke right role rollback rollup " - "routine row rows savepoint schema scroll scope " - "search second section select sequence session " - "session_user set sets size smallint some| space " - "specific specifictype sql sqlexception sqlstate " - "sqlwarning start state statement static structure " - "system_user table temporary terminate than then " - "time timestamp timezone_hour timezone_minute to " - "trailing transaction translation treat trigger " - "true under union unique unknown unnest update usage " - "user using value values varchar variable varying " - "view when whenever where with without work write " - "year zone"; - - if (set == 4) - return - "acc~ept a~ppend archive log attribute bre~ak " - "bti~tle c~hange cl~ear col~umn comp~ute conn~ect " - "copy def~ine del desc~ribe disc~onnect e~dit " - "exec~ute exit get help ho~st i~nput l~ist passw~ord " - "pau~se pri~nt pro~mpt quit recover rem~ark " - "repf~ooter reph~eader r~un sav~e set sho~w shutdown " - "spo~ol sta~rt startup store timi~ng tti~tle " - "undef~ine var~iable whenever oserror whenever " - "sqlerror"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerSQL::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Comment: - return tr("Comment"); - - case CommentLine: - return tr("Comment line"); - - case CommentDoc: - return tr("JavaDoc style comment"); - - case Number: - return tr("Number"); - - case Keyword: - return tr("Keyword"); - - case DoubleQuotedString: - return tr("Double-quoted string"); - - case SingleQuotedString: - return tr("Single-quoted string"); - - case PlusKeyword: - return tr("SQL*Plus keyword"); - - case PlusPrompt: - return tr("SQL*Plus prompt"); - - case Operator: - return tr("Operator"); - - case Identifier: - return tr("Identifier"); - - case PlusComment: - return tr("SQL*Plus comment"); - - case CommentLineHash: - return tr("# comment line"); - - case CommentDocKeyword: - return tr("JavaDoc keyword"); - - case CommentDocKeywordError: - return tr("JavaDoc keyword error"); - - case KeywordSet5: - return tr("User defined 1"); - - case KeywordSet6: - return tr("User defined 2"); - - case KeywordSet7: - return tr("User defined 3"); - - case KeywordSet8: - return tr("User defined 4"); - } - - return TQString(); -} - - -// Returns the background colour of the text for a style. -TQColor QextScintillaLexerSQL::paper(int style) const -{ - if (style == PlusPrompt) - return TQColor(0xe0,0xff,0xe0); - - return QextScintillaLexer::paper(style); -} - - -// Refresh all properties. -void QextScintillaLexerSQL::refreshProperties() -{ - setCommentProp(); - setCompactProp(); - setBackslashEscapesProp(); -} - - -// Read properties from the settings. -bool QextScintillaLexerSQL::readProperties(TQSettings &qs,const TQString &prefix) -{ - int rc = TRUE; - bool ok, flag; - - // Read the fold comments flag. - flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); - - if (ok) - fold_comments = flag; - else - rc = FALSE; - - // Read the fold compact flag. - flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); - - if (ok) - fold_compact = flag; - else - rc = FALSE; - - // Read the backslash escapes flag. - flag = qs.readBoolEntry(prefix + "backslashescapes",FALSE,&ok); - - if (ok) - backslash_escapes = flag; - else - rc = FALSE; - - return rc; -} - - -// Write properties to the settings. -bool QextScintillaLexerSQL::writeProperties(TQSettings &qs,const TQString &prefix) const -{ - int rc = TRUE; - - // Write the fold comments flag. - if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) - rc = FALSE; - - // Write the fold compact flag. - if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) - rc = FALSE; - - // Write the backslash escapes flag. - if (!qs.writeEntry(prefix + "backslashescapes",backslash_escapes)) - rc = FALSE; - - return rc; -} - - -// Return TRUE if comments can be folded. -bool QextScintillaLexerSQL::foldComments() const -{ - return fold_comments; -} - - -// Set if comments can be folded. -void QextScintillaLexerSQL::setFoldComments(bool fold) -{ - fold_comments = fold; - - setCommentProp(); -} - - -// Set the "fold.comment" property. -void QextScintillaLexerSQL::setCommentProp() -{ - emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); -} - - -// Return TRUE if folds are compact. -bool QextScintillaLexerSQL::foldCompact() const -{ - return fold_compact; -} - - -// Set if folds are compact -void QextScintillaLexerSQL::setFoldCompact(bool fold) -{ - fold_compact = fold; - - setCompactProp(); -} - - -// Set the "fold.compact" property. -void QextScintillaLexerSQL::setCompactProp() -{ - emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); -} - - -// Return TRUE if backslash escapes are enabled. -bool QextScintillaLexerSQL::backslashEscapes() const -{ - return backslash_escapes; -} - - -// Enable/disable backslash escapes. -void QextScintillaLexerSQL::setBackslashEscapes(bool enable) -{ - backslash_escapes = enable; - - setBackslashEscapesProp(); -} - - -// Set the "sql.backslash.escapes" property. -void QextScintillaLexerSQL::setBackslashEscapesProp() -{ - emit propertyChanged("sql.backslash.escapes",(backslash_escapes ? "1" : "0")); -} - -#include "qextscintillalexersql.moc" diff --git a/qt/qextscintillalexersql.h b/qt/qextscintillalexersql.h deleted file mode 100644 index 01c8e7f..0000000 --- a/qt/qextscintillalexersql.h +++ /dev/null @@ -1,227 +0,0 @@ -// This defines the interface to the QextScintillaLexerSQL class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERSQL_H -#define TQEXTSCINTILLALEXERSQL_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerSQL class encapsulates the Scintilla SQL -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerSQL : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! SQL lexer. - enum { - //! The default. - Default = 0, - - //! A comment. - Comment = 1, - - //! A line comment. - CommentLine = 2, - - //! \deprecated A line comment. - LineComment = CommentLine, - - //! A JavaDoc/Doxygen style comment. - CommentDoc = 3, - - //! A number. - Number = 4, - - //! A keyword. - Keyword = 5, - - //! A double-quoted string. - DoubleQuotedString = 6, - - //! A single-quoted string. - SingleQuotedString = 7, - - //! An SQL*Plus keyword. - PlusKeyword = 8, - - //! An SQL*Plus prompt. - PlusPrompt = 9, - - //! An operator. - Operator = 10, - - //! An identifier - Identifier = 11, - - //! An SQL*Plus comment. - PlusComment = 13, - - //! A '#' line comment. - CommentLineHash = 15, - - //! A JavaDoc/Doxygen keyword. - CommentDocKeyword = 17, - - //! A JavaDoc/Doxygen keyword error. - CommentDocKeywordError = 18, - - //! A keyword defined in keyword set number 5. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet5 = 19, - - //! A keyword defined in keyword set number 6. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet6 = 20, - - //! A keyword defined in keyword set number 7. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet7 = 21, - - //! A keyword defined in keyword set number 8. The class must - //! be sub-classed and re-implement keywords() to make use of - //! this style. - KeywordSet8 = 22 - }; - - //! Construct a QextScintillaLexerSQL with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerSQL(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerSQL instance. - virtual ~QextScintillaLexerSQL(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the style used for braces for brace matching. - int braceStyle() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the end-of-line fill for style number \a style. - bool eolFill(int style) const; - - //! Returns the font for style number \a style. - TQFont font(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - - //! Returns the background colour of the text for style number - //! \a style. - //! - //! \sa color() - TQColor paper(int style) const; - - //! Causes all properties to be refreshed by emitting the - //! propertyChanged() signal as required. - void refreshProperties(); - - //! Returns TRUE if multi-line comment blocks can be folded. - //! - //! \sa setFoldComments() - bool foldComments() const; - - //! Returns TRUE if trailing blank lines are included in a fold block. - //! - //! \sa setFoldCompact() - bool foldCompact() const; - - //! Returns TRUE if backslash escapes are enabled. - //! - //! \sa setBackslashEscapes() - bool backslashEscapes() const; - -public slots: - //! If \a fold is TRUE then multi-line comment blocks can be folded. - //! The default is FALSE. - //! - //! \sa foldComments() - virtual void setFoldComments(bool fold); - - //! If \a fold is TRUE then trailing blank lines are included in a fold - //! block. The default is TRUE. - //! - //! \sa foldCompact() - virtual void setFoldCompact(bool fold); - - //! If \a enable is TRUE then backslash escapes are enabled. The - //! default is FALSE. - //! - //! \sa backslashEscapes() - virtual void setBackslashEscapes(bool enable); - -protected: - //! The lexer's properties are read from the settings \a qs. \a prefix - //! (which has a trailing '/') should be used as a prefix to the key of - //! each setting. TRUE is returned if there is no error. - //! - bool readProperties(TQSettings &qs,const TQString &prefix); - - //! The lexer's properties are written to the settings \a qs. - //! \a prefix (which has a trailing '/') should be used as a prefix to - //! the key of each setting. TRUE is returned if there is no error. - //! - bool writeProperties(TQSettings &qs,const TQString &prefix) const; - -private: - void setCommentProp(); - void setCompactProp(); - void setBackslashEscapesProp(); - - bool fold_comments; - bool fold_compact; - bool backslash_escapes; - - -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerSQL(const QextScintillaLexerSQL &); - QextScintillaLexerSQL &operator=(const QextScintillaLexerSQL &); -#endif -}; - -#endif diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp deleted file mode 100644 index 66cf140..0000000 --- a/qt/qextscintillalexertex.cpp +++ /dev/null @@ -1,211 +0,0 @@ -// This module implements the QextScintillaLexerTeX class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include "qextscintillalexertex.h" - - -// The ctor. -QextScintillaLexerTeX::QextScintillaLexerTeX(TQObject *parent,const char *name) - : QextScintillaLexer(parent,name) -{ -} - - -// The dtor. -QextScintillaLexerTeX::~QextScintillaLexerTeX() -{ -} - - -// Returns the language name. -const char *QextScintillaLexerTeX::language() const -{ - return "TeX"; -} - - -// Returns the lexer name. -const char *QextScintillaLexerTeX::lexer() const -{ - return "tex"; -} - - -// Return the string of characters that comprise a word. -const char *QextScintillaLexerTeX::wordCharacters() const -{ - return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\@"; -} - - -// Returns the foreground colour of the text for a style. -TQColor QextScintillaLexerTeX::color(int style) const -{ - switch (style) - { - case Default: - return TQColor(0x3f,0x3f,0x3f); - - case Special: - return TQColor(0x00,0x7f,0x7f); - - case Group: - return TQColor(0x7f,0x00,0x00); - - case Symbol: - return TQColor(0x7f,0x7f,0x00); - - case Command: - return TQColor(0x00,0x7f,0x00); - } - - return QextScintillaLexer::color(style); -} - - -// Returns the set of keywords. -const char *QextScintillaLexerTeX::keywords(int set) const -{ - if (set == 1) - return - "above abovedisplayshortskip abovedisplayskip " - "abovewithdelims accent adjdemerits advance " - "afterassignment aftergroup atop atopwithdelims " - "badness baselineskip batchmode begingroup " - "belowdisplayshortskip belowdisplayskip binoppenalty " - "botmark box boxmaxdepth brokenpenalty catcode char " - "chardef cleaders closein closeout clubpenalty copy " - "count countdef cr crcr csname day deadcycles def " - "defaulthyphenchar defaultskewchar delcode delimiter " - "delimiterfactor delimeters delimitershortfall " - "delimeters dimen dimendef discretionary " - "displayindent displaylimits displaystyle " - "displaywidowpenalty displaywidth divide " - "doublehyphendemerits dp dump edef else " - "emergencystretch end endcsname endgroup endinput " - "endlinechar eqno errhelp errmessage " - "errorcontextlines errorstopmode escapechar everycr " - "everydisplay everyhbox everyjob everymath everypar " - "everyvbox exhyphenpenalty expandafter fam fi " - "finalhyphendemerits firstmark floatingpenalty font " - "fontdimen fontname futurelet gdef global group " - "globaldefs halign hangafter hangindent hbadness " - "hbox hfil horizontal hfill horizontal hfilneg hfuzz " - "hoffset holdinginserts hrule hsize hskip hss " - "horizontal ht hyphenation hyphenchar hyphenpenalty " - "hyphen if ifcase ifcat ifdim ifeof iffalse ifhbox " - "ifhmode ifinner ifmmode ifnum ifodd iftrue ifvbox " - "ifvmode ifvoid ifx ignorespaces immediate indent " - "input inputlineno input insert insertpenalties " - "interlinepenalty jobname kern language lastbox " - "lastkern lastpenalty lastskip lccode leaders left " - "lefthyphenmin leftskip leqno let limits linepenalty " - "line lineskip lineskiplimit long looseness lower " - "lowercase mag mark mathaccent mathbin mathchar " - "mathchardef mathchoice mathclose mathcode mathinner " - "mathop mathopen mathord mathpunct mathrel " - "mathsurround maxdeadcycles maxdepth meaning " - "medmuskip message mkern month moveleft moveright " - "mskip multiply muskip muskipdef newlinechar noalign " - "noboundary noexpand noindent nolimits nonscript " - "scriptscript nonstopmode nulldelimiterspace " - "nullfont number omit openin openout or outer output " - "outputpenalty over overfullrule overline " - "overwithdelims pagedepth pagefilllstretch " - "pagefillstretch pagefilstretch pagegoal pageshrink " - "pagestretch pagetotal par parfillskip parindent " - "parshape parskip patterns pausing penalty " - "postdisplaypenalty predisplaypenalty predisplaysize " - "pretolerance prevdepth prevgraf radical raise read " - "relax relpenalty right righthyphenmin rightskip " - "romannumeral scriptfont scriptscriptfont " - "scriptscriptstyle scriptspace scriptstyle " - "scrollmode setbox setlanguage sfcode shipout show " - "showbox showboxbreadth showboxdepth showlists " - "showthe skewchar skip skipdef spacefactor spaceskip " - "span special splitbotmark splitfirstmark " - "splitmaxdepth splittopskip string tabskip textfont " - "textstyle the thickmuskip thinmuskip time toks " - "toksdef tolerance topmark topskip tracingcommands " - "tracinglostchars tracingmacros tracingonline " - "tracingoutput tracingpages tracingparagraphs " - "tracingrestores tracingstats uccode uchyph " - "underline unhbox unhcopy unkern unpenalty unskip " - "unvbox unvcopy uppercase vadjust valign vbadness " - "vbox vcenter vfil vfill vfilneg vfuzz voffset vrule " - "vsize vskip vsplit vss vtop wd widowpenalty write " - "xdef xleaders xspaceskip year " - "TeX bgroup egroup endgraf space empty null newcount " - "newdimen newskip newmuskip newbox newtoks newhelp " - "newread newwrite newfam newlanguage newinsert newif " - "maxdimen magstephalf magstep frenchspacing " - "nonfrenchspacing normalbaselines obeylines " - "obeyspaces raggedr ight ttraggedright thinspace " - "negthinspace enspace enskip quad qquad smallskip " - "medskip bigskip removelastskip topglue vglue hglue " - "break nobreak allowbreak filbreak goodbreak " - "smallbreak medbreak bigbreak line leftline " - "rightline centerline rlap llap underbar strutbox " - "strut cases matrix pmatrix bordermatrix eqalign " - "displaylines eqalignno leqalignno pageno folio " - "tracingall showhyphens fmtname fmtversion hphantom " - "vphantom phantom smash"; - - return 0; -} - - -// Returns the user name of a style. -TQString QextScintillaLexerTeX::description(int style) const -{ - switch (style) - { - case Default: - return tr("Default"); - - case Special: - return tr("Special"); - - case Group: - return tr("Group"); - - case Symbol: - return tr("Symbol"); - - case Command: - return tr("Command"); - - case Text: - return tr("Text"); - } - - return TQString(); -} - -#include "qextscintillalexertex.moc" diff --git a/qt/qextscintillalexertex.h b/qt/qextscintillalexertex.h deleted file mode 100644 index 5216ff6..0000000 --- a/qt/qextscintillalexertex.h +++ /dev/null @@ -1,102 +0,0 @@ -// This defines the interface to the QextScintillaLexerTeX class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLALEXERTEX_H -#define TQEXTSCINTILLALEXERTEX_H - - -#include - -#include -#include - - -//! \brief The QextScintillaLexerTeX class encapsulates the Scintilla TeX -//! lexer. -class TQEXTSCINTILLA_EXPORT QextScintillaLexerTeX : public QextScintillaLexer -{ - TQ_OBJECT - - -public: - //! This enum defines the meanings of the different styles used by the - //! TeX lexer. - enum { - //! The default. - Default = 0, - - //! A special. - Special = 1, - - //! A group. - Group = 2, - - //! A symbol. - Symbol = 3, - - //! A command. - Command = 4, - - //! Text. - Text = 5 - }; - - //! Construct a QextScintillaLexerTeX with parent \a parent and name - //! \a name. \a parent is typically the QextScintilla instance. - QextScintillaLexerTeX(TQObject *parent = 0,const char *name = 0); - - //! Destroys the QextScintillaLexerTeX instance. - virtual ~QextScintillaLexerTeX(); - - //! Returns the name of the language. - const char *language() const; - - //! Returns the name of the lexer. Some lexers support a number of - //! languages. - const char *lexer() const; - - //! \internal Returns the string of characters that comprise a word. - const char *wordCharacters() const; - - //! Returns the foreground colour of the text for style number - //! \a style. - //! - //! \sa paper() - TQColor color(int style) const; - - //! Returns the set of keywords for the keyword set \a set recognised - //! by the lexer as a space separated string. - const char *keywords(int set) const; - - //! Returns the descriptive name for style number \a style. If the - //! style is invalid for this language then TQString() is returned. - //! This is intended to be used in user preference dialogs. - TQString description(int style) const; - -private: -#if defined(TQ_DISABLE_COPY) - QextScintillaLexerTeX(const QextScintillaLexerTeX &); - QextScintillaLexerTeX &operator=(const QextScintillaLexerTeX &); -#endif -}; - -#endif diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp deleted file mode 100644 index 16d3636..0000000 --- a/qt/qextscintillamacro.cpp +++ /dev/null @@ -1,334 +0,0 @@ -// This module implements the QextScintillaMacro class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include - -#include - -#include "qextscintillamacro.h" -#include "qextscintilla.h" - - -static TQCString extract(const TQCString &asc,int &start); -static int fromHex(unsigned char ch); - - -// The ctor. -QextScintillaMacro::QextScintillaMacro(QextScintilla *parent,const char *name) - : TQObject(parent,name), qsci(parent) -{ -} - - -// The ctor that initialises the macro. -QextScintillaMacro::QextScintillaMacro(const TQCString &asc, - QextScintilla *parent,const char *name) - : TQObject(parent,name), qsci(parent) -{ - load(asc); -} - - -// The dtor. -QextScintillaMacro::~QextScintillaMacro() -{ -} - - -// Clear the contents of the macro. -void QextScintillaMacro::clear() -{ - macro.clear(); -} - - -// Read a macro from a string. -bool QextScintillaMacro::load(const TQCString &asc) -{ - bool rc = TRUE; - - macro.clear(); - - int pos = 0; - - while (pos < asc.length()) - { - TQCString fld; - Macro cmd; - unsigned len; - - // Extract the 3 fixed fields. - fld = extract(asc,pos); - cmd.msg = fld.toUInt(&rc); - - if (!rc) - break; - - fld = extract(asc,pos); - cmd.wParam = fld.toULong(&rc); - - if (!rc) - break; - - fld = extract(asc,pos); - len = fld.toUInt(&rc); - - if (!rc) - break; - - // Extract any text. - if (len) - { - cmd.text.resize(len); - fld = extract(asc,pos); - - char *dp = cmd.text.data(); - const char *sp = fld; - - if (!sp) - { - rc = FALSE; - break; - } - - while (len--) - { - unsigned char ch; - - ch = *sp++; - - if (ch == '"' || ch <= ' ' || ch >= 0x7f) - { - rc = FALSE; - break; - } - - if (ch == '\\') - { - int b1, b2; - - if ((b1 = fromHex(*sp++)) < 0 || - (b2 = fromHex(*sp++)) < 0) - { - rc = FALSE; - break; - } - - ch = (b1 << 4) + b2; - } - - *dp++ = ch; - } - - if (!rc) - break; - } - - macro.append(cmd); - } - - if (!rc) - macro.clear(); - - return rc; -} - - -// Write a macro to a string. -TQCString QextScintillaMacro::save() const -{ - TQCString ms; - - for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) - { - if (!ms.isEmpty()) - ms += ' '; - - unsigned len = (*it).text.size(); - TQCString m; - - m.sprintf("%u %lu %u",(*it).msg,(*it).wParam,len); - - if (len) - { - m += ' '; - - const char *cp = (*it).text.data(); - - while (len--) - { - unsigned char ch = *cp++; - - if (ch == '\\' || ch == '"' || ch <= ' ' || ch >= 0x7f) - { - char buf[4]; - - sprintf(buf,"\\%02x",ch); - m += buf; - } - else - m += ch; - } - } - - ms += m; - } - - return ms; -} - - -// Play the macro. -void QextScintillaMacro::play() -{ - if (!qsci) - return; - - for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) - qsci -> SendScintilla((*it).msg,(*it).wParam,(*it).text.data()); -} - - -// Start recording. -void QextScintillaMacro::startRecording() -{ - if (!qsci) - return; - - macro.clear(); - - connect(qsci, - TQT_SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)), - TQT_SLOT(record(unsigned int,unsigned long,long))); - - qsci -> SendScintilla(QextScintillaBase::SCI_STARTRECORD); -} - - -// End recording. -void QextScintillaMacro::endRecording() -{ - if (!qsci) - return; - - qsci -> SendScintilla(QextScintillaBase::SCI_STOPRECORD); - qsci -> disconnect(this); -} - - -// Record a command. -void QextScintillaMacro::record(unsigned int msg,unsigned long wParam, - long lParam) -{ - Macro m; - - m.msg = msg; - m.wParam = wParam; - - // Determine commands which need special handling of the parameters. - switch (msg) - { - case QextScintillaBase::SCI_ADDTEXT: - m.text.duplicate(reinterpret_cast(lParam),wParam); - break; - - case QextScintillaBase::SCI_REPLACESEL: - if (!macro.isEmpty() && macro.last().msg == QextScintillaBase::SCI_REPLACESEL) - { - const char *text = reinterpret_cast(lParam); - - // This is the command used for ordinary user input so - // it's a signifacant space reduction to append it to - // the previous command. - - TQByteArray &ba = macro.last().text; - - unsigned pos = ba.size() - 1; - - // Make room for the new text. - ba.resize(ba.size() + strlen(text)); - - // Copy it in. - strcpy(ba.data() + pos,text); - - return; - } - - /* Drop through. */ - - case QextScintillaBase::SCI_INSERTTEXT: - case QextScintillaBase::SCI_APPENDTEXT: - case QextScintillaBase::SCI_SEARCHNEXT: - case QextScintillaBase::SCI_SEARCHPREV: - { - const char *text = reinterpret_cast(lParam); - - m.text.duplicate(text,strlen(text) + 1); - break; - } - } - - macro.append(m); -} - - -// Extract a macro field starting at the given position. -static TQCString extract(const TQCString &asc,int &fstart) -{ - TQCString f; - - if (fstart < asc.length()) - { - int fend = asc.find(' ',fstart); - - if (fend < 0) - { - f = asc.mid(fstart); - fstart = asc.length(); - } - else - { - f = asc.mid(fstart,fend - fstart); - fstart = fend + 1; - } - } - - return f; -} - - -// Return the given hex character as a binary. -static int fromHex(unsigned char ch) -{ - if (ch >= '0' && ch <= '9') - return ch - '0'; - - if (ch >= 'a' && ch <= 'f') - return ch - 'a' + 10; - - return -1; -} - -#include "qextscintillamacro.moc" diff --git a/qt/qextscintillamacro.h b/qt/qextscintillamacro.h deleted file mode 100644 index 48e688b..0000000 --- a/qt/qextscintillamacro.h +++ /dev/null @@ -1,107 +0,0 @@ -// This defines the interface to the QextScintillaMacro class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLAMACRO_H -#define TQEXTSCINTILLAMACRO_H - - -#include -#include -#include - -#include - - -class TQString; -class QextScintilla; - - -//! \brief The QextScintillaMacro class represents a sequence of recordable -//! editor commands. -//! -//! Methods are provided to convert convert a macro to and from a textual -//! representation so that they can be easily written to and read from -//! permanent storage. -class TQEXTSCINTILLA_EXPORT QextScintillaMacro : public TQObject -{ - TQ_OBJECT - - -public: - //! Construct a QextScintillaMacro with parent \a parent and name - //! \a name. - QextScintillaMacro(QextScintilla *parent,const char *name = 0); - - //! Construct a QextScintillaMacro from the printable ASCII - //! representation \a asc, with parent \a parent and name \a name. - QextScintillaMacro(const TQCString &asc,QextScintilla *parent, - const char *name = 0); - - //! Destroy the QextScintillaMacro instance. - virtual ~QextScintillaMacro(); - - //! Clear the contents of the macro. - void clear(); - - //! Load the macro from the printable ASCII representation \a asc. - //! Returns TRUE if there was no error. - //! - //! \sa save() - bool load(const TQCString &asc); - - //! Return a printable ASCII representation of the macro. It is - //! guaranteed that only printable ASCII characters are used and that - //! double quote characters will not be used. - //! - //! \sa load() - TQCString save() const; - -public slots: - //! Play the macro. - virtual void play(); - - //! Start recording user commands and add them to the macro. - virtual void startRecording(); - - //! Stop recording user commands. - virtual void endRecording(); - -private slots: - void record(unsigned int msg,unsigned long wParam,long lParam); - -private: - struct Macro { - unsigned int msg; - unsigned long wParam; - TQByteArray text; - }; - - QextScintilla *qsci; - TQValueList macro; - -#if defined(TQ_DISABLE_COPY) - QextScintillaMacro(const QextScintillaMacro &); - QextScintillaMacro &operator=(const QextScintillaMacro &); -#endif -}; - -#endif diff --git a/qt/qextscintillaprinter.cpp b/qt/qextscintillaprinter.cpp deleted file mode 100644 index d09c7a6..0000000 --- a/qt/qextscintillaprinter.cpp +++ /dev/null @@ -1,189 +0,0 @@ -// This module implements the QextScintillaPrinter class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include - -#include "qextscintillaprinter.h" -#include "qextscintillabase.h" - - -// The ctor. -QextScintillaPrinter::QextScintillaPrinter(TQPrinter::PrinterMode mode) : - TQPrinter(mode), mag(0), - wrap(QextScintilla::WrapWord) -{ -} - - -// The dtor. -QextScintillaPrinter::~QextScintillaPrinter() -{ -} - - -// Format the page before the document text is drawn. -void QextScintillaPrinter::formatPage(TQPainter &,bool,TQRect &,int) -{ -} - - -// Print a range of lines to a printer. -int QextScintillaPrinter::printRange(QextScintillaBase *qsb,int from,int to) -{ - // Sanity check. - if (!qsb) - return FALSE; - - // Setup the printing area. - TQPaintDeviceMetrics metrics(this); - TQRect def_area; - - def_area.setX(0); - def_area.setY(0); - def_area.setWidth(metrics.width()); - def_area.setHeight(metrics.height()); - - // Get the page range. - int pgFrom, pgTo; - - pgFrom = fromPage(); - pgTo = toPage(); - - // Find the position range. - long startPos, endPos; - - endPos = qsb -> SendScintilla(QextScintillaBase::SCI_GETLENGTH); - - startPos = (from > 0 ? qsb -> SendScintilla(QextScintillaBase::SCI_POSITIONFROMLINE,from) : 0); - - if (to >= 0) - { - long toPos = qsb -> SendScintilla(QextScintillaBase::SCI_POSITIONFROMLINE,to + 1); - - if (endPos > toPos) - endPos = toPos; - } - - if (startPos >= endPos) - return FALSE; - - TQPainter painter(this); - bool reverse = (pageOrder() == LastPageFirst); - bool needNewPage = FALSE; - - qsb -> SendScintilla(QextScintillaBase::SCI_SETPRINTMAGNIFICATION,mag); - qsb -> SendScintilla(QextScintillaBase::SCI_SETPRINTWRAPMODE,wrap); - - for (int i = 1; i <= numCopies(); ++i) - { - // If we are printing in reverse page order then remember the - // start position of each page. - TQValueStack pageStarts; - - int currPage = 1; - long pos = startPos; - - while (pos < endPos) - { - // See if we have finished the requested page range. - if (pgTo > 0 && pgTo < currPage) - break; - - // See if we are going to render this page, or just see - // how much would fit onto it. - bool render = FALSE; - - if (pgFrom == 0 || pgFrom <= currPage) - { - if (reverse) - pageStarts.push(pos); - else - { - render = TRUE; - - if (needNewPage) - { - if (!newPage()) - return FALSE; - } - else - needNewPage = TRUE; - } - } - - TQRect area = def_area; - - formatPage(painter,render,area,currPage); - pos = qsb -> SendScintilla(QextScintillaBase::SCI_FORMATRANGE,render,&painter,area,pos,endPos); - - ++currPage; - } - - // All done if we are printing in normal page order. - if (!reverse) - continue; - - // Now go through each page on the stack and really print it. - while (!pageStarts.isEmpty()) - { - --currPage; - - long ePos = pos; - pos = pageStarts.pop(); - - if (needNewPage) - { - if (!newPage()) - return FALSE; - } - else - needNewPage = TRUE; - - TQRect area = def_area; - - formatPage(painter,TRUE,area,currPage); - qsb -> SendScintilla(QextScintillaBase::SCI_FORMATRANGE,TRUE,&painter,area,pos,ePos); - } - } - - return TRUE; -} - - -// Set the print magnification in points. -void QextScintillaPrinter::setMagnification(int magnification) -{ - mag = magnification; -} - - -// Set the line wrap mode. -void QextScintillaPrinter::setWrapMode(QextScintilla::WrapMode wmode) -{ - wrap = wmode; -} diff --git a/qt/qextscintillaprinter.h b/qt/qextscintillaprinter.h deleted file mode 100644 index a938c1a..0000000 --- a/qt/qextscintillaprinter.h +++ /dev/null @@ -1,107 +0,0 @@ -// This module defines interface to the QextScintillaPrinter class. -// -// Copyright (c) 2006 -// Riverbank Computing Limited -// -// This file is part of TQScintilla. -// -// This copy of TQScintilla is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as published by -// the Free Software Foundation; either version 2, or (at your option) any -// later version. -// -// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -// details. -// -// You should have received a copy of the GNU General Public License along with -// TQScintilla; see the file LICENSE. If not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifndef TQEXTSCINTILLAPRINTER_H -#define TQEXTSCINTILLAPRINTER_H - - -#include - -#include -#include - - -class TQRect; -class TQPainter; -class QextScintillaBase; - - -//! \brief The QextScintillaPrinter class is a sub-class of the TQt TQPrinter -//! class that is able to print the text of a Scintilla document. -//! -//! The class can be further sub-classed to alter to layout of the text, adding -//! headers and footers for example. -class TQEXTSCINTILLA_EXPORT QextScintillaPrinter : public TQPrinter -{ -public: - //! Constructs a printer paint device with mode \a mode. - QextScintillaPrinter(PrinterMode mode = ScreenResolution); - - //! Destroys the QextScintillaPrinter instance. - ~QextScintillaPrinter(); - - //! Format a page, by adding headers and footers for example, before - //! the document text is drawn on it. \a painter is the painter to be - //! used to add customised text and graphics. \a drawing is TRUE if - //! the page is actually being drawn rather than being sized. - //! \a painter drawing methods must only be called when \a drawing is - //! TRUE. \a area is the area of the page that will be used to draw - //! the text. This should be modified if it is necessary to reserve - //! space for any customised text or graphics. By default the area is - //! relative to the printable area of the page. Use - //! TQPrinter::setFullPage() because calling printRange() if you want to - //! try and print over the whole page. \a pagenr is the number of the - //! page. The first page is numbered 1. - virtual void formatPage(TQPainter &painter,bool drawing,TQRect &area, - int pagenr); - - //! Return the number of points to add to each font when printing. - //! - //! \sa setMagnification() - int magnification() const {return mag;} - - //! Sets the number of points to add to each font when printing to - //! \a magnification. - //! - //! \sa magnification() - virtual void setMagnification(int magnification); - - //! Print a range of lines from the Scintilla instance \a qsb. \a from - //! is the first line to print and a negative value signifies the first - //! line of text. \a to is the last line to print and a negative value - //! signifies the last line of text. TRUE is returned if there was no - //! error. - virtual int printRange(QextScintillaBase *qsb,int from = -1, - int to = -1); - - //! Return the line wrap mode used when printing. The default is - //! QextScintilla::WrapWord. - //! - //! \sa setWrapMode() - QextScintilla::WrapMode wrapMode() const {return wrap;} - - //! Sets the line wrap mode used when printing to \a wmode. - //! - //! \sa wrapMode() - virtual void setWrapMode(QextScintilla::WrapMode wmode); - -private: - int mag; - QextScintilla::WrapMode wrap; - -#if defined(TQ_DISABLE_COPY) - QextScintillaPrinter(const QextScintillaPrinter &); - QextScintillaPrinter &operator=(const QextScintillaPrinter &); -#endif -}; - -#endif diff --git a/qt/qscintilla.pro b/qt/qscintilla.pro deleted file mode 100644 index 3e13fbd..0000000 --- a/qt/qscintilla.pro +++ /dev/null @@ -1,220 +0,0 @@ -# The project file for the qscintilla library. -# -# Copyright (c) 2006 -# Riverbank Computing Limited -# -# This file is part of QScintilla. -# -# This copy of QScintilla is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) any -# later version. -# -# QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more -# details. -# -# You should have received a copy of the GNU General Public License along with -# QScintilla; see the file LICENSE. If not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -unix:VERSION = 7.0.1 - - -TEMPLATE = lib -TARGET = qscintilla -# DESTDIR = $(TQTDIR)/lib -CONFIG += qt warn_off release dll thread -INCLUDEPATH = . ../include ../src /usr/include/tqt -DEFINES = QEXTSCINTILLA_MAKE_DLL QT SCI_LEXER - -HEADERS = \ - qextscintillaglobal.h \ - qextscintilla.h \ - qextscintillaapis.h \ - qextscintillabase.h \ - qextscintillacommand.h \ - qextscintillacommandset.h \ - qextscintilladocument.h \ - qextscintillalexer.h \ - qextscintillalexerbash.h \ - qextscintillalexerbatch.h \ - qextscintillalexercpp.h \ - qextscintillalexercsharp.h \ - qextscintillalexercss.h \ - qextscintillalexerdiff.h \ - qextscintillalexerhtml.h \ - qextscintillalexeridl.h \ - qextscintillalexerjava.h \ - qextscintillalexerjavascript.h \ - qextscintillalexerlua.h \ - qextscintillalexermakefile.h \ - qextscintillalexerperl.h \ - qextscintillalexerpov.h \ - qextscintillalexerproperties.h \ - qextscintillalexerpython.h \ - qextscintillalexerruby.h \ - qextscintillalexersql.h \ - qextscintillalexertex.h \ - qextscintillamacro.h \ - qextscintillaprinter.h \ - SciListBox.h \ - ScintillaQt.h \ - ../include/Accessor.h \ - ../include/KeyWords.h \ - ../include/Platform.h \ - ../include/PropSet.h \ - ../include/SString.h \ - ../include/SciLexer.h \ - ../include/Scintilla.h \ - ../include/ScintillaWidget.h \ - ../include/WindowAccessor.h \ - ../src/AutoComplete.h \ - ../src/CallTip.h \ - ../src/CellBuffer.h \ - ../src/ContractionState.h \ - ../src/CharClassify.h \ - ../src/Document.h \ - ../src/DocumentAccessor.h \ - ../src/Editor.h \ - ../src/ExternalLexer.h \ - ../src/Indicator.h \ - ../src/KeyMap.h \ - ../src/LineMarker.h \ - ../src/RESearch.h \ - ../src/SVector.h \ - ../src/ScintillaBase.h \ - ../src/Style.h \ - ../src/StyleContext.h \ - ../src/ViewStyle.h \ - ../src/XPM.h - -SOURCES = \ - qextscintilla.cpp \ - qextscintillaapis.cpp \ - qextscintillabase.cpp \ - qextscintillacommand.cpp \ - qextscintillacommandset.cpp \ - qextscintilladocument.cpp \ - qextscintillalexer.cpp \ - qextscintillalexerbash.cpp \ - qextscintillalexerbatch.cpp \ - qextscintillalexercpp.cpp \ - qextscintillalexercsharp.cpp \ - qextscintillalexercss.cpp \ - qextscintillalexerdiff.cpp \ - qextscintillalexerhtml.cpp \ - qextscintillalexeridl.cpp \ - qextscintillalexerjava.cpp \ - qextscintillalexerjavascript.cpp \ - qextscintillalexerlua.cpp \ - qextscintillalexermakefile.cpp \ - qextscintillalexerperl.cpp \ - qextscintillalexerpov.cpp \ - qextscintillalexerproperties.cpp \ - qextscintillalexerpython.cpp \ - qextscintillalexerruby.cpp \ - qextscintillalexersql.cpp \ - qextscintillalexertex.cpp \ - qextscintillamacro.cpp \ - qextscintillaprinter.cpp \ - SciListBox.cpp \ - PlatQt.cpp \ - ScintillaQt.cpp \ - ../src/AutoComplete.cpp \ - ../src/CallTip.cpp \ - ../src/CellBuffer.cpp \ - ../src/ContractionState.cpp \ - ../src/CharClassify.cpp \ - ../src/Document.cpp \ - ../src/DocumentAccessor.cpp \ - ../src/Editor.cpp \ - ../src/ExternalLexer.cpp \ - ../src/Indicator.cpp \ - ../src/KeyMap.cpp \ - ../src/KeyWords.cpp \ - ../src/LexAPDL.cpp \ - ../src/LexAU3.cpp \ - ../src/LexAVE.cpp \ - ../src/LexAda.cpp \ - ../src/LexAsm.cpp \ - ../src/LexAsn1.cpp \ - ../src/LexBaan.cpp \ - ../src/LexBash.cpp \ - ../src/LexBasic.cpp \ - ../src/LexBullant.cpp \ - ../src/LexCLW.cpp \ - ../src/LexCPP.cpp \ - ../src/LexCSS.cpp \ - ../src/LexCaml.cpp \ - ../src/LexConf.cpp \ - ../src/LexCrontab.cpp \ - ../src/LexCsound.cpp \ - ../src/LexEScript.cpp \ - ../src/LexEiffel.cpp \ - ../src/LexErlang.cpp \ - ../src/LexFlagship.cpp \ - ../src/LexForth.cpp \ - ../src/LexFortran.cpp \ - ../src/LexGui4Cli.cpp \ - ../src/LexHTML.cpp \ - ../src/LexHaskell.cpp \ - ../src/LexInno.cpp \ - ../src/LexKix.cpp \ - ../src/LexLisp.cpp \ - ../src/LexLout.cpp \ - ../src/LexLua.cpp \ - ../src/LexMMIXAL.cpp \ - ../src/LexMPT.cpp \ - ../src/LexMSSQL.cpp \ - ../src/LexMatlab.cpp \ - ../src/LexMetapost.cpp \ - ../src/LexNsis.cpp \ - ../src/LexOpal.cpp \ - ../src/LexOthers.cpp \ - ../src/LexPB.cpp \ - ../src/LexPOV.cpp \ - ../src/LexPS.cpp \ - ../src/LexPascal.cpp \ - ../src/LexPerl.cpp \ - ../src/LexPython.cpp \ - ../src/LexRebol.cpp \ - ../src/LexRuby.cpp \ - ../src/LexSQL.cpp \ - ../src/LexScriptol.cpp \ - ../src/LexSmalltalk.cpp \ - ../src/LexSpecman.cpp \ - ../src/LexSpice.cpp \ - ../src/LexTADS3.cpp \ - ../src/LexTCL.cpp \ - ../src/LexTeX.cpp \ - ../src/LexVB.cpp \ - ../src/LexVHDL.cpp \ - ../src/LexVerilog.cpp \ - ../src/LexYAML.cpp \ - ../src/LineMarker.cpp \ - ../src/PropSet.cpp \ - ../src/RESearch.cpp \ - ../src/ScintillaBase.cpp \ - ../src/Style.cpp \ - ../src/StyleContext.cpp \ - ../src/ViewStyle.cpp \ - ../src/WindowAccessor.cpp \ - ../src/XPM.cpp - -TRANSLATIONS = \ - qscintilla_de.ts \ - qscintilla_fr.ts \ - qscintilla_pt_br.ts \ - qscintilla_ru.ts - - -header.path = $(TQTDIR)/include -header.files = qextscintilla*.h - -trans.path = $(TQTDIR)/translations -trans.files = qscintilla_*.qm - -INSTALLS += header trans diff --git a/qt/qscintilla_de.qm b/qt/qscintilla_de.qm deleted file mode 100644 index d6b1d0c..0000000 Binary files a/qt/qscintilla_de.qm and /dev/null differ diff --git a/qt/qscintilla_de.ts b/qt/qscintilla_de.ts deleted file mode 100644 index ab47c2b..0000000 --- a/qt/qscintilla_de.ts +++ /dev/null @@ -1,1635 +0,0 @@ - - - QextScintillaCommand - - Move left one character - Ein Zeichen nach links - - - Move right one character - Ein Zeichen nach rechts - - - Move up one line - Eine Zeile nach oben - - - Move down one line - Eine Zeile nach unten - - - Move left one word part - Ein Wortteil nach links - - - Move right one word part - Ein Wortteil nach rechts - - - Move left one word - Ein Wort nach links - - - Move right one word - Ein Wort nach rechts - - - Move to first visible character in line - Zum ersten sichtbaren Zeichen - - - Move to end of line - Zum Ende der Zeile - - - Scroll view down one line - Eine Zeile nach unten rollen - - - Scroll view up one line - Eine Zeile nach oben rollen - - - Move up one page - Eine Seite hoch - - - Move down one page - Eine Seite nach unten - - - Move to start of text - Zum Textanfang - - - Move to end of text - Zum Textende - - - Indent one level - Eine Ebene einrücken - - - Move back one indentation level - Eine Ebene ausrücken - - - Select all text - Gesamten Text auswählen - - - Extend selection left one character - Auswahl um ein Zeichen nach links erweitern - - - Extend selection right one character - Auswahl um ein Zeichen nach rechts erweitern - - - Extend selection up one line - Auswahl um eine Zeile nach oben erweitern - - - Extend selection down one line - Auswahl um eine Zeile nach unten erweitern - - - Extend selection left one word part - Auswahl um einen Wortteil nach links erweitern - - - Extend selection right one word part - Auswahl um einen Wortteil nach rechts erweitern - - - Extend selection left one word - Auswahl um ein Wort nach links erweitern - - - Extend selection right one word - Auswahl um ein Wort nach rechts erweitern - - - Extend selection to first visible character in line - Auswahl bis zum ersten sichtbaren Zeichen erweitern - - - Extend selection to start of line - Auswahl bis zum Zeilenanfang erweitern - - - Extend selection to end of line - Auswahl bis zum Zeilenende erweitern - - - Extend selection up one page - Auswahl um eine Seite nach oben erweitern - - - Extend selection down one page - Auswahl um eine Seite nach unten erweitern - - - Extend selection to start of text - Auswahl bis zum Textanfang erweitern - - - Extend selection to end of text - Auswahl bis zum Textende erweitern - - - Delete previous character - Zeichen links löschen - - - Delete previous character if not at line start - Zeichen links löschen, wenn nicht am Zeilenanfang - - - Delete current character - Aktuelles Zeichen löschen - - - Delete word to left - Wort links löschen - - - Delete word to right - Wort rechts löschen - - - Delete line to left - Zeile links löschen - - - Delete line to right - Zeile rechts löschen - - - Insert new line - Neue Zeile einfügen - - - Delete current line - Aktuelle Zeile löschen - - - Swap current and previous lines - Aktuelle Zeile mit vorhergehender tauschen - - - Cut current line - Aktuelle Zeile ausschneiden - - - Cut selection - Auswahl ausschneiden - - - Copy selection - Auswahl kopieren - - - Paste - Einfügen - - - Redo last command - Letzten Befehl wiederholen - - - Undo the last command - Letzten Befehl rückgängig - - - Cancel - Abbrechen - - - Toggle insert/overtype - Einfügen/Überschreiben umschalten - - - Convert selection to lower case - Auswahl in Kleinbuchstaben umwandeln - - - Convert selection to upper case - Auswahl in Großbuchstaben umwandeln - - - Zoom in - Vergrößern - - - Zoom out - Verkleinern - - - Move up one paragraph - Einen Absatz nach oben - - - Move down one paragraph - Einen Absatz nach unten - - - Extend selection up one paragraph - Auswahl um einen Absatz nach oben erweitern - - - Extend selection down one paragraph - Auswahl um einen Absatz nach unten erweitern - - - Copy current line - Aktuelle Zeile kopieren - - - Extend rectangular selection down one line - Rechteckige Auswahl um eine Zeile nach unten erweitern - - - Extend rectangular selection up one line - Rechteckige Auswahl um eine Zeile nach oben erweitern - - - Extend rectangular selection left one character - Rechteckige Auswahl um ein Zeichen nach links erweitern - - - Extend rectangular selection right one character - Rechteckige Auswahl um ein Zeichen nach rechts erweitern - - - Move to start of displayed line - Zum Beginn der angezeigten Zeile - - - Extend rectangular selection to first visible character in line - Rechteckige Auswahl bis zum ersten sichtbaren Zeichen erweitern - - - Move to end of displayed line - Zum Ende der angezeigten Zeile - - - Extend selection to end of displayed line - Auswahl bis zum Ende der angezeigten Zeile erweitern - - - Extend rectangular selection to end of line - Rechteckige Auswahl bis zum Zeilenende erweitern - - - Extend rectangular selection up one page - Rechteckige Auswahl um eine Seite nach oben erweitern - - - Extend rectangular selection down one page - Rechteckige Auswahl um eine Seite nach unten erweitern - - - Set zoom - Zoom einstellen - - - Formfeed - Seitenumbruch - - - Duplicate selection - Auswahl duplizieren - - - - QextScintillaLexerBash - - Default - Standard - - - Error - Fehler - - - Comment - Kommentar - - - Number - Zahl - - - Keyword - Schlüsselwort - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - Operator - Operator - - - Identifier - Bezeichner - - - Scalar - Skalar - - - Parameter expansion - Parametererweiterung - - - Backticks - Backticks - - - Here document delimiter - Here Dokument-Begrenzer - - - Single-quoted here document - Here Dokument in Hochkommata - - - - QextScintillaLexerBatch - - Default - Standard - - - Comment - Kommentar - - - Keyword - Schlüsselwort - - - Label - Marke - - - Variable - Variable - - - Operator - Operator - - - Hide command character - "Befehl verbergen" Zeichen - - - External command - Externer Befehl - - - - QextScintillaLexerCPP - - Number - Zahl - - - Keyword - Schlüsselwort - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - Pre-processor block - Preprozessorblock - - - Operator - Operator - - - Identifier - Bezeichner - - - Unclosed string - Unbeendete Zeichenkette - - - Default - Standard - - - C comment - C Kommentar - - - C++ comment - C++ Kommentar - - - JavaDoc style C comment - JavaDoc C Kommentar - - - JavaDoc style C++ comment - JavaDoc C++ Kommentar - - - JavaDoc keyword - JavaDoc Schlüsselwort - - - JavaDoc keyword error - JavaDoc Schlüsselwortfehler - - - Secondary keywords and identifiers - Sekundäre Schlusselwörter und Bezeichner - - - Global classes and typedefs - Globale Klassen und typdefinitionen - - - - QextScintillaLexerCSS - - Default - Standard - - - Tag - Tag - - - Class selector - Klassenselektor - - - Pseudo-class - Pseudoklasse - - - Unknown pseudo-class - Unbekannte Pseudoklasse - - - Operator - Operator - - - CSS1 property - CSS1 Eigenschaft - - - Unknown property - Unbekannte Eigenschaft - - - Value - Wert - - - ID selector - ID-Selektor - - - Important - Wichtig - - - @-rule - @-Regel - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - CSS2 property - CSS2 Eigenschaft - - - Attribute - Attribut - - - - QextScintillaLexerCSharp - - Verbatim string - Uninterpretierte Zeichenkette - - - - QextScintillaLexerDiff - - Default - Standard - - - Comment - Kommentar - - - Command - Befehl - - - Header - Kopfzeilen - - - Position - Position - - - Removed line - Entfernte Zeile - - - Added line - Hinzugefügte Zeile - - - - QextScintillaLexerHTML - - HTML default - HTML Standard - - - Tag - Tag - - - Unknown tag - Unbekanntes Tag - - - Attribute - Attribut - - - Unknown attribute - Unbekanntes Attribut - - - HTML number - HTML Zahl - - - HTML double-quoted string - HTML Zeichenkette in Anführungszeichen - - - HTML single-quoted string - HTML Zeichenkette in Hochkommata - - - Other text in a tag - Anderer Text in einem Tag - - - HTML comment - HTML Kommentar - - - Entity - Entität - - - End of a tag - Tagende - - - Start of an XML fragment - Beginn eines XML Fragmentes - - - End of an XML fragment - Ende eines XML Fragmentes - - - Script tag - Skript Tag - - - Start of an ASP fragment with @ - Beginn eines ASP Fragmentes mit @ - - - Start of an ASP fragment - Beginn eines ASP Fragmentes - - - CDATA - CDATA - - - Start of a PHP fragment - Beginn eines PHP Fragmentes - - - Unquoted HTML value - HTML Wert ohne Anführungszeichen - - - ASP X-Code comment - ASP X-Code Kommentar - - - SGML default - SGML Standard - - - SGML command - SGML Befehl - - - First parameter of an SGML command - Erster Parameter eines SGML Befehls - - - SGML double-quoted string - SGML Zeichenkette in Anführungszeichen - - - SGML single-quoted string - SGML Zeichenkette in Hochkommata - - - SGML error - SGML Fehler - - - SGML special entity - SGML Spezielle Entität - - - SGML comment - SGML Kommentar - - - First parameter comment of an SGML command - Kommentar des ersten Parameters eines SGML Befehls - - - SGML block default - SGML Standardblock - - - Start of a JavaScript fragment - Beginn eines JavaScript Fragmentes - - - JavaScript default - JavaScript Standard - - - JavaScript comment - JavaScript Kommentar - - - JavaScript line comment - JavaScript Zeilenkommentar - - - JavaDoc style JavaScript comment - JavaDoc JavaScript Kommentar - - - JavaScript number - JavaScript Zahl - - - JavaScript word - JavaScript Wort - - - JavaScript keyword - JavaScript Schlüsselwort - - - JavaScript double-quoted string - JavaScript Zeichenkette in Anführungszeichen - - - JavaScript single-quoted string - JavaScript Zeichenkette in Hochkommata - - - JavaScript symbol - JavaScript Symbol - - - JavaScript unclosed string - JavaScript Unbeendete Zeichenkette - - - JavaScript regular expression - JavaScript Regulärer Ausdruck - - - Start of an ASP JavaScript fragment - Beginn eines ASP JavaScript Fragmentes - - - ASP JavaScript default - ASP JavaScript Standard - - - ASP JavaScript comment - ASP JavaScript Kommentar - - - ASP JavaScript line comment - ASP JavaScript Zeilenkommentar - - - JavaDoc style ASP JavaScript comment - JavaDoc ASP JavaScript Kommentar - - - ASP JavaScript number - ASP JavaScript Zahl - - - ASP JavaScript word - ASP JavaScript Wort - - - ASP JavaScript keyword - ASP JavaScript Schlüsselwort - - - ASP JavaScript double-quoted string - ASP JavaScript Zeichenkette in Anführungszeichen - - - ASP JavaScript single-quoted string - ASP JavaScript Zeichenkette in Hochkommata - - - ASP JavaScript symbol - ASP JavaScript Symbol - - - ASP JavaScript unclosed string - ASP JavaScript Unbeendete Zeichenkette - - - ASP JavaScript regular expression - ASP JavaScript Regulärer Ausdruck - - - Start of a VBScript fragment - Beginn eines VBScript Fragmentes - - - VBScript default - VBScript Standard - - - VBScript comment - VBScript Kommentar - - - VBScript number - VBScript Zahl - - - VBScript keyword - VBScript Schlüsselwort - - - VBScript string - VBScript Zeichenkette - - - VBScript identifier - VBScript Bezeichner - - - VBScript unclosed string - VBScript Unbeendete Zeichenkette - - - Start of an ASP VBScript fragment - Beginn eines ASP VBScript Fragmentes - - - ASP VBScript default - ASP VBScript Standard - - - ASP VBScript comment - ASP VBScript Kommentar - - - ASP VBScript number - ASP VBScript Zahl - - - ASP VBScript keyword - ASP VBScript Schlüsselwort - - - ASP VBScript string - ASP VBScript Zeichenkette - - - ASP VBScript identifier - ASP VBScript Bezeichner - - - ASP VBScript unclosed string - ASP VBScript Unbeendete Zeichenkette - - - Start of a Python fragment - Beginn eines Python Fragmentes - - - Python default - Python Standard - - - Python comment - Python Kommentar - - - Python number - Python Zahl - - - Python double-quoted string - Python Zeichenkette in Anführungszeichen - - - Python single-quoted string - Python Zeichenkette in Hochkommata - - - Python keyword - Python Schlüsselwort - - - Python triple double-quoted string - Python Zeichenkette in dreifachen Anführungszeichen - - - Python triple single-quoted string - Python Zeichenkette in dreifachen Hochkommata - - - Python class name - Python Klassenname - - - Python function or method name - Python Funktions- oder Methodenname - - - Python operator - Python Operator - - - Python identifier - Python Bezeichner - - - Start of an ASP Python fragment - Beginn eines ASP Python Fragmentes - - - ASP Python default - ASP Python Standard - - - ASP Python comment - ASP Python Kommentar - - - ASP Python number - ASP Python Zahl - - - ASP Python double-quoted string - ASP Python Zeichenkette in Anführungszeichen - - - ASP Python single-quoted string - ASP Python Zeichenkette in Hochkommata - - - ASP Python keyword - ASP Python Schlüsselwort - - - ASP Python triple double-quoted string - ASP Python Zeichenkette in dreifachen Anführungszeichen - - - ASP Python triple single-quoted string - ASP Python Zeichenkette in dreifachen Hochkommata - - - ASP Python class name - ASP Python Klassenname - - - ASP Python function or method name - ASP Python Funktions- oder Methodenname - - - ASP Python operator - ASP Python Operator - - - ASP Python identifier - ASP Python Bezeichner - - - PHP default - PHP Standard - - - PHP double-quoted string - PHP Zeichenkette in Anführungszeichen - - - PHP single-quoted string - PHP Zeichenkette in Hochkommata - - - PHP keyword - PHP Schlüsselwort - - - PHP number - PHP Zahl - - - PHP comment - PHP Kommentar - - - PHP line comment - PHP Zeilenkommentar - - - PHP double-quoted variable - PHP Variable in Anführungszeichen - - - PHP operator - PHP Operator - - - PHP variable - PHP Variable - - - - QextScintillaLexerIDL - - UUID - UUID - - - - QextScintillaLexerJavaScript - - Regular expression - Regulärer Ausdruck - - - - QextScintillaLexerLua - - Default - Standard - - - Comment - Kommentar - - - Line comment - Zeilenkommentar - - - Number - Zahl - - - Keyword - Schlüsselwort - - - String - Zeichenkette - - - Character - Zeichen - - - Literal string - Uninterpretierte Zeichenkette - - - Preprocessor - Preprozessor - - - Operator - Operator - - - Identifier - Bezeichner - - - Unclosed string - Unbeendete Zeichenkette - - - Basic functions - Basisfunktionen - - - String, table and maths functions - Zeichenketten-, Tabelle- und mathematische Funktionen - - - Coroutines, i/o and system facilities - Koroutinen, I/O- und Systemfunktionen - - - - QextScintillaLexerMakefile - - Default - Standard - - - Comment - Kommentar - - - Preprocessor - Preprozessor - - - Variable - Variable - - - Operator - Operator - - - Target - Ziel - - - Error - Fehler - - - - QextScintillaLexerPOV - - Default - Standard - - - Comment - Kommentar - - - Comment line - Kommentarzeile - - - Number - Zahl - - - Operator - Operator - - - Identifier - Bezeichner - - - String - Zeichenkette - - - Unclosed string - Unbeendete Zeichenkette - - - Directive - Direktive - - - Bad directive - Ungültige Direktive - - - Objects, CSG and appearance - Objekte, CSG und Erscheinung - - - Types, modifiers and items - Typen, Modifizierer und Items - - - Predefined identifiers - Vordefinierter Bezeichner - - - Predefined functions - Vordefinierte Funktion - - - User defined 1 - Nutzerdefiniert 1 - - - User defined 2 - Nutzerdefiniert 2 - - - User defined 3 - Nutzerdefiniert 3 - - - - QextScintillaLexerPerl - - Default - Standard - - - Error - Fehler - - - Comment - Kommentar - - - POD - POD - - - Number - Zahl - - - Keyword - Schlüsselwort - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - Operator - Operator - - - Identifier - Bezeichner - - - Scalar - Skalar - - - Array - Feld - - - Hash - Hash - - - Symbol table - Symboltabelle - - - Regular expression - Regulärer Ausdruck - - - Substitution - Ersetzung - - - Backticks - Backticks - - - Data section - Datensektion - - - Here document delimiter - Here Dokument-Begrenzer - - - Single-quoted here document - Here Dokument in Hochkommata - - - Double-quoted here document - Here Dokument in Anführungszeichen - - - Backtick here document - Here Dokument in Backticks - - - Quoted string (q) - Zeichenkette (q) - - - Quoted string (qq) - Zeichenkette (qq) - - - Quoted string (qx) - Zeichenkette (qx) - - - Quoted string (qr) - Zeichenkette (qr) - - - Quoted string (qw) - Zeichenkette (qw) - - - POD verbatim - POD wörtlich - - - - QextScintillaLexerProperties - - Default - Standard - - - Comment - Kommentar - - - Section - Abschnitt - - - Assignment - Zuweisung - - - Default value - Standardwert - - - - QextScintillaLexerPython - - Comment - Kommentar - - - Number - Zahl - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - Keyword - Schlüsselwort - - - Triple single-quoted string - Zeichenkette in dreifachen Hochkommata - - - Triple double-quoted string - Zeichenkette in dreifachen Anführungszeichen - - - Class name - Klassenname - - - Function or method name - Funktions- oder Methodenname - - - Operator - Operator - - - Identifier - Bezeichner - - - Comment block - Kommentarblock - - - Unclosed string - Unbeendete Zeichenkette - - - Default - Standard - - - Highlighted identifier - Hervorgehobener Bezeichner - - - Decorator - Dekorator - - - - QextScintillaLexerRuby - - Default - Standard - - - Comment - Kommentar - - - Number - Zahl - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - Single-quoted string - Zeichenkette in Hochkommata - - - Keyword - Schlüsselwort - - - Class name - Klassenname - - - Function or method name - Funktions- oder Methodenname - - - Operator - Operator - - - Identifier - Bezeichner - - - Error - Fehler - - - POD - POD - - - Regular expression - Regulärer Ausdruck - - - Global - Global - - - Symbol - Symbol - - - Module name - Modulname - - - Instance variable - Instanzvariable - - - Class variable - Klassenvariable - - - Backticks - Backticks - - - Data section - Datensektion - - - Here document delimiter - Here Dokument-Begrenzer - - - Here document - Here Dokument - - - %q string - %q Zeichenkette - - - %Q string - %Q Zeichenkette - - - %x string - %x Zeichenkette - - - %r string - %r Zeichenkette - - - %w string - %w Zeichenkette - - - Demoted keyword - zurückgestuftes Schlüsselwort - - - stdin - Stdin - - - stdout - Stdout - - - stderr - Stderr - - - - QextScintillaLexerSQL - - Default - Standard - - - Comment - Kommentar - - - Number - Zahl - - - Keyword - Schlüsselwort - - - Single-quoted string - Zeichenkette in Hochkommata - - - Operator - Operator - - - Identifier - Bezeichner - - - Comment line - Kommentarzeile - - - JavaDoc style comment - JavaDoc Kommentar - - - Double-quoted string - Zeichenkette in Anführungszeichen - - - SQL*Plus keyword - SQL*Plus Schlüsselwort - - - SQL*Plus prompt - SQL*Plus Eingabe - - - SQL*Plus comment - SQL*Plus Kommentar - - - # comment line - # Kommentarzeile - - - JavaDoc keyword - JavaDoc Schlüsselwort - - - JavaDoc keyword error - JavaDoc Schlüsselwortfehler - - - User defined 1 - Nutzerdefiniert 1 - - - User defined 2 - Nutzerdefiniert 2 - - - User defined 3 - Nutzerdefiniert 3 - - - User defined 4 - Nutzerdefiniert 4 - - - - QextScintillaLexerTeX - - Default - Standard - - - Special - Spezial - - - Group - Gruppe - - - Symbol - Symbol - - - Command - Befehl - - - Text - Text - - - diff --git a/qt/qscintilla_fr.qm b/qt/qscintilla_fr.qm deleted file mode 100644 index 4fbed09..0000000 Binary files a/qt/qscintilla_fr.qm and /dev/null differ diff --git a/qt/qscintilla_fr.ts b/qt/qscintilla_fr.ts deleted file mode 100644 index 481b603..0000000 --- a/qt/qscintilla_fr.ts +++ /dev/null @@ -1,1635 +0,0 @@ - - - QextScintillaCommand - - Move down one line - Déplacement d'une ligne vers le bas - - - Extend selection down one line - Extension de la sélection d'une ligne vers le bas - - - Scroll view down one line - Decendre la vue d'une ligne - - - Extend rectangular selection down one line - Extension de la sélection rectangulaire d'une ligne vers le bas - - - Move up one line - Déplacement d'une ligne vers le haut - - - Extend selection up one line - Extension de la sélection d'une ligne vers le haut - - - Scroll view up one line - Remonter la vue d'une ligne - - - Extend rectangular selection up one line - Extension de la sélection rectangulaire d'une ligne vers le haut - - - Move up one paragraph - Déplacement d'un paragraphe vers le haut - - - Extend selection up one paragraph - Extension de la sélection d'un paragraphe vers le haut - - - Move down one paragraph - Déplacement d'un paragraphe vers le bas - - - Extend selection down one paragraph - Extension de la sélection d'un paragraphe vers le bas - - - Move left one character - Déplacement d'un caractère vers la gauche - - - Extend selection left one character - Extension de la sélection d'un caractère vers la gauche - - - Move left one word - Déplacement d'un mot vers la gauche - - - Extend selection left one word - Extension de la sélection d'un mot vers la gauche - - - Extend rectangular selection left one character - Extension de la sélection rectangulaire d'un caractère vers la gauche - - - Move right one character - Déplacement d'un caractère vers la droite - - - Extend selection right one character - Extension de la sélection d'un caractère vers la droite - - - Move right one word - Déplacement d'un mot vers la droite - - - Extend selection right one word - Extension de la sélection d'un mot vers la droite - - - Extend rectangular selection right one character - Extension de la sélection rectangulaire d'un caractère vers la droite - - - Move left one word part - Déplacement d'une part de mot vers la gauche - - - Extend selection left one word part - Extension de la sélection d'une part de mot vers la gauche - - - Move right one word part - Déplacement d'une part de mot vers la droite - - - Extend selection right one word part - Extension de la sélection d'une part de mot vers la droite - - - Move to first visible character in line - Déplacement vers le premier caractère visible de la ligne - - - Extend selection to first visible character in line - Extension de la sélection jusqu'au premier caractère visible de la ligne - - - Move to start of text - Déplacement au début du texte - - - Extend selection to start of text - Extension de la sélection jusqu'au début du texte - - - Move to start of displayed line - Déplacement au le début de la ligne affichée - - - Extend selection to start of line - Extension de la sélection jusqu'au début de la ligne - - - Extend rectangular selection to first visible character in line - Extension de la sélection rectangulaire jusqu'au premier caractère visible de la ligne - - - Move to end of line - Déplacement à la fin de la ligne - - - Extend selection to end of line - Extension de la sélection jusqu'à la fin de la ligne - - - Move to end of text - Déplacement à la fin du du texte - - - Extend selection to end of text - Extension de la sélection jusqu'à la fin du texte - - - Move to end of displayed line - Déplacement à la fin de la ligne affichée - - - Extend selection to end of displayed line - Extension de la sélection à la fin de la ligne affichée - - - Extend rectangular selection to end of line - Extension de la sélection rectangulaire à la fin de la ligne - - - Move up one page - Déplacement d'une page vers le haut - - - Extend selection up one page - Extension de la sélection d'une page vers le haut - - - Extend rectangular selection up one page - Extension de la sélection rectangulaire d'une page vers le haut - - - Move down one page - Déplacement d'une page vers le bas - - - Extend selection down one page - Extension de la sélection d'une page vers le bas - - - Extend rectangular selection down one page - Extension de la sélection rectangulaire d'une page vers le bas - - - Delete current character - Effacement du caractère courant - - - Cut selection - Couper la sélection - - - Delete word to right - Suppression du mot de droite - - - Delete line to right - Suppression de la partie droite de la ligne - - - Toggle insert/overtype - Basculement Insertion /Ecrasement - - - Paste - Coller - - - Copy selection - Copier la sélection - - - Cancel - Annuler - - - Delete previous character - Suppression du dernier caractère - - - Delete word to left - Suppression du mot de gauche - - - Undo the last command - Annuler la dernière commande - - - Delete line to left - Effacer la partie gauche de la ligne - - - Redo last command - Refaire la dernière commande - - - Select all text - Sélectionner tout le texte - - - Indent one level - Indentation d'un niveau - - - Move back one indentation level - Désindentation d'un niveau - - - Insert new line - Insertion d'une nouvelle ligne - - - Zoom in - Zoom avant - - - Zoom out - Zoom arrière - - - Set zoom - Définition du zoom - - - Formfeed - Chargement de la page - - - Cut current line - Couper la ligne courante - - - Delete current line - Suppression de la ligne courante - - - Copy current line - Copier la ligne courante - - - Swap current and previous lines - Permuter la ligne précédente avec la ligne courante - - - Convert selection to lower case - Conversion de la ligne courante en minuscules - - - Convert selection to upper case - Conversion de la ligne courante en majuscules - - - Delete previous character if not at line start - Suppression du caractère précédent sauf en début de ligne - - - Duplicate selection - - - - - QextScintillaLexerBash - - Default - Par défaut - - - Error - Erreur - - - Comment - Commentaire - - - Number - Nombre - - - Keyword - Mot-clé - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Operator - Opérateur - - - Identifier - Identificateur - - - Scalar - Scalaire - - - Parameter expansion - Extension de paramètre - - - Backticks - Quotes inverses - - - Here document delimiter - Délimiteur de texte intégré (cat <<EOF....EOF) - - - Single-quoted here document - Document intégré guillemets simples - - - - QextScintillaLexerBatch - - Default - Par défaut - - - Comment - Commentaire - - - Keyword - Mot-clé - - - Label - Titre - - - Hide command character - Cacher le caratère de commande - - - External command - Commande externe - - - Variable - Variable - - - Operator - Opérateur - - - - QextScintillaLexerCPP - - Default - Par défaut - - - C comment - Commentaire C - - - C++ comment - Commentaire C++ - - - JavaDoc style C comment - Commentaire C de style JavaDoc - - - Number - Nombre - - - Keyword - Mot-clé - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Pre-processor block - Instructions de pré-processing - - - Operator - Opérateur - - - Identifier - Identificateur - - - Unclosed string - Chaine de caractères non refermée - - - JavaDoc style C++ comment - Commentaire C++ de style JavaDoc - - - Secondary keywords and identifiers - Seconds mots-clés et identificateurs - - - JavaDoc keyword - Mot-clé JavaDoc - - - JavaDoc keyword error - Erreur de mot-clé JavaDoc - - - Global classes and typedefs - Classes globales et définitions de types - - - - QextScintillaLexerCSS - - Default - Par défaut - - - Tag - Balise - - - Class selector - Classe - - - Pseudo-class - Pseudo-classe - - - Unknown pseudo-class - Peudo-classe inconnue - - - Operator - Opérateur - - - CSS1 property - Propriété CSS1 - - - Unknown property - Propriété inconnue - - - Value - Valeur - - - ID selector - ID - - - Important - Important - - - @-rule - règle-@ - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - CSS2 property - Propriété CSS2 - - - Attribute - Attribut - - - - QextScintillaLexerCSharp - - Verbatim string - Chaine verbatim - - - - QextScintillaLexerDiff - - Default - Par défaut - - - Comment - Commentaire - - - Command - Commande - - - Header - En-tête - - - Position - Position - - - Removed line - Ligne supprimée - - - Added line - Ligne ajoutée - - - - QextScintillaLexerHTML - - HTML default - HTML par défaut - - - Tag - Balise - - - Unknown tag - Balise inconnue - - - Attribute - Attribut - - - Unknown attribute - Attribut inconnu - - - HTML number - Nombre HTML - - - HTML double-quoted string - Chaine de caractères HTML (guillemets doubles) - - - HTML single-quoted string - Chaine de caractères HTML (guillemets simples) - - - Other text in a tag - Autre texte dans les balises - - - HTML comment - Commentaire HTML - - - Entity - Entité - - - End of a tag - Balise fermante - - - Start of an XML fragment - Début de block XML - - - End of an XML fragment - Fin de block XML - - - Script tag - Balise de script - - - Start of an ASP fragment with @ - Début de block ASP avec @ - - - Start of an ASP fragment - Début de block ASP - - - CDATA - CDATA - - - Start of a PHP fragment - Début de block PHP - - - Unquoted HTML value - Valeur HTML sans guillemets - - - ASP X-Code comment - Commentaire X-Code ASP - - - SGML default - SGML par défaut - - - SGML command - Commande SGML - - - First parameter of an SGML command - Premier paramètre de commande SGML - - - SGML double-quoted string - Chaine de caractères SGML (guillemets doubles) - - - SGML single-quoted string - Chaine de caractères SGML (guillemets simples) - - - SGML error - Erreur SGML - - - SGML special entity - Entité SGML spéciale - - - SGML comment - Commentaire SGML - - - First parameter comment of an SGML command - Premier paramètre de commentaire de commande SGML - - - SGML block default - Block SGML par défaut - - - Start of a JavaScript fragment - Début de block JavaScript - - - JavaScript default - JavaScript par défaut - - - JavaScript comment - Commentaire JavaScript - - - JavaScript line comment - Commentaire de ligne JavaScript - - - JavaDoc style JavaScript comment - Commentaire JavaScript de style JavaDoc - - - JavaScript number - Nombre JavaScript - - - JavaScript word - Mot JavaScript - - - JavaScript keyword - Mot-clé JavaScript - - - JavaScript double-quoted string - Chaine de caractères JavaScript (guillemets doubles) - - - JavaScript single-quoted string - Chaine de caractères JavaScript (guillemets simples) - - - JavaScript symbol - Symbole JavaScript - - - JavaScript unclosed string - Chaine de caractères JavaScript non refermée - - - JavaScript regular expression - Expression régulière JavaScript - - - Start of an ASP JavaScript fragment - Début de block JavaScript ASP - - - ASP JavaScript default - JavaScript ASP par défaut - - - ASP JavaScript comment - Commentaire JavaScript ASP - - - ASP JavaScript line comment - Commentaire de ligne JavaScript ASP - - - JavaDoc style ASP JavaScript comment - Commentaire JavaScript ASP de style JavaDoc - - - ASP JavaScript number - Nombre JavaScript ASP - - - ASP JavaScript word - Mot JavaScript ASP - - - ASP JavaScript keyword - Mot-clé JavaScript ASP - - - ASP JavaScript double-quoted string - Chaine de caractères JavaScript ASP (guillemets doubles) - - - ASP JavaScript single-quoted string - Chaine de caractères JavaScript ASP (guillemets simples) - - - ASP JavaScript symbol - Symbole JavaScript ASP - - - ASP JavaScript unclosed string - Chaine de caractères JavaScript ASP non refermée - - - ASP JavaScript regular expression - Expression régulière JavaScript ASP - - - Start of a VBScript fragment - Début de block VBScript - - - VBScript default - VBScript par défaut - - - VBScript comment - Commentaire VBScript - - - VBScript number - Nombre VBScript - - - VBScript keyword - Mot-clé VBScript - - - VBScript string - Chaine de caractères VBScript - - - VBScript identifier - Identificateur VBScript - - - VBScript unclosed string - Chaine de caractères VBScript non refermée - - - Start of an ASP VBScript fragment - Début de block VBScript ASP - - - ASP VBScript default - VBScript ASP par défaut - - - ASP VBScript comment - Commentaire VBScript ASP - - - ASP VBScript number - Nombre VBScript ASP - - - ASP VBScript keyword - Mot-clé VBScript ASP - - - ASP VBScript string - Chaine de caractères VBScript ASP - - - ASP VBScript identifier - Identificateur VBScript ASP - - - ASP VBScript unclosed string - Chaine de caractères VBScript ASP non refermée - - - Start of a Python fragment - Début de block Python - - - Python default - Python par défaut - - - Python comment - Commentaire Python - - - Python number - Nombre Python - - - Python double-quoted string - Chaine de caractères Python (guillemets doubles) - - - Python single-quoted string - Chaine de caractères Python (guillemets simples) - - - Python keyword - Mot-clé Python - - - Python triple double-quoted string - Chaine de caractères Python (triples guillemets doubles) - - - Python triple single-quoted string - Chaine de caractères Python (triples guillemets simples) - - - Python class name - Nom de classe Python - - - Python function or method name - Méthode ou fonction Python - - - Python operator - Opérateur Python - - - Python identifier - Identificateur Python - - - Start of an ASP Python fragment - Début de block Python ASP - - - ASP Python default - Python ASP par défaut - - - ASP Python comment - Commentaire Python ASP - - - ASP Python number - Nombre Python ASP - - - ASP Python double-quoted string - Chaine de caractères Python ASP (guillemets doubles) - - - ASP Python single-quoted string - Chaine de caractères Python ASP (guillemets simples) - - - ASP Python keyword - Mot-clé Python ASP - - - ASP Python triple double-quoted string - Chaine de caractères Python ASP (triples guillemets doubles) - - - ASP Python triple single-quoted string - Chaine de caractères Python ASP (triples guillemets simples) - - - ASP Python class name - Nom de classe Python ASP - - - ASP Python function or method name - Méthode ou fonction Python ASP - - - ASP Python operator - Opérateur Python ASP - - - ASP Python identifier - Identificateur Python ASP - - - PHP default - PHP par défaut - - - PHP double-quoted string - Chaine de caractères PHP (guillemets doubles) - - - PHP single-quoted string - Chaine de caractères PHP (guillemets simples) - - - PHP keyword - Mot-clé PHP - - - PHP number - Nombre PHP - - - PHP variable - Variable PHP - - - PHP comment - Commentaire PHP - - - PHP line comment - Commentaire de ligne PHP - - - PHP double-quoted variable - Variable PHP (guillemets doubles) - - - PHP operator - Opérateur PHP - - - - QextScintillaLexerIDL - - UUID - UUID - - - - QextScintillaLexerJavaScript - - Regular expression - Expression régulière - - - - QextScintillaLexerLua - - Default - Par défaut - - - Comment - Commentaire - - - Line comment - Commentaire de ligne - - - Number - Nombre - - - Keyword - Mot-clé - - - String - Chaîne de caractères - - - Character - Caractère - - - Literal string - Chaîne littérale - - - Preprocessor - Préprocessing - - - Operator - Opérateur - - - Identifier - Identificateur - - - Unclosed string - Chaine de caractères non refermée - - - Basic functions - Fonctions de base - - - String, table and maths functions - Fonctions sur les chaines, tables et fonctions math - - - Coroutines, i/o and system facilities - Coroutines, i/o et fonctions système - - - - QextScintillaLexerMakefile - - Default - Par défaut - - - Comment - Commentaire - - - Preprocessor - Préprocessing - - - Variable - Variable - - - Operator - Opérateur - - - Target - Cible - - - Error - Erreur - - - - QextScintillaLexerPOV - - Default - Par défaut - - - Comment - Commentaire - - - Comment line - Ligne commentée - - - Number - Nombre - - - Operator - Opérateur - - - Identifier - Identificateur - - - String - Chaîne de caractères - - - Unclosed string - Chaine de caractères non refermée - - - Directive - Directive - - - Bad directive - Mauvaise directive - - - Objects, CSG and appearance - Objets, CSG et apparence - - - Types, modifiers and items - Types, modifieurs et éléments - - - Predefined identifiers - Identifiants prédéfinis - - - Predefined functions - Fonctions prédéfinies - - - User defined 1 - Définition utilisateur 1 - - - User defined 2 - Définition utilisateur 2 - - - User defined 3 - Définition utilisateur 3 - - - - QextScintillaLexerPerl - - Default - Par défaut - - - Error - Erreur - - - Comment - Commentaire - - - POD - POD - - - Number - Nombre - - - Keyword - Mot-clé - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Operator - Opérateur - - - Identifier - Identificateur - - - Scalar - Scalaire - - - Array - Tableau - - - Hash - Hashage - - - Symbol table - Table de symboles - - - Regular expression - Expression régulière - - - Substitution - Substitution - - - Backticks - Quotes inverses - - - Data section - Section de données - - - Here document delimiter - Délimiteur de texte intégré (cat <<EOF....EOF) - - - Single-quoted here document - Document intégré guillemets simples - - - Double-quoted here document - Document intégré guillemets doubles - - - Backtick here document - Document intégré quotes inverses - - - Quoted string (q) - Chaine quotée (q) - - - Quoted string (qq) - Chaine quotée (qq) - - - Quoted string (qx) - Chaine quotée (qx) - - - Quoted string (qr) - Chaine quotée (qr) - - - Quoted string (qw) - Chaine quotée (qw) - - - POD verbatim - POD verbatim - - - - QextScintillaLexerProperties - - Default - Par défaut - - - Comment - Commentaire - - - Section - Section - - - Assignment - Affectation - - - Default value - Valeur par défaut - - - - QextScintillaLexerPython - - Default - Par défaut - - - Comment - Commentaire - - - Number - Nombre - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Keyword - Mot-clé - - - Triple single-quoted string - Chaine de caractères HTML (guillemets simples) - - - Triple double-quoted string - Chaine de caractères HTML (guillemets simples) - - - Class name - Nom de classe - - - Function or method name - Nom de méthode ou de fonction - - - Operator - Opérateur - - - Identifier - Identificateur - - - Comment block - Block de commentaires - - - Unclosed string - Chaine de caractères non refermée - - - Highlighted identifier - - - - Decorator - - - - - QextScintillaLexerRuby - - Default - Par défaut - - - Comment - Commentaire - - - Number - Nombre - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Keyword - Mot-clé - - - Class name - Nom de classe - - - Function or method name - Nom de méthode ou de fonction - - - Operator - Opérateur - - - Identifier - Identificateur - - - Error - Erreur - - - POD - POD - - - Regular expression - Expression régulière - - - Global - - - - Symbol - Symbole - - - Module name - - - - Instance variable - - - - Class variable - - - - Backticks - Quotes inverses - - - Data section - Section de données - - - Here document delimiter - Délimiteur de texte intégré (cat <<EOF....EOF) - - - Here document - - - - %q string - - - - %Q string - - - - %x string - - - - %r string - - - - %w string - - - - Demoted keyword - - - - stdin - - - - stdout - - - - stderr - - - - - QextScintillaLexerSQL - - Default - Par défaut - - - Comment - Commentaire - - - Number - Nombre - - - Keyword - Mot-clé - - - Single-quoted string - Chaine de caractères (guillemets simples) - - - Operator - Opérateur - - - Identifier - Identificateur - - - Comment line - Ligne commentée - - - JavaDoc style comment - Commentaire style JavaDoc - - - Double-quoted string - Chaine de caractères (guillemets doubles) - - - SQL*Plus keyword - Mot-clé SQL*Plus - - - SQL*Plus prompt - Prompt SQL*Plus - - - SQL*Plus comment - Commentaire SQL*Plus - - - # comment line - # Ligne commentée - - - JavaDoc keyword - Mot-clé JavaDoc - - - JavaDoc keyword error - Erreur de mot-clé JavaDoc - - - User defined 1 - Définition utilisateur 1 - - - User defined 2 - Définition utilisateur 2 - - - User defined 3 - Définition utilisateur 3 - - - User defined 4 - Définition utilisateur 4 - - - - QextScintillaLexerTeX - - Default - Par défaut - - - Special - Spécial - - - Group - Groupe - - - Symbol - Symbole - - - Command - Commande - - - Text - Texte - - - diff --git a/qt/qscintilla_pt_br.qm b/qt/qscintilla_pt_br.qm deleted file mode 100644 index 1b181f3..0000000 Binary files a/qt/qscintilla_pt_br.qm and /dev/null differ diff --git a/qt/qscintilla_pt_br.ts b/qt/qscintilla_pt_br.ts deleted file mode 100644 index 207472f..0000000 --- a/qt/qscintilla_pt_br.ts +++ /dev/null @@ -1,1635 +0,0 @@ - - - QextScintillaCommand - - Move down one line - Mover uma linha para baixo - - - Extend selection down one line - Extender a seleção uma linha para baixo - - - Scroll view down one line - Descer a visão uma linha para baixo - - - Extend rectangular selection down one line - Extender a seleção retangular uma linha para baixo - - - Move up one line - Mover uma linha para cima - - - Extend selection up one line - Extender a seleção uma linha para cima - - - Scroll view up one line - Subir a visão uma linha para cima - - - Extend rectangular selection up one line - Extender a seleção retangular uma linha para cima - - - Move up one paragraph - Mover um paragrafo para cima - - - Extend selection up one paragraph - Extender a seleção um paragrafo para cima - - - Move down one paragraph - Mover um paragrafo para baixo - - - Extend selection down one paragraph - Extender a seleção um paragrafo para baixo - - - Move left one character - Mover um caractere para a esquerda - - - Extend selection left one character - Extender a seleção um caractere para esquerda - - - Move left one word - Mover uma palavra para esquerda - - - Extend selection left one word - Extender a seleção uma palavra para esquerda - - - Extend rectangular selection left one character - Extender a seleção retangular um caractere para esquerda - - - Move right one character - Mover um caractere para direita - - - Extend selection right one character - Extender a seleção um caractere para direita - - - Move right one word - Mover uma palavra para direita - - - Extend selection right one word - Extender a seleção uma palavra para direita - - - Extend rectangular selection right one character - Extender a seleção retangular um caractere para direita - - - Move left one word part - Mover uma parte da palavra para esquerda - - - Extend selection left one word part - Extender a seleção uma parte de palavra para esquerda - - - Move right one word part - Mover uma parte da palavra para direita - - - Extend selection right one word part - Extender a seleção uma parte de palavra para direita - - - Move to first visible character in line - Mover para o primeiro caractere visível na linha - - - Extend selection to first visible character in line - Extender a seleção para o primeiro caractere na linha - - - Move to start of text - Mover para o ínicio do texto - - - Extend selection to start of text - Extender a seleção para o ínicio do texto - - - Move to start of displayed line - Mover para o ínicio da linha exibida - - - Extend selection to start of line - Extender a seleção para o ínicio da linha - - - Extend rectangular selection to first visible character in line - Extender a seleção para o primeiro caractere visível na linha - - - Move to end of line - Mover para o final da linha - - - Extend selection to end of line - Extender a seleção para o final da linha - - - Move to end of text - Mover para o final do texto - - - Extend selection to end of text - Extender a seleção para o final do texto - - - Move to end of displayed line - Mover para o final da linha exibida - - - Extend selection to end of displayed line - Extender a seleção retangular para o final da linha exibida - - - Extend rectangular selection to end of line - Extender a seleção retangular para o final da linha - - - Move up one page - Mover uma página para cima - - - Extend selection up one page - Extender a seleção uma página para cima - - - Extend rectangular selection up one page - Extender a seleção retangular uma página para cima - - - Move down one page - Mover uma página para baixo - - - Extend selection down one page - Extender a seleção uma página para baixo - - - Extend rectangular selection down one page - Extender a seleção retangular uma página para baixo - - - Delete current character - Excluir caractere atual - - - Cut selection - Recortar seleção - - - Delete word to right - Excluir palavra para direita - - - Delete line to right - Excluir linha para direita - - - Toggle insert/overtype - Alternar entre modo de inserir/sobreescrever - - - Paste - Copiar - - - Copy selection - Copiar seleção - - - Cancel - Cancelar - - - Delete previous character - Excluir caractere anterior - - - Delete word to left - Excluir palavra a esquerda - - - Undo the last command - Desfazer último comando - - - Delete line to left - Excluir linha a esquerda - - - Redo last command - Refazer último comando - - - Select all text - Selecionar todo o texto - - - Indent one level - Indentar um nível - - - Move back one indentation level - Desindentar um nível - - - Insert new line - Inserir nova linha - - - Zoom in - Aumentar zoom - - - Zoom out - Diminuir zoom - - - Set zoom - Configurar zoom - - - Formfeed - Alimentação da Página - - - Cut current line - Configurar linha atual - - - Delete current line - Excluir linha atual - - - Copy current line - Copiar linha atual - - - Swap current and previous lines - Trocar linha atual com as linhas anteriores - - - Convert selection to lower case - Converter a seleção para minúscula - - - Convert selection to upper case - Converter a seleção para maiúscula - - - Delete previous character if not at line start - Excluir o caractere anterior se o mesmo não estiver no ínicio da linha - - - Duplicate selection - - - - - QextScintillaLexerBash - - Default - Padrão - - - Error - Número - - - Comment - Comentário - - - Number - Número - - - Keyword - Palavra Chave - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Operator - Operador - - - Identifier - Identificador - - - Scalar - Escalar - - - Parameter expansion - Parâmetro de Expansão - - - Backticks - Aspas Invertidas - - - Here document delimiter - Delimitador de "here documents" - - - Single-quoted here document - "here document" envolvido por aspas simples - - - - QextScintillaLexerBatch - - Default - Padrão - - - Comment - Comentário - - - Keyword - Palavra Chave - - - Label - Rótulo - - - Hide command character - Esconder caractere de comando - - - External command - Comando externo - - - Variable - Variável - - - Operator - Operador - - - - QextScintillaLexerCPP - - Default - Padrão - - - C comment - Comentário C - - - C++ comment - Comentário C++ - - - JavaDoc style C comment - Comentário JavaDoc estilo C - - - Number - Número - - - Keyword - Palavra Chave - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Pre-processor block - Instruções de pré-processamento - - - Operator - Operador - - - Identifier - Identificador - - - Unclosed string - Cadeia de caracteres não fechada - - - JavaDoc style C++ comment - Comentário JavaDoc estilo C++ - - - Secondary keywords and identifiers - Identificadores e palavras chave secundárias - - - JavaDoc keyword - Palavra chave JavaDoc - - - JavaDoc keyword error - Erro de palavra chave do JavaDoc - - - Global classes and typedefs - Classes e definições de tipo globais - - - - QextScintillaLexerCSS - - Default - Padrão - - - Tag - Marcador - - - Class selector - Seletor de classe - - - Pseudo-class - Pseudo-classe - - - Unknown pseudo-class - Pseudo-classe desconhecida - - - Operator - Operador - - - CSS1 property - Propriedade CSS1 - - - Unknown property - Propriedade desconhecida - - - Value - Valor - - - ID selector - Seletor de ID - - - Important - Importante - - - @-rule - regra-@ - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - CSS2 property - Propriedade CSS2 - - - Attribute - Atributo - - - - QextScintillaLexerCSharp - - Verbatim string - Cadeia de caracteres no formato verbatim - - - - QextScintillaLexerDiff - - Default - Padrão - - - Comment - Comentário - - - Command - Comando - - - Header - Cabeçalho - - - Position - Posição - - - Removed line - Linha Removida - - - Added line - Linha Adicionada - - - - QextScintillaLexerHTML - - HTML default - HTML por padrão - - - Tag - Marcador - - - Unknown tag - Marcador desconhecido - - - Attribute - Atributo - - - Unknown attribute - Atributo desconhecido - - - HTML number - Número HTML - - - HTML double-quoted string - Cadeia de caracteres HTML envolvida por aspas duplas - - - HTML single-quoted string - Cadeia de caracteres HTML envolvida por aspas simples - - - Other text in a tag - Outro texto em um marcador - - - HTML comment - Comentário HTML - - - Entity - Entidade - - - End of a tag - Final de um marcador - - - Start of an XML fragment - Início de um bloco XML - - - End of an XML fragment - Final de um bloco XML - - - Script tag - Marcador de script - - - Start of an ASP fragment with @ - Início de um bloco ASP com @ - - - Start of an ASP fragment - Início de um bloco ASP - - - CDATA - CDATA - - - Start of a PHP fragment - Início de um bloco PHP - - - Unquoted HTML value - Valor HTML não envolvido por aspas - - - ASP X-Code comment - Comentário ASP X-Code - - - SGML default - SGML por padrão - - - SGML command - Comando SGML - - - First parameter of an SGML command - Primeiro parâmetro em um comando SGML - - - SGML double-quoted string - Cadeia de caracteres SGML envolvida por aspas duplas - - - SGML single-quoted string - Cadeia de caracteres SGML envolvida por aspas simples - - - SGML error - Erro SGML - - - SGML special entity - Entidade especial SGML - - - SGML comment - Comando SGML - - - First parameter comment of an SGML command - Primeiro comentário de parâmetro de uma comando SGML - - - SGML block default - Bloco SGML por padrão - - - Start of a JavaScript fragment - Início de um bloco Javascript - - - JavaScript default - JavaScript por padrão - - - JavaScript comment - Comentário JavaScript - - - JavaScript line comment - Comentário de linha JavaScript - - - JavaDoc style JavaScript comment - Comentário JavaScript no estilo JavaDoc - - - JavaScript number - Número JavaScript - - - JavaScript word - Palavra JavaScript - - - JavaScript keyword - Palavra chave JavaScript - - - JavaScript double-quoted string - Cadeia de caracteres JavaScript envolvida por aspas duplas - - - JavaScript single-quoted string - Cadeia de caracteres JavaScript envolvida por aspas simples - - - JavaScript symbol - Símbolo JavaScript - - - JavaScript unclosed string - Cadeia de caracteres JavaScript não fechada - - - JavaScript regular expression - Expressão regular JavaScript - - - Start of an ASP JavaScript fragment - Início de um bloco Javascript ASP - - - ASP JavaScript default - JavaScript ASP por padrão - - - ASP JavaScript comment - Comentário JavaScript ASP - - - ASP JavaScript line comment - Comentário de linha JavaScript ASP - - - JavaDoc style ASP JavaScript comment - Comentário JavaScript ASP no estilo JavaDoc - - - ASP JavaScript number - Número JavaScript ASP - - - ASP JavaScript word - Palavra chave JavaScript ASP - - - ASP JavaScript keyword - Palavra chave JavaScript ASP - - - ASP JavaScript double-quoted string - Cadeia de caracteres JavaScript ASP envolvida por aspas duplas - - - ASP JavaScript single-quoted string - Cadeia de caracteres JavaScript ASP envolvida por aspas simples - - - ASP JavaScript symbol - Símbolo JavaScript ASP - - - ASP JavaScript unclosed string - Cadeia de caracteres JavaScript ASP não fechada - - - ASP JavaScript regular expression - Expressão regular JavaScript ASP - - - Start of a VBScript fragment - Início de um bloco VBScript - - - VBScript default - VBScript por padrão - - - VBScript comment - Comentário VBScript - - - VBScript number - Número VBScript - - - VBScript keyword - Palavra chave VBScript - - - VBScript string - Cadeia de caracteres VBScript - - - VBScript identifier - Identificador VBScript - - - VBScript unclosed string - Cadeia de caracteres VBScript não fechada - - - Start of an ASP VBScript fragment - Início de um bloco VBScript ASP - - - ASP VBScript default - VBScript ASP por padrão - - - ASP VBScript comment - Comentário VBScript ASP - - - ASP VBScript number - Número VBScript ASP - - - ASP VBScript keyword - Palavra chave VBScript ASP - - - ASP VBScript string - Cadeia de caracteres VBScript ASP - - - ASP VBScript identifier - Identificador VBScript ASP - - - ASP VBScript unclosed string - Cadeia de caracteres VBScript ASP não fechada - - - Start of a Python fragment - Início de um bloco Python - - - Python default - Python por padrão - - - Python comment - Comentário Python - - - Python number - Número Python - - - Python double-quoted string - Cadeia de caracteres Python envolvida por aspas duplas - - - Python single-quoted string - Cadeia de caracteres Python envolvida por aspas simples - - - Python keyword - Palavra chave Python - - - Python triple double-quoted string - Cadeia de caracteres Python envolvida por aspas triplas duplas - - - Python triple single-quoted string - Cadeia de caracteres Python envolvida por aspas triplas simples - - - Python class name - Nome de classe Python - - - Python function or method name - Nome de método ou função Python - - - Python operator - Operador Python - - - Python identifier - Identificador Python - - - Start of an ASP Python fragment - Início de um bloco Python ASP - - - ASP Python default - Python ASP por padrão - - - ASP Python comment - Comentário Python ASP - - - ASP Python number - Número Python ASP - - - ASP Python double-quoted string - Cadeia de caracteres Python ASP envolvida por aspas duplas - - - ASP Python single-quoted string - Cadeia de caracteres Python ASP envolvida por aspas simples - - - ASP Python keyword - Palavra chave Python ASP - - - ASP Python triple double-quoted string - Cadeia de caracteres Python ASP envolvida por aspas triplas duplas - - - ASP Python triple single-quoted string - Cadeia de caracteres Python ASP envolvida por aspas triplas simples - - - ASP Python class name - Nome de classe Python ASP - - - ASP Python function or method name - Nome de método ou função Python ASP - - - ASP Python operator - Operador Python ASP - - - ASP Python identifier - Identificador Python ASP - - - PHP default - PHP por padrão - - - PHP double-quoted string - Cadeia de caracteres PHP envolvida por aspas duplas - - - PHP single-quoted string - Cadeia de caracteres PHP envolvida por aspas simples - - - PHP keyword - Palavra chave PHP - - - PHP number - Número PHP - - - PHP variable - Variável PHP - - - PHP comment - Comentário PHP - - - PHP line comment - Comentário de linha PHP - - - PHP double-quoted variable - Variável PHP envolvida por aspas duplas - - - PHP operator - Operador PHP - - - - QextScintillaLexerIDL - - UUID - UUID - - - - QextScintillaLexerJavaScript - - Regular expression - Expressão Regular - - - - QextScintillaLexerLua - - Default - Padrão - - - Comment - Comentário - - - Line comment - Comentar Linha - - - Number - Número - - - Keyword - Palavra Chave - - - String - Cadeia de Caracteres - - - Character - Caractere - - - Literal string - Cadeia de caracteres literal - - - Preprocessor - Preprocessador - - - Operator - Operador - - - Identifier - Identificador - - - Unclosed string - Cadeia de caracteres não fechada - - - Basic functions - Funções básicas - - - String, table and maths functions - Funções de cadeia de caracteres e de tabelas matemáticas - - - Coroutines, i/o and system facilities - Funções auxiiares, e/s e funções de sistema - - - - QextScintillaLexerMakefile - - Default - Padrão - - - Comment - Comentário - - - Preprocessor - Preprocessador - - - Variable - Variável - - - Operator - Operador - - - Target - Destino - - - Error - Erro - - - - QextScintillaLexerPOV - - Default - Padrão - - - Comment - Comentário - - - Comment line - Comentar Linha - - - Number - Número - - - Operator - Operador - - - Identifier - Identificador - - - String - Cadeia de Caracteres - - - Unclosed string - Cadeia de caracteres não fechada - - - Directive - Diretiva - - - Bad directive - Diretiva ruim - - - Objects, CSG and appearance - Objetos, CSG e aparência - - - Types, modifiers and items - Tipos, modificadores e itens - - - Predefined identifiers - Identificadores predefinidos - - - Predefined functions - Funções predefinidas - - - User defined 1 - Definição de usuário 1 - - - User defined 2 - Definição de usuário 2 - - - User defined 3 - Definição de usuário 3 - - - - QextScintillaLexerPerl - - Default - Padrão - - - Error - Erro - - - Comment - Comentário - - - POD - POD - - - Number - Número - - - Keyword - Palavra Chave - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Operator - Operador - - - Identifier - Identificador - - - Scalar - Escalar - - - Array - Vetor - - - Hash - Hash - - - Symbol table - Tabela de Símbolos - - - Regular expression - Expressão Regular - - - Substitution - Substituição - - - Backticks - Aspas Invertidas - - - Data section - Seção de dados - - - Here document delimiter - Delimitador de documentos criados através de redicionadores (>> e >) - - - Single-quoted here document - "here document" envolvido por aspas simples - - - Double-quoted here document - "here document" envolvido por aspas duplas - - - Backtick here document - "here document" envolvido por aspas invertidas - - - Quoted string (q) - Cadeia de caracteres envolvida por aspas (q) - - - Quoted string (qq) - Cadeia de caracteres envolvida por aspas (qq) - - - Quoted string (qx) - Cadeia de caracteres envolvida por aspas (qx) - - - Quoted string (qr) - Cadeia de caracteres envolvida por aspas (qr) - - - Quoted string (qw) - Cadeia de caracteres envolvida por aspas (qw) - - - POD verbatim - POD em formato verbatim - - - - QextScintillaLexerProperties - - Default - Padrão - - - Comment - Comentário - - - Section - Seção - - - Assignment - Atribuição - - - Default value - Valor Padrão - - - - QextScintillaLexerPython - - Default - Padrão - - - Comment - Comentário - - - Number - Número - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Keyword - Palavra Chave - - - Triple single-quoted string - Cadeia de caracteres envolvida por três aspas simples - - - Triple double-quoted string - Cadeia de caracteres envolvida por três aspas duplas - - - Class name - Nome da classe - - - Function or method name - Nome da função ou método - - - Operator - Operador - - - Identifier - Identificador - - - Comment block - Bloco de comentários - - - Unclosed string - Cadeia de caracteres não fechada - - - Highlighted identifier - - - - Decorator - - - - - QextScintillaLexerRuby - - Default - Padrão - - - Comment - Comentário - - - Number - Número - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Keyword - Palavra Chave - - - Class name - Nome da classe - - - Function or method name - Nome da função ou método - - - Operator - Operador - - - Identifier - Identificador - - - Error - - - - POD - POD - - - Regular expression - Expressão Regular - - - Global - - - - Symbol - Símbolo - - - Module name - - - - Instance variable - - - - Class variable - - - - Backticks - Aspas Invertidas - - - Data section - Seção de dados - - - Here document delimiter - - - - Here document - - - - %q string - - - - %Q string - - - - %x string - - - - %r string - - - - %w string - - - - Demoted keyword - - - - stdin - - - - stdout - - - - stderr - - - - - QextScintillaLexerSQL - - Default - Padrão - - - Comment - Comentário - - - Number - Número - - - Keyword - Palavra Chave - - - Single-quoted string - Cadeia de caracteres envolvida por aspas simples - - - Operator - Operador - - - Identifier - Identificador - - - Comment line - Comentário de Linha - - - JavaDoc style comment - Comentário estilo JavaDoc - - - Double-quoted string - Cadeia de caracteres envolvida por aspas duplas - - - SQL*Plus keyword - Palavra chave do SQL*Plus - - - SQL*Plus prompt - Prompt do SQL*Plus - - - SQL*Plus comment - Comentário do SQL*Plus - - - # comment line - Comentário de linha usando # - - - JavaDoc keyword - Palavra chave JavaDoc - - - JavaDoc keyword error - Erro de palavra chave do JavaDoc - - - User defined 1 - Definição de usuário 1 - - - User defined 2 - Definição de usuário 2 - - - User defined 3 - Definição de usuário 3 - - - User defined 4 - Definição de usuário 4 - - - - QextScintillaLexerTeX - - Default - Padrão - - - Special - Especial - - - Group - Grupo - - - Symbol - Símbolo - - - Command - Comando - - - Text - Texto - - - diff --git a/qt/qscintilla_ru.qm b/qt/qscintilla_ru.qm deleted file mode 100644 index 7d85cf8..0000000 Binary files a/qt/qscintilla_ru.qm and /dev/null differ diff --git a/qt/qscintilla_ru.ts b/qt/qscintilla_ru.ts deleted file mode 100644 index 00ac826..0000000 --- a/qt/qscintilla_ru.ts +++ /dev/null @@ -1,1635 +0,0 @@ - - - QextScintillaCommand - - Move left one character - Сдвинуться влево на один символ - - - Move right one character - Сдвинуться вправо на один символ - - - Move up one line - Сдвинуться вверх на одну строчку - - - Move down one line - Сдвинуться вправо на одну строчку - - - Move left one word part - Сдвинуться влево на одну часть слова - - - Move right one word part - Сдвинуться вправо на одну часть слова - - - Move left one word - Сдвинуться влево на одно слово - - - Move right one word - Сдвинуться вправо на одно слово - - - Move to first visible character in line - Переместиться на первый видимый символ на строке - - - Move to end of line - Сдвинуться в конец строки - - - Scroll view down one line - Прокрутить вид на одну строку вниз - - - Scroll view up one line - Прокрутить вид на одну строку вверх - - - Move up one paragraph - Сдвинуться вверх на один параграф - - - Move down one paragraph - Сдвинуться вниз на один параграф - - - Move up one page - Сдвинуться вверх на одну страницу - - - Move down one page - Сдвинуться вправо на одну страницу - - - Move to start of text - Переместиться в начало текста - - - Move to end of text - Переместиться в конец текста - - - Indent one level - Увеличить отступ на один уровень - - - Move back one indentation level - Уменьшить отступ на один уровень - - - Select all text - Выбрать весь текст - - - Extend selection left one character - Расширить выделение на один символ влево - - - Extend selection right one character - Расширить выделение на один символ вправо - - - Extend selection up one line - Расширить выделение на одну строку вверх - - - Extend selection down one line - Расширить выделение на одну строку вниз - - - Extend selection left one word part - Расширить выделение влево на одну часть слова - - - Extend selection right one word part - Расширить выделение вправо на одну часть слова - - - Extend selection left one word - Расширить выделение влево на одно слово - - - Extend selection right one word - Расширить выделение вправо на одно слово - - - Extend selection to first visible character in line - Расширить выделение до первого видимого символа на строке - - - Extend selection to start of line - Расширить выделение до начала строки - - - Extend selection to end of line - Расширить выделение до конца строки - - - Extend selection up one paragraph - Расширить выделение вверх на один параграф - - - Extend selection down one paragraph - Расширить выделение вниз на один параграф - - - Extend selection up one page - Расширить выделение на одну страницу вверх - - - Extend selection down one page - Расширить выделение на одну страницу вниз - - - Extend selection to start of text - Расширить выделение до начала текста - - - Extend selection to end of text - Расширить выделение до конца текста - - - Delete previous character - Удалить предыдущий символ - - - Delete previous character if not at line start - Удалить предыдущий символ, если он не в начале строки - - - Delete current character - Удалить текущий символ - - - Delete word to left - Удалить слово слева - - - Delete word to right - Удалить слово справа - - - Delete line to left - Удалить строку слева - - - Delete line to right - Удалить строку справа - - - Insert new line - Вставить новую строку - - - Delete current line - Удалить текущую строку - - - Swap current and previous lines - Поменять местами текущую и предыдущую строки - - - Cut current line - Вырезать текущую строку - - - Cut selection - Вырезать выделение - - - Copy current line - Копировать текущую строку - - - Copy selection - Копировать выделение - - - Paste - Вставить - - - Redo last command - Повторить последнюю команду - - - Undo the last command - Отменить последнюю команду - - - Cancel - Отменить - - - Toggle insert/overtype - Переключиться на вставку/замещение - - - Convert selection to lower case - Преобразовать выделение в нижний регистр - - - Convert selection to upper case - Преобразовать выделение в верхний регистр - - - Zoom in - Увеличить - - - Zoom out - Уменьшить - - - Extend rectangular selection down one line - - - - Extend rectangular selection up one line - - - - Extend rectangular selection left one character - - - - Extend rectangular selection right one character - - - - Move to start of displayed line - - - - Extend rectangular selection to first visible character in line - - - - Move to end of displayed line - - - - Extend selection to end of displayed line - - - - Extend rectangular selection to end of line - - - - Extend rectangular selection up one page - - - - Extend rectangular selection down one page - - - - Set zoom - - - - Formfeed - - - - Duplicate selection - - - - - QextScintillaLexerBash - - Default - По умолчанию - - - Comment - Комментарий - - - Number - Число - - - Keyword - Ключевое слово - - - Double-quoted string - Строка в двойных кавычках - - - Single-quoted string - Строка в одинарных кавычках - - - Operator - Оператор - - - Identifier - Идентификатор - - - Error - - - - Scalar - - - - Parameter expansion - - - - Backticks - - - - Here document delimiter - - - - Single-quoted here document - - - - - QextScintillaLexerBatch - - Default - - - - Comment - - - - Keyword - - - - Label - - - - Hide command character - - - - External command - - - - Variable - - - - Operator - - - - - QextScintillaLexerCPP - - Default - По умолчанию - - - C comment - Комментарий C - - - C++ comment - Комментарий C++ - - - JavaDoc style C comment - Комментарий C в стиле JavaDoc - - - Number - Число - - - Keyword - Ключевое слово - - - Double-quoted string - Строка в двойных кавычках - - - Single-quoted string - Строка в одинарных кавычках - - - Pre-processor block - Блок препроцессора - - - Operator - Оператор - - - Identifier - Идентификатор - - - Unclosed string - Незакрытая строка - - - JavaDoc style C++ comment - Комментарий C++ в стиле JavaDoc - - - Secondary keywords and identifiers - Вторичные ключевые слова и идентификаторы - - - JavaDoc keyword - Ключевое слово JavaDoc - - - JavaDoc keyword error - Ошибка в ключевом слове JavaDoc - - - Global classes and typedefs - По умолчанию - - - - QextScintillaLexerCSS - - Default - - - - Tag - - - - Class selector - - - - Pseudo-class - - - - Unknown pseudo-class - - - - Operator - - - - CSS1 property - - - - Unknown property - - - - Value - - - - ID selector - - - - Important - - - - @-rule - - - - Double-quoted string - - - - Single-quoted string - - - - CSS2 property - - - - Attribute - - - - - QextScintillaLexerCSharp - - Verbatim string - Строка без замен - - - - QextScintillaLexerDiff - - Default - - - - Comment - - - - Command - - - - Header - - - - Position - - - - Removed line - - - - Added line - - - - - QextScintillaLexerHTML - - HTML default - HTML по умолчанию - - - Tag - Тег - - - Unknown tag - Неизвестный тег - - - Attribute - Атрибут - - - Unknown attribute - Неизвестный атрибут - - - HTML number - Число в HTML - - - HTML double-quoted string - Строка в двойных кавычках HTML - - - HTML single-quoted string - Строка в одинарных кавычках HTML - - - Other text in a tag - Другой текст в теге - - - HTML comment - Комментарий HTML - - - Entity - Сущность - - - End of a tag - Окончание тега - - - Start of an XML fragment - Начало фрагмента XML - - - End of an XML fragment - Окончание фрагмента XML - - - Script tag - Тег сценария - - - Start of an ASP fragment with @ - Начало @-фрагмента ASP - - - Start of an ASP fragment - Начало фрагмента ASP - - - CDATA - CDATA - - - Start of a PHP fragment - Начало фрагмента PHP - - - Unquoted HTML value - Значение атрибута HTML не в кавычках - - - ASP X-Code comment - Комментарий ASP X-Code - - - SGML default - SGML по умолчанию - - - SGML command - Команда SGML - - - First parameter of an SGML command - Первый параметр команды SGML - - - SGML double-quoted string - Строка в двойных кавычках SGML - - - SGML single-quoted string - Строка в одинарных кавычках SGML - - - SGML error - Ошибка SGML - - - SGML special entity - Специальная сущность SGML - - - SGML comment - Комментарий SGML - - - First parameter comment of an SGML command - Комментарий к первому параметру команды SGML - - - SGML block default - SGML-блок по умолчанию - - - Start of a JavaScript fragment - Начало фрагмента JavaScript - - - JavaScript default - JavaScript по умолчанию - - - JavaScript comment - Комментарий JavaScript - - - JavaScript line comment - Однострочный комментарий JavaScript - - - JavaDoc style JavaScript comment - Комментарий JavaScript в стиле JavaDoc - - - JavaScript number - Число JavaScript - - - JavaScript word - Слово JavaScript - - - JavaScript keyword - Ключевое слово JavaScript - - - JavaScript double-quoted string - Строка JavaScript в двойных кавычках - - - JavaScript single-quoted string - Строка JavaScript в одинарных кавычках - - - JavaScript symbol - Символ JavaScript - - - JavaScript unclosed string - Незакрытая строка JavaScript - - - JavaScript regular expression - Регулярное выражение JavaScript - - - Start of an ASP JavaScript fragment - Начало JavaScript-фрагмента в ASP - - - ASP JavaScript default - ASP JavaScript по умолчанию - - - ASP JavaScript comment - Комментарий ASP JavaScript - - - ASP JavaScript line comment - Однострочный комментарий ASP JavaScript - - - JavaDoc style ASP JavaScript comment - Комментарий ASP JavaScript в стиле JavaDoc - - - ASP JavaScript number - Число ASP JavaScript - - - ASP JavaScript word - Слово ASP JavaScript - - - ASP JavaScript keyword - Ключевое слово ASP JavaScript - - - ASP JavaScript double-quoted string - Строка ASP JavaScript в двойных кавычках - - - ASP JavaScript single-quoted string - Строка ASP JavaScript в одинарных кавычках - - - ASP JavaScript symbol - Символ ASP JavaScript - - - ASP JavaScript unclosed string - Незакрытая строка ASP JavaScript - - - ASP JavaScript regular expression - Регулярное выражение ASP JavaScript - - - Start of a VBScript fragment - Начало фрагмента VBScript - - - VBScript default - VBScript по умолчанию - - - VBScript comment - Комментарий VBScript - - - VBScript number - Число VBScript - - - VBScript keyword - Ключевое слово VBScript - - - VBScript string - Строка VBScript - - - VBScript identifier - Идентификатор VBScript - - - VBScript unclosed string - Незакрытая строка VBScript - - - Start of an ASP VBScript fragment - Начало VBScript-фрагмента в ASP - - - ASP VBScript default - ASP VBScript по умолчанию - - - ASP VBScript comment - Комментарий ASP VBScript - - - ASP VBScript number - Число ASP VBScript - - - ASP VBScript keyword - Ключевое слово ASP VBScript - - - ASP VBScript string - Строка ASP VBScript - - - ASP VBScript identifier - Идентификатор ASP VBScript - - - ASP VBScript unclosed string - Незакрытая строка ASP VBScript - - - Start of a Python fragment - Начало фрагмента Python - - - Python default - Python по умолчанию - - - Python comment - Комментарий Python - - - Python number - Число в Python - - - Python double-quoted string - Строка в двойных кавычках Python - - - Python single-quoted string - Строка в одинарных кавычках Python - - - Python keyword - Ключевое слово в Python - - - Python triple double-quoted string - Многострочная строка в двойных кавычках в Python - - - Python triple single-quoted string - Многострочная строка в одинарных кавычках в Python - - - Python class name - Имя класса в Python - - - Python function or method name - Имя функции/метода в Python - - - Python operator - Оператор Python - - - Python identifier - Идентификатор Python - - - Start of an ASP Python fragment - Начало Python-фрагмента в ASP - - - ASP Python default - ASP Python по умолчанию - - - ASP Python comment - Комментарий ASP Python - - - ASP Python number - Число в ASP Python - - - ASP Python double-quoted string - Строка в двойных кавычках ASP Python - - - ASP Python single-quoted string - Строка в одинарных кавычках ASP Python - - - ASP Python keyword - Ключевое слово в ASP Python - - - ASP Python triple double-quoted string - Многострочная строка в двойных кавычках в ASP Python - - - ASP Python triple single-quoted string - Многострочная строка в одинарных кавычках в ASP Python - - - ASP Python class name - Имя класса в ASP Python - - - ASP Python function or method name - Имя функции/метода в ASP Python - - - ASP Python operator - Оператор ASP Python - - - ASP Python identifier - Идентификатор ASP Python - - - PHP default - PHP по умолчанию - - - PHP double-quoted string - Строка в двойных кавычках PHP - - - PHP single-quoted string - Строка в одинарных кавычках PHP - - - PHP keyword - Ключевое слово PHP - - - PHP number - Число PHP - - - PHP variable - Переменная PHP - - - PHP comment - Комментарий PHP - - - PHP line comment - Однострочный комментарий PHP - - - PHP double-quoted variable - Переменная в двойных кавычках PHP - - - PHP operator - Оператор PHP - - - - QextScintillaLexerIDL - - UUID - UUID - - - - QextScintillaLexerJavaScript - - Regular expression - Регулярное выражение - - - - QextScintillaLexerLua - - Default - - - - Comment - - - - Line comment - Однострочный комментарий - - - Number - - - - Keyword - - - - String - - - - Character - - - - Literal string - - - - Preprocessor - - - - Operator - - - - Identifier - - - - Unclosed string - Незакрытая строка - - - Basic functions - - - - String, table and maths functions - - - - Coroutines, i/o and system facilities - - - - - QextScintillaLexerMakefile - - Default - - - - Comment - - - - Preprocessor - - - - Variable - - - - Operator - - - - Target - - - - Error - - - - - QextScintillaLexerPOV - - Default - - - - Comment - - - - Comment line - - - - Number - - - - Operator - - - - Identifier - - - - String - - - - Unclosed string - Незакрытая строка - - - Directive - - - - Bad directive - - - - Objects, CSG and appearance - - - - Types, modifiers and items - - - - Predefined identifiers - - - - Predefined functions - - - - User defined 1 - - - - User defined 2 - - - - User defined 3 - - - - - QextScintillaLexerPerl - - Default - По умолчанию - - - Comment - Комментарий - - - Number - Число - - - Keyword - Ключевое слово - - - Double-quoted string - Строка в двойных кавычках - - - Single-quoted string - Строка в одинарных кавычках - - - Operator - Оператор - - - Identifier - Идентификатор - - - Regular expression - Регулярное выражение - - - Error - - - - POD - - - - Scalar - - - - Array - - - - Hash - - - - Symbol table - - - - Substitution - - - - Backticks - - - - Data section - - - - Here document delimiter - - - - Single-quoted here document - - - - Double-quoted here document - - - - Backtick here document - - - - Quoted string (q) - - - - Quoted string (qq) - - - - Quoted string (qx) - - - - Quoted string (qr) - - - - Quoted string (qw) - - - - POD verbatim - - - - - QextScintillaLexerProperties - - Default - - - - Comment - - - - Section - - - - Assignment - - - - Default value - - - - - QextScintillaLexerPython - - Default - По умолчанию - - - Comment - Комментарий - - - Number - Число - - - Double-quoted string - Строка в двойных кавычках - - - Single-quoted string - Строка в одинарных кавычках - - - Keyword - Ключевое слово - - - Triple single-quoted string - Многострочная строка в одинарных кавычках (<code>'''...'''</code>) - - - Triple double-quoted string - Многострочная строка в двойных кавычках (<code>"""..."""</code>) - - - Class name - Имя класса - - - Function or method name - Имя функции/метода - - - Operator - Оператор - - - Identifier - Идентификатор - - - Comment block - Блочный комментарий - - - Unclosed string - Незакрытая строка - - - Highlighted identifier - - - - Decorator - - - - - QextScintillaLexerRuby - - Default - По умолчанию - - - Comment - Комментарий - - - Number - Число - - - Double-quoted string - Строка в двойных кавычках - - - Single-quoted string - Строка в одинарных кавычках - - - Keyword - Ключевое слово - - - Class name - Имя класса - - - Function or method name - Имя функции/метода - - - Operator - Оператор - - - Identifier - Идентификатор - - - Error - - - - POD - - - - Regular expression - - - - Global - - - - Symbol - - - - Module name - - - - Instance variable - - - - Class variable - - - - Backticks - - - - Data section - - - - Here document delimiter - - - - Here document - - - - %q string - - - - %Q string - - - - %x string - - - - %r string - - - - %w string - - - - Demoted keyword - - - - stdin - - - - stdout - - - - stderr - - - - - QextScintillaLexerSQL - - Default - По умолчанию - - - Comment - Комментарий - - - Number - Число - - - Keyword - Ключевое слово - - - Single-quoted string - Строка в одинарных кавычках - - - Operator - Оператор - - - Identifier - Идентификатор - - - Comment line - - - - JavaDoc style comment - - - - Double-quoted string - - - - SQL*Plus keyword - - - - SQL*Plus prompt - - - - SQL*Plus comment - - - - # comment line - - - - JavaDoc keyword - - - - JavaDoc keyword error - - - - User defined 1 - - - - User defined 2 - - - - User defined 3 - - - - User defined 4 - - - - - QextScintillaLexerTeX - - Default - - - - Special - - - - Group - - - - Symbol - - - - Command - - - - Text - - - - diff --git a/src/Editor.cpp b/src/Editor.cpp index c08517a..132b03f 100644 --- a/src/Editor.cpp +++ b/src/Editor.cpp @@ -12,7 +12,7 @@ #include "Platform.h" -#ifndef PLAT_QT +#ifndef PLAT_TQT #define INCLUDE_DEPRECATED_FEATURES #endif #include "Scintilla.h" diff --git a/src/ExternalLexer.h b/src/ExternalLexer.h index b21dab9..f18bc31 100644 --- a/src/ExternalLexer.h +++ b/src/ExternalLexer.h @@ -12,7 +12,7 @@ #define EXT_LEXER_DECL __stdcall #elif PLAT_GTK #define EXT_LEXER_DECL -#elif PLAT_QT +#elif PLAT_TQT #include #if defined(Q_OS_WIN32) || defined(Q_OS_WIN64) #define EXT_LEXER_DECL __stdcall diff --git a/src/XPM.cpp b/src/XPM.cpp index 4ce84aa..36dbd1c 100644 --- a/src/XPM.cpp +++ b/src/XPM.cpp @@ -12,7 +12,7 @@ #include "XPM.h" -#if defined(PLAT_QT) +#if defined(PLAT_TQT) XPM::XPM(const char *textForm) { diff --git a/src/XPM.h b/src/XPM.h index 27148c3..99f671c 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -8,7 +8,7 @@ #ifndef XPM_H #define XPM_H -#if defined(PLAT_QT) +#if defined(PLAT_TQT) #include #endif @@ -16,7 +16,7 @@ * Hold a pixmap in XPM format. */ class XPM { -#if defined(PLAT_QT) +#if defined(PLAT_TQT) TQPixmap qpm; public: @@ -63,7 +63,7 @@ public: #endif }; -#if !defined(PLAT_QT) +#if !defined(PLAT_TQT) /** * A collection of pixmaps indexed by integer id. diff --git a/tqscintilla.pc.cmake b/tqscintilla.pc.cmake new file mode 100644 index 0000000..0a6e4c2 --- /dev/null +++ b/tqscintilla.pc.cmake @@ -0,0 +1,14 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=@PC_EXEC_PREFIX@ +libdir=@PC_LIB_DIR@ +includedir=@PC_INCLUDE_DIR@ + +pkglibdir=${libdir} +pkgincludedir=${includedir} + +Name: @PROJECT_NAME@ +Version: 1.7.1 +Description: @PROJECT_NAME@ is a source code editing library for TDE. + +Cflags: -I${includedir} +Libs: -L${libdir} -ltqscintilla diff --git a/tqt/CMakeLists.txt b/tqt/CMakeLists.txt new file mode 100644 index 0000000..fa173d3 --- /dev/null +++ b/tqt/CMakeLists.txt @@ -0,0 +1,80 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/include + ${CMAKE_SOURCE_DIR}/src +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + +add_definitions( -DTQT ) + +##### tqscintilla (shared) + +tde_add_library( tqscintilla SHARED AUTOMOC + + SOURCES + tqextscintilla.cpp + tqextscintillaapis.cpp + tqextscintillabase.cpp + tqextscintillacommand.cpp + tqextscintillacommandset.cpp + tqextscintilladocument.cpp + tqextscintillalexer.cpp + tqextscintillalexerbash.cpp + tqextscintillalexerbatch.cpp + tqextscintillalexercpp.cpp + tqextscintillalexercsharp.cpp + tqextscintillalexercss.cpp + tqextscintillalexerdiff.cpp + tqextscintillalexerhtml.cpp + tqextscintillalexeridl.cpp + tqextscintillalexerjava.cpp + tqextscintillalexerjavascript.cpp + tqextscintillalexerlua.cpp + tqextscintillalexermakefile.cpp + tqextscintillalexerperl.cpp + tqextscintillalexerpov.cpp + tqextscintillalexerproperties.cpp + tqextscintillalexerpython.cpp + tqextscintillalexerruby.cpp + tqextscintillalexersql.cpp + tqextscintillalexertex.cpp + tqextscintillamacro.cpp + tqextscintillaprinter.cpp + SciListBox.cpp + PlatTQt.cpp + ScintillaTQt.cpp + LINK + ${TQT_LIBRARIES} + src-static + + VERSION 7.0.1 + + DESTINATION ${LIB_INSTALL_DIR} +) + + +###### other data +# translations + +file( GLOB _translations RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tqscintilla_*.qm ) + +install( + FILES ${_translations} + DESTINATION ${TQT_TRANSLATIONS_DIR} +) + + +# headers + +file( GLOB _includes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tqextscintilla*.h ) + +install( + FILES ${_includes} + DESTINATION ${TQT_INCLUDES_DIR} +) diff --git a/tqt/PlatTQt.cpp b/tqt/PlatTQt.cpp new file mode 100644 index 0000000..cdc5553 --- /dev/null +++ b/tqt/PlatTQt.cpp @@ -0,0 +1,936 @@ +// This module implements the portability layer for the TQt port of Scintilla. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "Platform.h" +#include "XPM.h" + +#include "tqextscintillabase.h" + + +// Type convertors. +static TQFont *PFont(FontID id) +{ + return reinterpret_cast(id); +} + +static TQPainter *PSurface(SurfaceID id) +{ + return reinterpret_cast(id); +} + +static TQWidget *PWindow(WindowID id) +{ + return reinterpret_cast(id); +} + +static TQPopupMenu *PMenu(MenuID id) +{ + return reinterpret_cast(id); +} + + +// Create a Point instance from a long value. +Point Point::FromLong(long lpoint) +{ + return Point(Platform::LowShortFromLong(lpoint), + Platform::HighShortFromLong(lpoint)); +} + + +// Colour palette management. The TQt interface to colours means this class +// doesn't have to do anything. +Palette::Palette() +{ + used = 0; + allowRealization = false; +} + +Palette::~Palette() +{ + Release(); +} + +void Palette::Release() +{ + used = 0; +} + +void Palette::WantFind(ColourPair &cp,bool want) +{ + if (!want) + cp.allocated.Set(cp.desired.AsLong()); +} + +void Palette::Allocate(Window &) +{ +} + + +// Font management. +Font::Font() : id(0) +{ +} + +Font::~Font() +{ +} + +void Font::Create(const char *faceName,int,int size,bool bold,bool italic,bool) +{ + Release(); + + TQFont *f = new TQFont(); + + // If name of the font begins with a '-', assume, that it is an XLFD. + if (faceName[0] == '-') + f -> setRawName(faceName); + else + { + f -> setFamily(faceName); + f -> setPointSize(size); + f -> setBold(bold); + f -> setItalic(italic); + } + + id = f; +} + +void Font::Release() +{ + if (id) + { + delete PFont(id); + id = 0; + } +} + + +// A surface abstracts a place to draw. +class SurfaceImpl : public Surface +{ +public: + SurfaceImpl(); + virtual ~SurfaceImpl(); + + void Init(WindowID); + void Init(SurfaceID sid,WindowID); + void InitPixMap(int width,int height,Surface *surface_,WindowID); + + void Release(); + bool Initialised() {return painter;} + void PenColour(ColourAllocated fore); + int LogPixelsY() {return 72;} + int DeviceHeightFont(int points) {return points;} + void MoveTo(int x_,int y_) {painter -> moveTo(x_,y_);} + void LineTo(int x_,int y_) {painter -> lineTo(x_,y_);} + void Polygon(Point *pts,int npts,ColourAllocated fore, + ColourAllocated back); + void RectangleDraw(PRectangle rc,ColourAllocated fore, + ColourAllocated back); + void FillRectangle(PRectangle rc,ColourAllocated back); + void FillRectangle(PRectangle rc,Surface &surfacePattern); + void RoundedRectangle(PRectangle rc,ColourAllocated fore, + ColourAllocated back); + void AlphaRectangle(PRectangle rc, int cornerSize, + ColourAllocated fill, int alphaFill, + ColourAllocated outline, int alphaOutline, int flags); + void Ellipse(PRectangle rc,ColourAllocated fore,ColourAllocated back); + void Copy(PRectangle rc,Point from,Surface &surfaceSource); + + void DrawTextNoClip(PRectangle rc,Font &font_,int ybase,const char *s, + int len,ColourAllocated fore,ColourAllocated back); + void DrawTextClipped(PRectangle rc,Font &font_,int ybase,const char *s, + int len,ColourAllocated fore, + ColourAllocated back); + void DrawTextTransparent(PRectangle rc,Font &font_,int ybase, + const char *s,int len,ColourAllocated fore); + void MeasureWidths(Font &font_,const char *s,int len,int *positions); + int WidthText(Font &font_,const char *s,int len); + int WidthChar(Font &font_,char ch); + int Ascent(Font &font_); + int Descent(Font &font_); + int InternalLeading(Font &font_) {return 0;} + int ExternalLeading(Font &font_); + int Height(Font &font_); + int AverageCharWidth(Font &font_) {return WidthChar(font_,'n');} + + int SetPalette(Palette *,bool) {return 0;} + void SetClip(PRectangle rc); + void FlushCachedState() {painter -> flush();} + + void SetUnicodeMode(bool unicodeMode_) {unicodeMode = unicodeMode_;} + void SetDBCSMode(int codePage) {} + + void DrawXPM(PRectangle rc,const XPM *xpm); + +private: + void commonInit(TQPainter *painter_,bool mypainter_); + bool setFont(Font &font_); + TQString convertText(const char *s,int len); + static TQRgb convertTQRgb(const ColourAllocated &col, unsigned alpha); + static TQColor convertTQColor(const ColourAllocated &col, + unsigned alpha = 0xff); + + bool unicodeMode; + bool mypainter; + TQPainter *painter; +}; + +Surface *Surface::Allocate() +{ + return new SurfaceImpl; +} + +SurfaceImpl::SurfaceImpl() : unicodeMode(false), mypainter(false), painter(0) +{ +} + +SurfaceImpl::~SurfaceImpl() +{ + Release(); +} + +void SurfaceImpl::commonInit(TQPainter *painter_,bool mypainter_) +{ + Release(); + + painter = painter_; + mypainter = mypainter_; +} + +void SurfaceImpl::Init(WindowID) +{ + commonInit(new TQPainter(new TQWidget()),true); +} + +void SurfaceImpl::Init(SurfaceID sid,WindowID) +{ + commonInit(PSurface(sid),false); +} + +void SurfaceImpl::InitPixMap(int width,int height,Surface *,WindowID) +{ + commonInit(new TQPainter(new TQPixmap(width,height)),true); +} + +void SurfaceImpl::Release() +{ + if (painter && mypainter) + { + TQPaintDevice *pd = painter -> device(); + + delete painter; + + delete pd; + } + + painter = 0; +} + +void SurfaceImpl::PenColour(ColourAllocated fore) +{ + painter -> setPen(convertTQColor(fore)); +} + +void SurfaceImpl::Polygon(Point *pts,int npts,ColourAllocated fore, + ColourAllocated back) +{ + TQPointArray qpts(npts); + + for (int i = 0; i < npts; ++i) + qpts.setPoint(i,pts[i].x,pts[i].y); + + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); + painter -> drawPolygon(qpts); +} + +void SurfaceImpl::RectangleDraw(PRectangle rc,ColourAllocated fore, + ColourAllocated back) +{ + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); + painter -> drawRect(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void SurfaceImpl::FillRectangle(PRectangle rc,ColourAllocated back) +{ + painter -> setPen(TQt::NoPen); + painter -> setBrush(convertTQColor(back)); + painter -> drawRect(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void SurfaceImpl::FillRectangle(PRectangle rc,Surface &surfacePattern) +{ + SurfaceImpl &si = static_cast(surfacePattern); + TQPixmap *pm = static_cast(si.painter -> device()); + + if (pm) + { + TQBrush brsh(TQt::black,*pm); + + painter -> setPen(TQt::NoPen); + painter -> setBrush(brsh); + painter -> drawRect(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); + } + else + FillRectangle(rc,ColourAllocated(0)); +} + +void SurfaceImpl::RoundedRectangle(PRectangle rc,ColourAllocated fore, + ColourAllocated back) +{ + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); + painter -> drawRoundRect(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void SurfaceImpl::AlphaRectangle(PRectangle rc, int cornerSize, + ColourAllocated fill, int alphaFill, ColourAllocated outline, + int alphaOutline, int) +{ + int w = rc.right - rc.left; + int h = rc.bottom - rc.top; + + TQImage img(w, h, 32); + + img.fill(convertTQRgb(fill, alphaFill)); + img.setAlphaBuffer(TRUE); + + // Assume that "cornerSize" means outline width. + if (cornerSize > 0) + { + TQRgb oline = convertTQRgb(outline, alphaOutline); + + int linew = cornerSize; + + if (linew > w) + linew = w; + + for (int y = 0; y < h; ++y) + { + int x; + + if (y < cornerSize || y >= (h - cornerSize)) + for (x = 0; x < w; ++x) + img.setPixel(x, y, oline); + else + { + for (x = 0; x < linew; ++x) + img.setPixel(x, y, oline); + + for (x = w - 1; x >= w - linew; --x) + img.setPixel(x, y, oline); + } + } + } + + painter->drawImage(rc.left, rc.top, img); +} + +void SurfaceImpl::Ellipse(PRectangle rc,ColourAllocated fore, + ColourAllocated back) +{ + painter -> setPen(convertTQColor(fore)); + painter -> setBrush(convertTQColor(back)); + painter -> drawEllipse(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void SurfaceImpl::Copy(PRectangle rc,Point from,Surface &surfaceSource) +{ + SurfaceImpl &si = static_cast(surfaceSource); + TQPaintDevice *spd = si.painter -> device(); + TQPaintDevice *dpd = painter -> device(); + + if (spd && dpd) + { + si.painter -> end(); + painter -> end(); + + bitBlt(dpd,rc.left,rc.top,spd,from.x,from.y, + rc.right - rc.left,rc.bottom - rc.top); + + si.painter -> begin(spd); + painter -> begin(dpd); + } +} + +void SurfaceImpl::DrawTextNoClip(PRectangle rc,Font &font_,int ybase, + const char *s,int len,ColourAllocated fore, + ColourAllocated back) +{ + FillRectangle(rc,back); + DrawTextTransparent(rc,font_,ybase,s,len,fore); +} + +void SurfaceImpl::DrawTextClipped(PRectangle rc,Font &font_,int ybase, + const char *s,int len,ColourAllocated fore, + ColourAllocated back) +{ + SetClip(rc); + DrawTextNoClip(rc,font_,ybase,s,len,fore,back); + painter -> setClipping(FALSE); +} + +void SurfaceImpl::DrawTextTransparent(PRectangle rc,Font &font_,int ybase, + const char *s,int len, + ColourAllocated fore) +{ + TQString qs = convertText(s,len); + + setFont(font_); + painter -> setPen(convertTQColor(fore)); + painter -> drawText(rc.left,ybase,qs); +} + +void SurfaceImpl::DrawXPM(PRectangle rc,const XPM *xpm) +{ + int x, y; + const TQPixmap &qpm = xpm -> Pixmap(); + + x = rc.left + (rc.Width() - qpm.width()) / 2; + y = rc.top + (rc.Height() - qpm.height()) / 2; + + painter -> drawPixmap(x,y,qpm); +} + +void SurfaceImpl::MeasureWidths(Font &font_,const char *s,int len, + int *positions) +{ + if (setFont(font_)) + { + int totalWidth = 0, ui = 0; + TQString qs = convertText(s,len); + TQFontMetrics fm = painter -> fontMetrics(); + + for (int i = 0; i < qs.length(); ++i) + { + totalWidth += fm.width(qs[i]); + + int l = (unicodeMode ? TQString(qs[i]).utf8().length() : 1); + + while (l--) + positions[ui++] = totalWidth; + } + } + else + for (int i = 0; i < len; ++i) + positions[i] = i + 1; +} + +int SurfaceImpl::WidthText(Font &font_,const char *s,int len) +{ + if (setFont(font_)) + { + TQString qs = convertText(s,len); + + return painter -> fontMetrics().width(qs,qs.length()); + } + + return 1; +} + +int SurfaceImpl::WidthChar(Font &font_,char ch) +{ + if (setFont(font_)) + return painter -> fontMetrics().width(ch); + + return 1; +} + +int SurfaceImpl::Ascent(Font &font_) +{ + if (setFont(font_)) + return painter -> fontMetrics().ascent(); + + return 1; +} + +int SurfaceImpl::Descent(Font &font_) +{ + // TQt doesn't include the baseline in the descent, so add it. + + if (setFont(font_)) + return painter -> fontMetrics().descent() + 1; + + return 1; +} + +int SurfaceImpl::ExternalLeading(Font &font_) +{ + if (setFont(font_)) + return painter -> fontMetrics().leading(); + + return 0; +} + +int SurfaceImpl::Height(Font &font_) +{ + if (setFont(font_)) + return painter -> fontMetrics().height(); + + return 1; +} + +void SurfaceImpl::SetClip(PRectangle rc) +{ + painter -> setClipRect(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +// Set the painter font if there is one. Return true if it was set. +bool SurfaceImpl::setFont(Font &font_) +{ + TQFont *f = PFont(font_.GetID()); + + if (f) + painter -> setFont(*f); + + return f; +} + +// Convert a Scintilla string to a TQt Unicode string. +TQString SurfaceImpl::convertText(const char *s,int len) +{ + if (unicodeMode) + return TQString::fromUtf8(s,len); + + TQString qs; + + qs.setLatin1(s,len); + + return qs; +} + +// Convert a Scintilla colour and alpha component to a TQt TQRgb. +TQRgb SurfaceImpl::convertTQRgb(const ColourAllocated &col, unsigned alpha) +{ + long c = col.AsLong(); + + unsigned r = c & 0xff; + unsigned g = (c >> 8) & 0xff; + unsigned b = (c >> 16) & 0xff; + + TQRgb rgba = (alpha << 24) | (r << 16) | (g << 8) | b; + + return rgba; +} + +// Convert a Scintilla colour, and optional alpha component, to a TQt TQColor. +TQColor SurfaceImpl::convertTQColor(const ColourAllocated &col, unsigned alpha) +{ + return TQColor(convertTQRgb(col, alpha)); +} + + +// Window (widget) management. +Window::~Window() +{ +} + +void Window::Destroy() +{ + TQWidget *w = PWindow(id); + + if (w) + { + delete w; + id = 0; + } +} + +bool Window::HasFocus() +{ + return PWindow(id) -> hasFocus(); +} + +PRectangle Window::GetPosition() +{ + TQWidget *w = PWindow(id); + + // Before any size allocated pretend its big enough not to be scrolled. + PRectangle rc(0,0,5000,5000); + + if (w) + { + const TQRect &r = w -> geometry(); + + rc.left = r.left(); + rc.top = r.top(); + rc.right = r.right() + 1; + rc.bottom = r.bottom() + 1; + } + + return rc; +} + +void Window::SetPosition(PRectangle rc) +{ + PWindow(id) -> setGeometry(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void Window::SetPositionRelative(PRectangle rc,Window relativeTo) +{ + TQWidget *rel = PWindow(relativeTo.id); + TQPoint pos = rel -> mapToGlobal(rel -> pos()); + + int x = pos.x() + rc.left; + int y = pos.y() + rc.top; + + PWindow(id) -> setGeometry(x,y,rc.right - rc.left,rc.bottom - rc.top); +} + +PRectangle Window::GetClientPosition() +{ + return GetPosition(); +} + +void Window::Show(bool show) +{ + TQWidget *w = PWindow(id); + + if (show) + w -> show(); + else + w -> hide(); +} + +void Window::InvalidateAll() +{ + TQWidget *w = PWindow(id); + + if (w) + w -> update(); +} + +void Window::InvalidateRectangle(PRectangle rc) +{ + TQWidget *w = PWindow(id); + + if (w) + w -> update(rc.left,rc.top, + rc.right - rc.left,rc.bottom - rc.top); +} + +void Window::SetFont(Font &font) +{ + PWindow(id) -> setFont(*PFont(font.GetID())); +} + +void Window::SetCursor(Cursor curs) +{ + TQt::CursorShape qc; + + switch (curs) + { + case cursorText: + qc = TQt::IbeamCursor; + break; + + case cursorUp: + qc = TQt::UpArrowCursor; + break; + + case cursorWait: + qc = TQt::WaitCursor; + break; + + case cursorHoriz: + qc = TQt::SizeHorCursor; + break; + + case cursorVert: + qc = TQt::SizeVerCursor; + break; + + case cursorHand: + qc = TQt::PointingHandCursor; + break; + + default: + qc = TQt::ArrowCursor; + } + + PWindow(id) -> setCursor(qc); +} + +void Window::SetTitle(const char *s) +{ + PWindow(id) -> setCaption(s); +} + + +// Menu management. +Menu::Menu() : id(0) +{ +} + +void Menu::CreatePopUp() +{ + Destroy(); + id = new TQPopupMenu(); +} + +void Menu::Destroy() +{ + TQPopupMenu *m = PMenu(id); + + if (m) + { + delete m; + id = 0; + } +} + +void Menu::Show(Point pt,Window &) +{ + PMenu(id) -> popup(TQPoint(pt.x,pt.y)); +} + + +class DynamicLibraryImpl : public DynamicLibrary +{ +public: + DynamicLibraryImpl(const char *modulePath) + { + m = new TQLibrary(modulePath); + m -> load(); + } + + virtual ~DynamicLibraryImpl() + { + if (m) + delete m; + } + + virtual Function FindFunction(const char *name) + { + if (m) + return m -> resolve(name); + + return 0; + } + + virtual bool IsValid() + { + return m && m -> isLoaded(); + } + +private: + TQLibrary* m; +}; + +DynamicLibrary *DynamicLibrary::Load(const char *modulePath) +{ + return new DynamicLibraryImpl(modulePath); +} + + +// Elapsed time. This implementation assumes that the maximum elapsed time is +// less than 48 hours. +ElapsedTime::ElapsedTime() +{ + TQTime now = TQTime::currentTime(); + + bigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); + littleBit = now.msec(); +} + +double ElapsedTime::Duration(bool reset) +{ + long endBigBit, endLittleBit; + TQTime now = TQTime::currentTime(); + + endBigBit = now.hour() * 60 * 60 + now.minute() * 60 + now.second(); + endLittleBit = now.msec(); + + double duration = endBigBit - bigBit; + + if (duration < 0 || (duration == 0 && endLittleBit < littleBit)) + duration += 24 * 60 * 60; + + duration += (endLittleBit - littleBit) / 1000.0; + + if (reset) + { + bigBit = endBigBit; + littleBit = endLittleBit; + } + + return duration; +} + + +// Manage system wide parameters. +ColourDesired Platform::Chrome() +{ + return ColourDesired(0xe0,0xe0,0xe0); +} + +ColourDesired Platform::ChromeHighlight() +{ + return ColourDesired(0xff,0xff,0xff); +} + +const char *Platform::DefaultFont() +{ + return TQApplication::font().family().utf8(); +} + +int Platform::DefaultFontSize() +{ + return TQApplication::font().pointSize(); +} + +unsigned int Platform::DoubleClickTime() +{ + return TQApplication::doubleClickInterval(); +} + +bool Platform::MouseButtonBounce() +{ + return true; +} + +void Platform::DebugDisplay(const char *s) +{ + tqDebug("%s",s); +} + +bool Platform::IsKeyDown(int) +{ + return false; +} + +long Platform::SendScintilla(WindowID w,unsigned int msg,unsigned long wParam, + long lParam) +{ + return static_cast(PWindow(w) -> parentWidget()) -> SendScintilla(msg,wParam,lParam); +} + +long Platform::SendScintillaPointer(WindowID w,unsigned int msg, + unsigned long wParam,void *lParam) +{ + return static_cast(PWindow(w) -> parentWidget()) -> SendScintilla(msg,wParam,reinterpret_cast(lParam)); +} + +bool Platform::IsDBCSLeadByte(int codepage,char ch) +{ + // We don't support DBCS. + return false; +} + +int Platform::DBCSCharLength(int codePage,const char *s) +{ + // We don't support DBCS. + return 1; +} + +int Platform::DBCSCharMaxLength() +{ + // We don't support DBCS. + return 2; +} + +int Platform::Minimum(int a,int b) +{ + return (a < b) ? a : b; +} + +int Platform::Maximum(int a,int b) +{ + return (a > b) ? a : b; +} + +int Platform::Clamp(int val,int minVal,int maxVal) +{ + if (val > maxVal) + val = maxVal; + + if (val < minVal) + val = minVal; + + return val; +} + + +//#define TRACE + +#ifdef TRACE +void Platform::DebugPrintf(const char *format, ...) +{ + char buffer[2000]; + va_list pArguments; + + va_start(pArguments,format); + vsprintf(buffer,format,pArguments); + va_end(pArguments); + + DebugDisplay(buffer); +} +#else +void Platform::DebugPrintf(const char *, ...) +{ +} +#endif + +static bool assertionPopUps = true; + +bool Platform::ShowAssertionPopUps(bool assertionPopUps_) +{ + bool ret = assertionPopUps; + + assertionPopUps = assertionPopUps_; + + return ret; +} + +void Platform::Assert(const char *c,const char *file,int line) +{ + tqFatal("Assertion [%s] failed at %s %d\n",c,file,line); +} diff --git a/tqt/SciListBox.cpp b/tqt/SciListBox.cpp new file mode 100644 index 0000000..30699e0 --- /dev/null +++ b/tqt/SciListBox.cpp @@ -0,0 +1,333 @@ +// This module implements the specialisation of TQListBox that handles the +// Scintilla double-click callback. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include +#include +#include + +#include "SciListBox.h" + + +// The platform specific specialisation of the ListBox abstract class. + +class ListBoxX : public ListBox +{ +public: + ListBoxX(); + virtual ~ListBoxX(); + + CallBackAction cb_action; + void *cb_data; + + virtual void SetFont(Font &font); + virtual void Create(Window &parent,int,Point,int,bool); + virtual void SetAverageCharWidth(int); + virtual void SetVisibleRows(int); + virtual int GetVisibleRows() const; + virtual PRectangle GetDesiredRect(); + virtual int CaretFromEdge(); + virtual void Clear(); + virtual void Append(char *s,int type = -1); + virtual int Length(); + virtual void Select(int n); + virtual int GetSelection(); + virtual int Find(const char *prefix); + virtual void GetValue(int n,char *value,int len); + virtual void Sort(); + virtual void RegisterImage(int type,const char *xpm_data); + virtual void ClearRegisteredImages(); + virtual void SetDoubleClickAction(CallBackAction action,void *data); + virtual void SetList(const char *list,char separator,char typesep); + +private: + SciListBox *slb; + + typedef TQMap xpmMap; + xpmMap xset; +}; + + +ListBoxX::ListBoxX() : cb_action(0), cb_data(0), slb(0) +{ +} + + +ListBoxX::~ListBoxX() +{ +} + + +void ListBoxX::SetFont(Font &font) +{ + TQFont *f = reinterpret_cast(font.GetID()); + + if (f) + slb -> setFont(*f); +} + + +void ListBoxX::Create(Window &parent,int,Point,int,bool) +{ + // The parent we want is the TQextScintillaBase, not the text area. + id = slb = new SciListBox(reinterpret_cast(parent.GetID()) -> parentWidget(),this); +} + + +void ListBoxX::SetAverageCharWidth(int) +{ + // We rely on TQListBox::sizeHint() for the size of the list box rather + // than make calculations based on the average character width and the + // number of visible rows. +} + + +void ListBoxX::SetVisibleRows(int) +{ +} + + +int ListBoxX::GetVisibleRows() const +{ + return slb -> numItemsVisible(); +} + + +PRectangle ListBoxX::GetDesiredRect() +{ + PRectangle rc(0,0,100,100); + + if (slb) + { + TQSize sh = slb -> sizeHint(); + + rc.right = sh.width(); + rc.bottom = sh.height(); + } + + return rc; +} + + +int ListBoxX::CaretFromEdge() +{ + int dist = 0; + + // Find the width of the biggest image. + for (xpmMap::Iterator it = xset.begin(); it != xset.end(); ++it) + { + int w = it.data().width(); + + if (dist < w) + dist = w; + } + + if (slb) + dist += slb -> frameWidth(); + + // Fudge factor - adjust if required. + dist += 3; + + return dist; +} + + +void ListBoxX::Clear() +{ + slb -> clear(); +} + + +void ListBoxX::Append(char *s,int type) +{ + xpmMap::ConstIterator it; + + if (type < 0 || (it = xset.find(type)) == xset.end()) + slb -> insertItem(s); + else + slb -> insertItem(it.data(),s); +} + + +int ListBoxX::Length() +{ + return (slb ? slb -> numRows() : 0); +} + + +void ListBoxX::Select(int n) +{ + slb -> setSelected(n,TRUE); +} + + +int ListBoxX::GetSelection() +{ + return slb -> currentItem(); +} + + +int ListBoxX::Find(const char *prefix) +{ + return slb -> index(slb -> findItem(prefix,TQt::CaseSensitive|TQt::BeginsWith)); +} + + +void ListBoxX::GetValue(int n,char *value,int len) +{ + TQString s = slb -> text(n); + + if (s.isNull() || len <= 0) + value[0] = '\0'; + else + { + strncpy(value,s.latin1(),len - 1); + value[len - 1] = '\0'; + } +} + + +void ListBoxX::Sort() +{ + slb -> sort(); +} + + +void ListBoxX::RegisterImage(int type,const char *xpm_data) +{ + xset.insert(type,*reinterpret_cast(xpm_data)); +} + + +void ListBoxX::ClearRegisteredImages() +{ + xset.clear(); +} + + +void ListBoxX::SetDoubleClickAction(CallBackAction action,void *data) +{ + cb_action = action; + cb_data = data; +} + + +void ListBoxX::SetList(const char *list,char separator,char typesep) +{ + char *words; + + Clear(); + + if ((words = strdup(list)) != NULL) + { + char *startword = words; + char *numword = NULL; + + for (int i = 0; words[i] != '\0'; i++) + { + if (words[i] == separator) + { + words[i] = '\0'; + + if (numword) + *numword = '\0'; + + Append(startword,numword ? atoi(numword + 1) : -1); + + startword = words + i + 1; + numword = NULL; + } + else if (words[i] == typesep) + { + numword = words + i; + } + } + + if (startword) + { + if (numword) + *numword = '\0'; + + Append(startword,numword ? atoi(numword + 1) : -1); + } + + free(words); + } +} + + +// The ListBox methods that need to be implemented explicitly. + +ListBox::ListBox() +{ +} + + +ListBox::~ListBox() +{ +} + + +ListBox *ListBox::Allocate() +{ + return new ListBoxX(); +} + + +SciListBox::SciListBox(TQWidget *parent,ListBoxX *lbx_) + : TQListBox(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder|WStaticContents), lbx(lbx_) +{ + setFocusProxy(parent); + + setFrameShape(StyledPanel); + setFrameShadow(Plain); + setHScrollBarMode(AlwaysOff); + + connect(this,TQT_SIGNAL(doubleClicked(TQListBoxItem *)), + TQT_SLOT(handleDoubleClick(TQListBoxItem *))); + + connect(this,TQT_SIGNAL(highlighted(TQListBoxItem *)), + TQT_SLOT(ensureCurrentVisible())); +} + + +SciListBox::~SciListBox() +{ + // Ensure that the main widget doesn't get a focus out event when this + // is destroyed. + setFocusProxy(0); +} + + +void SciListBox::handleDoubleClick(TQListBoxItem *) +{ + if (lbx && lbx -> cb_action) + lbx -> cb_action(lbx -> cb_data); +} + +#include "SciListBox.moc" diff --git a/tqt/SciListBox.h b/tqt/SciListBox.h new file mode 100644 index 0000000..1a8409d --- /dev/null +++ b/tqt/SciListBox.h @@ -0,0 +1,52 @@ +// This sub-class of TQListBox is needed to provide slots from which we can call +// ListBox's double-click callback. (And you thought this was a C++ program.) +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef SCILISTBOX_H +#define SCILISTBOX_H + + +#include + +#include "Platform.h" + + +class ListBoxX; + + +class SciListBox : public TQListBox +{ + TQ_OBJECT + + +public: + SciListBox(TQWidget *parent,ListBoxX *lbx_); + ~SciListBox(); + +private slots: + void handleDoubleClick(TQListBoxItem *); + +private: + ListBoxX *lbx; +}; + +#endif diff --git a/tqt/ScintillaTQt.cpp b/tqt/ScintillaTQt.cpp new file mode 100644 index 0000000..249ca5f --- /dev/null +++ b/tqt/ScintillaTQt.cpp @@ -0,0 +1,695 @@ +// The implementation of the TQt specific subclass of ScintillaBase. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include +#include +#include +#include +#include + +#include "tqextscintillabase.h" +#include "ScintillaTQt.h" + + +// We want to use the Scintilla notification names as TQt signal names. +#undef SCEN_CHANGE +#undef SCN_AUTOCSELECTION +#undef SCN_CALLTIPCLICK +#undef SCN_CHARADDED +#undef SCN_DOUBLECLICK +#undef SCN_DWELLEND +#undef SCN_DWELLSTART +#undef SCN_HOTSPOTCLICK +#undef SCN_HOTSPOTDOUBLECLICK +#undef SCN_MACRORECORD +#undef SCN_MARGINCLICK +#undef SCN_MODIFIED +#undef SCN_MODIFYATTEMPTRO +#undef SCN_NEEDSHOWN +#undef SCN_PAINTED +#undef SCN_SAVEPOINTLEFT +#undef SCN_SAVEPOINTREACHED +#undef SCN_STYLENEEDED +#undef SCN_UPDATEUI +#undef SCN_USERLISTSELECTION +#undef SCN_ZOOM + +enum +{ + SCEN_CHANGE = 768, + SCN_AUTOCSELECTION = 2022, + SCN_CALLTIPCLICK = 2021, + SCN_CHARADDED = 2001, + SCN_DOUBLECLICK = 2006, + SCN_DWELLEND = 2017, + SCN_DWELLSTART = 2016, + SCN_HOTSPOTCLICK = 2019, + SCN_HOTSPOTDOUBLECLICK = 2020, + SCN_MACRORECORD = 2009, + SCN_MARGINCLICK = 2010, + SCN_MODIFIED = 2008, + SCN_MODIFYATTEMPTRO = 2004, + SCN_NEEDSHOWN = 2011, + SCN_PAINTED = 2013, + SCN_SAVEPOINTLEFT = 2003, + SCN_SAVEPOINTREACHED = 2002, + SCN_STYLENEEDED = 2000, + SCN_UPDATEUI = 2007, + SCN_USERLISTSELECTION = 2014, + SCN_ZOOM = 2018 +}; + + +// The ctor. +ScintillaTQt::ScintillaTQt(TQextScintillaBase *tqsb_) : + capturedMouse(false), tqsb(tqsb_) +{ + wMain = tqsb -> txtarea; + + // We aren't a TQObject so we use the API class to do TQObject related + // things for us. + tqsb -> connect(&qtimer,TQT_SIGNAL(timeout()),TQT_SLOT(handleTimer())); + + Initialise(); +} + + +// The dtor. +ScintillaTQt::~ScintillaTQt() +{ + Finalise(); +} + + +// Initialise the instance. +void ScintillaTQt::Initialise() +{ + SetTicking(true); +} + + +// Tidy up the instance. +void ScintillaTQt::Finalise() +{ + SetTicking(false); + ScintillaBase::Finalise(); +} + + +// Start a drag. +void ScintillaTQt::StartDrag() +{ + // Allow applications to re-implement the drag start. + tqsb -> startDrag(); +} + + +// Do the real drag start. +void ScintillaTQt::StartDragImpl() +{ + TQDragObject *dobj = new TQTextDrag(textRange(&drag),tqsb -> txtarea); + + // Remove the dragged text if it was a move to another widget or + // application. + if (dobj -> drag() && dobj -> target() != tqsb -> txtarea) + ClearSelection(); + + inDragDrop = false; + SetDragPosition(invalidPosition); +} + + +// Handle a drag enter event. +void ScintillaTQt::dragEnterEvent(TQDragEnterEvent *dee) +{ + dragMoveEvent(dee); +} + + +// Handle a drag move event. +void ScintillaTQt::dragMoveEvent(TQDragMoveEvent *dme) +{ + dme -> acceptAction(TQTextDrag::canDecode(dme)); + SetDragPosition(PositionFromLocation(Point(dme -> pos().x(),dme -> pos().y()))); +} + + +// Handle a drag leave event. +void ScintillaTQt::dragLeaveEvent(TQDragLeaveEvent *dle) +{ + SetDragPosition(invalidPosition); +} + + +// Handle a drop event. +void ScintillaTQt::dropEvent(TQDropEvent *de) +{ + TQString text; + + if (TQTextDrag::decode(de,text)) + { + bool moving = (de -> source() == tqsb -> txtarea && de -> action() == TQDropEvent::Move); + + de -> acceptAction(); + + const char *s; + TQCString us; + + if (IsUnicodeMode()) + { + us = text.utf8(); + s = us.data(); + } + else + s = text.latin1(); + + DropAt(posDrop,s,moving,false); + SetDragPosition(invalidPosition); + Redraw(); + } +} + + +// Re-implement to trap certain messages. +sptr_t ScintillaTQt::WndProc(unsigned int iMessage,uptr_t wParam,sptr_t lParam) +{ + switch (iMessage) + { + case SCI_GRABFOCUS: + PWindow(wMain) -> setFocus(); + return 0; + + case SCI_GETDIRECTFUNCTION: + return reinterpret_cast(DirectFunction); + + case SCI_GETDIRECTPOINTER: + return reinterpret_cast(this); + } + + return ScintillaBase::WndProc(iMessage,wParam,lParam); +} + + +// Windows nonsense. +sptr_t ScintillaTQt::DefWndProc(unsigned int,uptr_t,sptr_t) +{ + return 0; +} + + +// Manage the timer. +void ScintillaTQt::SetTicking(bool on) +{ + if (timer.ticking != on) + { + timer.ticking = on; + + if (timer.ticking) + qtimer.start(timer.tickSize); + else + qtimer.stop(); + } + + timer.ticksToWait = caret.period; +} + + +// Grab or release the mouse (and keyboard). +void ScintillaTQt::SetMouseCapture(bool on) +{ + if (mouseDownCaptures) + if (on) + PWindow(wMain) -> grabMouse(); + else + PWindow(wMain) -> releaseMouse(); + + capturedMouse = on; +} + + +// Return true if the mouse/keyboard are currently grabbed. +bool ScintillaTQt::HaveMouseCapture() +{ + return capturedMouse; +} + + +// Set the position of the vertical scrollbar. +void ScintillaTQt::SetVerticalScrollPos() +{ + tqsb -> vsb -> setValue(topLine); +} + + +// Set the position of the horizontal scrollbar. +void ScintillaTQt::SetHorizontalScrollPos() +{ + tqsb -> hsb -> setValue(xOffset); +} + + +// Set the extent of the vertical and horizontal scrollbars and return true if +// the view needs re-drawing. +bool ScintillaTQt::ModifyScrollBars(int nMax,int nPage) +{ + tqsb -> vsb -> setMinValue(0); + tqsb -> vsb -> setMaxValue(nMax - nPage + 1); + tqsb -> vsb -> setLineStep(1); + tqsb -> vsb -> setPageStep(nPage); + + tqsb -> hsb -> setMinValue(0); + tqsb -> hsb -> setMaxValue(scrollWidth); + tqsb -> hsb -> setPageStep(scrollWidth / 10); + + return true; +} + + +// Called after SCI_SETWRAPMODE and SCI_SETHSCROLLBAR. +void ScintillaTQt::ReconfigureScrollBars() +{ + // Hide or show the scrollbars if needed. + if (horizontalScrollBarVisible && wrapState == eWrapNone) + tqsb->hsb->show(); + else + tqsb->hsb->hide(); + + if (verticalScrollBarVisible) + tqsb->vsb->show(); + else + tqsb->vsb->hide(); +} + + +// Notify interested parties of any change in the document. +void ScintillaTQt::NotifyChange() +{ + emit tqsb -> SCEN_CHANGE(); +} + + +// Notify interested parties of various events. This is the main mapping +// between Scintilla notifications and TQt signals. +void ScintillaTQt::NotifyParent(SCNotification scn) +{ + switch (scn.nmhdr.code) + { + case SCN_CALLTIPCLICK: + emit tqsb -> SCN_CALLTIPCLICK(scn.position); + break; + + case SCN_AUTOCSELECTION: + emit tqsb -> SCN_AUTOCSELECTION(scn.text,scn.lParam); + break; + + case SCN_CHARADDED: + emit tqsb -> SCN_CHARADDED(scn.ch); + break; + + case SCN_DOUBLECLICK: + emit tqsb -> SCN_DOUBLECLICK(); + break; + + case SCN_DWELLEND: + emit tqsb -> SCN_DWELLEND(scn.position,scn.x,scn.y); + break; + + case SCN_DWELLSTART: + emit tqsb -> SCN_DWELLSTART(scn.position,scn.x,scn.y); + break; + + case SCN_HOTSPOTCLICK: + emit tqsb -> SCN_HOTSPOTCLICK(scn.position,scn.modifiers); + break; + + case SCN_HOTSPOTDOUBLECLICK: + emit tqsb -> SCN_HOTSPOTDOUBLECLICK(scn.position,scn.modifiers); + break; + + case SCN_MACRORECORD: + emit tqsb -> SCN_MACRORECORD(scn.message,scn.wParam,scn.lParam); + break; + + case SCN_MARGINCLICK: + emit tqsb -> SCN_MARGINCLICK(scn.position,scn.modifiers, + scn.margin); + break; + + case SCN_MODIFIED: + emit tqsb -> SCN_MODIFIED(scn.position,scn.modificationType, + scn.text,scn.length,scn.linesAdded, + scn.line,scn.foldLevelNow, + scn.foldLevelPrev); + break; + + case SCN_MODIFYATTEMPTRO: + emit tqsb -> SCN_MODIFYATTEMPTRO(); + break; + + case SCN_NEEDSHOWN: + emit tqsb -> SCN_NEEDSHOWN(scn.position,scn.length); + break; + + case SCN_PAINTED: + emit tqsb -> SCN_PAINTED(); + break; + + case SCN_SAVEPOINTLEFT: + emit tqsb -> SCN_SAVEPOINTLEFT(); + break; + + case SCN_SAVEPOINTREACHED: + emit tqsb -> SCN_SAVEPOINTREACHED(); + break; + + case SCN_STYLENEEDED: + emit tqsb -> SCN_STYLENEEDED(scn.position); + break; + + case SCN_UPDATEUI: + emit tqsb -> SCN_UPDATEUI(); + break; + + case SCN_USERLISTSELECTION: + emit tqsb -> SCN_USERLISTSELECTION(scn.text,scn.wParam); + break; + + case SCN_ZOOM: + emit tqsb -> SCN_ZOOM(); + break; + + default: + tqWarning("Unknown notification: %u",scn.nmhdr.code); + } +} + + +// Handle a key that hasn't been filtered out as a command key. Return 0 if we +// haven't handled it. +int ScintillaTQt::KeyDefault(int key,int modifiers) +{ + // On Windows Alt Gr is returned as Ctrl-Alt (on X11 it seems to be the + // Meta key). We therefore ignore that combination. +#if defined(Q_OS_WIN) + modifiers &= (SCI_CTRL | SCI_ALT); + + if (modifiers == SCI_CTRL || modifiers == SCI_ALT) + return 0; +#else + if (modifiers & (SCI_CTRL | SCI_ALT)) + return 0; +#endif + + AddChar(key); + + return 1; +} + + +// Convert a text range to a TQString. +TQString ScintillaTQt::textRange(const SelectionText *text) +{ + TQString qs; + + if (text -> s) + if (IsUnicodeMode()) + qs = TQString::fromUtf8(text -> s); + else + qs.setLatin1(text -> s); + + return qs; +} + + +// Copy the selected text to the clipboard. +void ScintillaTQt::CopyToClipboard(const SelectionText &selectedText) +{ + TQApplication::clipboard() -> setText(textRange(&selectedText)); +} + + +// Implement copy. +void ScintillaTQt::Copy() +{ + if (currentPos != anchor) + { + SelectionText text; + + CopySelectionRange(&text); + CopyToClipboard(text); + } +} + + +// Implement paste. +void ScintillaTQt::Paste() +{ + TQString str = TQApplication::clipboard() -> text(); + + if (str.isEmpty()) + return; + + pdoc -> BeginUndoAction(); + + ClearSelection(); + + int len; + + if (IsUnicodeMode()) + { + TQCString s = str.utf8(); + + len = s.length(); + + if (len) + pdoc -> InsertString(currentPos,s.data(),len); + } + else + { + const char *s = str.latin1(); + + len = (s ? strlen(s) : 0); + + if (len) + pdoc -> InsertString(currentPos,s,len); + } + + SetEmptySelection(currentPos + len); + + pdoc -> EndUndoAction(); + + NotifyChange(); + Redraw(); +} + + +// A simple TQWidget sub-class to implement a call tip. No need to bother with +// all the moc stuff. +class TQtCallTip : public TQWidget +{ +public: + TQtCallTip(TQWidget *parent,ScintillaTQt *sci_); + ~TQtCallTip(); + +protected: + void paintEvent(TQPaintEvent *); + void mousePressEvent(TQMouseEvent *me); + +private: + ScintillaTQt *sci; +}; + + +// Create a call tip. +TQtCallTip::TQtCallTip(TQWidget *parent,ScintillaTQt *sci_) : + TQWidget(parent,0,WType_Popup|WStyle_Customize|WStyle_NoBorder), sci(sci_) +{ + // Ensure that the main window keeps the focus (and the caret flashing) + // when this is displayed. + setFocusProxy(parent); +} + + +// Destroy a call tip. +TQtCallTip::~TQtCallTip() +{ + // Ensure that the main window doesn't receive a focus out event when + // this is destroyed. + setFocusProxy(0); +} + + +// Paint a call tip. +void TQtCallTip::paintEvent(TQPaintEvent *) +{ + Surface *surfaceWindow = Surface::Allocate(); + + if (surfaceWindow) + { + TQPainter p(this); + + surfaceWindow -> Init(&p,0); + sci -> ct.PaintCT(surfaceWindow); + surfaceWindow -> Release(); + + delete surfaceWindow; + } +} + + +// Handle a mouse press in a call tip. +void TQtCallTip::mousePressEvent(TQMouseEvent *me) +{ + Point pt; + + pt.x = me -> x(); + pt.y = me -> y(); + + sci -> ct.MouseClick(pt); + sci -> CallTipClick(); +} + + +// Create a call tip window. +void ScintillaTQt::CreateCallTipWindow(PRectangle rc) +{ + if (!ct.wCallTip.Created()) + ct.wCallTip = ct.wDraw = new TQtCallTip(tqsb,this); + + PWindow(ct.wCallTip) -> resize(rc.right - rc.left,rc.bottom - rc.top); + ct.wCallTip.Show(); +} + + +// Add an item to the right button menu. +void ScintillaTQt::AddToPopUp(const char *label,int cmd,bool enabled) +{ + TQPopupMenu *pm = static_cast(popup.GetID()); + + if (label[0] != '\0') + { + TQString tr_label = tqApp -> translate("ContextMenu",label); + + pm -> insertItem(tr_label,tqsb,TQT_SLOT(handlePopUp(int)),0,cmd); + pm -> setItemEnabled(cmd,enabled); + } + else + pm -> insertSeparator(); +} + + +// Claim the selection. +void ScintillaTQt::ClaimSelection() +{ + bool isSel = (currentPos != anchor); + + if (isSel) + { + TQClipboard *cb = TQApplication::clipboard(); + + // If we support X11 style selection then make it available + // now. + if (cb -> supportsSelection()) + { + SelectionText text; + + CopySelectionRange(&text); + + if (text.s) + { + cb -> setSelectionMode(TRUE); + cb -> setText(text.s); + cb -> setSelectionMode(FALSE); + } + } + + primarySelection = true; + } + else + primarySelection = false; + + emit tqsb -> TQSCN_SELCHANGED(isSel); +} + + +// Unclaim the selection. +void ScintillaTQt::UnclaimSelection() +{ + if (primarySelection) + { + primarySelection = false; + tqsb -> txtarea -> update(); + } +} + + +// Implemented to provide compatibility with the Windows version. +sptr_t ScintillaTQt::DirectFunction(ScintillaTQt *sciThis,unsigned int iMessage, + uptr_t wParam,sptr_t lParam) +{ + return sciThis -> WndProc(iMessage,wParam,lParam); +} + + +// Draw the contents of the widget. +void ScintillaTQt::paintEvent(TQPaintEvent *pe) +{ + bool isUnicodeMode = (pdoc && pdoc -> dbcsCodePage == SC_CP_UTF8); + + paintState = painting; + + const TQRect &qr = pe -> rect(); + + rcPaint.left = qr.left(); + rcPaint.top = qr.top(); + rcPaint.right = qr.right() + 1; + rcPaint.bottom = qr.bottom() + 1; + + PRectangle rcText = GetTextRectangle(); + paintingAllText = rcPaint.Contains(rcText); + + Surface *sw = Surface::Allocate(); + + if (sw) + { + TQPainter painter(PWindow(wMain)); + + sw -> Init(&painter,0); + sw -> SetUnicodeMode(isUnicodeMode); + Paint(sw,rcPaint); + sw -> Release(); + delete sw; + + // If the painting area was insufficient to cover the new style + // or brace highlight positions then repaint the whole thing. + if (paintState == paintAbandoned) + PWindow(wMain) -> update(); + } + + paintState = notPainting; +} diff --git a/tqt/ScintillaTQt.h b/tqt/ScintillaTQt.h new file mode 100644 index 0000000..5eb35d1 --- /dev/null +++ b/tqt/ScintillaTQt.h @@ -0,0 +1,117 @@ +// The definition of the TQt specific subclass of ScintillaBase. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef SCINTILLATQT_H +#define SCINTILLATQT_H + + +#include + +// These are needed because scintilla class header files don't seem to manage +// their own dependencies properly. +#include +#include +#include "Platform.h" +#include "Scintilla.h" +#include "SVector.h" +#include "CellBuffer.h" +#include "CharClassify.h" +#include "Document.h" +#include "Style.h" +#include "XPM.h" +#include "LineMarker.h" +#include "Indicator.h" +#include "ViewStyle.h" +#include "KeyMap.h" +#include "ContractionState.h" +#include "Editor.h" +#include "AutoComplete.h" +#include "CallTip.h" +#include "SString.h" +#include "PropSet.h" +#include "Accessor.h" +#include "KeyWords.h" + +#include "ScintillaBase.h" + + +class TQPaintEvent; +class TQextScintillaBase; +class TQtCallTip; + + +class ScintillaTQt : public ScintillaBase +{ + friend class TQextScintillaBase; + friend class TQtCallTip; + +public: + ScintillaTQt(TQextScintillaBase *tqsb_); + virtual ~ScintillaTQt(); + + virtual sptr_t WndProc(unsigned int iMessage,uptr_t wParam, + sptr_t lParam); + +private: + TQWidget *PWindow(Window &w) + { + return reinterpret_cast(w.GetID()); + } + + void Initialise(); + void Finalise(); + void StartDrag(); + void StartDragImpl(); + sptr_t DefWndProc(unsigned int,uptr_t,sptr_t); + void SetTicking(bool); + void SetMouseCapture(bool on); + bool HaveMouseCapture(); + void SetVerticalScrollPos(); + void SetHorizontalScrollPos(); + bool ModifyScrollBars(int nMax,int nPage); + void ReconfigureScrollBars(); + void NotifyChange(); + void NotifyParent(SCNotification scn); + int KeyDefault(int key,int modifiers); + void CopyToClipboard(const SelectionText &selectedText); + void Copy(); + void Paste(); + void CreateCallTipWindow(PRectangle rc); + void AddToPopUp(const char *label,int cmd = 0,bool enabled = true); + void ClaimSelection(); + void UnclaimSelection(); + static sptr_t DirectFunction(ScintillaTQt *sci,unsigned int iMessage, + uptr_t wParam,sptr_t lParam); + + TQString textRange(const SelectionText *text); + void paintEvent(TQPaintEvent *pe); + void dragEnterEvent(TQDragEnterEvent *dee); + void dragMoveEvent(TQDragMoveEvent *dme); + void dragLeaveEvent(TQDragLeaveEvent *dle); + void dropEvent(TQDropEvent *de); + + bool capturedMouse; + TQextScintillaBase *tqsb; + TQTimer qtimer; +}; + +#endif diff --git a/tqt/tqextscintilla.cpp b/tqt/tqextscintilla.cpp new file mode 100644 index 0000000..b0bba30 --- /dev/null +++ b/tqt/tqextscintilla.cpp @@ -0,0 +1,3036 @@ +// This module implements the "official" high-level API of the TQt port of +// Scintilla. It is modelled on TQTextEdit - a method of the same name should +// behave in the same way. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintilla.h" +#include "tqextscintillalexer.h" +#include "tqextscintillaapis.h" +#include "tqextscintillacommandset.h" + + +// Make sure these match the values in Scintilla.h. We don't #include that +// file because it just causes more clashes. +#define KEYWORDSET_MAX 8 +#define MARKER_MAX 31 + + +// The default fold margin width. +static const int defaultFoldMarginWidth = 14; + +// The default set of characters that make up a word. +static const char *defaultWordChars = "_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; + + +// The ctor. +TQextScintilla::TQextScintilla(TQWidget *parent,const char *name,WFlags f) + : TQextScintillaBase(parent,name,f), allocatedMarkers(0), oldPos(-1), + selText(FALSE), fold(NoFoldStyle), autoInd(FALSE), + braceMode(NoBraceMatch), acSource(AcsDocument), acThresh(-1), + acStart(""), acAPIs(0), ctAPIs(0), maxCallTips(-1), + showSingle(FALSE), modified(FALSE), explicit_fillups(FALSE), + fillups_enabled(FALSE), saved_fillups("") +{ + connect(this,TQT_SIGNAL(SCN_MODIFYATTEMPTRO()), + TQT_SIGNAL(modificationAttempted())); + + connect(this,TQT_SIGNAL(SCN_MODIFIED(int,int,const char *,int,int,int,int,int)), + TQT_SLOT(handleModified(int,int,const char *,int,int,int,int,int))); + connect(this,TQT_SIGNAL(SCN_CALLTIPCLICK(int)), + TQT_SLOT(handleCallTipClick(int))); + connect(this,TQT_SIGNAL(SCN_CHARADDED(int)), + TQT_SLOT(handleCharAdded(int))); + connect(this,TQT_SIGNAL(SCN_MARGINCLICK(int,int,int)), + TQT_SLOT(handleMarginClick(int,int,int))); + connect(this,TQT_SIGNAL(SCN_SAVEPOINTREACHED()), + TQT_SLOT(handleSavePointReached())); + connect(this,TQT_SIGNAL(SCN_SAVEPOINTLEFT()), + TQT_SLOT(handleSavePointLeft())); + connect(this,TQT_SIGNAL(SCN_UPDATEUI()), + TQT_SLOT(handleUpdateUI())); + connect(this,TQT_SIGNAL(TQSCN_SELCHANGED(bool)), + TQT_SLOT(handleSelectionChanged(bool))); + connect(this,TQT_SIGNAL(SCN_USERLISTSELECTION(const char *,int)), + TQT_SLOT(handleUserListSelection(const char *,int))); + + // Set the default font. + setFont(TQApplication::font()); + + // Set the default fore and background colours. + TQColorGroup cg = TQApplication::palette().active(); + setColor(cg.text()); + setPaper(cg.base()); + +#if defined(Q_OS_WIN) + setEolMode(EolWindows); +#elif defined(Q_OS_MAC) + setEolMode(EolMac); +#else + setEolMode(EolUnix); +#endif + + // Capturing the mouse seems to cause problems on multi-head systems. + // TQt should do the right thing anyway. + SendScintilla(SCI_SETMOUSEDOWNCAPTURES,0UL); + + SendScintilla(SCI_SETPROPERTY,"fold","1"); + + setMatchedBraceForegroundColor(blue); + setUnmatchedBraceForegroundColor(red); + + setLexer(); + + // Set the visible policy. These are the same as SciTE's defaults + // which, presumably, are sensible. + SendScintilla(SCI_SETVISIBLEPOLICY,VISIBLE_STRICT|VISIBLE_SLOP,4); + + // Create the standard command set. + stdCmds = new TQextScintillaCommandSet(this); + + doc.display(this,0); +} + + +// The dtor. +TQextScintilla::~TQextScintilla() +{ + doc.undisplay(this); + delete stdCmds; +} + + +// Return the current text colour. +TQColor TQextScintilla::color() const +{ + return nl_text_colour; +} + + +// Set the text colour. +void TQextScintilla::setColor(const TQColor &c) +{ + if (lex.isNull()) + { + // Assume style 0 applies to everything so that we don't need to use + // SCI_STYLECLEARALL which clears everything. + SendScintilla(SCI_STYLESETFORE, 0, c); + nl_text_colour = c; + } +} + + +// Return the current paper colour. +TQColor TQextScintilla::paper() const +{ + return nl_paper_colour; +} + + +// Set the paper colour. +void TQextScintilla::setPaper(const TQColor &c) +{ + if (lex.isNull()) + { + // Assume style 0 applies to everything so that we don't need to use + // SCI_STYLECLEARALL which clears everything. We still have to set the + // default style as well for the background without any text. + SendScintilla(SCI_STYLESETBACK, 0, c); + SendScintilla(SCI_STYLESETBACK, STYLE_DEFAULT, c); + nl_paper_colour = c; + } +} + + +// Set the default font. +void TQextScintilla::setFont(const TQFont &f) +{ + if (lex.isNull()) + { + // Assume style 0 applies to everything so that we don't need to use + // SCI_STYLECLEARALL which clears everything. + setStylesFont(f, 0); + nl_font = f; + } +} + + +// Enable/disable auto-indent. +void TQextScintilla::setAutoIndent(bool autoindent) +{ + autoInd = autoindent; +} + + +// Set the brace matching mode. +void TQextScintilla::setBraceMatching(BraceMatch bm) +{ + braceMode = bm; +} + + +// Handle the addition of a character. +void TQextScintilla::handleCharAdded(int ch) +{ + // Ignore if there is a selection. + long pos = SendScintilla(SCI_GETSELECTIONSTART); + + if (pos != SendScintilla(SCI_GETSELECTIONEND) || pos == 0) + return; + + // If auto-completion is already active then see if this character is a + // start character. If it is then create a new list which will be a + // subset of the current one. The case where it isn't a start + // character seem to be handled correctly elsewhere. + if (isListActive()) + { + if (isAutoCStartChar(ch)) + { + cancelList(); + startAutoCompletion(acSource, FALSE, FALSE); + } + + return; + } + + // Handle call tips. + if (strchr("(),", ch) != NULL) + callTip(); + + // Handle auto-indentation. + if (autoInd) + if (lex.isNull() || (lex -> autoIndentStyle() & AiMaintain)) + maintainIndentation(ch,pos); + else + autoIndentation(ch,pos); + + // See if we might want to start auto-completion. + if (!isCallTipActive()) + if (isAutoCStartChar(ch)) + startAutoCompletion(acSource, FALSE, FALSE); + else if (acThresh >= 1 && isWordChar(ch)) + startAutoCompletion(acSource, TRUE, FALSE); +} + + +// See if a call tip is active. +bool TQextScintilla::isCallTipActive() +{ + return SendScintilla(SCI_CALLTIPACTIVE); +} + + +// Handle a possible change to any current call tip. +void TQextScintilla::callTip() +{ + if (!ctAPIs) + return; + + long pos = SendScintilla(SCI_GETCURRENTPOS); + long linenr = SendScintilla(SCI_LINEFROMPOSITION,pos); + long linelen = SendScintilla(SCI_LINELENGTH,linenr); + + char *lbuf = new char[linelen + 1]; + + int loff = SendScintilla(SCI_GETCURLINE,linelen + 1,lbuf); + + int commas = 0, start = -1; + + // Move backwards through the line looking for the start of the current + // call tip and working out which argument it is. + while (loff > 0) + { + char ch = lbuf[--loff]; + + if (ch == ',') + ++commas; + else if (ch == ')') + { + int depth = 1; + + // Ignore everything back to the start of the + // corresponding parenthesis. + while (loff > 0) + { + ch = lbuf[--loff]; + + if (ch == ')') + ++depth; + else if (ch == '(' && --depth == 0) + break; + } + } + else if (ch == '(' && loff > 0) + { + if (isWordChar(lbuf[loff - 1])) + { + // The parenthesis is preceded by a word so + // find the start of that word. + lbuf[loff--] = '\0'; + + while (loff >= 0) + { + if (!isWordChar(lbuf[loff]) && !isAutoCStartChar(lbuf[loff])) + break; + + --loff; + } + + start = loff + 1; + break; + } + + // We are between parentheses that do not correspond to + // a call tip, so reset the argument count. + commas = 0; + } + } + + // Cancel any existing call tip. + SendScintilla(SCI_CALLTIPCANCEL); + + // Done if there is no new call tip to set. + if (start < 0) + { + delete []lbuf; + return; + } + + TQString ct = ctAPIs -> callTips(&lbuf[start],maxCallTips,commas); + + delete []lbuf; + + if (ct.isEmpty()) + return; + + ctpos = SendScintilla(SCI_POSITIONFROMLINE,linenr) + start; + + SendScintilla(SCI_CALLTIPSHOW,ctpos,ct.latin1()); + + // Done if there is more than one line in the call tip or there isn't a + // down arrow at the start. + if (ct[0] == '\002' || ct.find('\n') >= 0) + return; + + // Highlight the current argument. + int astart; + + if (commas == 0) + astart = ct.find('('); + else + { + astart = -1; + + do + astart = ct.find(',',astart + 1); + while (astart >= 0 && --commas > 0); + } + + int len = ct.length(); + + if (astart < 0 || ++astart == len) + return; + + // The end is at the next comma or unmatched closing parenthesis. + int aend, depth = 0; + + for (aend = astart; aend < len; ++aend) + { + TQChar ch = ct.at(aend); + + if (ch == ',' && depth == 0) + break; + else if (ch == '(') + ++depth; + else if (ch == ')') + { + if (depth == 0) + break; + + --depth; + } + } + + if (astart != aend) + SendScintilla(SCI_CALLTIPSETHLT,astart,aend); +} + + +// Handle a call tip click. +void TQextScintilla::handleCallTipClick(int dir) +{ + if (!ctAPIs) + return; + + TQString ct = ctAPIs -> callTipsNextPrev(dir); + + if (ct.isNull()) + return; + + SendScintilla(SCI_CALLTIPSHOW,ctpos,ct.latin1()); +} + + +// Possibly start auto-completion. +void TQextScintilla::startAutoCompletion(AutoCompletionSource acs, + bool checkThresh, bool single) +{ + // Get the current line. + long len = SendScintilla(SCI_GETCURLINE) + 1; + + char *line = new char[len]; + + int wend = SendScintilla(SCI_GETCURLINE, len, line); + + // Find the start of the auto-completion text. + int wstart = wend; + bool numeric = true; + + while (wstart > 0) + { + char ch = line[wstart - 1]; + + // Don't auto-complete numbers. + if (ch < '0' || ch > '9') + numeric = false; + + if (!isWordChar(ch) && !isAutoCStartChar(ch)) + break; + + --wstart; + } + + int wlen = wend - wstart; + + if (numeric || wlen == 0 || (checkThresh && wlen < acThresh)) + return; + + // Isolate the auto-completion text. + char *word = &line[wstart]; + line[wend] = '\0'; + + // Generate the string representing the valid words to select from. + TQStringList wlist; + bool cs = !SendScintilla(SCI_AUTOCGETIGNORECASE); + + if (acs == AcsAll || acs == AcsDocument) + { + SendScintilla(SCI_SETSEARCHFLAGS,SCFIND_WORDSTART | (cs ? SCFIND_MATCHCASE : 0)); + + long pos = 0; + long dlen = SendScintilla(SCI_GETLENGTH); + long caret = SendScintilla(SCI_GETCURRENTPOS); + TQString root(word); + + for (;;) + { + long fstart; + + SendScintilla(SCI_SETTARGETSTART,pos); + SendScintilla(SCI_SETTARGETEND,dlen); + + if ((fstart = SendScintilla(SCI_SEARCHINTARGET,wlen,word)) < 0) + break; + + // Move past the root part. + pos = fstart + wlen; + + // Skip if this is the word we are auto-completing. + if (pos == caret) + continue; + + // Get the rest of this word. + TQString w(root); + + while (pos < dlen) + { + char ch = SendScintilla(SCI_GETCHARAT,pos); + + if (!isWordChar(ch)) + break; + + w += ch; + + ++pos; + } + + // Add the word if it isn't already there. + if (wlist.findIndex(w) < 0) + wlist.append(w); + } + } + + if ((acs == AcsAll || acs == AcsAPIs) && acAPIs) + acAPIs->autoCompletionList(word, cs, wlist); + + delete []line; + + if (wlist.isEmpty()) + return; + + wlist.sort(); + + const char sep = '\x03'; + + SendScintilla(SCI_AUTOCSETCHOOSESINGLE,single); + SendScintilla(SCI_AUTOCSETSEPARATOR, sep); + SendScintilla(SCI_AUTOCSHOW, wlen, wlist.join(TQChar(sep)).latin1()); +} + + +// Check if a character is an auto-completion start character. +bool TQextScintilla::isAutoCStartChar(char ch) const +{ + const char *start_chars = 0; + + if (!lex.isNull()) + start_chars = lex->autoCompletionStartCharacters(); + + if (!start_chars) + start_chars = acStart; + + return (strchr(start_chars, ch) != NULL); +} + + +// Maintain the indentation of the previous line. +void TQextScintilla::maintainIndentation(char ch,long pos) +{ + if (ch != '\r' && ch != '\n') + return; + + int curr_line = SendScintilla(SCI_LINEFROMPOSITION,pos); + + // Get the indentation of the preceding non-zero length line. + int ind = 0; + + for (int line = curr_line - 1; line >= 0; --line) + { + if (SendScintilla(SCI_GETLINEENDPOSITION,line) > + SendScintilla(SCI_POSITIONFROMLINE,line)) + { + ind = indentation(line); + break; + } + } + + if (ind > 0) + autoIndentLine(pos,curr_line,ind); +} + + +// Implement auto-indentation. +void TQextScintilla::autoIndentation(char ch,long pos) +{ + int curr_line = SendScintilla(SCI_LINEFROMPOSITION,pos); + int ind_width = indentationWidth(); + long curr_line_start = SendScintilla(SCI_POSITIONFROMLINE,curr_line); + + const char *block_start = lex -> blockStart(); + bool start_single = (block_start && strlen(block_start) == 1); + + const char *block_end = lex -> blockEnd(); + bool end_single = (block_end && strlen(block_end) == 1); + + if (end_single && block_end[0] == ch) + { + if ((lex -> autoIndentStyle() & AiClosing) && rangeIsWhitespace(curr_line_start,pos - 1)) + autoIndentLine(pos,curr_line,blockIndent(curr_line - 1) - indentationWidth()); + } + else if (start_single && block_start[0] == ch) + { + // De-indent if we have already indented because the previous + // line was a start of block keyword. + if ((lex->autoIndentStyle() & AiOpening) && curr_line > 0 && getIndentState(curr_line - 1) == isKeywordStart && rangeIsWhitespace(curr_line_start, pos - 1)) + autoIndentLine(pos,curr_line,blockIndent(curr_line - 1) - indentationWidth()); + } + else if (ch == '\r' || ch == '\n') + autoIndentLine(pos,curr_line,blockIndent(curr_line - 1)); +} + + +// Set the indentation for a line. +void TQextScintilla::autoIndentLine(long pos,int line,int indent) +{ + if (indent < 0) + return; + + long pos_before = SendScintilla(SCI_GETLINEINDENTPOSITION,line); + SendScintilla(SCI_SETLINEINDENTATION,line,indent); + long pos_after = SendScintilla(SCI_GETLINEINDENTPOSITION,line); + long new_pos = -1; + + if (pos_after > pos_before) + new_pos = pos + (pos_after - pos_before); + else if (pos_after < pos_before && pos >= pos_after) + if (pos >= pos_before) + new_pos = pos + (pos_after - pos_before); + else + new_pos = pos_after; + + if (new_pos >= 0) + SendScintilla(SCI_SETSEL,new_pos,new_pos); +} + + +// Return the indentation of the block defined by the given line (or something +// significant before). +int TQextScintilla::blockIndent(int line) +{ + if (line < 0) + return 0; + + // Handle the trvial case. + if (!lex -> blockStartKeyword() && !lex -> blockStart() && !lex -> blockEnd()) + return indentation(line); + + int line_limit = line - lex -> blockLookback(); + + if (line_limit < 0) + line_limit = 0; + + for (int l = line; l >= line_limit; --l) + { + IndentState istate = getIndentState(l); + + if (istate != isNone) + { + int ind_width = indentationWidth(); + int ind = indentation(l); + + if (istate == isBlockStart) + { + if (lex -> autoIndentStyle() & AiOpening) + ind += ind_width; + } + else if (istate == isBlockEnd) + { + if (!(lex -> autoIndentStyle() & AiClosing)) + ind -= ind_width; + + if (ind < 0) + ind = 0; + } + else if (line == l) + ind += ind_width; + + return ind; + } + } + + return indentation(line); +} + + +// Return TRUE if all characters starting at spos up to, but not including +// epos, are spaces or tabs. +bool TQextScintilla::rangeIsWhitespace(long spos,long epos) +{ + while (spos < epos) + { + char ch = SendScintilla(SCI_GETCHARAT,spos); + + if (ch != ' ' && ch != '\t') + return FALSE; + + ++spos; + } + + return TRUE; +} + + +// Returns the indentation state of a line. +TQextScintilla::IndentState TQextScintilla::getIndentState(int line) +{ + IndentState istate; + + // Get the styled text. + long spos = SendScintilla(SCI_POSITIONFROMLINE,line); + long epos = SendScintilla(SCI_POSITIONFROMLINE,line + 1); + + char *text = new char[(epos - spos + 1) * 2]; + + SendScintilla(SCI_GETSTYLEDTEXT,spos,epos,text); + + int style, bstart_off, bend_off; + + // Block start/end takes precedence over keywords. + const char *bstart_words = lex->blockStart(&style); + bstart_off = findStyledWord(text, style, bstart_words); + + const char *bend_words = lex->blockEnd(&style); + bend_off = findStyledWord(text, style, bend_words); + + // If there is a block start but no block end characters then ignore it + // unless the block start is the last significant thing on the line, + // ie. assume Python-like blocking. + if (bstart_off >= 0 && !bend_words) + for (int i = bstart_off * 2; text[i] != '\0'; i += 2) + if (!TQChar(text[i]).isSpace()) + return isNone; + + if (bstart_off > bend_off) + istate = isBlockStart; + else if (bend_off > bstart_off) + istate = isBlockEnd; + else + { + const char *words = lex->blockStartKeyword(&style); + + istate = (findStyledWord(text,style,words) >= 0) ? isKeywordStart : isNone; + } + + delete[] text; + + return istate; +} + + +// text is a pointer to some styled text (ie. a character byte followed by a +// style byte). style is a style number. words is a space separated list of +// words. Returns the position in the text immediately after the last one of +// the words with the style. The reason we are after the last, and not the +// first, occurance is that we are looking for words that start and end a block +// where the latest one is the most significant. +int TQextScintilla::findStyledWord(const char *text,int style,const char *words) +{ + if (!words) + return -1; + + // Find the range of text with the style we are looking for. + const char *stext; + + for (stext = text; stext[1] != style; stext += 2) + if (stext[0] == '\0') + return -1; + + // Move to the last character. + const char *etext = stext; + + while (etext[2] != '\0') + etext += 2; + + // Backtrack until we find the style. There will be one. + while (etext[1] != style) + etext -= 2; + + // Look for each word in turn. + while (words[0] != '\0') + { + // Find the end of the word. + const char *eword = words; + + while (eword[1] != ' ' && eword[1] != '\0') + ++eword; + + // Now search the text backwards. + const char *wp = eword; + + for (const char *tp = etext; tp >= stext; tp -= 2) + { + if (tp[0] != wp[0] || tp[1] != style) + { + // Reset the search. + wp = eword; + continue; + } + + // See if all the word has matched. + if (wp-- == words) + return ((tp - text) / 2) + (eword - words) + 1; + } + + // Move to the start of the next word if there is one. + words = eword + 1; + + if (words[0] == ' ') + ++words; + } + + return -1; +} + + +// Return TRUE if the code page is UTF8. +bool TQextScintilla::isUtf8() +{ + return (SendScintilla(SCI_GETCODEPAGE) == SC_CP_UTF8); +} + + +// Set the code page. +void TQextScintilla::setUtf8(bool cp) +{ + SendScintilla(SCI_SETCODEPAGE,(cp ? SC_CP_UTF8 : 0)); +} + + +// Return the end-of-line mode. +TQextScintilla::EolMode TQextScintilla::eolMode() +{ + return (EolMode)SendScintilla(SCI_GETEOLMODE); +} + + +// Set the end-of-line mode. +void TQextScintilla::setEolMode(EolMode mode) +{ + SendScintilla(SCI_SETEOLMODE,mode); +} + + +// Convert the end-of-lines to a particular mode. +void TQextScintilla::convertEols(EolMode mode) +{ + SendScintilla(SCI_CONVERTEOLS,mode); +} + + +// Return the edge colour. +TQColor TQextScintilla::edgeColor() +{ + long res = SendScintilla(SCI_GETEDGECOLOUR); + + return TQColor((int)res, ((int)(res >> 8)) & 0x00ff, ((int)(res >> 16)) & 0x00ff); +} + + +// Set the edge colour. +void TQextScintilla::setEdgeColor(const TQColor &col) +{ + SendScintilla(SCI_SETEDGECOLOUR,col); +} + + +// Return the edge column. +int TQextScintilla::edgeColumn() +{ + return SendScintilla(SCI_GETEDGECOLUMN); +} + + +// Set the edge column. +void TQextScintilla::setEdgeColumn(int colnr) +{ + SendScintilla(SCI_SETEDGECOLUMN,colnr); +} + + +// Return the edge mode. +TQextScintilla::EdgeMode TQextScintilla::edgeMode() +{ + return (EdgeMode)SendScintilla(SCI_GETEDGEMODE); +} + + +// Set the edge mode. +void TQextScintilla::setEdgeMode(EdgeMode mode) +{ + SendScintilla(SCI_SETEDGEMODE,mode); +} + + +// Return the end-of-line visibility. +bool TQextScintilla::eolVisibility() +{ + return SendScintilla(SCI_GETVIEWEOL); +} + + +// Set the end-of-line visibility. +void TQextScintilla::setEolVisibility(bool visible) +{ + SendScintilla(SCI_SETVIEWEOL,visible); +} + + +// Return the whitespace visibility. +TQextScintilla::WhitespaceVisibility TQextScintilla::whitespaceVisibility() +{ + return (WhitespaceVisibility)SendScintilla(SCI_GETVIEWWS); +} + + +// Set the whitespace visibility. +void TQextScintilla::setWhitespaceVisibility(WhitespaceVisibility mode) +{ + SendScintilla(SCI_SETVIEWWS,mode); +} + + +// Return the line wrap mode. +TQextScintilla::WrapMode TQextScintilla::wrapMode() +{ + return (WrapMode)SendScintilla(SCI_GETWRAPMODE); +} + + +// Set the line wrap mode. +void TQextScintilla::setWrapMode(WrapMode mode) +{ + SendScintilla(SCI_SETLAYOUTCACHE, (mode == WrapNone ? SC_CACHE_CARET : SC_CACHE_DOCUMENT)); + SendScintilla(SCI_SETWRAPMODE, mode); +} + + +// Set the line wrap visual flags. +void TQextScintilla::setWrapVisualFlags(WrapVisualFlag eflag, + WrapVisualFlag sflag, int sindent) +{ + int flags = SC_WRAPVISUALFLAG_NONE; + int loc = SC_WRAPVISUALFLAGLOC_DEFAULT; + + if (eflag == WrapFlagByText) + { + flags |= SC_WRAPVISUALFLAG_END; + loc |= SC_WRAPVISUALFLAGLOC_END_BY_TEXT; + } + else if (eflag == WrapFlagByBorder) + flags |= SC_WRAPVISUALFLAG_END; + + if (sflag == WrapFlagByText) + { + flags |= SC_WRAPVISUALFLAG_START; + loc |= SC_WRAPVISUALFLAGLOC_START_BY_TEXT; + } + else if (sflag == WrapFlagByBorder) + flags |= SC_WRAPVISUALFLAG_START; + + SendScintilla(SCI_SETWRAPVISUALFLAGS, flags); + SendScintilla(SCI_SETWRAPVISUALFLAGSLOCATION, loc); + SendScintilla(SCI_SETWRAPSTARTINDENT, sindent); +} + + +// Set the folding style. +void TQextScintilla::setFolding(FoldStyle folding) +{ + fold = folding; + + if (folding == NoFoldStyle) + { + SendScintilla(SCI_SETMARGINWIDTHN,2,0L); + return; + } + + int mask = SendScintilla(SCI_GETMODEVENTMASK); + SendScintilla(SCI_SETMODEVENTMASK,mask | SC_MOD_CHANGEFOLD); + + SendScintilla(SCI_SETFOLDFLAGS,SC_FOLDFLAG_LINEAFTER_CONTRACTED); + + SendScintilla(SCI_SETMARGINTYPEN,2,(long)SC_MARGIN_SYMBOL); + SendScintilla(SCI_SETMARGINMASKN,2,SC_MASK_FOLDERS); + SendScintilla(SCI_SETMARGINSENSITIVEN,2,1); + + // Set the marker symbols to use. + switch (folding) + { + case PlainFoldStyle: + setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_MINUS); + setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_PLUS); + setFoldMarker(SC_MARKNUM_FOLDERSUB); + setFoldMarker(SC_MARKNUM_FOLDERTAIL); + setFoldMarker(SC_MARKNUM_FOLDEREND); + setFoldMarker(SC_MARKNUM_FOLDEROPENMID); + setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); + + break; + + case CircledFoldStyle: + setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_CIRCLEMINUS); + setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_CIRCLEPLUS); + setFoldMarker(SC_MARKNUM_FOLDERSUB); + setFoldMarker(SC_MARKNUM_FOLDERTAIL); + setFoldMarker(SC_MARKNUM_FOLDEREND); + setFoldMarker(SC_MARKNUM_FOLDEROPENMID); + setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); + + break; + + case BoxedFoldStyle: + setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_BOXMINUS); + setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_BOXPLUS); + setFoldMarker(SC_MARKNUM_FOLDERSUB); + setFoldMarker(SC_MARKNUM_FOLDERTAIL); + setFoldMarker(SC_MARKNUM_FOLDEREND); + setFoldMarker(SC_MARKNUM_FOLDEROPENMID); + setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL); + + break; + + case CircledTreeFoldStyle: + setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_CIRCLEMINUS); + setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_CIRCLEPLUS); + setFoldMarker(SC_MARKNUM_FOLDERSUB,SC_MARK_VLINE); + setFoldMarker(SC_MARKNUM_FOLDERTAIL,SC_MARK_LCORNERCURVE); + setFoldMarker(SC_MARKNUM_FOLDEREND,SC_MARK_CIRCLEPLUSCONNECTED); + setFoldMarker(SC_MARKNUM_FOLDEROPENMID,SC_MARK_CIRCLEMINUSCONNECTED); + setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL,SC_MARK_TCORNERCURVE); + + break; + + case BoxedTreeFoldStyle: + setFoldMarker(SC_MARKNUM_FOLDEROPEN,SC_MARK_BOXMINUS); + setFoldMarker(SC_MARKNUM_FOLDER,SC_MARK_BOXPLUS); + setFoldMarker(SC_MARKNUM_FOLDERSUB,SC_MARK_VLINE); + setFoldMarker(SC_MARKNUM_FOLDERTAIL,SC_MARK_LCORNER); + setFoldMarker(SC_MARKNUM_FOLDEREND,SC_MARK_BOXPLUSCONNECTED); + setFoldMarker(SC_MARKNUM_FOLDEROPENMID,SC_MARK_BOXMINUSCONNECTED); + setFoldMarker(SC_MARKNUM_FOLDERMIDTAIL,SC_MARK_TCORNER); + + break; + } + + SendScintilla(SCI_SETMARGINWIDTHN,2,defaultFoldMarginWidth); +} + + +// Set up a folder marker. +void TQextScintilla::setFoldMarker(int marknr,int mark) +{ + SendScintilla(SCI_MARKERDEFINE,marknr,mark); + + if (mark != SC_MARK_EMPTY) + { + SendScintilla(SCI_MARKERSETFORE,marknr,white); + SendScintilla(SCI_MARKERSETBACK,marknr,black); + } +} + + +// Handle a click in the fold margin. This is mostly taken from SciTE. +void TQextScintilla::foldClick(int lineClick,int bstate) +{ + if ((bstate & ShiftButton) && (bstate & ControlButton)) + { + foldAll(); + return; + } + + int levelClick = SendScintilla(SCI_GETFOLDLEVEL,lineClick); + + if (levelClick & SC_FOLDLEVELHEADERFLAG) + { + if (bstate & ShiftButton) + { + // Ensure all children are visible. + SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); + foldExpand(lineClick,TRUE,TRUE,100,levelClick); + } + else if (bstate & ControlButton) + { + if (SendScintilla(SCI_GETFOLDEXPANDED,lineClick)) + { + // Contract this line and all its children. + SendScintilla(SCI_SETFOLDEXPANDED,lineClick,0L); + foldExpand(lineClick,FALSE,TRUE,0,levelClick); + } + else + { + // Expand this line and all its children. + SendScintilla(SCI_SETFOLDEXPANDED,lineClick,1); + foldExpand(lineClick,TRUE,TRUE,100,levelClick); + } + } + else + { + // Toggle this line. + SendScintilla(SCI_TOGGLEFOLD,lineClick); + } + } +} + + +// Do the hard work of hiding and showing lines. This is mostly taken from +// SciTE. +void TQextScintilla::foldExpand(int &line,bool doExpand,bool force, + int visLevels,int level) +{ + int lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,line,level & SC_FOLDLEVELNUMBERMASK); + + line++; + + while (line <= lineMaxSubord) + { + if (force) + { + if (visLevels > 0) + SendScintilla(SCI_SHOWLINES,line,line); + else + SendScintilla(SCI_HIDELINES,line,line); + } + else if (doExpand) + SendScintilla(SCI_SHOWLINES,line,line); + + int levelLine = level; + + if (levelLine == -1) + levelLine = SendScintilla(SCI_GETFOLDLEVEL,line); + + if (levelLine & SC_FOLDLEVELHEADERFLAG) + { + if (force) + { + if (visLevels > 1) + SendScintilla(SCI_SETFOLDEXPANDED,line,1); + else + SendScintilla(SCI_SETFOLDEXPANDED,line,0L); + + foldExpand(line,doExpand,force,visLevels - 1); + } + else if (doExpand) + { + if (!SendScintilla(SCI_GETFOLDEXPANDED,line)) + SendScintilla(SCI_SETFOLDEXPANDED,line,1); + + foldExpand(line,TRUE,force,visLevels - 1); + } + else + foldExpand(line,FALSE,force,visLevels - 1); + } + else + line++; + } +} + + +// Fully expand (if there is any line currently folded) all text. Otherwise, +// fold all text. This is mostly taken from SciTE. +void TQextScintilla::foldAll(bool children) +{ + recolor(); + + int maxLine = SendScintilla(SCI_GETLINECOUNT); + bool expanding = TRUE; + + for (int lineSeek = 0; lineSeek < maxLine; lineSeek++) + { + if (SendScintilla(SCI_GETFOLDLEVEL,lineSeek) & SC_FOLDLEVELHEADERFLAG) + { + expanding = !SendScintilla(SCI_GETFOLDEXPANDED,lineSeek); + break; + } + } + + for (int line = 0; line < maxLine; line++) + { + int level = SendScintilla(SCI_GETFOLDLEVEL,line); + + if (!(level & SC_FOLDLEVELHEADERFLAG)) + continue; + + if (children || + (SC_FOLDLEVELBASE == (level & SC_FOLDLEVELNUMBERMASK))) + { + if (expanding) + { + SendScintilla(SCI_SETFOLDEXPANDED,line,1); + foldExpand(line,TRUE,FALSE,0,level); + line--; + } + else + { + int lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,line,-1); + + SendScintilla(SCI_SETFOLDEXPANDED,line,0L); + + if (lineMaxSubord > line) + SendScintilla(SCI_HIDELINES,line + 1,lineMaxSubord); + } + } + } +} + + +// Handle a fold change. This is mostly taken from SciTE. +void TQextScintilla::foldChanged(int line,int levelNow,int levelPrev) +{ + if (levelNow & SC_FOLDLEVELHEADERFLAG) + { + if (!(levelPrev & SC_FOLDLEVELHEADERFLAG)) + SendScintilla(SCI_SETFOLDEXPANDED,line,1); + } + else if (levelPrev & SC_FOLDLEVELHEADERFLAG) + { + if (!SendScintilla(SCI_GETFOLDEXPANDED,line)) + { + // Removing the fold from one that has been contracted + // so should expand. Otherwise lines are left + // invisible with no way to make them visible. + foldExpand(line,TRUE,FALSE,0,levelPrev); + } + } +} + + +// Toggle the fold for a line if it contains a fold marker. +void TQextScintilla::foldLine(int line) +{ + SendScintilla(SCI_TOGGLEFOLD,line); +} + + +// Handle the SCN_MODIFIED notification. +void TQextScintilla::handleModified(int pos,int mtype,const char *text,int len, + int added,int line,int foldNow,int foldPrev) +{ + if (mtype & SC_MOD_CHANGEFOLD) + { + if (fold) + foldChanged(line,foldNow,foldPrev); + } + else if (mtype & (SC_MOD_INSERTTEXT | SC_MOD_DELETETEXT)) + emit textChanged(); +} + + +// Zoom in a number of points. +void TQextScintilla::zoomIn(int range) +{ + zoomTo(SendScintilla(SCI_GETZOOM) + range); +} + + +// Zoom in a single point. +void TQextScintilla::zoomIn() +{ + SendScintilla(SCI_ZOOMIN); +} + + +// Zoom out a number of points. +void TQextScintilla::zoomOut(int range) +{ + zoomTo(SendScintilla(SCI_GETZOOM) - range); +} + + +// Zoom out a single point. +void TQextScintilla::zoomOut() +{ + SendScintilla(SCI_ZOOMOUT); +} + + +// Set the zoom to a number of points. +void TQextScintilla::zoomTo(int size) +{ + if (size < -10) + size = -10; + else if (size > 20) + size = 20; + + SendScintilla(SCI_SETZOOM,size); +} + + +// Find the first occurrence of a string. +bool TQextScintilla::findFirst(const TQString &expr,bool re,bool cs,bool wo, + bool wrap,bool forward,int line,int index, + bool show) +{ + findState.inProgress = FALSE; + + if (expr.isEmpty()) + return FALSE; + + findState.expr = expr; + findState.wrap = wrap; + findState.forward = forward; + + findState.flags = (cs ? SCFIND_MATCHCASE : 0) | + (wo ? SCFIND_WHOLEWORD : 0) | + (re ? SCFIND_REGEXP : 0); + + if (line < 0 || index < 0) + findState.startpos = SendScintilla(SCI_GETCURRENTPOS); + else + findState.startpos = posFromLineIndex(line,index); + + if (forward) + findState.endpos = SendScintilla(SCI_GETLENGTH); + else + findState.endpos = 0; + + findState.show = show; + + return doFind(); +} + + +// Find the next occurrence of a string. +bool TQextScintilla::findNext() +{ + if (!findState.inProgress) + return FALSE; + + return doFind(); +} + + +// Do the hard work of findFirst() and findNext(). +bool TQextScintilla::doFind() +{ + SendScintilla(SCI_SETSEARCHFLAGS,findState.flags); + + long pos = simpleFind(); + + // See if it was found. If not and wraparound is wanted, try again. + if (pos == -1 && findState.wrap) + { + if (findState.forward) + { + findState.startpos = 0; + findState.endpos = SendScintilla(SCI_GETLENGTH); + } + else + { + findState.startpos = SendScintilla(SCI_GETLENGTH); + findState.endpos = 0; + } + + pos = simpleFind(); + } + + if (pos == -1) + { + findState.inProgress = FALSE; + return FALSE; + } + + // It was found. + long targstart = SendScintilla(SCI_GETTARGETSTART); + long targend = SendScintilla(SCI_GETTARGETEND); + + // Ensure the text found is visible if required. + if (findState.show) + { + int startLine = SendScintilla(SCI_LINEFROMPOSITION,targstart); + int endLine = SendScintilla(SCI_LINEFROMPOSITION,targend); + + for (int i = startLine; i <= endLine; ++i) + SendScintilla(SCI_ENSUREVISIBLEENFORCEPOLICY,i); + } + + // Now set the selection. + SendScintilla(SCI_SETSEL,targstart,targend); + + // Finally adjust the start position so that we don't find the same one + // again. + if (findState.forward) + findState.startpos = targend; + else if ((findState.startpos = targstart - 1) < 0) + findState.startpos = 0; + + findState.inProgress = TRUE; + return TRUE; +} + + +// Do a simple find between the start and end positions. +long TQextScintilla::simpleFind() +{ + if (findState.startpos == findState.endpos) + return -1; + + SendScintilla(SCI_SETTARGETSTART,findState.startpos); + SendScintilla(SCI_SETTARGETEND,findState.endpos); + + long pos; + + if (isUtf8()) + { + TQCString s = findState.expr.utf8(); + + pos = SendScintilla(SCI_SEARCHINTARGET,s.length(),s.data()); + } + else + { + const char *s = findState.expr.latin1(); + + pos = SendScintilla(SCI_SEARCHINTARGET,strlen(s),s); + } + + return pos; +} + + +// Replace the text found with the previous findFirst() or findNext(). +void TQextScintilla::replace(const TQString &replaceStr) +{ + if (!findState.inProgress) + return; + + long start = SendScintilla(SCI_GETSELECTIONSTART); + + SendScintilla(SCI_TARGETFROMSELECTION); + + long len; + int cmd = (findState.flags & SCFIND_REGEXP) ? SCI_REPLACETARGETRE : SCI_REPLACETARGET; + + if (isUtf8()) + len = SendScintilla(cmd,-1,replaceStr.utf8().data()); + else + len = SendScintilla(cmd,-1,replaceStr.latin1()); + + // Reset the selection. + SendScintilla(SCI_SETSELECTIONSTART,start); + SendScintilla(SCI_SETSELECTIONEND,start + len); + + if (findState.forward) + findState.startpos = start + len; +} + + +// Query the modified state. +bool TQextScintilla::isModified() +{ + // We don't use SCI_GETMODIFY as it seems to be buggy in Scintilla + // v1.61. + return modified; +} + + +// Set the modified state. +void TQextScintilla::setModified(bool m) +{ + if (!m) + SendScintilla(SCI_SETSAVEPOINT); +} + + +// Handle the SCN_MARGINCLICK notification. +void TQextScintilla::handleMarginClick(int pos,int modifiers,int margin) +{ + int state = 0; + + if (modifiers & SCMOD_SHIFT) + state |= ShiftButton; + + if (modifiers & SCMOD_CTRL) + state |= ControlButton; + + if (modifiers & SCMOD_ALT) + state |= AltButton; + + int line = SendScintilla(SCI_LINEFROMPOSITION,pos); + + if (fold && margin == 2) + foldClick(line,state); + else + emit marginClicked(margin,line,(ButtonState)state); +} + + +// Handle the SCN_SAVEPOINTREACHED notification. +void TQextScintilla::handleSavePointReached() +{ + if (modified) + { + modified = FALSE; + emit modificationChanged(FALSE); + } +} + + +// Handle the SCN_SAVEPOINTLEFT notification. +void TQextScintilla::handleSavePointLeft() +{ + if (!modified) + { + modified = TRUE; + emit modificationChanged(TRUE); + } +} + + +// Handle the TQSCN_SELCHANGED signal. +void TQextScintilla::handleSelectionChanged(bool yes) +{ + selText = yes; + + emit copyAvailable(yes); + emit selectionChanged(); +} + + +// Get the current selection. +void TQextScintilla::getSelection(int *lineFrom,int *indexFrom, + int *lineTo,int *indexTo) +{ + if (selText) + { + lineIndexFromPos(SendScintilla(SCI_GETSELECTIONSTART), + lineFrom,indexFrom); + lineIndexFromPos(SendScintilla(SCI_GETSELECTIONEND), + lineTo,indexTo); + } + else + *lineFrom = *indexFrom = *lineTo = *indexTo = -1; +} + + +// Sets the current selection. +void TQextScintilla::setSelection(int lineFrom,int indexFrom, + int lineTo,int indexTo) +{ + SendScintilla(SCI_SETSELECTIONSTART,posFromLineIndex(lineFrom,indexFrom)); + SendScintilla(SCI_SETSELECTIONEND,posFromLineIndex(lineTo,indexTo)); +} + + +// Set the background colour of selected text. +void TQextScintilla::setSelectionBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_SETSELBACK,1,col); + + int alpha = tqAlpha(col.rgb()); + + if (alpha < 255) + SendScintilla(SCI_SETSELALPHA, alpha); +} + + +// Set the foreground colour of selected text. +void TQextScintilla::setSelectionForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_SETSELFORE,1,col); +} + + +// Reset the background colour of selected text to the default. +void TQextScintilla::resetSelectionBackgroundColor() +{ + SendScintilla(SCI_SETSELALPHA, SC_ALPHA_NOALPHA); + SendScintilla(SCI_SETSELBACK,0UL); +} + + +// Reset the foreground colour of selected text to the default. +void TQextScintilla::resetSelectionForegroundColor() +{ + SendScintilla(SCI_SETSELFORE,0UL); +} + + +// Set the width of the caret. +void TQextScintilla::setCaretWidth(int width) +{ + SendScintilla(SCI_SETCARETWIDTH,width); +} + + +// Set the foreground colour of the caret. +void TQextScintilla::setCaretForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_SETCARETFORE,col); +} + + +// Set the background colour of the line containing the caret. +void TQextScintilla::setCaretLineBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_SETCARETLINEBACK,col); + + int alpha = tqAlpha(col.rgb()); + + if (alpha < 255) + SendScintilla(SCI_SETCARETLINEBACKALPHA, alpha); +} + + +// Set the state of the background colour of the line containing the caret. +void TQextScintilla::setCaretLineVisible(bool enable) +{ + SendScintilla(SCI_SETCARETLINEVISIBLE,enable); +} + + +// Query the read-only state. +bool TQextScintilla::isReadOnly() +{ + return SendScintilla(SCI_GETREADONLY); +} + + +// Set the read-only state. +void TQextScintilla::setReadOnly(bool ro) +{ + SendScintilla(SCI_SETREADONLY,ro); +} + + +// Append the given text. +void TQextScintilla::append(const TQString &text) +{ + bool ro = ensureRW(); + + if (isUtf8()) + { + TQCString s = text.utf8(); + + SendScintilla(SCI_APPENDTEXT,s.length(),s.data()); + } + else + { + const char *s = text.latin1(); + + SendScintilla(SCI_APPENDTEXT,strlen(s),s); + } + + SendScintilla(SCI_EMPTYUNDOBUFFER); + + setReadOnly(ro); +} + + +// Insert the given text at the current position. +void TQextScintilla::insert(const TQString &text) +{ + bool ro = ensureRW(); + + SendScintilla(SCI_BEGINUNDOACTION); + + if (isUtf8()) + SendScintilla(SCI_INSERTTEXT,-1,text.utf8().data()); + else + SendScintilla(SCI_INSERTTEXT,-1,text.latin1()); + + SendScintilla(SCI_ENDUNDOACTION); + + setReadOnly(ro); +} + + +// Insert the given text at the given position. +void TQextScintilla::insertAt(const TQString &text,int line,int index) +{ + bool ro = ensureRW(); + long position = posFromLineIndex(line,index); + + SendScintilla(SCI_BEGINUNDOACTION); + + if (isUtf8()) + SendScintilla(SCI_INSERTTEXT,position,text.utf8().data()); + else + SendScintilla(SCI_INSERTTEXT,position,text.latin1()); + + SendScintilla(SCI_ENDUNDOACTION); + + setReadOnly(ro); +} + + +// Begin a sequence of undoable actions. +void TQextScintilla::beginUndoAction() +{ + SendScintilla(SCI_BEGINUNDOACTION); +} + + +// End a sequence of undoable actions. +void TQextScintilla::endUndoAction() +{ + SendScintilla(SCI_ENDUNDOACTION); +} + + +// Redo a sequence of actions. +void TQextScintilla::redo() +{ + SendScintilla(SCI_REDO); +} + + +// Undo a sequence of actions. +void TQextScintilla::undo() +{ + SendScintilla(SCI_UNDO); +} + + +// See if there is something to redo. +bool TQextScintilla::isRedoAvailable() +{ + return SendScintilla(SCI_CANREDO); +} + + +// See if there is something to undo. +bool TQextScintilla::isUndoAvailable() +{ + return SendScintilla(SCI_CANUNDO); +} + + +// Return the number of lines. +int TQextScintilla::lines() +{ + return SendScintilla(SCI_GETLINECOUNT); +} + + +// Return the line at a position. +int TQextScintilla::lineAt(const TQPoint &pos) +{ + long chpos = SendScintilla(SCI_POSITIONFROMPOINTCLOSE,pos.x(),pos.y()); + + if (chpos < 0) + return -1; + + return SendScintilla(SCI_LINEFROMPOSITION,chpos); +} + + +// Return the length of a line. +int TQextScintilla::lineLength(int line) +{ + if (line < 0 || line >= SendScintilla(SCI_GETLINECOUNT)) + return -1; + + return SendScintilla(SCI_LINELENGTH,line); +} + + +// Return the length of the current text. +int TQextScintilla::length() +{ + return SendScintilla(SCI_GETTEXTLENGTH); +} + + +// Remove any selected text. +void TQextScintilla::removeSelectedText() +{ + SendScintilla(SCI_REPLACESEL,""); +} + + +// Return the current selected text. +TQString TQextScintilla::selectedText() +{ + if (!selText) + return TQString(); + + // Scintilla doesn't tell us the length of the selected text so we use + // the length of the whole document. + char *buf = new char[length() + 1]; + + SendScintilla(SCI_GETSELTEXT,buf); + + TQString qs = convertText(buf); + delete[] buf; + + return qs; +} + + +// Return the current text. +TQString TQextScintilla::text() +{ + int buflen = length() + 1; + char *buf = new char[buflen]; + + SendScintilla(SCI_GETTEXT,buflen,buf); + + TQString qs = convertText(buf); + delete[] buf; + + return qs; +} + + +// Return the text of a line. +TQString TQextScintilla::text(int line) +{ + int line_len = lineLength(line); + + if (line_len < 1) + return TQString(); + + char *buf = new char[line_len + 1]; + + SendScintilla(SCI_GETLINE,line,buf); + buf[line_len] = '\0'; + + TQString qs = convertText(buf); + delete[] buf; + + return qs; +} + + +// Set the given text. +void TQextScintilla::setText(const TQString &text) +{ + bool ro = ensureRW(); + + if (isUtf8()) + SendScintilla(SCI_SETTEXT,text.utf8().data()); + else + SendScintilla(SCI_SETTEXT,text.latin1()); + + SendScintilla(SCI_EMPTYUNDOBUFFER); + + setReadOnly(ro); +} + + +// Get the cursor position +void TQextScintilla::getCursorPosition(int *line,int *index) +{ + long pos = SendScintilla(SCI_GETCURRENTPOS); + long lin = SendScintilla(SCI_LINEFROMPOSITION,pos); + long linpos = SendScintilla(SCI_POSITIONFROMLINE,lin); + + *line = lin; + *index = pos - linpos; +} + + +// Set the cursor position +void TQextScintilla::setCursorPosition(int line,int index) +{ + SendScintilla(SCI_GOTOPOS,posFromLineIndex(line,index)); +} + + +// Ensure the cursor is visible. +void TQextScintilla::ensureCursorVisible() +{ + SendScintilla(SCI_SCROLLCARET); +} + + +// Ensure a line is visible. +void TQextScintilla::ensureLineVisible(int line) +{ + SendScintilla(SCI_ENSUREVISIBLEENFORCEPOLICY,line); +} + + +// Copy text to the clipboard. +void TQextScintilla::copy() +{ + SendScintilla(SCI_COPY); +} + + +// Cut text to the clipboard. +void TQextScintilla::cut() +{ + SendScintilla(SCI_CUT); +} + + +// Paste text from the clipboard. +void TQextScintilla::paste() +{ + SendScintilla(SCI_PASTE); +} + + +// Select all text, or deselect any selected text. +void TQextScintilla::selectAll(bool select) +{ + if (selText) + SendScintilla(SCI_SETANCHOR,SendScintilla(SCI_GETCURRENTPOS)); + else + SendScintilla(SCI_SELECTALL); +} + + +// Delete all text. +void TQextScintilla::clear() +{ + bool ro = ensureRW(); + + SendScintilla(SCI_BEGINUNDOACTION); + SendScintilla(SCI_CLEARALL); + SendScintilla(SCI_ENDUNDOACTION); + + setReadOnly(ro); +} + + +// Return the indentation of a line. +int TQextScintilla::indentation(int line) +{ + return SendScintilla(SCI_GETLINEINDENTATION,line); +} + + +// Set the indentation of a line. +void TQextScintilla::setIndentation(int line,int indentation) +{ + SendScintilla(SCI_BEGINUNDOACTION); + SendScintilla(SCI_SETLINEINDENTATION,line,indentation); + SendScintilla(SCI_ENDUNDOACTION); +} + + +// Indent a line. +void TQextScintilla::indent(int line) +{ + setIndentation(line,indentation(line) + indentWidth()); +} + + +// Unindent a line. +void TQextScintilla::unindent(int line) +{ + int newIndent = indentation(line) - indentWidth(); + + if (newIndent < 0) + newIndent = 0; + + setIndentation(line,newIndent); +} + + +// Return the indentation of the current line. +int TQextScintilla::currentIndent() +{ + return indentation(SendScintilla(SCI_LINEFROMPOSITION,SendScintilla(SCI_GETCURRENTPOS))); +} + + +// Return the current indentation width. +int TQextScintilla::indentWidth() +{ + int w = indentationWidth(); + + if (w == 0) + w = tabWidth(); + + return w; +} + + +// Return the state of indentation guides. +bool TQextScintilla::indentationGuides() +{ + return SendScintilla(SCI_GETINDENTATIONGUIDES); +} + + +// Enable and disable indentation guides. +void TQextScintilla::setIndentationGuides(bool enable) +{ + SendScintilla(SCI_SETINDENTATIONGUIDES,enable); +} + + +// Set the background colour of indentation guides. +void TQextScintilla::setIndentationGuidesBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETBACK,STYLE_INDENTGUIDE,col); +} + + +// Set the foreground colour of indentation guides. +void TQextScintilla::setIndentationGuidesForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETFORE,STYLE_INDENTGUIDE,col); +} + + +// Return the indentation width. +int TQextScintilla::indentationWidth() +{ + return SendScintilla(SCI_GETINDENT); +} + + +// Set the indentation width. +void TQextScintilla::setIndentationWidth(int width) +{ + SendScintilla(SCI_SETINDENT,width); +} + + +// Return the tab width. +int TQextScintilla::tabWidth() +{ + return SendScintilla(SCI_GETTABWIDTH); +} + + +// Set the tab width. +void TQextScintilla::setTabWidth(int width) +{ + SendScintilla(SCI_SETTABWIDTH,width); +} + + +// Return the effect of the backspace key. +bool TQextScintilla::backspaceUnindents() +{ + return SendScintilla(SCI_GETBACKSPACEUNINDENTS); +} + + +// Set the effect of the backspace key. +void TQextScintilla::setBackspaceUnindents(bool unindents) +{ + SendScintilla(SCI_SETBACKSPACEUNINDENTS,unindents); +} + + +// Return the effect of the tab key. +bool TQextScintilla::tabIndents() +{ + return SendScintilla(SCI_GETTABINDENTS); +} + + +// Set the effect of the tab key. +void TQextScintilla::setTabIndents(bool indents) +{ + SendScintilla(SCI_SETTABINDENTS,indents); +} + + +// Return the indentation use of tabs. +bool TQextScintilla::indentationsUseTabs() +{ + return SendScintilla(SCI_GETUSETABS); +} + + +// Set the indentation use of tabs. +void TQextScintilla::setIndentationsUseTabs(bool tabs) +{ + SendScintilla(SCI_SETUSETABS,tabs); +} + + +// Return the state of line numbers in a margin. +bool TQextScintilla::marginLineNumbers(int margin) +{ + return SendScintilla(SCI_GETMARGINTYPEN,margin); +} + + +// Enable and disable line numbers in a margin. +void TQextScintilla::setMarginLineNumbers(int margin,bool lnrs) +{ + SendScintilla(SCI_SETMARGINTYPEN,margin,lnrs ? SC_MARGIN_NUMBER : 0); +} + + +// Return the marker mask of a margin. +int TQextScintilla::marginMarkerMask(int margin) +{ + return SendScintilla(SCI_GETMARGINMASKN,margin); +} + + +// Set the marker mask of a margin. +void TQextScintilla::setMarginMarkerMask(int margin,int mask) +{ + SendScintilla(SCI_SETMARGINMASKN,margin,mask); +} + + +// Return the state of a margin's sensitivity. +bool TQextScintilla::marginSensitivity(int margin) +{ + return SendScintilla(SCI_GETMARGINSENSITIVEN,margin); +} + + +// Enable and disable a margin's sensitivity. +void TQextScintilla::setMarginSensitivity(int margin,bool sens) +{ + SendScintilla(SCI_SETMARGINSENSITIVEN,margin,sens); +} + + +// Return the width of a margin. +int TQextScintilla::marginWidth(int margin) +{ + return SendScintilla(SCI_GETMARGINWIDTHN,margin); +} + + +// Set the width of a margin. +void TQextScintilla::setMarginWidth(int margin,int width) +{ + SendScintilla(SCI_SETMARGINWIDTHN,margin,width); +} + + +// Set the width of a margin to the width of some text. +void TQextScintilla::setMarginWidth(int margin,const TQString &s) +{ + int width; + + if (isUtf8()) + width = SendScintilla(SCI_TEXTWIDTH,STYLE_LINENUMBER,s.utf8().data()); + else + width = SendScintilla(SCI_TEXTWIDTH,STYLE_LINENUMBER,s.latin1()); + + setMarginWidth(margin,width); +} + + +// Set the background colour of all margins. +void TQextScintilla::setMarginsBackgroundColor(const TQColor &col) +{ + handleStylePaperChange(col,STYLE_LINENUMBER); +} + + +// Set the foreground colour of all margins. +void TQextScintilla::setMarginsForegroundColor(const TQColor &col) +{ + handleStyleColorChange(col,STYLE_LINENUMBER); +} + + +// Set the font of all margins. +void TQextScintilla::setMarginsFont(const TQFont &f) +{ + setStylesFont(f,STYLE_LINENUMBER); +} + + +// Define a marker based on a symbol. +int TQextScintilla::markerDefine(MarkerSymbol sym,int mnr) +{ + checkMarker(mnr); + + if (mnr >= 0) + SendScintilla(SCI_MARKERDEFINE,mnr,static_cast(sym)); + + return mnr; +} + + +// Define a marker based on a character. +int TQextScintilla::markerDefine(char ch,int mnr) +{ + checkMarker(mnr); + + if (mnr >= 0) + SendScintilla(SCI_MARKERDEFINE,mnr,static_cast(SC_MARK_CHARACTER) + ch); + + return mnr; +} + + +// Define a marker based on a TQPixmap. +int TQextScintilla::markerDefine(const TQPixmap *pm,int mnr) +{ + checkMarker(mnr); + + if (mnr >= 0) + SendScintilla(SCI_MARKERDEFINEPIXMAP,mnr,pm); + + return mnr; +} + + +// Add a marker to a line. +int TQextScintilla::markerAdd(int linenr,int mnr) +{ + if (mnr < 0 || mnr > MARKER_MAX || (allocatedMarkers & (1 << mnr)) == 0) + return -1; + + return SendScintilla(SCI_MARKERADD,linenr,mnr); +} + + +// Get the marker mask for a line. +unsigned TQextScintilla::markersAtLine(int linenr) +{ + return SendScintilla(SCI_MARKERGET,linenr); +} + + +// Delete a marker from a line. +void TQextScintilla::markerDelete(int linenr,int mnr) +{ + if (mnr <= MARKER_MAX) + { + if (mnr < 0) + { + unsigned am = allocatedMarkers; + + for (int m = 0; m <= MARKER_MAX; ++m) + { + if (am & 1) + SendScintilla(SCI_MARKERDELETE,linenr,m); + + am >>= 1; + } + } + else if (allocatedMarkers & (1 << mnr)) + SendScintilla(SCI_MARKERDELETE,linenr,mnr); + } +} + + +// Delete a marker from the text. +void TQextScintilla::markerDeleteAll(int mnr) +{ + if (mnr <= MARKER_MAX) + { + if (mnr < 0) + SendScintilla(SCI_MARKERDELETEALL,-1); + else if (allocatedMarkers & (1 << mnr)) + SendScintilla(SCI_MARKERDELETEALL,mnr); + } +} + + +// Delete a marker handle from the text. +void TQextScintilla::markerDeleteHandle(int mhandle) +{ + SendScintilla(SCI_MARKERDELETEHANDLE,mhandle); +} + + +// Return the line containing a marker instance. +int TQextScintilla::markerLine(int mhandle) +{ + return SendScintilla(SCI_MARKERLINEFROMHANDLE,mhandle); +} + + +// Search forwards for a marker. +int TQextScintilla::markerFindNext(int linenr,unsigned mask) +{ + return SendScintilla(SCI_MARKERNEXT,linenr,mask); +} + + +// Search backwards for a marker. +int TQextScintilla::markerFindPrevious(int linenr,unsigned mask) +{ + return SendScintilla(SCI_MARKERPREVIOUS,linenr,mask); +} + + +// Set the marker background colour. +void TQextScintilla::setMarkerBackgroundColor(const TQColor &col,int mnr) +{ + if (mnr <= MARKER_MAX) + { + int alpha = tqAlpha(col.rgb()); + + if (mnr < 0) + { + unsigned am = allocatedMarkers; + + for (int m = 0; m <= MARKER_MAX; ++m) + { + if (am & 1) + { + SendScintilla(SCI_MARKERSETBACK,m,col); + + if (alpha < 255) + SendScintilla(SCI_MARKERSETALPHA, m, alpha); + } + + am >>= 1; + } + } + else if (allocatedMarkers & (1 << mnr)) + { + SendScintilla(SCI_MARKERSETBACK,mnr,col); + + if (alpha < 255) + SendScintilla(SCI_MARKERSETALPHA, mnr, alpha); + } + } +} + + +// Set the marker foreground colour. +void TQextScintilla::setMarkerForegroundColor(const TQColor &col,int mnr) +{ + if (mnr <= MARKER_MAX) + { + if (mnr < 0) + { + unsigned am = allocatedMarkers; + + for (int m = 0; m <= MARKER_MAX; ++m) + { + if (am & 1) + SendScintilla(SCI_MARKERSETFORE,m,col); + + am >>= 1; + } + } + else if (allocatedMarkers & (1 << mnr)) + SendScintilla(SCI_MARKERSETFORE,mnr,col); + } +} + + +// Check a marker, allocating a marker number if necessary. +void TQextScintilla::checkMarker(int &mnr) +{ + if (mnr >= 0) + { + // Check the explicit marker number isn't already allocated. + if (mnr > MARKER_MAX || allocatedMarkers & (1 << mnr)) + mnr = -1; + } + else + { + unsigned am = allocatedMarkers; + + // Find the smallest unallocated marker number. + for (mnr = 0; mnr <= MARKER_MAX; ++mnr) + { + if ((am & 1) == 0) + break; + + am >>= 1; + } + } + + // Define the marker if it is valid. + if (mnr >= 0) + allocatedMarkers |= (1 << mnr); +} + + +// Reset the fold margin colours. +void TQextScintilla::resetFoldMarginColors() +{ + SendScintilla(SCI_SETFOLDMARGINHICOLOUR,0,0L); + SendScintilla(SCI_SETFOLDMARGINCOLOUR,0,0L); +} + + +// Set the fold margin colours. +void TQextScintilla::setFoldMarginColors(const TQColor &fore,const TQColor &back) +{ + SendScintilla(SCI_SETFOLDMARGINHICOLOUR,1,fore); + SendScintilla(SCI_SETFOLDMARGINCOLOUR,1,back); +} + + +// Set the call tips background colour. +void TQextScintilla::setCallTipsBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_CALLTIPSETBACK,col); +} + + +// Set the call tips foreground colour. +void TQextScintilla::setCallTipsForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_CALLTIPSETFORE,col); +} + + +// Set the call tips highlight colour. +void TQextScintilla::setCallTipsHighlightColor(const TQColor &col) +{ + SendScintilla(SCI_CALLTIPSETFOREHLT,col); +} + + +// Set the matched brace background colour. +void TQextScintilla::setMatchedBraceBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETBACK,STYLE_BRACELIGHT,col); +} + + +// Set the matched brace foreground colour. +void TQextScintilla::setMatchedBraceForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETFORE,STYLE_BRACELIGHT,col); +} + + +// Set the unmatched brace background colour. +void TQextScintilla::setUnmatchedBraceBackgroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETBACK,STYLE_BRACEBAD,col); +} + + +// Set the unmatched brace foreground colour. +void TQextScintilla::setUnmatchedBraceForegroundColor(const TQColor &col) +{ + SendScintilla(SCI_STYLESETFORE,STYLE_BRACEBAD,col); +} + + +// Set the lexer. +void TQextScintilla::setLexer(TQextScintillaLexer *lexer) +{ + // Disconnect any previous lexer. + if (!lex.isNull()) + { + lex -> disconnect(this); + + SendScintilla(SCI_STYLERESETDEFAULT); + } + + // Connect up the new lexer. + lex = lexer; + + if (lex) + { + int bits = SendScintilla(SCI_GETSTYLEBITSNEEDED); + int nrStyles = 1 << bits; + + SendScintilla(SCI_SETSTYLEBITS,bits); + + connect(lex,TQT_SIGNAL(colorChanged(const TQColor &,int)), + TQT_SLOT(handleStyleColorChange(const TQColor &,int))); + connect(lex,TQT_SIGNAL(eolFillChanged(bool,int)), + TQT_SLOT(handleStyleEolFillChange(bool,int))); + connect(lex,TQT_SIGNAL(fontChanged(const TQFont &,int)), + TQT_SLOT(handleStyleFontChange(const TQFont &,int))); + connect(lex,TQT_SIGNAL(paperChanged(const TQColor &,int)), + TQT_SLOT(handleStylePaperChange(const TQColor &,int))); + connect(lex,TQT_SIGNAL(propertyChanged(const char *,const char *)), + TQT_SLOT(handlePropertyChange(const char *,const char *))); + + SendScintilla(SCI_SETLEXERLANGUAGE,lex -> lexer()); + + // Set the keywords. Scintilla allows for sets numbered 0 to + // KEYWORDSET_MAX (although the lexers only seem to exploit 0 + // to KEYWORDSET_MAX - 1). We number from 1 in line with + // SciTE's property files. + for (int k = 0; k <= KEYWORDSET_MAX; ++k) + { + const char *kw = lex -> keywords(k + 1); + + if (kw) + SendScintilla(SCI_SETKEYWORDS,k,kw); + } + + // Initialise each style. + for (int s = 0; s < nrStyles; ++s) + { + if (lex -> description(s).isNull()) + continue; + + handleStyleColorChange(lex -> color(s),s); + handleStyleEolFillChange(lex -> eolFill(s),s); + handleStyleFontChange(lex -> font(s),s); + handleStylePaperChange(lex -> paper(s),s); + } + + // Initialise the properties. + lex -> refreshProperties(); + + // Set the auto-completion fillups if they haven't been + // explcitly set. + if (fillups_enabled && !explicit_fillups) + SendScintilla(SCI_AUTOCSETFILLUPS, lex->autoCompletionFillups()); + } + else + { + SendScintilla(SCI_SETLEXER,SCLEX_NULL); + + setColor(nl_text_colour); + setPaper(nl_paper_colour); + setFont(nl_font); + } +} + + +// Get the current lexer. +TQextScintillaLexer *TQextScintilla::lexer() const +{ + return lex; +} + + +// Handle a change in lexer style foreground colour. +void TQextScintilla::handleStyleColorChange(const TQColor &c,int style) +{ + SendScintilla(SCI_STYLESETFORE,style,c); +} + + +// Handle a change in lexer style end-of-line fill. +void TQextScintilla::handleStyleEolFillChange(bool eolfill,int style) +{ + SendScintilla(SCI_STYLESETEOLFILLED,style,eolfill); +} + + +// Handle a change in lexer style font. +void TQextScintilla::handleStyleFontChange(const TQFont &f,int style) +{ + setStylesFont(f,style); + + if (style == lex->defaultStyle()) + setStylesFont(f, STYLE_DEFAULT); + + if (style == lex -> braceStyle()) + { + setStylesFont(f,STYLE_BRACELIGHT); + setStylesFont(f,STYLE_BRACEBAD); + } +} + + +// Set the font for a style. +void TQextScintilla::setStylesFont(const TQFont &f,int style) +{ + SendScintilla(SCI_STYLESETFONT,style,f.family().latin1()); + SendScintilla(SCI_STYLESETSIZE,style,f.pointSize()); + SendScintilla(SCI_STYLESETBOLD,style,f.bold()); + SendScintilla(SCI_STYLESETITALIC,style,f.italic()); + SendScintilla(SCI_STYLESETUNDERLINE,style,f.underline()); +} + + +// Handle a change in lexer style background colour. +void TQextScintilla::handleStylePaperChange(const TQColor &c,int style) +{ + SendScintilla(SCI_STYLESETBACK,style,c); +} + + +// Handle a change in lexer property. +void TQextScintilla::handlePropertyChange(const char *prop,const char *val) +{ + SendScintilla(SCI_SETPROPERTY,prop,val); +} + + +// Handle a change to the user visible user interface. +void TQextScintilla::handleUpdateUI() +{ + long newPos = SendScintilla(SCI_GETCURRENTPOS); + + if (newPos != oldPos) + { + oldPos = newPos; + + int line = SendScintilla(SCI_LINEFROMPOSITION,newPos); + int col = SendScintilla(SCI_GETCOLUMN,newPos); + + emit cursorPositionChanged(line,col); + } + + if (braceMode != NoBraceMatch) + braceMatch(); +} + + +// Handle brace matching. +void TQextScintilla::braceMatch() +{ + long braceAtCaret, braceOpposite; + + findMatchingBrace(braceAtCaret,braceOpposite,braceMode); + + if (braceAtCaret >= 0 && braceOpposite < 0) + { + SendScintilla(SCI_BRACEBADLIGHT,braceAtCaret); + SendScintilla(SCI_SETHIGHLIGHTGUIDE,0UL); + } + else + { + char chBrace = SendScintilla(SCI_GETCHARAT,braceAtCaret); + + SendScintilla(SCI_BRACEHIGHLIGHT,braceAtCaret,braceOpposite); + + long columnAtCaret = SendScintilla(SCI_GETCOLUMN,braceAtCaret); + long columnOpposite = SendScintilla(SCI_GETCOLUMN,braceOpposite); + + if (chBrace == ':') + { + long lineStart = SendScintilla(SCI_LINEFROMPOSITION,braceAtCaret); + long indentPos = SendScintilla(SCI_GETLINEINDENTPOSITION,lineStart); + long indentPosNext = SendScintilla(SCI_GETLINEINDENTPOSITION,lineStart + 1); + + columnAtCaret = SendScintilla(SCI_GETCOLUMN,indentPos); + + long columnAtCaretNext = SendScintilla(SCI_GETCOLUMN,indentPosNext); + long indentSize = SendScintilla(SCI_GETINDENT); + + if (columnAtCaretNext - indentSize > 1) + columnAtCaret = columnAtCaretNext - indentSize; + + if (columnOpposite == 0) + columnOpposite = columnAtCaret; + } + + long column = columnAtCaret; + + if (column > columnOpposite) + column = columnOpposite; + + SendScintilla(SCI_SETHIGHLIGHTGUIDE,column); + } +} + + +// Check if the character at a position is a brace. +long TQextScintilla::checkBrace(long pos,int brace_style,bool &colonMode) +{ + long brace_pos = -1; + char ch = SendScintilla(SCI_GETCHARAT,pos); + + if (ch == ':') + { + // A bit of a hack. + if (!lex.isNull() && strcmp(lex -> lexer(),"python") == 0) + { + brace_pos = pos; + colonMode = TRUE; + } + } + else if (ch && strchr("[](){}<>",ch)) + { + if (brace_style < 0) + brace_pos = pos; + else + { + int style = SendScintilla(SCI_GETSTYLEAT,pos) & 0x1f; + + if (style == brace_style) + brace_pos = pos; + } + } + + return brace_pos; +} + + +// Find a brace and it's match. Return TRUE if the current position is inside +// a pair of braces. +bool TQextScintilla::findMatchingBrace(long &brace,long &other,BraceMatch mode) +{ + bool colonMode = FALSE; + int brace_style = (lex.isNull() ? -1 : lex -> braceStyle()); + + brace = -1; + other = -1; + + long caretPos = SendScintilla(SCI_GETCURRENTPOS); + + if (caretPos > 0) + brace = checkBrace(caretPos - 1,brace_style,colonMode); + + bool isInside = FALSE; + + if (brace < 0 && mode == SloppyBraceMatch) + { + brace = checkBrace(caretPos,brace_style,colonMode); + + if (brace >= 0 && !colonMode) + isInside = TRUE; + } + + if (brace >= 0) + { + if (colonMode) + { + // Find the end of the Python indented block. + long lineStart = SendScintilla(SCI_LINEFROMPOSITION,brace); + long lineMaxSubord = SendScintilla(SCI_GETLASTCHILD,lineStart,-1); + + other = SendScintilla(SCI_GETLINEENDPOSITION,lineMaxSubord); + } + else + other = SendScintilla(SCI_BRACEMATCH,brace); + + if (other > brace) + isInside = !isInside; + } + + return isInside; +} + + +// Move to the matching brace. +void TQextScintilla::moveToMatchingBrace() +{ + gotoMatchingBrace(FALSE); +} + + +// Select to the matching brace. +void TQextScintilla::selectToMatchingBrace() +{ + gotoMatchingBrace(TRUE); +} + + +// Move to the matching brace and optionally select the text. +void TQextScintilla::gotoMatchingBrace(bool select) +{ + long braceAtCaret; + long braceOpposite; + + bool isInside = findMatchingBrace(braceAtCaret,braceOpposite,SloppyBraceMatch); + + if (braceOpposite >= 0) + { + // Convert the character positions into caret positions based + // on whether the caret position was inside or outside the + // braces. + if (isInside) + { + if (braceOpposite > braceAtCaret) + braceAtCaret++; + else + braceOpposite++; + } + else + { + if (braceOpposite > braceAtCaret) + braceOpposite++; + else + braceAtCaret++; + } + + ensureLineVisible(SendScintilla(SCI_LINEFROMPOSITION,braceOpposite)); + + if (select) + SendScintilla(SCI_SETSEL,braceAtCaret,braceOpposite); + else + SendScintilla(SCI_SETSEL,braceOpposite,braceOpposite); + } +} + + +// Return a position from a line number and an index within the line. +long TQextScintilla::posFromLineIndex(int line,int index) +{ + long pos = SendScintilla(SCI_POSITIONFROMLINE,line); + + // Allow for multi-byte characters. + for(int i = 0; i < index; i++) + pos = SendScintilla(SCI_POSITIONAFTER,pos); + + return pos; +} + + +// Return a line number and an index within the line from a position. +void TQextScintilla::lineIndexFromPos(long pos,int *line,int *index) +{ + long lin = SendScintilla(SCI_LINEFROMPOSITION,pos); + long linpos = SendScintilla(SCI_POSITIONFROMLINE,lin); + + *line = lin; + *index = pos - linpos; +} + + +// Convert a Scintilla string to a TQt Unicode string. +TQString TQextScintilla::convertText(const char *s) +{ + if (isUtf8()) + return TQString::fromUtf8(s); + + TQString qs; + + qs.setLatin1(s); + + return qs; +} + + +// Set the source of the auto-completion list. +void TQextScintilla::setAutoCompletionSource(AutoCompletionSource source) +{ + acSource = source; +} + + +// Set the threshold for automatic auto-completion. +void TQextScintilla::setAutoCompletionThreshold(int thresh) +{ + acThresh = thresh; +} + + +// Set the auto-completion start characters. +void TQextScintilla::setAutoCompletionStartCharacters(const char *start) +{ + acStart = start; +} + + +// Set the APIs for auto-completion. +void TQextScintilla::setAutoCompletionAPIs(TQextScintillaAPIs *apis) +{ + acAPIs = apis; +} + + +// Explicitly auto-complete from all sources. +void TQextScintilla::autoCompleteFromAll() +{ + startAutoCompletion(AcsAll, FALSE, showSingle); +} + + +// Explicitly auto-complete from the APIs. +void TQextScintilla::autoCompleteFromAPIs() +{ + startAutoCompletion(AcsAPIs, FALSE, showSingle); +} + + +// Explicitly auto-complete from the document. +void TQextScintilla::autoCompleteFromDocument() +{ + // If we are not in a word then ignore. + if (currentCharInWord()) + startAutoCompletion(AcsDocument, FALSE, showSingle); +} + + +// Return TRUE if the current character (ie. the one before the carat) is part +// of a word. +bool TQextScintilla::currentCharInWord() +{ + long pos = SendScintilla(SCI_GETCURRENTPOS); + + if (pos <= 0) + return FALSE; + + return isWordChar(SendScintilla(SCI_GETCHARAT,pos - 1)); +} + + +// Check if a character can be in a word. +bool TQextScintilla::isWordChar(char ch) const +{ + const char *word_chars = 0; + + if (!lex.isNull()) + word_chars = lex->wordCharacters(); + + if (!word_chars) + word_chars = defaultWordChars; + + return (strchr(word_chars, ch) != NULL); +} + + +// Recolour the document. +void TQextScintilla::recolor(int start,int end) +{ + SendScintilla(SCI_COLOURISE,start,end); +} + + +// Registered an image. +void TQextScintilla::registerImage(int id,const TQPixmap *pm) +{ + SendScintilla(SCI_REGISTERIMAGE,id,pm); +} + + +// Clear all registered images. +void TQextScintilla::clearRegisteredImages() +{ + SendScintilla(SCI_CLEARREGISTEREDIMAGES); +} + + +// Set the fill-up characters for auto-completion. +void TQextScintilla::setAutoCompletionFillups(const char *fillups) +{ + if (!fillups) + fillups = ""; + + SendScintilla(SCI_AUTOCSETFILLUPS, fillups); + fillups_enabled = explicit_fillups = TRUE; + + // Save them in case we need to reenable them at some point. + saved_fillups = fillups; +} + + +// Enable/disable fill-ups for auto-completion. +void TQextScintilla::setAutoCompletionFillupsEnabled(bool enabled) +{ + const char *fillups; + + if (!enabled) + fillups = ""; + else if (!explicit_fillups && !lex.isNull()) + fillups = lex->autoCompletionFillups(); + else + fillups = saved_fillups.data(); + + SendScintilla(SCI_AUTOCSETFILLUPS, fillups); + fillups_enabled = enabled; +} + + +// Return the state of fill-ups for auto-completion. +bool TQextScintilla::autoCompletionFillupsEnabled() +{ + return fillups_enabled; +} + + +// Set the case sensitivity for auto-completion. +void TQextScintilla::setAutoCompletionCaseSensitivity(bool cs) +{ + SendScintilla(SCI_AUTOCSETIGNORECASE,!cs); +} + + +// Return the case sensitivity for auto-completion. +bool TQextScintilla::autoCompletionCaseSensitivity() +{ + return !SendScintilla(SCI_AUTOCGETIGNORECASE); +} + + +// Set the replace word mode for auto-completion. +void TQextScintilla::setAutoCompletionReplaceWord(bool replace) +{ + SendScintilla(SCI_AUTOCSETDROPRESTOFWORD,replace); +} + + +// Return the replace word mode for auto-completion. +bool TQextScintilla::autoCompletionReplaceWord() +{ + return SendScintilla(SCI_AUTOCGETDROPRESTOFWORD); +} + + +// Set the single item mode for auto-completion. +void TQextScintilla::setAutoCompletionShowSingle(bool single) +{ + showSingle = single; +} + + +// Return the single item mode for auto-completion. +bool TQextScintilla::autoCompletionShowSingle() +{ + return showSingle; +} + + +// Set the APIs for call tips. +void TQextScintilla::setCallTipsAPIs(TQextScintillaAPIs *apis) +{ + ctAPIs = apis; +} + + +// Set maximum number of call tips displayed. +void TQextScintilla::setCallTipsVisible(int nr) +{ + maxCallTips = nr; +} + + +// Set the document to display. +void TQextScintilla::setDocument(const TQextScintillaDocument &document) +{ + if (doc.pdoc != document.pdoc) + { + doc.undisplay(this); + doc.attach(document); + doc.display(this,&document); + } +} + + +// Ensure the document is read-write and return True if was was read-only. +bool TQextScintilla::ensureRW() +{ + bool ro = isReadOnly(); + + if (ro) + setReadOnly(FALSE); + + return ro; +} + + +// Return the number of the first visible line. +int TQextScintilla::firstVisibleLine() +{ + return SendScintilla(SCI_GETFIRSTVISIBLELINE); +} + + +// Return the height in pixels of the text in a particular line. +int TQextScintilla::textHeight(int linenr) +{ + return SendScintilla(SCI_TEXTHEIGHT, linenr); +} + + +// See if auto-completion or user list is active. +bool TQextScintilla::isListActive() +{ + return SendScintilla(SCI_AUTOCACTIVE); +} + + +// Cancel any current auto-completion or user list. +void TQextScintilla::cancelList() +{ + SendScintilla(SCI_AUTOCCANCEL); +} + + +// Display a user list. +void TQextScintilla::showUserList(int id, const TQStringList &list) +{ + // Sanity check to make sure auto-completion doesn't get confused. + if (id <= 0) + return; + + const char sep = '\x03'; + + SendScintilla(SCI_AUTOCSETSEPARATOR, sep); + SendScintilla(SCI_USERLISTSHOW, id, list.join(TQChar(sep)).latin1()); +} + + +// Translate the SCN_USERLISTSELECTION notification into something more useful. +void TQextScintilla::handleUserListSelection(const char *text, int id) +{ + emit userListActivated(id, TQString(text)); +} + +#include "tqextscintilla.moc" diff --git a/tqt/tqextscintilla.h b/tqt/tqextscintilla.h new file mode 100644 index 0000000..fa2e590 --- /dev/null +++ b/tqt/tqextscintilla.h @@ -0,0 +1,1458 @@ +// This module defines the "official" high-level API of the TQt port of +// Scintilla. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLA_H +#define TQEXTSCINTILLA_H + + +#include +#include + +#include +#include +#include + + +class TQextScintillaLexer; +class TQextScintillaAPIs; +class TQextScintillaCommandSet; + + +//! \brief The TQextScintilla class implements a higher level, more TQt-like, +//! API to the Scintilla editor widget. +//! +//! TQextScintilla implements methods, signals and slots similar to those found +//! in other TQt editor classes. It also provides a higher level interface to +//! features specific to Scintilla such as syntax styling, call tips, +//! auto-indenting and auto-completion than that provided by TQextScintillaBase. +//! +//! The API is modelled on TQTextEdit - a method of the same name should behave +//! in the same way. +class TQEXTSCINTILLA_EXPORT TQextScintilla : public TQextScintillaBase +{ + TQ_OBJECT + + +public: + //! This enum defines the different auto-indentation styles. + enum { + //! A line is automatically indented to match the previous + //! line. + AiMaintain = 0x01, + + //! If the language supported by the current lexer has a + //! specific start of block character (e.g. { in C++), then a + //! line that begins with that character is indented as well as + //! the lines that make up the block. It may be logically ored + //! with AiClosing. + AiOpening = 0x02, + + //! If the language supported by the current lexer has a + //! specific end of block character (e.g. } in C++), then a + //! line that begins with that character is indented as well as + //! the lines that make up the block. It may be logically ored + //! with AiOpening. + AiClosing = 0x04 + }; + + //! This enum defines the different sources for auto-completion lists. + enum AutoCompletionSource { + //! The source is the current document. + AcsDocument, + + //! The source is any installed APIs. + AcsAPIs, + + //! The source is all available sources. + AcsAll + }; + + //! This enum defines the different brace matching modes. The + //! character pairs {}, [] and () are treated as braces. The Python + //! lexer will also match a : with the end of the corresponding + //! indented block. + enum BraceMatch { + //! Brace matching is disabled. + NoBraceMatch, + + //! Brace matching is enabled for a brace immediately before + //! the current position. + StrictBraceMatch, + + //! Brace matching is enabled for a brace immediately before or + //! after the current position. + SloppyBraceMatch + }; + + //! This enum defines the different edge modes for long lines. + enum EdgeMode { + //! Long lines are not marked. + EdgeNone = EDGE_NONE, + + //! A vertical line is drawn at the column set by + //! setEdgeColumn(). This is recommended for monospace fonts. + EdgeLine = EDGE_LINE, + + //! The background color of characters after the column limit + //! is changed to the color set by setEdgeColor(). This is + //! recommended for proportional fonts. + EdgeBackground = EDGE_BACKGROUND + }; + + //! This enum defines the different end-of-line modes. + enum EolMode { + //! A carriage return/line feed as used on Windows systems. + EolWindows = SC_EOL_CRLF, + + //! A line feed as used on Unix systems. + EolUnix = SC_EOL_LF, + + //! A carriage return as used on Mac systems. + EolMac = SC_EOL_CR + }; + + //! This enum defines the different styles for the folding margin. + enum FoldStyle { + //! Folding is disabled. + NoFoldStyle, + + //! Plain folding style using plus and minus symbols. + PlainFoldStyle, + + //! Circled folding style using circled plus and minus symbols. + CircledFoldStyle, + + //! Boxed folding style using boxed plus and minus symbols. + BoxedFoldStyle, + + //! Circled tree style using a flattened tree with circled plus + //! and minus symbols and rounded corners. + CircledTreeFoldStyle, + + //! Boxed tree style using a flattened tree with boxed plus and + //! minus symbols and right-angled corners. + BoxedTreeFoldStyle + }; + + //! This enum defines the different pre-defined marker symbols. + enum MarkerSymbol { + //! A circle. + Circle = SC_MARK_CIRCLE, + + //! A rectangle. + Rectangle = SC_MARK_ROUNDRECT, + + //! A triangle pointing to the right. + RightTriangle = SC_MARK_ARROW, + + //! A smaller rectangle. + SmallRectangle = SC_MARK_SMALLRECT, + + //! An arrow pointing to the right. + RightArrow = SC_MARK_SHORTARROW, + + //! An invisible marker that allows code to track the movement + //! of lines. + Invisible = SC_MARK_EMPTY, + + //! A triangle pointing down. + DownTriangle = SC_MARK_ARROWDOWN, + + //! A drawn minus sign. + Minus = SC_MARK_MINUS, + + //! A drawn plus sign. + Plus = SC_MARK_PLUS, + + //! A vertical line drawn in the background colour. + VerticalLine = SC_MARK_VLINE, + + //! A bottom left corner drawn in the background colour. + BottomLeftCorner = SC_MARK_LCORNER, + + //! A vertical line with a centre right horizontal line drawn + //! in the background colour. + LeftSideSplitter = SC_MARK_TCORNER, + + //! A drawn plus sign in a box. + BoxedPlus = SC_MARK_BOXPLUS, + + //! A drawn plus sign in a connected box. + BoxedPlusConnected = SC_MARK_BOXPLUSCONNECTED, + + //! A drawn minus sign in a box. + BoxedMinus = SC_MARK_BOXMINUS, + + //! A drawn minus sign in a connected box. + BoxedMinusConnected = SC_MARK_BOXMINUSCONNECTED, + + //! A rounded bottom left corner drawn in the background + //! colour. + RoundedBottomLeftCorner = SC_MARK_LCORNERCURVE, + + //! A vertical line with a centre right curved line drawn in + //! the background colour. + LeftSideRoundedSplitter = SC_MARK_TCORNERCURVE, + + //! A drawn plus sign in a circle. + CircledPlus = SC_MARK_CIRCLEPLUS, + + //! A drawn plus sign in a connected box. + CircledPlusConnected = SC_MARK_CIRCLEPLUSCONNECTED, + + //! A drawn minus sign in a circle. + CircledMinus = SC_MARK_CIRCLEMINUS, + + //! A drawn minus sign in a connected circle. + CircledMinusConnected = SC_MARK_CIRCLEMINUSCONNECTED, + + //! No symbol is drawn but the line of text is drawn with the + //! same background colour. + Background = SC_MARK_BACKGROUND, + + //! Three drawn dots. + ThreeDots = SC_MARK_DOTDOTDOT, + + //! Three drawn arrows pointing right. + ThreeRightArrows = SC_MARK_ARROWS + }; + + //! This enum defines the different whitespace visibility modes. When + //! whitespace is visible spaces are displayed as small centred dots + //! and tabs are displayed as light arrows pointing to the right. + enum WhitespaceVisibility { + //! Whitespace is invisible. + WsInvisible = SCWS_INVISIBLE, + + //! Whitespace is always visible. + WsVisible = SCWS_VISIBLEALWAYS, + + //! Whitespace is visible after the whitespace used for + //! indentation. + WsVisibleAfterIndent = SCWS_VISIBLEAFTERINDENT + }; + + //! This enum defines the different line wrap modes. + enum WrapMode { + //! Lines are not wrapped. + WrapNone = SC_WRAP_NONE, + + //! Lines are wrapped at word boundaries. + WrapWord = SC_WRAP_WORD, + + //! Lines are wrapped at character boundaries. + WrapCharacter = SC_WRAP_CHAR + }; + + //! This enum defines the different line wrap visual flags. + enum WrapVisualFlag { + //! No wrap flag is displayed. + WrapFlagNone, + + //! A wrap flag is displayed by the text. + WrapFlagByText, + + //! A wrap flag is displayed by the border. + WrapFlagByBorder + }; + + //! Construct an empty TQextScintilla with parent \a parent, name \a + //! name, and widget flags \a f. + TQextScintilla(TQWidget *parent = 0,const char *name = 0,WFlags f = 0); + + //! Destroys the TQextScintilla instance. + virtual ~TQextScintilla(); + + //! Returns TRUE if auto-completion lists are case sensitive. + //! + //! \sa setAutoCompletionCaseSensitivity() + bool autoCompletionCaseSensitivity(); + + //! Returns true if auto-completion fill-up characters are enabled. + //! + //! \sa setAutoCompletionFillups(), setAutoCompletionFillupsEnabled() + bool autoCompletionFillupsEnabled(); + + //! Returns TRUE if the rest of the word to the right of the current + //! cursor is removed when an item from an auto-completion list is + //! selected. + //! + //! \sa setAutoCompletionReplaceWord() + bool autoCompletionReplaceWord(); + + //! Returns TRUE if the only item in an auto-completion list with a + //! single entry is automatically used and the list not displayed. + //! + //! \sa setAutoCompletionShowSingle() + bool autoCompletionShowSingle(); + + //! Returns the current source for the auto-completion list when it is + //! being displayed automatically as the user types. + //! + //! \sa setAutoCompletionSource() + AutoCompletionSource autoCompletionSource() const {return acSource;} + + //! Returns the current threshold for the automatic display of the + //! auto-completion list as the user types. + //! + //! \sa setAutoCompletionThreshold() + int autoCompletionThreshold() const {return acThresh;} + + //! Returns TRUE if auto-indentation is enabled. + //! + //! \sa setAutoIndent() + bool autoIndent() const {return autoInd;} + + //! Returns TRUE if the backspace key unindents a line instead of + //! deleting a character. The default is FALSE. + //! + //! \sa setBackspaceUnindents(), tabIndents(), setTabIndents() + bool backspaceUnindents(); + + //! Mark the beginning of a sequence of actions that can be undone by + //! a single call to undo(). + //! + //! \sa endUndoAction(), undo() + void beginUndoAction(); + + //! Returns the brace matching mode. + //! + //! \sa setBraceMatching() + BraceMatch braceMatching() const {return braceMode;} + + //! Returns the maximum number of call tips that are displayed. + //! + //! \sa setCallTipsVisible() + int callTipsVisible() const {return maxCallTips;} + + //! Cancel any current auto-completion or user defined list. + void cancelList(); + + //! Clear all registered images. + //! + //! \sa registerImage() + void clearRegisteredImages(); + + //! All the lines of the text have their end-of-lines converted to mode + //! \a mode. + //! + //! \sa eolMode(), setEolMode() + void convertEols(EolMode mode); + + //! Returns the widget's text (ie. foreground) colour. + //! + //! \sa setColor() + TQColor color() const; + + //! Returns the attached document. + //! + //! \sa setDocument() + TQextScintillaDocument document() {return doc;} + + //! Mark the end of a sequence of actions that can be undone by a + //! single call to undo(). + //! + //! \sa beginUndoAction(), undo() + void endUndoAction(); + + //! Returns the color of the marker used to show that a line has + //! exceeded the length set by setEdgeColumn(). + //! + //! \sa setEdgeColor(), \sa setEdgeColumn + TQColor edgeColor(); + + //! Returns the number of the column after which lines are considered + //! to be long. + //! + //! \sa setEdgeColumn() + int edgeColumn(); + + //! Returns the edge mode which determines how long lines are marked. + //! + //! \sa setEdgeMode() + EdgeMode edgeMode(); + + //! Returns the end-of-line mode. + //! + //! \sa setEolMode() + EolMode eolMode(); + + //! Returns the visibility of end-of-lines. + //! + //! \sa setEolVisibility() + bool eolVisibility(); + + //! Find the next occurrence of the string \a expr and return TRUE if + //! \a expr was found, otherwise returns FALSE. If \a expr is found it + //! becomes the current selection. + //! + //! If \a re is TRUE then \a expr is interpreted as a regular + //! expression rather than a simple string. + //! + //! If \a cs is TRUE then the search is case sensitive. + //! + //! If \a wo is TRUE then the search looks for whole word matches only, + //! otherwise it searches for any matching text. + //! + //! If \a wrap is TRUE then the search wraps around the end of the + //! text. + //! + //! If \a forward is TRUE (the default) then the search is forward from + //! the starting position to the end of the text, otherwise it is + //! backwards to the beginning of the text. + //! + //! If either \a line or \a index are negative (the default) then the + //! search begins from the current cursor position. Otherwise the + //! search begins at position \a index of line \a line. + //! + //! If \a show is TRUE (the default) then any text found is made + //! visible (ie. it is unfolded). + //! + //! \sa findNext(), replace() + virtual bool findFirst(const TQString &expr,bool re,bool cs,bool wo, + bool wrap,bool forward = TRUE,int line = -1, + int index = -1,bool show = TRUE); + + //! Find the next occurence of the string found using findFirst(). + //! + //! \sa findFirst(), replace() + virtual bool findNext(); + + //! Returns the number of the first visible line. + int firstVisibleLine(); + + //! Returns the current folding style. + //! + //! \sa setFolding() + FoldStyle folding() const {return fold;} + + //! Sets \a *line and \a *index to the line and index of the cursor. + //! + //! \sa setCursorPosition() + void getCursorPosition(int *line,int *index); + + //! If there is a selection, \a *lineFrom is set to the line number in + //! which the selection begins and \a *lineTo is set to the line number + //! in which the selection ends. (They could be the same.) + //! \a *indexFrom is set to the index at which the selection begins + //! within \a *lineFrom, and \a *indexTo is set to the index at which + //! the selection ends within \a *lineTo. If there is no selection, + //! \a *lineFrom, \a *indexFrom, \a *lineTo and \a *indexTo are all set + //! to -1. + //! + //! \sa setSelection() + void getSelection(int *lineFrom,int *indexFrom, + int *lineTo,int *indexTo); + + //! Returns TRUE if some text is selected. + //! + //! \sa selectedText() + bool hasSelectedText() const {return selText;} + + //! Returns the number of characters that line \a line is indented by. + //! + //! \sa setIndentation() + int indentation(int line); + + //! Returns TRUE if the display of indentation guides is enabled. + //! + //! \sa setIndentationGuides() + bool indentationGuides(); + + //! Returns TRUE if indentations are created using tabs and spaces, + //! rather than just spaces. The default is TRUE. + //! + //! \sa setIndentationsUseTabs() + bool indentationsUseTabs(); + + //! Returns the indentation width in characters. The default is 0 + //! which means that the value returned by tabWidth() is actually used. + //! + //! \sa setIndentationWidth(), tabWidth() + int indentationWidth(); + + //! Returns TRUE if a call tip is currently active. + bool isCallTipActive(); + + //! Returns TRUE if an auto-completion or user defined list is + //! currently active. + bool isListActive(); + + //! Returns TRUE if the text has been modified. + //! + //! \sa setModified(), modificationChanged() + bool isModified(); + + //! Returns TRUE if the text edit is read-only. + //! + //! \sa setReadOnly() + bool isReadOnly(); + + //! Returns TRUE if there is something that can be redone. + //! + //! \sa redo() + bool isRedoAvailable(); + + //! Returns TRUE if there is something that can be undone. + //! + //! \sa undo() + bool isUndoAvailable(); + + //! Returns TRUE if text is interpreted as being UTF8 encoded. The + //! default is to interpret the text as Latin1 encoded. + //! + //! \sa setUtf8() + bool isUtf8(); + + //! Returns the line which is at position \a pos or -1 if there is no + //! line at that position. + int lineAt(const TQPoint &pos); + + //! Returns the length of line \a line or -1 if there is no such line. + int lineLength(int line); + + //! Returns the number of lines of text. + int lines(); + + //! Returns the length of the text edit's text. + int length(); + + //! Returns the current language lexer used to style text. If it is 0 then + //! syntax styling is disabled. + //! + //! \sa setLexer() + TQextScintillaLexer *lexer() const; + + //! Returns TRUE if line numbers are enabled for margin \a margin. + //! + //! \sa setMarginLineNumbers(), TQextScintillaBase::SCI_GETMARGINTYPEN + bool marginLineNumbers(int margin); + + //! Returns the marker mask of margin \a margin. + //! + //! \sa setMarginMask(), TQextScintillaMarker, + //! TQextScintillaBase::SCI_GETMARGINMASKN + int marginMarkerMask(int margin); + + //! Returns TRUE if margin \a margin is sensitive to mouse clicks. + //! + //! \sa setMarginSensitivity(), marginClicked(), + //! TQextScintillaBase::SCI_GETMARGINTYPEN + bool marginSensitivity(int margin); + + //! Returns the width in pixels of margin \a margin. + //! + //! \sa setMarginWidth(), TQextScintillaBase::SCI_GETMARGINWIDTHN + int marginWidth(int margin); + + //! Define a marker using the symbol \a sym with the marker number + //! \a mnr. If \a mnr is -1 then the marker number is automatically + //! allocated. The marker number is returned or -1 if the marker + //! number was already allocated or too many markers have been defined. + //! + //! Markers are small geometric symbols and character used, for + //! example, to indicate the current line or, in debuggers, to indicate + //! breakpoints. If a margin has a width of 0 then its markers are not + //! drawn, but their background colours affect the background colour of + //! the corresponding line of text. + //! + //! There may be up to 32 markers defined and each line of text has a + //! set of these markers associated with it. Markers are drawn + //! according to their numerical identifier. Markers try to move with + //! their text by tracking where the start of their line moves to. For + //! example, when a line is deleted its markers are added to previous + //! line's markers. + //! + //! Each marker is identified by a marker number. Each instance of a + //! marker is identified by a marker handle. + int markerDefine(MarkerSymbol sym,int mnr = -1); + + //! Define a marker using the character \a ch with the marker number + //! \a mnr. If \a mnr is -1 then the marker number is automatically + //! allocated. The marker number is returned or -1 if the marker + //! number was already allocated or too many markers have been defined. + int markerDefine(char ch,int mnr = -1); + + //! Define a marker using a copy of the pixmap \a pm with the marker + //! number \a mnr. If \a mnr is -1 then the marker number is + //! automatically allocated. The marker number is returned or -1 if + //! the marker number was already allocated or too many markers have + //! been defined. + int markerDefine(const TQPixmap *pm,int mnr = -1); + + //! Add a marker number \a mnr to line number \a linenr. A handle for + //! the marker is returned which can be used to track the marker's + //! position, or -1 if the \a mnr was invalid. + //! + //! \sa markerDelete(), markerDeleteAll(), markerDeleteHandle() + int markerAdd(int linenr,int mnr); + + //! Returns the 32 bit mask of marker numbers at line number \a linenr. + //! + //! \sa markerAdd() + unsigned markersAtLine(int linenr); + + //! Delete all markers with the marker number \a mnr in the line + //! \a linenr. If \a mnr is -1 then delete all markers from line + //! \a linenr. + //! + //! \sa markerAdd(), markerDeleteAll(), markerDeleteHandle() + void markerDelete(int linenr,int mnr = -1); + + //! Delete the all markers with the marker number \a mnr. If \a mnr is + //! -1 then delete all markers. + //! + //! \sa markerAdd(), markerDelete(), markerDeleteHandle() + void markerDeleteAll(int mnr = -1); + + //! Delete the the marker instance with the marker handle \a mhandle. + //! + //! \sa markerAdd(), markerDelete(), markerDeleteAll() + void markerDeleteHandle(int mhandle); + + //! Return the line number that contains the marker instance with the + //! marker handle \a mhandle. + int markerLine(int mhandle); + + //! Return the number of the next line to contain at least one marker + //! from a 32 bit mask of markers. \a linenr is the line number to + //! start the search from. \a mask is the mask of markers to search + //! for. + //! + //! \sa markerFindPrevious() + int markerFindNext(int linenr,unsigned mask); + + //! Return the number of the previous line to contain at least one + //! marker from a 32 bit mask of markers. \a linenr is the line number + //! to start the search from. \a mask is the mask of markers to search + //! for. + //! + //! \sa markerFindNext() + int markerFindPrevious(int linenr,unsigned mask); + + //! Returns the widget's paper (ie. background) colour. + //! + //! \sa setPaper() + TQColor paper() const; + + //! Recolours the document between the \a start and \a end positions. + //! \a start defaults to the start of the document and \a end defaults + //! to the end of the document. + virtual void recolor(int start = 0,int end = -1); + + //! Register an image \a pm with ID \a id. Registered images can be + //! displayed in auto-completion lists. + //! + //! \sa clearRegisteredImages(), TQextScintillaAPIs + void registerImage(int id,const TQPixmap *pm); + + //! Replace the current selection, set by a previous call to + //! findFirst() or findNext(), with \a replaceStr. + //! + //! \sa findFirst(), findNext() + virtual void replace(const TQString &replaceStr); + + //! Reset the fold margin colours to their defaults. + //! + //! \sa setFoldMarginColors() + void resetFoldMarginColors(); + + //! The fold margin may be drawn as a one pixel sized checkerboard + //! pattern of two colours, \a fore and \a back. + //! + //! \sa resetFoldMarginColors() + void setFoldMarginColors(const TQColor &fore,const TQColor &back); + + //! Sets the APIs used for auto-completion to \a apis. If \a apis is 0 + //! then any existing APIs are removed. + //! + //! \sa autoCompleteFromAPIs(), setCallTipsAPIs() + void setAutoCompletionAPIs(TQextScintillaAPIs *apis = 0); + + //! A fill-up character is one that, when entered while an + //! auto-completion list is being displayed, causes the currently + //! selected item from the list to be added to the text followed by the + //! fill-up character. \a fillups is the set of fill-up characters. + //! The default is that no fill-up characters are set, although a lexer may + //! set its own. Explicitly setting the fill-up characters using this + //! method automatically enables their use. + //! + //! \sa autoCompletionFillupsEnabled(), setAutoCompletionFillupsEnabled() + void setAutoCompletionFillups(const char *fillups); + + //! Enable the use of fill-up characters, either those explicitly set or + //! those set by a lexer. By default, fill-up characters are disabled. + //! + //! \sa autoCompletionFillupsEnabled(), setAutoCompletionFillups() + void setAutoCompletionFillupsEnabled(bool enabled); + + //! A start character is one that, when entered, causes the + //! auto-completion list to be displayed. If a language lexer has been + //! set then this is ignored and the lexer defines the start + //! characters. The default is that no start characters are set. + //! + //! \sa setAutoCompletionThreshold() + void setAutoCompletionStartCharacters(const char *start); + + //! Sets the APIs used for call tips to \a apis. If \a apis is 0 then + //! then call tips are disabled. + //! + //! \sa setAutoCompletionAPIs() + void setCallTipsAPIs(TQextScintillaAPIs *apis = 0); + + //! Set the background colour of call tips to \a col. The default is + //! white. + void setCallTipsBackgroundColor(const TQColor &col); + + //! Set the foreground colour of call tips to \a col. The default is + //! mid-gray. + void setCallTipsForegroundColor(const TQColor &col); + + //! Set the highlighted colour of call tip text to \a col. The default + //! is dark blue. + void setCallTipsHighlightColor(const TQColor &col); + + //! Set the maximum number of call tips that are displayed to \a nr. + //! If the maximum number is 0 then all applicable call tips are + //! displayed. If the maximum number is -1 then one call tip will be + //! displayed with up and down arrows that allow the use to scroll + //! through the full list. The default is -1. + //! + //! \sa callTipsVisible() + void setCallTipsVisible(int nr); + + //! Attach the document \a document, replacing the currently attached + //! document. + //! + //! \sa document() + void setDocument(const TQextScintillaDocument &document); + + //! Set the color of the marker used to show that a line has exceeded + //! the length set by setEdgeColumn(). + //! + //! \sa edgeColor(), \sa setEdgeColumn + void setEdgeColor(const TQColor &col); + + //! Set the number of the column after which lines are considered to be + //! long. + //! + //! \sa edgeColumn() + void setEdgeColumn(int colnr); + + //! Set the edge mode which determines how long lines are marked. + //! + //! \sa edgeMode() + void setEdgeMode(EdgeMode mode); + + //! Set the default font. This has no effect if a language lexer has been + //! set. + virtual void setFont(const TQFont &f); + + //! Set the background colour, including the alpha component, of marker + //! \a mnr to \a col. If \a mnr is -1 then the colour of all markers + //! is set. The default is white. + //! + //! \sa setMarkerForegroundColor() + void setMarkerBackgroundColor(const TQColor &col,int mnr = -1); + + //! Set the foreground colour of marker \a mnr to \a col. If \a mnr is + //! -1 then the colour of all markers is set. The default is black. + //! + //! \sa setMarkerBackgroundColor() + void setMarkerForegroundColor(const TQColor &col,int mnr = -1); + + //! Set the background colour used to display matched braces to \a col. + //! The default is white. + //! + //! \sa setMatchedBraceForegroundColor() + void setMatchedBraceBackgroundColor(const TQColor &col); + + //! Set the foreground colour used to display matched braces to \a col. + //! The default is red. + //! + //! \sa setMatchedBraceBackgroundColor() + void setMatchedBraceForegroundColor(const TQColor &col); + + //! Set the background colour used to display unmatched braces to + //! \a col. The default is white. + //! + //! \sa setUnmatchedBraceForegroundColor() + void setUnmatchedBraceBackgroundColor(const TQColor &col); + + //! Set the foreground colour used to display unmatched braces to + //! \a col. The default is blue. + //! + //! \sa setUnmatchedBraceBackgroundColor() + void setUnmatchedBraceForegroundColor(const TQColor &col); + + //! Set the visual flags displayed when a line is wrapped. \a eflag + //! determines if and where the flag at the end of a line is displayed. + //! \a sflag determines if and where the flag at the start of a line is + //! displayed. \a sindent is the number of characters a wrapped line + //! is indented by. By default no visual flags are displayed. + void setWrapVisualFlags(WrapVisualFlag eflag, + WrapVisualFlag sflag = WrapFlagNone, int sindent = 0); + + //! Returns the selected text or an empty string if there is no + //! currently selected text. + //! + //! \sa hasSelectedText() + TQString selectedText(); + + //! Displays a user defined list which can be interacted with like an + //! auto-completion list. \a id is an identifier for the list which + //! is passed as an argument to the userListActivated() signal and must + //! be at least 1. \a list is the text with which the list is + //! populated. + //! + //! \sa cancelList(), isListActive(), userListActivated() + void showUserList(int id, const TQStringList &list); + + //! The standard command set is returned. + TQextScintillaCommandSet *standardCommands() const {return stdCmds;} + + //! Returns TRUE if the tab key indents a line instead of inserting a + //! tab character. The default is TRUE. + //! + //! \sa setTabIndents(), backspaceUnindents(), setBackspaceUnindents() + bool tabIndents(); + + //! Returns the tab width in characters. The default is 8. + //! + //! \sa setTabWidth() + int tabWidth(); + + //! Returns the text edit's text. + //! + //! \sa setText() + TQString text(); + + //! \overload + //! + //! Returns the text of line \a line. + //! + //! \sa setText() + TQString text(int line); + + //! Returns the height in pixels of the text in line number \a linenr. + int textHeight(int linenr); + + //! Returns the visibility of whitespace. + //! + //! \sa setWhitespaceVisibility() + WhitespaceVisibility whitespaceVisibility(); + + //! Returns the line wrap mode. + //! + //! \sa setWrapMode() + WrapMode wrapMode(); + +public slots: + //! Appends the text \a text to the end of the text edit. Note that + //! the undo/redo history is cleared by this function. + virtual void append(const TQString &text); + + //! Display an auto-completion list based on any installed APIs, the + //! current contents of the document and the characters immediately to + //! the left of the cursor. + //! + //! \sa autoCompleteFromAPIs(), autoCompleteFromDocument() + virtual void autoCompleteFromAll(); + + //! Display an auto-completion list based on any installed APIs and the + //! characters immediately to the left of the cursor. + //! + //! \sa autoCompleteFromAll(), autoCompleteFromDocument(), + //! setAutoCompletionAPIs() + virtual void autoCompleteFromAPIs(); + + //! Display an auto-completion list based on the current contents of + //! the document and the characters immediately to the left of the + //! cursor. + //! + //! \sa autoCompleteFromAll(), autoCompleteFromAPIs() + virtual void autoCompleteFromDocument(); + + //! Display a call tip based on the the characters immediately to the + //! left of the cursor. + virtual void callTip(); + + //! Deletes all the text in the text edit. + virtual void clear(); + + //! Copies any selected text to the clipboard. + //! + //! \sa copyAvailable(), cut(), paste() + virtual void copy(); + + //! Copies any selected text to the clipboard and then deletes the + //! text. + //! + //! \sa copy(), paste() + virtual void cut(); + + //! Ensures that the cursor is visible. + virtual void ensureCursorVisible(); + + //! Ensures that the line number \a line is visible. + virtual void ensureLineVisible(int line); + + //! If any lines are currently folded then they are all unfolded. + //! Otherwise all lines are folded. This has the same effect as + //! clicking in the fold margin with the shift and control keys + //! pressed. If \a children is not set (the default) then only the top + //! level fold points are affected, otherwise the state of all fold + //! points are changed. + virtual void foldAll(bool children = FALSE); + + //! If the line \a line is folded then it is unfolded. Otherwise it is + //! folded. This has the same effect as clicking in the fold margin. + virtual void foldLine(int line); + + //! Increases the indentation of line \a line by an indentation width. + //! + //! \sa unindent() + virtual void indent(int line); + + //! Insert the text \a text at the current position. + virtual void insert(const TQString &text); + + //! Insert the text \a text in the line \a line at the position + //! \a index. + virtual void insertAt(const TQString &text,int line,int index); + + //! If the cursor is either side of a brace character then move it to + //! the position of the corresponding brace. + virtual void moveToMatchingBrace(); + + //! Pastes any text from the clipboard into the text edit at the + //! current cursor position. + //! + //! \sa copy(), cut() + virtual void paste(); + + //! Redo the last change or sequence of changes. + //! + //! \sa isRedoAvailable() + virtual void redo(); + + //! Removes any selected text. + virtual void removeSelectedText(); + + //! Resets the background colour of selected text to the default. + //! + //! \sa setSelectionBackgroundColor(), resetSelectionForegroundColor() + virtual void resetSelectionBackgroundColor(); + + //! Resets the foreground colour of selected text to the default. + //! + //! \sa setSelectionForegroundColor(), resetSelectionBackgroundColor() + virtual void resetSelectionForegroundColor(); + + //! If \a select is TRUE (the default) then all the text is selected. + //! If \a select is FALSE then any currently selected text is + //! deselected. + virtual void selectAll(bool select = TRUE); + + //! If the cursor is either side of a brace character then move it to + //! the position of the corresponding brace and select the text between + //! the braces. + virtual void selectToMatchingBrace(); + + //! If \a cs is TRUE then auto-completion lists are case sensitive. + //! The default is TRUE. + //! + //! \sa autoCompletionCaseSensitivity() + virtual void setAutoCompletionCaseSensitivity(bool cs); + + //! If \a replace is TRUE then when an item from an auto-completion + //! list is selected, the rest of the word to the right of the current + //! cursor is removed. The default is FALSE. + //! + //! \sa autoCompletionReplaceWord() + virtual void setAutoCompletionReplaceWord(bool replace); + + //! If \a single is TRUE then when there is only a single entry in an + //! auto-completion list it is automatically used and the list is not + //! displayed. This only has an effect when auto-completion is + //! explicitly requested (using autoCompleteFromAPIs() and + //! autoCompleteFromDocument()) and has no effect when auto-completion + //! is triggered as the user types. The default is FALSE. + //! + //! \sa autoCompletionShowSingle() + virtual void setAutoCompletionShowSingle(bool single); + + //! Sets the source for the auto-completion list when it is being + //! displayed automatically as the user types to \a source. The + //! default is AcsDocument. + //! + //! \sa autoCompletionSource() + virtual void setAutoCompletionSource(AutoCompletionSource source); + + //! Sets the threshold for the automatic display of the auto-completion + //! list as the user types to \a thresh. The threshold is the number + //! of characters that the user must type before the list is displayed. + //! If the threshold is less than or equal to 0 then the list is + //! disabled. The default is -1. + //! + //! \sa autoCompletionThreshold(), setAutoCompletionStartCharacters() + virtual void setAutoCompletionThreshold(int thresh); + + //! If \a autoindent is TRUE then auto-indentation is enabled. The + //! default is FALSE. + //! + //! \sa autoIndent() + virtual void setAutoIndent(bool autoindent); + + //! Sets the brace matching mode to \a bm. The default is + //! NoBraceMatching. + //! + //! \sa braceMatching() + virtual void setBraceMatching(BraceMatch bm); + + //! If \a deindent is TRUE then the backspace key will unindent a line + //! rather then delete a character. + //! + //! \sa backspaceUnindents(), tabIndents(), setTabIndents() + virtual void setBackspaceUnindents(bool unindent); + + //! Sets the foreground colour of the caret to \a col. + virtual void setCaretForegroundColor(const TQColor &col); + + //! Sets the background colour, including the alpha component, of the + //! line containing the caret to \a col. + //! + //! \sa setCaretLineVisible() + virtual void setCaretLineBackgroundColor(const TQColor &col); + + //! Enables or disables, according to \a enable, the background color + //! of the line containing the caret. + //! + //! \sa setCaretLineBackgroundColor() + virtual void setCaretLineVisible(bool enable); + + //! Sets the width of the caret to \a width pixels. A \a width of 0 + //! makes the caret invisible. + virtual void setCaretWidth(int width); + + //! The widget's text (ie. foreground) colour is set to \a c. This has no + //! effect if a language lexer has been set. + //! + //! \sa color() + virtual void setColor(const TQColor &c); + + //! Sets the cursor to the line \a line at the position \a index. + //! + //! \sa getCursorPosition() + virtual void setCursorPosition(int line,int index); + + //! Sets the end-of-line mode to \a mode. The default is the + //! platform's natural mode. + //! + //! \sa eolMode() + virtual void setEolMode(EolMode mode); + + //! If \a visible is TRUE then end-of-lines are made visible. The + //! default is that they are invisible. + //! + //! \sa eolVisibility() + virtual void setEolVisibility(bool visible); + + //! Sets the folding style for margin 2 to \a fold. The default is + //! NoFoldStyle (ie. folding is disabled). + //! + //! \sa folding() + virtual void setFolding(FoldStyle fold); + + //! Sets the indentation of line \a to \a indentation characters. + //! + //! \sa indentation() + virtual void setIndentation(int line,int indentation); + + //! Enables or disables, according to \a enable, this display of + //! indentation guides. + //! + //! \sa indentationGuides() + virtual void setIndentationGuides(bool enable); + + //! Set the background colour of indentation guides to \a col. + //! + //! \sa setIndentationGuidesForegroundColor() + virtual void setIndentationGuidesBackgroundColor(const TQColor &col); + + //! Set the foreground colour of indentation guides to \a col. + //! + //! \sa setIndentationGuidesBackgroundColor() + virtual void setIndentationGuidesForegroundColor(const TQColor &col); + + //! If \a tabs is TRUE then indentations are created using tabs and + //! spaces, rather than just spaces. + //! + //! \sa indentationsUseTabs() + virtual void setIndentationsUseTabs(bool tabs); + + //! Sets the indentation width to \a width characters. If \a width is + //! 0 then the value returned by tabWidth() is used. + //! + //! \sa indentationWidth(), tabWidth() + virtual void setIndentationWidth(int width); + + //! Sets the specific language lexer used to style text to \a lexer. If + //! \a lexer is 0 then syntax styling is disabled. + //! + //! \sa lexer() + virtual void setLexer(TQextScintillaLexer *lexer = 0); + + //! Set the background colour of all margins to \a col. The default is + //! a gray. + //! + //! \sa setMarginsForegroundColor() + virtual void setMarginsBackgroundColor(const TQColor &col); + + //! Set the font used in all margins to \a f. + virtual void setMarginsFont(const TQFont &f); + + //! Set the foreground colour of all margins to \a col. The default is + //! black. + //! + //! \sa setMarginsBackgroundColor() + virtual void setMarginsForegroundColor(const TQColor &col); + + //! Enables or disables, according to \a lnrs, the display of line + //! numbers in margin \a margin. + //! + //! \sa marginLineNumbers(), TQextScintillaBase::SCI_SETMARGINTYPEN + virtual void setMarginLineNumbers(int margin,bool lnrs); + + //! Sets the marker mask of margin \a margin to \a mask. Only those + //! markers whose bit is set in the mask are displayed in the margin. + //! + //! \sa marginMarkerMask(), TQextScintillaMarker, + //! TQextScintillaBase::SCI_SETMARGINMASKN + virtual void setMarginMarkerMask(int margin,int mask); + + //! Enables or disables, according to \a sens, the sensitivity of + //! margin \a margin to mouse clicks. If the user clicks in a + //! sensitive margin the marginClicked() signal is emitted. + //! + //! \sa marginSensitivity(), marginClicked(), + //! TQextScintillaBase::SCI_SETMARGINSENSITIVEN + virtual void setMarginSensitivity(int margin,bool sens); + + //! Sets the width of margin \a margin to \a width pixels. If the + //! width of a margin is 0 then it is not displayed. + //! + //! \sa marginWidth(), TQextScintillaBase::SCI_SETMARGINWIDTHN + virtual void setMarginWidth(int margin,int width); + + //! Sets the width of margin \a margin so that it is wide enough to + //! display \a s in the current margin font. + //! + //! \sa marginWidth(), TQextScintillaBase::SCI_SETMARGINWIDTHN + virtual void setMarginWidth(int margin,const TQString &s); + + //! Sets the modified state of the text edit to \a m. Note that it is + //! only possible to clear the modified state (where \a m is FALSE). + //! Attempts to set the modified state (where \a m is TRUE) are + //! ignored. + //! + //! \sa isModified(), modificationChanged() + virtual void setModified(bool m); + + //! The widget's paper (ie. background) colour is set to \a c. This has no + //! effect if a language lexer has been set. + //! + //! \sa paper() + virtual void setPaper(const TQColor &c); + + //! Sets the read-only state of the text edit to \a ro. + //! + //! \sa isReadOnly() + virtual void setReadOnly(bool ro); + + //! Sets the selection which starts at position \a indexFrom in line + //! \a lineFrom and ends at position \a indexTo in line \a lineTo. The + //! cursor is moved to the end of the selection. + //! + //! \sa getSelection() + virtual void setSelection(int lineFrom,int indexFrom, + int lineTo,int indexTo); + + //! Sets the background colour, including the alpha component, of + //! selected text to \a col. + //! + //! \sa resetSelectionBackgroundColor(), setSelectionForegroundColor() + virtual void setSelectionBackgroundColor(const TQColor &col); + + //! Sets the foreground colour of selected text to \a col. + //! + //! \sa resetSelectionForegroundColor(), setSelectionBackgroundColor() + virtual void setSelectionForegroundColor(const TQColor &col); + + //! If \a indent is TRUE then the tab key will indent a line rather + //! then insert a tab character. + //! + //! \sa tabIndents(), backspaceUnindents(), setBackspaceUnindents() + virtual void setTabIndents(bool indent); + + //! Sets the tab width to \a width characters. + //! + //! \sa tabWidth() + virtual void setTabWidth(int width); + + //! Replaces all of the current text with \a text. Note that the + //! undo/redo history is cleared by this function. + //! + //! \sa text() + virtual void setText(const TQString &text); + + //! Sets the current text encoding. If \a cp is TRUE then UTF8 is + //! used, otherwise Latin1 is used. + //! + //! \sa isUtf8() + virtual void setUtf8(bool cp); + + //! Sets the visibility of whitespace to mode \a mode. The default is + //! that whitespace is invisible. + //! + //! \sa whitespaceVisibility() + virtual void setWhitespaceVisibility(WhitespaceVisibility mode); + + //! Sets the line wrap mode to mode \a mode. The default is that lines + //! are not wrapped. + //! + //! \sa wrapMode() + virtual void setWrapMode(WrapMode mode); + + //! Undo the last change or sequence of changes. + //! + //! Scintilla has multiple level undo and redo. It will continue to + //! record undoable actions until memory runs out. Sequences of + //! typing or deleting are compressed into single actions to make it + //! easier to undo and redo at a sensible level of detail. Sequences + //! of actions can be combined into actions that are undone as a unit. + //! These sequences occur between calls to beginUndoAction() and + //! endUndoAction(). These sequences can be nested and only the top + //! level sequences are undone as units. + //! + //! \sa beginUndoAction(), endUndoAction(), isUndoAvailable() + virtual void undo(); + + //! Decreases the indentation of line \a line by an indentation width. + //! + //! \sa indent() + virtual void unindent(int line); + + //! Zooms in on the text by by making the base font size \a range + //! points larger and recalculating all font sizes. + //! + //! \sa zoomOut(), zoomTo() + virtual void zoomIn(int range); + + //! \overload + //! + //! Zooms in on the text by by making the base font size one point + //! larger and recalculating all font sizes. + virtual void zoomIn(); + + //! Zooms out on the text by by making the base font size \a range + //! points smaller and recalculating all font sizes. + //! + //! \sa zoomIn(), zoomTo() + virtual void zoomOut(int range); + + //! \overload + //! + //! Zooms out on the text by by making the base font size one point + //! larger and recalculating all font sizes. + virtual void zoomOut(); + + //! Zooms the text by making the base font size \a size points and + //! recalculating all font sizes. + //! + //! \sa zoomIn(), zoomOut() + virtual void zoomTo(int size); + +signals: + //! This signal is emitted whenever the cursor position changes. + //! \a line contains the line number and \a pos contains the + //! character position within the line. + void cursorPositionChanged(int line,int pos); + + //! This signal is emitted whenever text is selected or de-selected. + //! \a yes is TRUE if text has been selected and FALSE if text has been + //! deselected. If \a yes is TRUE then copy() can be used to copy the + //! selection to the clipboard. If \a yes is FALSE then copy() does + //! nothing. + //! + //! \sa copy(), selectionChanged() + void copyAvailable(bool yes); + + //! This signal is emitted whenever the user clicks on a sensitive + //! margin. \a margin is the margin. \a line is the number of the + //! line where the user clicked. \a state is the state of the modifier + //! keys (ShiftButton, ControlButton and AltButton) when the user + //! clicked. + //! + //! \sa marginSensitivity(), setMarginSensitivity() + void marginClicked(int margin,int line,TQt::ButtonState state); + + //! This signal is emitted whenever the user attempts to modify + //! read-only text. + //! + //! \sa isReadOnly(), setReadOnly() + void modificationAttempted(); + + //! This signal is emitted whenever the modification state of the text + //! changes. \a m is TRUE if the text has been modified. + //! + //! \sa isModified(), setModified() + void modificationChanged(bool m); + + //! This signal is emitted whenever the selection changes. + //! + //! \sa copyAvailable() + void selectionChanged(); + + //! This signal is emitted whenever the text in the text edit changes. + void textChanged(); + + //! This signal is emitted when an item in a user defined list is + //! activated (selected). \a id is the list identifier. \a string is + //! the text of the item. + //! + //! \sa showUserList() + void userListActivated(int id, const TQString &string); + +private slots: + void handleCallTipClick(int dir); + void handleCharAdded(int charadded); + void handleMarginClick(int pos,int margin,int modifiers); + void handleModified(int pos,int mtype,const char *text,int len, + int added,int line,int foldNow,int foldPrev); + void handlePropertyChange(const char *prop,const char *val); + void handleSavePointReached(); + void handleSavePointLeft(); + void handleSelectionChanged(bool yes); + void handleUserListSelection(const char *text, int id); + + void handleStyleColorChange(const TQColor &c,int style); + void handleStyleEolFillChange(bool eolfill,int style); + void handleStyleFontChange(const TQFont &f,int style); + void handleStylePaperChange(const TQColor &c,int style); + + void handleUpdateUI(); + +private: + enum IndentState { + isNone, + isKeywordStart, + isBlockStart, + isBlockEnd + }; + + void maintainIndentation(char ch,long pos); + void autoIndentation(char ch,long pos); + void autoIndentLine(long pos,int line,int indent); + int blockIndent(int line); + IndentState getIndentState(int line); + bool rangeIsWhitespace(long spos,long epos); + int findStyledWord(const char *text,int style,const char *words); + + void checkMarker(int &mnr); + long posFromLineIndex(int line,int index); + void lineIndexFromPos(long pos,int *line,int *index); + int currentIndent(); + int indentWidth(); + bool doFind(); + long simpleFind(); + void foldClick(int lineClick,int bstate); + void foldChanged(int line,int levelNow,int levelPrev); + void foldExpand(int &line,bool doExpand,bool force = FALSE, + int visLevels = 0,int level = -1); + void setFoldMarker(int marknr,int mark = SC_MARK_EMPTY); + TQString convertText(const char *s); + void setStylesFont(const TQFont &f,int style); + + void braceMatch(); + bool findMatchingBrace(long &brace,long &other,BraceMatch mode); + long checkBrace(long pos,int brace_style,bool &colonMode); + void gotoMatchingBrace(bool select); + + void startAutoCompletion(AutoCompletionSource acs, bool checkThresh, + bool single); + bool isAutoCStartChar(char ch) const; + + bool currentCharInWord(); + bool isWordChar(char ch) const; + + bool ensureRW(); + + struct FindState + { + FindState() : inProgress(0) {} + + bool inProgress; + TQString expr; + bool wrap; + bool forward; + int flags; + long startpos; + long endpos; + bool show; + }; + + FindState findState; + + unsigned allocatedMarkers; + long oldPos; + bool selText; + FoldStyle fold; + bool autoInd; + BraceMatch braceMode; + AutoCompletionSource acSource; + int acThresh; + const char *acStart; + TQextScintillaAPIs *acAPIs; + TQextScintillaAPIs *ctAPIs; + int maxCallTips; + bool showSingle; + long ctpos; + TQGuardedPtr lex; + TQextScintillaCommandSet *stdCmds; + TQextScintillaDocument doc; + bool modified; + TQColor nl_text_colour; + TQColor nl_paper_colour; + TQFont nl_font; + bool explicit_fillups; + bool fillups_enabled; + TQCString saved_fillups; + +#if defined(TQ_DISABLE_COPY) + TQextScintilla(const TQextScintilla &); + TQextScintilla &operator=(const TQextScintilla &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillaapis.cpp b/tqt/tqextscintillaapis.cpp new file mode 100644 index 0000000..635b439 --- /dev/null +++ b/tqt/tqextscintillaapis.cpp @@ -0,0 +1,213 @@ +// This module implements the TQextScintillaAPIs class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "tqextscintillaapis.h" + + +// The ctor. +TQextScintillaAPIs::TQextScintillaAPIs() : sorted(TRUE), ctcursor(0) +{ +} + + +// The dtor. +TQextScintillaAPIs::~TQextScintillaAPIs() +{ +} + + +// Clear out all API information. +bool TQextScintillaAPIs::load(const TQString &fname) +{ + TQFile f(fname); + + if (!f.open(IO_ReadOnly)) + return FALSE; + + TQTextStream ts(&f); + + for (;;) + { + TQString line = ts.readLine(); + + if (line.isNull()) + break; + + apis.append(line); + } + + sorted = FALSE; + + return TRUE; +} + + +// Add a single API entry. +void TQextScintillaAPIs::add(const TQString &entry) +{ + apis.append(entry); + sorted = FALSE; +} + + +// Clear out all API information. +void TQextScintillaAPIs::clear() +{ + apis.clear(); + sorted = TRUE; +} + + +// Add auto-completion words to an existing list. +void TQextScintillaAPIs::autoCompletionList(const TQString &starts, bool cs, + TQStringList &wlist) +{ + ensureSorted(); + + TQStringList::ConstIterator it = apis.begin(); + + // Find the first match in the sorted list. + while (it != apis.end()) + { + if ((*it).find(starts, 0, cs) == 0) + break; + + ++it; + } + + TQString prev; + + while (it != apis.end()) + { + if ((*it).find(starts, 0, cs) != 0) + break; + + TQString w = (*it).section('(', 0, 0); + + if (w != prev) + { + if (wlist.findIndex(w) < 0) + wlist.append(w); + + prev = w; + } + + ++it; + } +} + + +// Return the call tip for a function. +TQString TQextScintillaAPIs::callTips(const TQString &function,int maxnr, + int commas) +{ + ensureSorted(); + + TQStringList::ConstIterator it; + + // Find the first match in the sorted list. + for (it = apis.begin(); it != apis.end(); ++it) + if ((*it).startsWith(function)) + break; + + TQStringList cts; + TQString prev; + + while (it != apis.end() && (*it).startsWith(function)) + { + if (maxnr > 0 && maxnr == cts.count()) + break; + + TQString w = *it; + + // Remove any image ID used by auto-completion. + w.replace(TQRegExp("\\?[^(]*"),""); + + if (w.find('(') == function.length() && w.contains(',') >= commas && w != prev) + { + cts.append(w); + prev = w; + } + + ++it; + } + + // See if we want to add a down arrow. + if (maxnr < 0 && cts.count() > 1) + { + // Remember the state so we can scroll through it later. + ctlist = cts; + ctcursor = 0; + + TQString ct = cts[0]; + + ct.prepend('\002'); + + return ct; + } + + ctlist.clear(); + + return cts.join("\n"); +} + + +// Return the next or previous call tip. +TQString TQextScintillaAPIs::callTipsNextPrev(int dir) +{ + TQString ct; + + // Get the call tip. + if (dir == 1 && ctcursor > 0) + ct = ctlist[--ctcursor]; + else if (dir == 2 && ctcursor < ctlist.count() - 1) + ct = ctlist[++ctcursor]; + + // Add the arrows. + if (!ct.isNull()) + { + if (ctcursor < ctlist.count() - 1) + ct.prepend('\002'); + + if (ctcursor > 0) + ct.prepend('\001'); + } + + return ct; +} + + +// Ensure the list is sorted. +void TQextScintillaAPIs::ensureSorted() +{ + if (!sorted) + { + apis.sort(); + sorted = TRUE; + } +} diff --git a/tqt/tqextscintillaapis.h b/tqt/tqextscintillaapis.h new file mode 100644 index 0000000..351f18d --- /dev/null +++ b/tqt/tqextscintillaapis.h @@ -0,0 +1,84 @@ +// This module defines interface to the TQextScintillaAPIs class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLAAPIS_H +#define TQEXTSCINTILLAAPIS_H + + +#include + +#include + + +//! \brief The TQextScintillaAPIs class represents the textual API information +//! used in call tips and for auto-completion. +//! +//! API information is read from one or more files. Each API function is +//! described by a single line of text comprising the function's name, followed +//! by the function's optional comma separated parameters enclosed in +//! parenthesis, and finally followed by optional explanatory text. +//! +//! A function name may be followed by a `?' and a number. The number is used +//! by auto-completion to display a registered TQPixmap with the function name. +//! +//! All function names are used by auto-completion, but only those that include +//! function parameters are used in call tips. +class TQEXTSCINTILLA_EXPORT TQextScintillaAPIs +{ +public: + //! Constructs a TQextScintillaAPIs instance. + TQextScintillaAPIs(); + + //! Destroys the TQextScintillaAPIs instance. + ~TQextScintillaAPIs(); + + //! Add the single API entry \a entry to the current set. + void add(const TQString &entry); + + //! Load the API information from the file named \a fname, adding it to + //! the current set. Returns TRUE if successful, otherwise FALSE. + bool load(const TQString &fname); + + //! Deletes all API information. + void clear(); + +private: + friend class TQextScintilla; + + void autoCompletionList(const TQString &starts, bool cs, + TQStringList &wlist); + TQString callTips(const TQString &function,int maxnr,int commas); + TQString callTipsNextPrev(int dir); + void ensureSorted(); + + bool sorted; + int ctcursor; + TQStringList apis; + TQStringList ctlist; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaAPIs(const TQextScintillaAPIs &); + TQextScintillaAPIs &operator=(const TQextScintillaAPIs &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillabase.cpp b/tqt/tqextscintillabase.cpp new file mode 100644 index 0000000..d277dd6 --- /dev/null +++ b/tqt/tqextscintillabase.cpp @@ -0,0 +1,586 @@ +// This module implements the "official" low-level API. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "tqextscintillabase.moc" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "tqextscintillabase.h" +#include "ScintillaTQt.h" + + +// The #defines in Scintilla.h and the enums in tqextscintillabase.h conflict +// (because we want to use the same names) so we have to undefine those we use +// in this file. +#undef SCI_SETCARETPERIOD +#undef SCK_DOWN +#undef SCK_UP +#undef SCK_LEFT +#undef SCK_RIGHT +#undef SCK_HOME +#undef SCK_END +#undef SCK_PRIOR +#undef SCK_NEXT +#undef SCK_DELETE +#undef SCK_INSERT +#undef SCK_ESCAPE +#undef SCK_BACK +#undef SCK_TAB +#undef SCK_RETURN +#undef SCK_ADD +#undef SCK_SUBTRACT +#undef SCK_DIVIDE + + +// Remember if we have linked the lexers. +static bool lexersLinked = FALSE; + +// The list of instances. +static TQPtrList poolList; + + +// The ctor. +TQextScintillaBase::TQextScintillaBase(TQWidget *parent,const char *name,WFlags f) + : TQWidget(parent,name,f) +{ + sci = 0; + + TQGridLayout *layout = new TQGridLayout(this,2,2); + + txtarea = new TQWidget(this,0,WRepaintNoErase|WResizeNoErase); + txtarea -> setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); + txtarea -> setMouseTracking(TRUE); + txtarea -> setAcceptDrops(TRUE); + txtarea -> setFocusPolicy(WheelFocus); + txtarea -> setFocusProxy(this); + layout -> addWidget(txtarea,0,0); + + vsb = new TQScrollBar(Qt::Vertical,this); + layout -> addWidget(vsb,0,1); + connect(vsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleVSb(int))); + + hsb = new TQScrollBar(Qt::Horizontal,this); + layout -> addWidget(hsb,1,0); + connect(hsb,TQT_SIGNAL(valueChanged(int)),TQT_SLOT(handleHSb(int))); + + txtarea -> installEventFilter(this); + + setFocusPolicy(WheelFocus); + + sci = new ScintillaTQt(this); + + SendScintilla(SCI_SETCARETPERIOD,TQApplication::cursorFlashTime() / 2); + + // Make sure the lexers are linked in. + if (!lexersLinked) + { + Scintilla_LinkLexers(); + + lexersLinked = TRUE; + } + + TQClipboard *cb = TQApplication::clipboard(); + + if (cb -> supportsSelection()) + connect(cb,TQT_SIGNAL(selectionChanged()),TQT_SLOT(handleSelection())); + + // Add it to the pool. + poolList.append(this); +} + + +// The dtor. +TQextScintillaBase::~TQextScintillaBase() +{ + // Remove it from the pool. + poolList.remove(this); + + delete sci; +} + + +// Return the viewport widget. +TQWidget *TQextScintillaBase::viewport() const +{ + return txtarea; +} + + +// Return an instance from the pool. +TQextScintillaBase *TQextScintillaBase::pool() +{ + return poolList.first(); +} + + +// Send a message to the real Scintilla widget using the low level Scintilla +// API. +long TQextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, + long lParam) +{ + return sci -> WndProc(msg,wParam,lParam); +} + + +// Send a message to the real Scintilla widget that needs a TextRange +// structure. +long TQextScintillaBase::SendScintilla(unsigned int msg,long cpMin,long cpMax, + char *lpstrText) +{ + TextRange tr; + + tr.chrg.cpMin = cpMin; + tr.chrg.cpMax = cpMax; + tr.lpstrText = lpstrText; + + return sci -> WndProc(msg,0,reinterpret_cast(&tr)); +} + + +// Send a message to the real Scintilla widget that needs a RangeToFormat +// structure. +long TQextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, + TQPainter *hdc,const TQRect &rc, + long cpMin,long cpMax) +{ + RangeToFormat rf; + + rf.hdc = rf.hdcTarget = reinterpret_cast(hdc); + + rf.rc.left = rc.left(); + rf.rc.top = rc.top(); + rf.rc.right = rc.right() + 1; + rf.rc.bottom = rc.bottom() + 1; + + rf.chrg.cpMin = cpMin; + rf.chrg.cpMax = cpMax; + + return sci -> WndProc(msg,wParam,reinterpret_cast(&rf)); +} + + +// Send a message to the real Scintilla widget that needs a colour. +long TQextScintillaBase::SendScintilla(unsigned int msg,unsigned long wParam, + const TQColor &col) +{ + long lParam = (col.blue() << 16) | (col.green() << 8) | col.red(); + + return sci -> WndProc(msg,wParam,lParam); +} + + +// Send a message to the real Scintilla widget that needs a colour. +long TQextScintillaBase::SendScintilla(unsigned int msg,const TQColor &col) +{ + unsigned long wParam = (col.blue() << 16) | (col.green() << 8) | col.red(); + + return sci -> WndProc(msg,wParam,0); +} + + +// Handle events on behalf of the text area. +bool TQextScintillaBase::eventFilter(TQObject *o,TQEvent *e) +{ + if (o != txtarea) + return TQWidget::eventFilter(o,e); + + bool used = TRUE; + + switch (e -> type()) + { + case TQEvent::Paint: + sci -> paintEvent(static_cast(e)); + break; + + case TQEvent::Resize: + sci -> ChangeSize(); + break; + + case TQEvent::MouseButtonPress: + mousePress(static_cast(e)); + break; + + case TQEvent::MouseButtonRelease: + mouseRelease(static_cast(e)); + break; + + case TQEvent::MouseButtonDblClick: + mouseDoubleClick(static_cast(e)); + break; + + case TQEvent::MouseMove: + mouseMove(static_cast(e)); + break; + + case TQEvent::Wheel: + mouseWheel(static_cast(e)); + break; + + case TQEvent::ContextMenu: + contextMenu(static_cast(e)); + break; + + case TQEvent::DragEnter: + sci -> dragEnterEvent(static_cast(e)); + break; + + case TQEvent::DragMove: + sci -> dragMoveEvent(static_cast(e)); + break; + + case TQEvent::DragLeave: + sci -> dragLeaveEvent(static_cast(e)); + break; + + case TQEvent::Drop: + sci -> dropEvent(static_cast(e)); + break; + + default: + used = FALSE; + } + + return used; +} + + +// Handle the timer on behalf of the ScintillaTQt instance. +void TQextScintillaBase::handleTimer() +{ + sci -> Tick(); +} + + +// Handle the context menu on behalf of the ScintillaTQt instance. +void TQextScintillaBase::handlePopUp(int cmd) +{ + sci -> Command(cmd); +} + + +// Re-implemented to tell the widget it has the focus. +void TQextScintillaBase::focusInEvent(TQFocusEvent *) +{ + sci -> SetFocusState(true); +} + + +// Re-implemented to tell the widget it has lost the focus. +void TQextScintillaBase::focusOutEvent(TQFocusEvent *) +{ + sci -> SetFocusState(false); +} + + +// Handle a mouse button press. +void TQextScintillaBase::mousePress(TQMouseEvent *me) +{ + setFocus(); + + Point pt(me -> x(),me -> y()); + + switch (me -> button()) + { + case LeftButton: + { + unsigned clickTime; + + // It is a triple click if the timer is running and the + // mouse hasn't moved too much. + if (triple_click.isActive() && (me -> globalPos() - triple_click_at).manhattanLength() < TQApplication::startDragDistance()) + clickTime = sci -> lastClickTime + Platform::DoubleClickTime() - 1; + else + clickTime = sci -> lastClickTime + Platform::DoubleClickTime() + 1; + + triple_click.stop(); + + bool shift = me -> state() & ShiftButton; + bool ctrl = me -> state() & ControlButton; + bool alt = me -> state() & AltButton; + + sci -> ButtonDown(pt,clickTime,shift,ctrl,alt); + break; + } + + case MidButton: + { + TQClipboard *cb = TQApplication::clipboard(); + + if (cb -> supportsSelection()) + { + cb -> setSelectionMode(TRUE); + + int pos = sci -> PositionFromLocation(pt); + + sci -> SetSelection(pos,pos); + sci -> Paste(); + + cb -> setSelectionMode(FALSE); + } + + break; + } + + default: + break; + } +} + + +// Handle a context menu event. +void TQextScintillaBase::contextMenu(TQContextMenuEvent *cme) +{ + TQApplication::sendEvent(this,cme); + + if (!cme -> isConsumed()) + sci -> ContextMenu(Point(cme -> globalX(),cme -> globalY())); +} + + +// Handle a mouse button releases. +void TQextScintillaBase::mouseRelease(TQMouseEvent *me) +{ + if (sci -> HaveMouseCapture() && me -> button() == LeftButton) + { + bool ctrl = me -> state() & ControlButton; + + sci -> ButtonUp(Point(me -> x(),me -> y()),0,ctrl); + } +} + + +// Handle a mouse move. +void TQextScintillaBase::mouseMove(TQMouseEvent *me) +{ + sci -> ButtonMove(Point(me -> x(),me -> y())); +} + + +// Handle a mouse wheel event. +void TQextScintillaBase::mouseWheel(TQWheelEvent *we) +{ + setFocus(); + + if (we -> orientation() == Qt::Horizontal || we -> state() & ShiftButton) + TQApplication::sendEvent(hsb,we); + else if (we -> orientation() == Qt::Vertical) + TQApplication::sendEvent(vsb,we); +} + + +// Handle a mouse button double click. +void TQextScintillaBase::mouseDoubleClick(TQMouseEvent *me) +{ + setFocus(); + + if (me -> button() == LeftButton) + { + // Make sure Scintilla will interpret this as a double-click. + unsigned clickTime = sci -> lastClickTime + Platform::DoubleClickTime() - 1; + + bool shift = me -> state() & ShiftButton; + bool ctrl = me -> state() & ControlButton; + bool alt = me -> state() & AltButton; + + sci -> ButtonDown(Point(me -> x(),me -> y()),clickTime,shift,ctrl,alt); + + // Remember the current position and time in case it turns into a + // triple click. + triple_click_at = me -> globalPos(); + triple_click.start(TQApplication::doubleClickInterval()); + } +} + + +// Re-implemented to handle key press events. +void TQextScintillaBase::keyPressEvent(TQKeyEvent *ke) +{ + unsigned key; + + switch (ke -> key()) + { + case Key_Down: + key = SCK_DOWN; + break; + + case Key_Up: + key = SCK_UP; + break; + + case Key_Left: + key = SCK_LEFT; + break; + + case Key_Right: + key = SCK_RIGHT; + break; + + case Key_Home: + key = SCK_HOME; + break; + + case Key_End: + key = SCK_END; + break; + + case Key_Prior: + key = SCK_PRIOR; + break; + + case Key_Next: + key = SCK_NEXT; + break; + + case Key_Delete: + key = SCK_DELETE; + break; + + case Key_Insert: + key = SCK_INSERT; + break; + + case Key_Escape: + key = SCK_ESCAPE; + break; + + case Key_Backspace: + key = SCK_BACK; + break; + + case Key_Tab: + key = SCK_TAB; + break; + + case Key_Return: + case Key_Enter: + key = SCK_RETURN; + break; + + default: + if (sci -> IsUnicodeMode()) + { + // Work out if the original input was a single ASCII + // key. + if (ke -> text().length() == 1) + { + if ((key = ke -> text()[0].unicode()) >= 0x80) + key = 0; + } + else + key = 0; + } + else + { + key = ke -> ascii(); + + if (key >= 0x01 && key <= 0x1f) + key += 0x40; + } + } + + bool consumed = FALSE; + + if (key) + { + bool shift = ke -> state() & ShiftButton; + bool ctrl = ke -> state() & ControlButton; + bool alt = ke -> state() & AltButton; + + // If the character is eventually added by KeyDefault() then + // the return value of KeyDown() will be true, but consumed + // will incorrectly be false. + if (sci -> KeyDown(key,shift,ctrl,alt,&consumed) && !consumed) + consumed = TRUE; + } + else if (sci -> IsUnicodeMode()) + { + if (ke -> text().length() > 0 && !ke -> text()[0].isNull()) + { + TQCString s = ke -> text().utf8(); + + sci -> AddCharUTF(s.data(),s.length()); + + consumed = TRUE; + } + } + + if (!consumed) + ke -> ignore(); +} + + +// Re-implemented to make sure tabs are passed to the editor. +bool TQextScintillaBase::focusNextPrevChild(bool) +{ + return false; +} + + +// Start a drag and allow this to be re-implemented by an application. +void TQextScintillaBase::startDrag() +{ + sci -> StartDragImpl(); +} + + +// Handle the vertical scrollbar. +void TQextScintillaBase::handleVSb(int val) +{ + sci -> ScrollTo(val); +} + + +// Handle the horizontal scrollbar. +void TQextScintillaBase::handleHSb(int val) +{ + sci ->HorizontalScrollTo(val); +} + + +// Return the current prefered size. +TQSize TQextScintillaBase::sizeHint() const +{ + int height = sci -> vs.lineHeight * sci -> pdoc -> LinesTotal(); + + if (sci -> horizontalScrollBarVisible) + height += hsb -> sizeHint().height(); + + return TQSize(sci -> scrollWidth,height); +} + + +// Handle the selection changing. +void TQextScintillaBase::handleSelection() +{ + if (!TQApplication::clipboard() -> ownsSelection()) + sci -> UnclaimSelection(); +} diff --git a/tqt/tqextscintillabase.h b/tqt/tqextscintillabase.h new file mode 100644 index 0000000..053e999 --- /dev/null +++ b/tqt/tqextscintillabase.h @@ -0,0 +1,2414 @@ +// This class defines the "official" low-level API. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLABASE_H +#define TQEXTSCINTILLABASE_H + + +#include +#include +#include +#include + +#include + + +class ScintillaTQt; +class TQScrollBar; +class TQColor; +class TQPainter; +class TQPixmap; + + +//! \brief The TQextScintillaBase class implements the Scintilla editor widget +//! and its low-level API. +//! +//! Scintilla (http://www.scintilla.org) is a powerful C++ editor class that +//! supports many features including syntax styling, error indicators, code +//! completion and call tips. It is particularly useful as a programmer's +//! editor. +//! +//! TQextScintillaBase is a port to TQt of Scintilla. It implements the standard +//! Scintilla API which consists of a number of messages each taking up to +//! two arguments. +//! +//! See TQextScintilla for the implementation of a higher level API that is more +//! consistent with the rest of the TQt toolkit. +class TQEXTSCINTILLA_EXPORT TQextScintillaBase : public TQWidget +{ + TQ_OBJECT + + +public: + //! The low-level Scintilla API is implemented as a set of messages + //! each of which takes up to two parameters (\a wParam and \a lParam) + //! and optionally return a value. This enum defines all the possible + //! messages. + //! + //! \sa SendScintilla() + enum + { + //! + SCI_START = 2000, + + //! + SCI_OPTIONAL_START = 3000, + + //! + SCI_LEXER_START = 4000, + + //! This message appends some text to the end of the document. + //! \a wParam is the length of the text. + //! \a lParam is the text to be appended. + SCI_ADDTEXT = 2001, + + //! + SCI_ADDSTYLEDTEXT = 2002, + + //! + SCI_INSERTTEXT = 2003, + + //! + SCI_CLEARALL = 2004, + + //! + SCI_CLEARDOCUMENTSTYLE = 2005, + + //! + SCI_GETLENGTH = 2006, + + //! + SCI_GETCHARAT = 2007, + + //! This message returns the current position. + //! + //! \sa SCI_SETCURRENTPOS + SCI_GETCURRENTPOS = 2008, + + //! This message returns the anchor. + //! + //! \sa SCI_SETANCHOR + SCI_GETANCHOR = 2009, + + //! + SCI_GETSTYLEAT = 2010, + + //! + SCI_REDO = 2011, + + //! + SCI_SETUNDOCOLLECTION = 2012, + + //! + SCI_SELECTALL = 2013, + + //! This message marks the current state of the text as the + //! the save point. This is usually done when the text is saved + //! or loaded. + //! + //! \sa SCN_SAVEPOINTREACHED(), SCN_SAVEPOINTLEFT() + SCI_SETSAVEPOINT = 2014, + + //! + SCI_GETSTYLEDTEXT = 2015, + + //! + SCI_CANREDO = 2016, + + //! This message returns the line that contains a particular + //! instance of a marker. + //! \a wParam is the handle of the marker. + //! + //! \sa SCI_MARKERADD + SCI_MARKERLINEFROMHANDLE = 2017, + + //! This message removes a particular instance of a marker. + //! \a wParam is the handle of the marker. + //! + //! \sa SCI_MARKERADD + SCI_MARKERDELETEHANDLE = 2018, + + //! + SCI_GETUNDOCOLLECTION = 2019, + + //! + SCI_GETVIEWWS = 2020, + + //! + SCI_SETVIEWWS = 2021, + + //! + SCI_POSITIONFROMPOINT = 2022, + + //! + SCI_POSITIONFROMPOINTCLOSE = 2023, + + //! + SCI_GOTOLINE = 2024, + + //! This message clears the current selection and sets the + //! current position. + //! \a wParam is the new current position. + //! + //! \sa SCI_SETCURRENTPOS + SCI_GOTOPOS = 2025, + + //! This message sets the anchor. + //! \a wParam is the new anchor. + //! + //! \sa SCI_GETANCHOR + SCI_SETANCHOR = 2026, + + //! + SCI_GETCURLINE = 2027, + + //! This message returns the character position of the start of + //! the text that needs to be syntax styled. + //! + //! \sa SCN_STYLENEEDED() + SCI_GETENDSTYLED = 2028, + + //! + SCI_CONVERTEOLS = 2029, + + //! + SCI_GETEOLMODE = 2030, + + //! + SCI_SETEOLMODE = 2031, + + //! + SCI_STARTSTYLING = 2032, + + //! + SCI_SETSTYLING = 2033, + + //! + SCI_GETBUFFEREDDRAW = 2034, + + //! + SCI_SETBUFFEREDDRAW = 2035, + + //! + SCI_SETTABWIDTH = 2036, + + //! + SCI_GETTABWIDTH = 2121, + + //! + SCI_SETCODEPAGE = 2037, + + //! + SCI_SETUSEPALETTE = 2039, + + //! This message sets the symbol used to draw one of 32 + //! markers. Some markers have pre-defined uses, see the + //! SC_MARKNUM_* values. + //! \a wParam is the number of the marker. + //! \a lParam is the marker symbol and is one of the SC_MARK_* + //! values. + //! + //! \sa SCI_MARKERADD, SCI_MARKERDEFINEPIXMAP + SCI_MARKERDEFINE = 2040, + + //! This message sets the foreground colour used to draw a + //! marker. A colour is represented as a 24 bit value. The 8 + //! least significant bits correspond to red, the middle 8 bits + //! correspond to green, and the 8 most significant bits + //! correspond to blue. The default value is 0x000000. + //! \a wParam is the number of the marker. + //! \a lParam is the colour. + //! + //! \sa SCI_MARKERSETBACK + SCI_MARKERSETFORE = 2041, + + //! This message sets the background colour used to draw a + //! marker. A colour is represented as a 24 bit value. The 8 + //! least significant bits correspond to red, the middle 8 bits + //! correspond to green, and the 8 most significant bits + //! correspond to blue. The default value is 0xffffff. + //! \a wParam is the number of the marker. + //! \a lParam is the colour. + //! + //! \sa SCI_MARKERSETFORE + SCI_MARKERSETBACK = 2042, + + //! This message adds a marker to a line. A handle for the + //! marker is returned which can be used to track the marker's + //! position. + //! \a wParam is the line number. + //! \a lParam is the number of the marker. + //! + //! \sa SCI_MARKERDELETE, SCI_MARKERDELETEALL, + //! SCI_MARKERDELETEHANDLE + SCI_MARKERADD = 2043, + + //! This message deletes a marker from a line. + //! \a wParam is the line number. + //! \a lParam is the number of the marker. + //! + //! \sa SCI_MARKERADD, SCI_MARKERDELETEALL + SCI_MARKERDELETE = 2044, + + //! This message deletes all occurences of a marker. + //! \a wParam is the number of the marker. If \a wParam is -1 + //! then all markers are removed. + //! + //! \sa SCI_MARKERADD, SCI_MARKERDELETE + SCI_MARKERDELETEALL = 2045, + + //! This message returns the 32 bit mask of markers at a line. + //! \a wParam is the line number. + SCI_MARKERGET = 2046, + + //! This message looks for the next line to contain at least + //! one marker contained in a 32 bit mask of markers and + //! returns the line number. + //! \a wParam is the line number to start the search from. + //! \a lParam is the mask of markers to search for. + //! + //! \sa SCI_MARKERPREVIOUS + SCI_MARKERNEXT = 2047, + + //! This message looks for the previous line to contain at + //! least one marker contained in a 32 bit mask of markers and + //! returns the line number. + //! \a wParam is the line number to start the search from. + //! \a lParam is the mask of markers to search for. + //! + //! \sa SCI_MARKERNEXT + SCI_MARKERPREVIOUS = 2048, + + //! This message sets the symbol used to draw one of the 32 + //! markers to a pixmap. Pixmaps use the SC_MARK_PIXMAP marker + //! symbol. + //! \a wParam is the number of the marker. + //! \a lParam is a pointer to a TQPixmap instance. Note that in + //! other ports of Scintilla this is a pointer to either raw or + //! textual XPM image data. + //! + //! \sa SCI_MARKERDEFINE + SCI_MARKERDEFINEPIXMAP = 2049, + + //! This message sets what can be displayed in a margin. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! \a lParam is the logical or of the SC_MARGIN_* values. + //! + //! \sa SCI_GETMARGINTYPEN + SCI_SETMARGINTYPEN = 2240, + + //! This message returns what can be displayed in a margin. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! + //! \sa SCI_SETMARGINTYPEN + SCI_GETMARGINTYPEN = 2241, + + //! This message sets the width of a margin in pixels. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! \a lParam is the new margin width. + //! + //! \sa SCI_GETMARGINWIDTHN + SCI_SETMARGINWIDTHN = 2242, + + //! This message returns the width of a margin in pixels. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! + //! \sa SCI_SETMARGINWIDTHN + SCI_GETMARGINWIDTHN = 2243, + + //! This message sets the mask of a margin. The mask is a 32 + //! value with one bit for each possible marker. If a bit is + //! set then the corresponding marker is displayed. By + //! default, all markers are displayed. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! \a lParam is the new margin mask. + //! + //! \sa SCI_GETMARGINMASKN, SCI_MARKERDEFINE + SCI_SETMARGINMASKN = 2244, + + //! This message returns the mask of a margin. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! + //! \sa SCI_SETMARGINMASKN + SCI_GETMARGINMASKN = 2245, + + //! This message sets the sensitivity of a margin to mouse + //! clicks. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! \a lParam is non-zero to make the margin sensitive to mouse + //! clicks. When the mouse is clicked the SCN_MARGINCLICK() + //! signal is emitted. + //! + //! \sa SCI_GETMARGINSENSITIVEN, SCN_MARGINCLICK() + SCI_SETMARGINSENSITIVEN = 2246, + + //! This message returns the sensitivity of a margin to mouse + //! clicks. + //! \a wParam is the number of the margin: 0, 1 or 2. + //! + //! \sa SCI_SETMARGINSENSITIVEN, SCN_MARGINCLICK() + SCI_GETMARGINSENSITIVEN = 2247, + + //! + SCI_STYLECLEARALL = 2050, + + //! + SCI_STYLESETFORE = 2051, + + //! + SCI_STYLESETBACK = 2052, + + //! + SCI_STYLESETBOLD = 2053, + + //! + SCI_STYLESETITALIC = 2054, + + //! + SCI_STYLESETSIZE = 2055, + + //! + SCI_STYLESETFONT = 2056, + + //! + SCI_STYLESETEOLFILLED = 2057, + + //! + SCI_STYLERESETDEFAULT = 2058, + + //! + SCI_STYLESETUNDERLINE = 2059, + + //! + SCI_STYLESETCASE = 2060, + + //! + SCI_STYLESETCHARACTERSET = 2066, + + //! + SCI_SETSELFORE = 2067, + + //! + SCI_SETSELBACK = 2068, + + //! + SCI_SETCARETFORE = 2069, + + //! + SCI_ASSIGNCMDKEY = 2070, + + //! + SCI_CLEARCMDKEY = 2071, + + //! + SCI_CLEARALLCMDKEYS = 2072, + + //! + SCI_SETSTYLINGEX = 2073, + + //! + SCI_STYLESETVISIBLE = 2074, + + //! + SCI_GETCARETPERIOD = 2075, + + //! + SCI_SETCARETPERIOD = 2076, + + //! + SCI_SETWORDCHARS = 2077, + + //! + SCI_BEGINUNDOACTION = 2078, + + //! + SCI_ENDUNDOACTION = 2079, + + //! + SCI_INDICSETSTYLE = 2080, + + //! + SCI_INDICGETSTYLE = 2081, + + //! + SCI_INDICSETFORE = 2082, + + //! + SCI_INDICGETFORE = 2083, + + //! + SCI_SETWHITESPACEFORE = 2084, + + //! + SCI_SETWHITESPACEBACK = 2085, + + //! + SCI_SETSTYLEBITS = 2090, + + //! + SCI_GETSTYLEBITS = 2091, + + //! + SCI_SETLINESTATE = 2092, + + //! + SCI_GETLINESTATE = 2093, + + //! + SCI_GETMAXLINESTATE = 2094, + + //! + SCI_GETCARETLINEVISIBLE = 2095, + + //! + SCI_SETCARETLINEVISIBLE = 2096, + + //! + SCI_GETCARETLINEBACK = 2097, + + //! + SCI_SETCARETLINEBACK = 2098, + + //! + SCI_STYLESETCHANGEABLE = 2099, + + //! + SCI_AUTOCSHOW = 2100, + + //! + SCI_AUTOCCANCEL = 2101, + + //! + SCI_AUTOCACTIVE = 2102, + + //! + SCI_AUTOCPOSSTART = 2103, + + //! + SCI_AUTOCCOMPLETE = 2104, + + //! + SCI_AUTOCSTOPS = 2105, + + //! + SCI_AUTOCSETSEPARATOR = 2106, + + //! + SCI_AUTOCGETSEPARATOR = 2107, + + //! + SCI_AUTOCSELECT = 2108, + + //! + SCI_AUTOCSETCANCELATSTART = 2110, + + //! + SCI_AUTOCGETCANCELATSTART = 2111, + + //! + SCI_AUTOCSETFILLUPS = 2112, + + //! + SCI_AUTOCSETCHOOSESINGLE = 2113, + + //! + SCI_AUTOCGETCHOOSESINGLE = 2114, + + //! + SCI_AUTOCSETIGNORECASE = 2115, + + //! + SCI_AUTOCGETIGNORECASE = 2116, + + //! + SCI_USERLISTSHOW = 2117, + + //! + SCI_AUTOCSETAUTOHIDE = 2118, + + //! + SCI_AUTOCGETAUTOHIDE = 2119, + + //! + SCI_AUTOCSETDROPRESTOFWORD = 2270, + + //! + SCI_AUTOCGETDROPRESTOFWORD = 2271, + + //! + SCI_SETINDENT = 2122, + + //! + SCI_GETINDENT = 2123, + + //! + SCI_SETUSETABS = 2124, + + //! + SCI_GETUSETABS = 2125, + + //! + SCI_SETLINEINDENTATION = 2126, + + //! + SCI_GETLINEINDENTATION = 2127, + + //! + SCI_GETLINEINDENTPOSITION = 2128, + + //! + SCI_GETCOLUMN = 2129, + + //! + SCI_SETHSCROLLBAR = 2130, + + //! + SCI_GETHSCROLLBAR = 2131, + + //! + SCI_SETINDENTATIONGUIDES = 2132, + + //! + SCI_GETINDENTATIONGUIDES = 2133, + + //! + SCI_SETHIGHLIGHTGUIDE = 2134, + + //! + SCI_GETHIGHLIGHTGUIDE = 2135, + + //! + SCI_GETLINEENDPOSITION = 2136, + + //! + SCI_GETCODEPAGE = 2137, + + //! + SCI_GETCARETFORE = 2138, + + //! + SCI_GETUSEPALETTE = 2139, + + //! This message returns a non-zero value if the document is + //! read-only. + //! + //! \sa SCI_SETREADONLY + SCI_GETREADONLY = 2140, + + //! This message sets the current position. + //! \a wParam is the new current position. + //! + //! \sa SCI_GETCURRENTPOS + SCI_SETCURRENTPOS = 2141, + + //! + SCI_SETSELECTIONSTART = 2142, + + //! + SCI_GETSELECTIONSTART = 2143, + + //! + SCI_SETSELECTIONEND = 2144, + + //! + SCI_GETSELECTIONEND = 2145, + + //! + SCI_SETPRINTMAGNIFICATION = 2146, + + //! + SCI_GETPRINTMAGNIFICATION = 2147, + + //! + SCI_SETPRINTCOLOURMODE = 2148, + + //! + SCI_GETPRINTCOLOURMODE = 2149, + + //! + SCI_FINDTEXT = 2150, + + //! + SCI_FORMATRANGE = 2151, + + //! + SCI_GETFIRSTVISIBLELINE = 2152, + + //! + SCI_GETLINE = 2153, + + //! + SCI_GETLINECOUNT = 2154, + + //! + SCI_SETMARGINLEFT = 2155, + + //! + SCI_GETMARGINLEFT = 2156, + + //! + SCI_SETMARGINRIGHT = 2157, + + //! + SCI_GETMARGINRIGHT = 2158, + + //! This message returns a non-zero value if the document has + //! been modified. + SCI_GETMODIFY = 2159, + + //! + SCI_SETSEL = 2160, + + //! + SCI_GETSELTEXT = 2161, + + //! + SCI_GETTEXTRANGE = 2162, + + //! + SCI_HIDESELECTION = 2163, + + //! + SCI_POINTXFROMPOSITION = 2164, + + //! + SCI_POINTYFROMPOSITION = 2165, + + //! + SCI_LINEFROMPOSITION = 2166, + + //! + SCI_POSITIONFROMLINE = 2167, + + //! + SCI_LINESCROLL = 2168, + + //! + SCI_SCROLLCARET = 2169, + + //! + SCI_REPLACESEL = 2170, + + //! This message sets the read-only state of the document. + //! \a wParam is the new read-only state of the document. + //! + //! \sa SCI_GETREADONLY + SCI_SETREADONLY = 2171, + + //! + SCI_NULL = 2172, + + //! + SCI_CANPASTE = 2173, + + //! + SCI_CANUNDO = 2174, + + //! This message empties the undo buffer. + SCI_EMPTYUNDOBUFFER = 2175, + + //! + SCI_UNDO = 2176, + + //! + SCI_CUT = 2177, + + //! + SCI_COPY = 2178, + + //! + SCI_PASTE = 2179, + + //! + SCI_CLEAR = 2180, + + //! This message sets the text of the document. + //! \a wParam is unused. + //! \a lParam is the new text of the document. + //! + //! \sa SCI_GETTEXT + SCI_SETTEXT = 2181, + + //! This message gets the text of the document. + //! \a wParam is size of the buffer that the text is copied to. + //! \a lParam is the address of the buffer that the text is + //! copied to. + //! + //! \sa SCI_SETTEXT + SCI_GETTEXT = 2182, + + //! This message returns the length of the document. + SCI_GETTEXTLENGTH = 2183, + + //! + SCI_GETDIRECTFUNCTION = 2184, + + //! + SCI_GETDIRECTPOINTER = 2185, + + //! + SCI_SETOVERTYPE = 2186, + + //! + SCI_GETOVERTYPE = 2187, + + //! + SCI_SETCARETWIDTH = 2188, + + //! + SCI_GETCARETWIDTH = 2189, + + //! + SCI_SETTARGETSTART = 2190, + + //! + SCI_GETTARGETSTART = 2191, + + //! + SCI_SETTARGETEND = 2192, + + //! + SCI_GETTARGETEND = 2193, + + //! + SCI_REPLACETARGET = 2194, + + //! + SCI_REPLACETARGETRE = 2195, + + //! + SCI_SEARCHINTARGET = 2197, + + //! + SCI_SETSEARCHFLAGS = 2198, + + //! + SCI_GETSEARCHFLAGS = 2199, + + //! + SCI_CALLTIPSHOW = 2200, + + //! + SCI_CALLTIPCANCEL = 2201, + + //! + SCI_CALLTIPACTIVE = 2202, + + //! + SCI_CALLTIPPOSSTART = 2203, + + //! + SCI_CALLTIPSETHLT = 2204, + + //! + SCI_CALLTIPSETBACK = 2205, + + //! + SCI_CALLTIPSETFORE = 2206, + + //! + SCI_CALLTIPSETFOREHLT = 2207, + + //! + SCI_AUTOCSETMAXWIDTH = 2208, + + //! + SCI_AUTOCGETMAXWIDTH = 2209, + + //! + SCI_AUTOCSETMAXHEIGHT = 2210, + + //! + SCI_AUTOCGETMAXHEIGHT = 2211, + + //! + SCI_CALLTIPUSESTYLE = 2212, + + //! + SCI_VISIBLEFROMDOCLINE = 2220, + + //! + SCI_DOCLINEFROMVISIBLE = 2221, + + //! + SCI_SETFOLDLEVEL = 2222, + + //! + SCI_GETFOLDLEVEL = 2223, + + //! + SCI_GETLASTCHILD = 2224, + + //! + SCI_GETFOLDPARENT = 2225, + + //! + SCI_SHOWLINES = 2226, + + //! + SCI_HIDELINES = 2227, + + //! + SCI_GETLINEVISIBLE = 2228, + + //! + SCI_SETFOLDEXPANDED = 2229, + + //! + SCI_GETFOLDEXPANDED = 2230, + + //! + SCI_TOGGLEFOLD = 2231, + + //! + SCI_ENSUREVISIBLE = 2232, + + //! + SCI_SETFOLDFLAGS = 2233, + + //! + SCI_ENSUREVISIBLEENFORCEPOLICY = 2234, + + //! + SCI_WRAPCOUNT = 2235, + + //! + SCI_SETTABINDENTS = 2260, + + //! + SCI_GETTABINDENTS = 2261, + + //! + SCI_SETBACKSPACEUNINDENTS = 2262, + + //! + SCI_GETBACKSPACEUNINDENTS = 2263, + + //! + SCI_SETMOUSEDWELLTIME = 2264, + + //! + SCI_GETMOUSEDWELLTIME = 2265, + + //! + SCI_WORDSTARTPOSITION = 2266, + + //! + SCI_WORDENDPOSITION = 2267, + + //! + SCI_SETWRAPMODE = 2268, + + //! + SCI_GETWRAPMODE = 2269, + + //! + SCI_SETLAYOUTCACHE = 2272, + + //! + SCI_GETLAYOUTCACHE = 2273, + + //! + SCI_SETSCROLLWIDTH = 2274, + + //! + SCI_GETSCROLLWIDTH = 2275, + + //! This message returns the width of some text when rendered + //! in a particular style. + //! \a wParam is the style number and is one of the STYLE_* + //! values or one of the styles defined by a lexer. + //! \a lParam is a pointer to the text. + SCI_TEXTWIDTH = 2276, + + //! + SCI_SETENDATLASTLINE = 2277, + + //! + SCI_GETENDATLASTLINE = 2278, + + //! + SCI_TEXTHEIGHT = 2279, + + //! + SCI_SETVSCROLLBAR = 2280, + + //! + SCI_GETVSCROLLBAR = 2281, + + //! + SCI_APPENDTEXT = 2282, + + //! + SCI_GETTWOPHASEDRAW = 2283, + + //! + SCI_SETTWOPHASEDRAW = 2284, + + //! + SCI_AUTOCGETTYPESEPARATOR = 2285, + + //! + SCI_AUTOCSETTYPESEPARATOR = 2286, + + //! + SCI_TARGETFROMSELECTION = 2287, + + //! + SCI_LINESJOIN = 2288, + + //! + SCI_LINESSPLIT = 2289, + + //! + SCI_SETFOLDMARGINCOLOUR = 2290, + + //! + SCI_SETFOLDMARGINHICOLOUR = 2291, + + //! + SCI_LINEDOWN = 2300, + + //! + SCI_LINEDOWNEXTEND = 2301, + + //! + SCI_LINEUP = 2302, + + //! + SCI_LINEUPEXTEND = 2303, + + //! + SCI_CHARLEFT = 2304, + + //! + SCI_CHARLEFTEXTEND = 2305, + + //! + SCI_CHARRIGHT = 2306, + + //! + SCI_CHARRIGHTEXTEND = 2307, + + //! + SCI_WORDLEFT = 2308, + + //! + SCI_WORDLEFTEXTEND = 2309, + + //! + SCI_WORDRIGHT = 2310, + + //! + SCI_WORDRIGHTEXTEND = 2311, + + //! + SCI_HOME = 2312, + + //! + SCI_HOMEEXTEND = 2313, + + //! + SCI_LINEEND = 2314, + + //! + SCI_LINEENDEXTEND = 2315, + + //! + SCI_DOCUMENTSTART = 2316, + + //! + SCI_DOCUMENTSTARTEXTEND = 2317, + + //! + SCI_DOCUMENTEND = 2318, + + //! + SCI_DOCUMENTENDEXTEND = 2319, + + //! + SCI_PAGEUP = 2320, + + //! + SCI_PAGEUPEXTEND = 2321, + + //! + SCI_PAGEDOWN = 2322, + + //! + SCI_PAGEDOWNEXTEND = 2323, + + //! + SCI_EDITTOGGLEOVERTYPE = 2324, + + //! + SCI_CANCEL = 2325, + + //! + SCI_DELETEBACK = 2326, + + //! + SCI_TAB = 2327, + + //! + SCI_BACKTAB = 2328, + + //! + SCI_NEWLINE = 2329, + + //! + SCI_FORMFEED = 2330, + + //! + SCI_VCHOME = 2331, + + //! + SCI_VCHOMEEXTEND = 2332, + + //! + SCI_ZOOMIN = 2333, + + //! + SCI_ZOOMOUT = 2334, + + //! + SCI_DELWORDLEFT = 2335, + + //! + SCI_DELWORDRIGHT = 2336, + + //! + SCI_LINECUT = 2337, + + //! + SCI_LINEDELETE = 2338, + + //! + SCI_LINETRANSPOSE = 2339, + + //! + SCI_LOWERCASE = 2340, + + //! + SCI_UPPERCASE = 2341, + + //! + SCI_LINESCROLLDOWN = 2342, + + //! + SCI_LINESCROLLUP = 2343, + + //! + SCI_DELETEBACKNOTLINE = 2344, + + //! + SCI_HOMEDISPLAY = 2345, + + //! + SCI_HOMEDISPLAYEXTEND = 2346, + + //! + SCI_LINEENDDISPLAY = 2347, + + //! + SCI_LINEENDDISPLAYEXTEND = 2348, + + //! + SCI_MOVECARETINSIDEVIEW = 2401, + + //! + SCI_LINELENGTH = 2350, + + //! + SCI_BRACEHIGHLIGHT = 2351, + + //! + SCI_BRACEBADLIGHT = 2352, + + //! + SCI_BRACEMATCH = 2353, + + //! + SCI_GETVIEWEOL = 2355, + + //! + SCI_SETVIEWEOL = 2356, + + //! + SCI_GETDOCPOINTER = 2357, + + //! + SCI_SETDOCPOINTER = 2358, + + //! + SCI_SETMODEVENTMASK = 2359, + + //! + SCI_GETEDGECOLUMN = 2360, + + //! + SCI_SETEDGECOLUMN = 2361, + + //! + SCI_GETEDGEMODE = 2362, + + //! + SCI_SETEDGEMODE = 2363, + + //! + SCI_GETEDGECOLOUR = 2364, + + //! + SCI_SETEDGECOLOUR = 2365, + + //! + SCI_SEARCHANCHOR = 2366, + + //! + SCI_SEARCHNEXT = 2367, + + //! + SCI_SEARCHPREV = 2368, + + //! + SCI_LINESONSCREEN = 2370, + + //! + SCI_USEPOPUP = 2371, + + //! + SCI_SELECTIONISRECTANGLE = 2372, + + //! + SCI_SETZOOM = 2373, + + //! + SCI_GETZOOM = 2374, + + //! + SCI_CREATEDOCUMENT = 2375, + + //! + SCI_ADDREFDOCUMENT = 2376, + + //! + SCI_RELEASEDOCUMENT = 2377, + + //! + SCI_GETMODEVENTMASK = 2378, + + //! + SCI_SETFOCUS = 2380, + + //! + SCI_GETFOCUS = 2381, + + //! + SCI_SETSTATUS = 2382, + + //! + SCI_GETSTATUS = 2383, + + //! + SCI_SETMOUSEDOWNCAPTURES = 2384, + + //! + SCI_GETMOUSEDOWNCAPTURES = 2385, + + //! + SCI_SETCURSOR = 2386, + + //! + SCI_GETCURSOR = 2387, + + //! + SCI_SETCONTROLCHARSYMBOL = 2388, + + //! + SCI_GETCONTROLCHARSYMBOL = 2389, + + //! + SCI_WORDPARTLEFT = 2390, + + //! + SCI_WORDPARTLEFTEXTEND = 2391, + + //! + SCI_WORDPARTRIGHT = 2392, + + //! + SCI_WORDPARTRIGHTEXTEND = 2393, + + //! + SCI_SETVISIBLEPOLICY = 2394, + + //! + SCI_DELLINELEFT = 2395, + + //! + SCI_DELLINERIGHT = 2396, + + //! + SCI_SETXOFFSET = 2397, + + //! + SCI_GETXOFFSET = 2398, + + //! + SCI_CHOOSECARETX = 2399, + + //! + SCI_GRABFOCUS = 2400, + + //! + SCI_SETXCARETPOLICY = 2402, + + //! + SCI_SETYCARETPOLICY = 2403, + + //! + SCI_LINEDUPLICATE = 2404, + + //! This message takes a copy of an image and registers it so + //! that it can be refered to by a unique integer identifier. + //! \a wParam is the image's identifier. + //! \a lParam is a pointer to a TQPixmap instance. Note that in + //! other ports of Scintilla this is a pointer to either raw or + //! textual XPM image data. + //! + //! \sa SCI_CLEARREGISTEREDIMAGES + SCI_REGISTERIMAGE = 2405, + + //! + SCI_SETPRINTWRAPMODE = 2406, + + //! + SCI_GETPRINTWRAPMODE = 2407, + + //! This message de-registers all currently registered images. + //! + //! \sa SCI_REGISTERIMAGE + SCI_CLEARREGISTEREDIMAGES = 2408, + + //! + SCI_STYLESETHOTSPOT = 2409, + + //! + SCI_SETHOTSPOTACTIVEFORE = 2410, + + //! + SCI_SETHOTSPOTACTIVEBACK = 2411, + + //! + SCI_SETHOTSPOTACTIVEUNDERLINE = 2412, + + //! + SCI_PARADOWN = 2413, + + //! + SCI_PARADOWNEXTEND = 2414, + + //! + SCI_PARAUP = 2415, + + //! + SCI_PARAUPEXTEND = 2416, + + //! + SCI_POSITIONBEFORE = 2417, + + //! + SCI_POSITIONAFTER = 2418, + + //! + SCI_COPYRANGE = 2419, + + //! + SCI_COPYTEXT = 2420, + + //! + SCI_SETSELECTIONMODE = 2422, + + //! + SCI_GETSELECTIONMODE = 2423, + + //! + SCI_GETLINESELSTARTPOSITION = 2424, + + //! + SCI_GETLINESELENDPOSITION = 2425, + + //! + SCI_LINEDOWNRECTEXTEND = 2426, + + //! + SCI_LINEUPRECTEXTEND = 2427, + + //! + SCI_CHARLEFTRECTEXTEND = 2428, + + //! + SCI_CHARRIGHTRECTEXTEND = 2429, + + //! + SCI_HOMERECTEXTEND = 2430, + + //! + SCI_VCHOMERECTEXTEND = 2431, + + //! + SCI_LINEENDRECTEXTEND = 2432, + + //! + SCI_PAGEUPRECTEXTEND = 2433, + + //! + SCI_PAGEDOWNRECTEXTEND = 2434, + + //! + SCI_STUTTEREDPAGEUP = 2435, + + //! + SCI_STUTTEREDPAGEUPEXTEND = 2436, + + //! + SCI_STUTTEREDPAGEDOWN = 2437, + + //! + SCI_STUTTEREDPAGEDOWNEXTEND = 2438, + + //! + SCI_WORDLEFTEND = 2439, + + //! + SCI_WORDLEFTENDEXTEND = 2440, + + //! + SCI_WORDRIGHTEND = 2441, + + //! + SCI_WORDRIGHTENDEXTEND = 2442, + + //! + SCI_SETWHITESPACECHARS = 2443, + + //! + SCI_SETCHARSDEFAULT = 2444, + + //! + SCI_AUTOCGETCURRENT = 2445, + + //! + SCI_ALLOCATE = 2446, + + //! + SCI_HOMEWRAP = 2349, + + //! + SCI_HOMEWRAPEXTEND = 2450, + + //! + SCI_LINEENDWRAP = 2451, + + //! + SCI_LINEENDWRAPEXTEND = 2452, + + //! + SCI_VCHOMEWRAP = 2453, + + //! + SCI_VCHOMEWRAPEXTEND = 2454, + + //! + SCI_LINECOPY = 2455, + + //! + SCI_FINDCOLUMN = 2456, + + //! + SCI_GETCARETSTICKY = 2457, + + //! + SCI_SETCARETSTICKY = 2458, + + //! + SCI_TOGGLECARETSTICKY = 2459, + + //! + SCI_SETWRAPVISUALFLAGS = 2460, + + //! + SCI_GETWRAPVISUALFLAGS = 2461, + + //! + SCI_SETWRAPVISUALFLAGSLOCATION = 2462, + + //! + SCI_GETWRAPVISUALFLAGSLOCATION = 2463, + + //! + SCI_SETWRAPSTARTINDENT = 2464, + + //! + SCI_GETWRAPSTARTINDENT = 2465, + + //! + SCI_MARKERADDSET = 2466, + + //! + SCI_SETPASTECONVERTENDINGS = 2467, + + //! + SCI_GETPASTECONVERTENDINGS = 2468, + + //! + SCI_SELECTIONDUPLICATE = 2469, + + //! + SCI_SETCARETLINEBACKALPHA = 2470, + + //! + SCI_GETCARETLINEBACKALPHA = 2471, + + //! + SCI_MARKERSETALPHA = 2476, + + //! + SCI_GETSELALPHA = 2477, + + //! + SCI_SETSELALPHA = 2478, + + //! + SCI_STARTRECORD = 3001, + + //! + SCI_STOPRECORD = 3002, + + //! This message sets the number of the lexer to use for syntax + //! styling. + //! \a wParam is the number of the lexer and is one of the + //! SCLEX_* values. + SCI_SETLEXER = 4001, + + //! This message returns the number of the lexer being used for + //! syntax styling. + SCI_GETLEXER = 4002, + + //! + SCI_COLOURISE = 4003, + + //! + SCI_SETPROPERTY = 4004, + + //! + SCI_SETKEYWORDS = 4005, + + //! This message sets the name of the lexer to use for syntax + //! styling. + //! \a wParam is unused. + //! \a lParam is the name of the lexer. + SCI_SETLEXERLANGUAGE = 4006, + + //! + SCI_LOADLEXERLIBRARY = 4007, + + //! + SCI_GETPROPERTY = 4008, + + //! + SCI_GETPROPERTYEXPANDED = 4009, + + //! + SCI_GETPROPERTYINT = 4010, + + //! + SCI_GETSTYLEBITSNEEDED = 4011 + }; + + enum + { + SC_ALPHA_TRANSPARENT = 0, + SC_ALPHA_OPAQUE = 255, + SC_ALPHA_NOALPHA = 256 + }; + + enum + { + SC_WRAPVISUALFLAG_NONE = 0x0000, + SC_WRAPVISUALFLAG_END = 0x0001, + SC_WRAPVISUALFLAG_START = 0x0002 + }; + + enum + { + SC_WRAPVISUALFLAGLOC_DEFAULT = 0x0000, + SC_WRAPVISUALFLAGLOC_END_BY_TEXT = 0x0001, + SC_WRAPVISUALFLAGLOC_START_BY_TEXT = 0x0002 + }; + + //! This enum defines the different selection modes. + //! + //! \sa SCI_GETSELECTIONMODE, SCI_SETSELECTIONMODE + enum + { + SC_SEL_STREAM = 0, + SC_SEL_RECTANGLE = 1, + SC_SEL_LINES = 2 + }; + + enum + { + SCWS_INVISIBLE = 0, + SCWS_VISIBLEALWAYS = 1, + SCWS_VISIBLEAFTERINDENT = 2 + }; + + enum + { + SC_EOL_CRLF = 0, + SC_EOL_CR = 1, + SC_EOL_LF = 2 + }; + + enum + { + SC_CP_DBCS = 1, + SC_CP_UTF8 = 65001 + }; + + //! This enum defines the different marker symbols. + //! + //! \sa SCI_MARKERDEFINE + enum + { + //! A circle. + SC_MARK_CIRCLE = 0, + + //! A rectangle. + SC_MARK_ROUNDRECT = 1, + + //! A triangle pointing to the right. + SC_MARK_ARROW = 2, + + //! A smaller rectangle. + SC_MARK_SMALLRECT = 3, + + //! An arrow pointing to the right. + SC_MARK_SHORTARROW = 4, + + //! An invisible marker that allows code to track the movement + //! of lines. + SC_MARK_EMPTY = 5, + + //! A triangle pointing down. + SC_MARK_ARROWDOWN = 6, + + //! A drawn minus sign. + SC_MARK_MINUS = 7, + + //! A drawn plus sign. + SC_MARK_PLUS = 8, + + //! A vertical line drawn in the background colour. + SC_MARK_VLINE = 9, + + //! A bottom left corner drawn in the background colour. + SC_MARK_LCORNER = 10, + + //! A vertical line with a centre right horizontal line drawn + //! in the background colour. + SC_MARK_TCORNER = 11, + + //! A drawn plus sign in a box. + SC_MARK_BOXPLUS = 12, + + //! A drawn plus sign in a connected box. + SC_MARK_BOXPLUSCONNECTED = 13, + + //! A drawn minus sign in a box. + SC_MARK_BOXMINUS = 14, + + //! A drawn minus sign in a connected box. + SC_MARK_BOXMINUSCONNECTED = 15, + + //! A rounded bottom left corner drawn in the background + //! colour. + SC_MARK_LCORNERCURVE = 16, + + //! A vertical line with a centre right curved line drawn in + //! the background colour. + SC_MARK_TCORNERCURVE = 17, + + //! A drawn plus sign in a circle. + SC_MARK_CIRCLEPLUS = 18, + + //! A drawn plus sign in a connected box. + SC_MARK_CIRCLEPLUSCONNECTED = 19, + + //! A drawn minus sign in a circle. + SC_MARK_CIRCLEMINUS = 20, + + //! A drawn minus sign in a connected circle. + SC_MARK_CIRCLEMINUSCONNECTED = 21, + + //! No symbol is drawn but the line of text is drawn with the + //! same background colour. + SC_MARK_BACKGROUND = 22, + + //! Three drawn dots. + SC_MARK_DOTDOTDOT = 23, + + //! Three drawn arrows pointing right. + SC_MARK_ARROWS = 24, + + //! An XPM format pixmap. + SC_MARK_PIXMAP = 25, + + //! A full rectangle. + SC_MARK_FULLRECT = 26, + + //! Characters can be used as symbols by adding this to the + //! ASCII value of the character. + SC_MARK_CHARACTER = 10000 + }; + + enum + { + SC_MARKNUM_FOLDEREND = 25, + SC_MARKNUM_FOLDEROPENMID = 26, + SC_MARKNUM_FOLDERMIDTAIL = 27, + SC_MARKNUM_FOLDERTAIL = 28, + SC_MARKNUM_FOLDERSUB = 29, + SC_MARKNUM_FOLDER = 30, + SC_MARKNUM_FOLDEROPEN = 31, + SC_MASK_FOLDERS = 0xfe000000 + }; + + //! This enum defines what can be displayed in a margin. + //! + //! \sa SCI_GETMARGINTYPEN, SCI_SETMARGINTYPEN + enum + { + //! The margin can display symbols. Note that all margins can + //! display symbols. + SC_MARGIN_SYMBOL = 0, + + //! The margin will display line numbers. + SC_MARGIN_NUMBER = 1, + + //! The margin's background color will be set to the default + //! background color. + SC_MARGIN_BACK = 2, + + //! The margin's background color will be set to the default + //! foreground color. + SC_MARGIN_FORE = 3 + }; + + enum + { + STYLE_DEFAULT = 32, + STYLE_LINENUMBER = 33, + STYLE_BRACELIGHT = 34, + STYLE_BRACEBAD = 35, + STYLE_CONTROLCHAR = 36, + STYLE_INDENTGUIDE = 37, + STYLE_CALLTIP = 38, + STYLE_LASTPREDEFINED = 39, + STYLE_MAX = 127 + }; + + enum + { + SC_CHARSET_ANSI = 0, + SC_CHARSET_DEFAULT = 1, + SC_CHARSET_BALTIC = 186, + SC_CHARSET_CHINESEBIG5 = 136, + SC_CHARSET_EASTEUROPE = 238, + SC_CHARSET_GB2312 = 134, + SC_CHARSET_GREEK = 161, + SC_CHARSET_HANGUL = 129, + SC_CHARSET_MAC = 77, + SC_CHARSET_OEM = 255, + SC_CHARSET_RUSSIAN = 204, + SC_CHARSET_SHIFTJIS = 128, + SC_CHARSET_SYMBOL = 2, + SC_CHARSET_TURKISH = 162, + SC_CHARSET_JOHAB = 130, + SC_CHARSET_HEBREW = 177, + SC_CHARSET_ARABIC = 178, + SC_CHARSET_VIETNAMESE = 163, + SC_CHARSET_THAI = 222, + SC_CHARSET_8859_15 = 1000 + }; + + enum + { + SC_CASE_MIXED = 0, + SC_CASE_UPPER = 1, + SC_CASE_LOWER = 2 + }; + + enum + { + INDIC_MAX = 7, + INDIC_PLAIN = 0, + INDIC_SQUIGGLE = 1, + INDIC_TT = 2, + INDIC_DIAGONAL = 3, + INDIC_STRIKE = 4, + INDIC_HIDDEN = 5, + INDIC_BOX = 6, + INDIC_ROUNDBOX = 7, + INDIC0_MASK = 0x20, + INDIC1_MASK = 0x40, + INDIC2_MASK = 0x80, + INDICS_MASK = 0xe0 + }; + + enum + { + SC_PRINT_NORMAL = 0, + SC_PRINT_INVERTLIGHT = 1, + SC_PRINT_BLACKONWHITE = 2, + SC_PRINT_COLOURONWHITE = 3, + SC_PRINT_COLOURONWHITEDEFAULTBG = 4 + }; + + enum + { + SCFIND_WHOLEWORD = 2, + SCFIND_MATCHCASE = 4, + SCFIND_WORDSTART = 0x00100000, + SCFIND_REGEXP = 0x00200000, + SCFIND_POSIX = 0x00400000 + }; + + enum + { + SC_FOLDLEVELBASE = 0x00400, + SC_FOLDLEVELWHITEFLAG = 0x01000, + SC_FOLDLEVELHEADERFLAG = 0x02000, + SC_FOLDLEVELBOXHEADERFLAG = 0x04000, + SC_FOLDLEVELBOXFOOTERFLAG = 0x08000, + SC_FOLDLEVELCONTRACTED = 0x10000, + SC_FOLDLEVELUNINDENT = 0x20000, + SC_FOLDLEVELNUMBERMASK = 0x00fff + }; + + enum + { + SC_FOLDFLAG_BOX = 0x0001, + SC_FOLDFLAG_LINEBEFORE_EXPANDED = 0x0002, + SC_FOLDFLAG_LINEBEFORE_CONTRACTED = 0x0004, + SC_FOLDFLAG_LINEAFTER_EXPANDED = 0x0008, + SC_FOLDFLAG_LINEAFTER_CONTRACTED = 0x0010, + SC_FOLDFLAG_LEVELNUMBERS = 0x0040 + }; + + enum + { + SC_TIME_FOREVER = 10000000 + }; + + enum + { + SC_WRAP_NONE = 0, + SC_WRAP_WORD = 1, + SC_WRAP_CHAR = 2 + }; + + enum + { + SC_CACHE_NONE = 0, + SC_CACHE_CARET = 1, + SC_CACHE_PAGE = 2, + SC_CACHE_DOCUMENT = 3 + }; + + enum + { + EDGE_NONE = 0, + EDGE_LINE = 1, + EDGE_BACKGROUND = 2 + }; + + enum + { + SC_CURSORNORMAL = -1, + SC_CURSORWAIT = 4 + }; + + enum + { + VISIBLE_SLOP = 0x01, + VISIBLE_STRICT = 0x04 + }; + + enum + { + CARET_SLOP = 0x01, + CARET_STRICT = 0x04, + CARET_JUMPS = 0x10, + CARET_EVEN = 0x08 + }; + + enum + { + SC_MOD_INSERTTEXT = 0x1, + SC_MOD_DELETETEXT = 0x2, + SC_MOD_CHANGESTYLE = 0x4, + SC_MOD_CHANGEFOLD = 0x8, + SC_PERFORMED_USER = 0x10, + SC_PERFORMED_UNDO = 0x20, + SC_PERFORMED_REDO = 0x40, + SC_MULTISTEPUNDOREDO = 0x80, + SC_LASTSTEPINUNDOREDO = 0x100, + SC_MOD_CHANGEMARKER = 0x200, + SC_MOD_BEFOREINSERT = 0x400, + SC_MOD_BEFOREDELETE = 0x800, + SC_MULTILINEUNDOREDO = 0x1000, + SC_MODEVENTMASKALL = 0x1fff + }; + + enum + { + SCK_DOWN = 300, + SCK_UP = 301, + SCK_LEFT = 302, + SCK_RIGHT = 303, + SCK_HOME = 304, + SCK_END = 305, + SCK_PRIOR = 306, + SCK_NEXT = 307, + SCK_DELETE = 308, + SCK_INSERT = 309, + SCK_ESCAPE = 7, + SCK_BACK = 8, + SCK_TAB = 9, + SCK_RETURN = 13, + SCK_ADD = 310, + SCK_SUBTRACT = 311, + SCK_DIVIDE = 312 + }; + + //! This enum defines the different modifier keys. + enum + { + //! No modifier key. + SCMOD_NORM = 0, + + //! Shift key. + SCMOD_SHIFT = 1, + + //! Control key. + SCMOD_CTRL = 2, + + //! Alt key. + SCMOD_ALT = 4 + }; + + //! This enum defines the different language lexers. + //! + //! \sa SCI_GETLEXER, SCI_SETLEXER + enum + { + //! No lexer is selected and the SCN_STYLENEEDED signal is + //! emitted so that the application can style the text as + //! needed. This is the default. + SCLEX_CONTAINER = 0, + + //! Select the null lexer that does no syntax styling. + SCLEX_NULL = 1, + + //! Select the Python lexer. + SCLEX_PYTHON = 2, + + //! Select the C++ lexer. + SCLEX_CPP = 3, + + //! Select the HTML lexer. + SCLEX_HTML = 4, + + //! Select the XML lexer. + SCLEX_XML = 5, + + //! Select the Perl lexer. + SCLEX_PERL = 6, + + //! Select the SQL lexer. + SCLEX_SQL = 7, + + //! Select the Visual Basic lexer. + SCLEX_VB = 8, + + //! Select the lexer for properties style files. + SCLEX_PROPERTIES = 9, + + //! Select the lexer for error list style files. + SCLEX_ERRORLIST = 10, + + //! Select the Makefile lexer. + SCLEX_MAKEFILE = 11, + + //! Select the Windows batch file lexer. + SCLEX_BATCH = 12, + + //! Select the LaTex lexer. + SCLEX_LATEX = 14, + + //! Select the Lua lexer. + SCLEX_LUA = 15, + + //! Select the lexer for diff output. + SCLEX_DIFF = 16, + + //! Select the lexer for Apache configuration files. + SCLEX_CONF = 17, + + //! Select the Pascal lexer. + SCLEX_PASCAL = 18, + + //! Select the Avenue lexer. + SCLEX_AVE = 19, + + //! Select the Ada lexer. + SCLEX_ADA = 20, + + //! Select the Lisp lexer. + SCLEX_LISP = 21, + + //! Select the Ruby lexer. + SCLEX_RUBY = 22, + + //! Select the Eiffel lexer. + SCLEX_EIFFEL = 23, + + //! Select the Eiffel lexer folding at keywords. + SCLEX_EIFFELKW = 24, + + //! Select the Tcl lexer. + SCLEX_TCL = 25, + + //! Select the lexer for nnCron files. + SCLEX_NNCRONTAB = 26, + + //! Select the Bullant lexer. + SCLEX_BULLANT = 27, + + //! Select the VBScript lexer. + SCLEX_VBSCRIPT = 28, + + //! Select the ASP lexer. + SCLEX_ASP = SCLEX_HTML, + + //! Select the PHP lexer. + SCLEX_PHP = SCLEX_HTML, + + //! Select the Baan lexer. + SCLEX_BAAN = 31, + + //! Select the Matlab lexer. + SCLEX_MATLAB = 32, + + //! Select the Scriptol lexer. + SCLEX_SCRIPTOL = 33, + + //! Select the assembler lexer. + SCLEX_ASM = 34, + + //! Select the C++ lexer with case insensitive keywords. + SCLEX_CPPNOCASE = 35, + + //! Select the FORTRAN lexer. + SCLEX_FORTRAN = 36, + + //! Select the FORTRAN77 lexer. + SCLEX_F77 = 37, + + //! Select the CSS lexer. + SCLEX_CSS = 38, + + //! Select the POV lexer. + SCLEX_POV = 39, + + //! Select the Basser Lout typesetting language lexer. + SCLEX_LOUT = 40, + + //! Select the EScript lexer. + SCLEX_ESCRIPT = 41, + + //! Select the PostScript lexer. + SCLEX_PS = 42, + + //! Select the NSIS lexer. + SCLEX_NSIS = 43, + + //! Select the MMIX assembly language lexer. + SCLEX_MMIXAL = 44, + + //! Select the Clarion lexer. + SCLEX_CLW = 45, + + //! Select the Clarion lexer with case insensitive keywords. + SCLEX_CLWNOCASE = 46, + + //! Select the MPT text log file lexer. + SCLEX_LOT = 47, + + //! Select the YAML lexer. + SCLEX_YAML = 48, + + //! Select the TeX lexer. + SCLEX_TEX = 49, + + //! Select the Metapost lexer. + SCLEX_METAPOST = 50, + + //! Select the PowerBASIC lexer. + SCLEX_POWERBASIC = 51, + + //! Select the Forth lexer. + SCLEX_FORTH = 52, + + //! Select the Erlang lexer. + SCLEX_ERLANG = 53, + + //! Select the Octave lexer. + SCLEX_OCTAVE = 54, + + //! Select the MS SQL lexer. + SCLEX_MSSQL = 55, + + //! Select the Verilog lexer. + SCLEX_VERILOG = 56, + + //! Select the KIX-Scripts lexer. + SCLEX_KIX = 57, + + //! Select the Gui4Cli lexer. + SCLEX_GUI4CLI = 58, + + //! Select the Specman E lexer. + SCLEX_SPECMAN = 59, + + //! Select the AutoIt3 lexer. + SCLEX_AU3 = 60, + + //! Select the APDL lexer. + SCLEX_APDL = 61, + + //! Select the Bash lexer. + SCLEX_BASH = 62, + + //! Select the ASN.1 lexer. + SCLEX_ASN1 = 63, + + //! Select the VHDL lexer. + SCLEX_VHDL = 64, + + //! Select the Caml lexer. + SCLEX_CAML = 65, + + //! Select the BlitzBasic lexer. + SCLEX_BLITZBASIC = 66, + + //! Select the PureBasic lexer. + SCLEX_PUREBASIC = 67, + + //! Select the Haskell lexer. + SCLEX_HASKELL = 68, + + //! Select the PHPScript lexer. + SCLEX_PHPSCRIPT = 69, + + //! Select the TADS3 lexer. + SCLEX_TADS3 = 70, + + //! Select the REBOL lexer. + SCLEX_REBOL = 71, + + //! Select the Smalltalk lexer. + SCLEX_SMALLTALK = 72, + + //! Select the FlagShip lexer. + SCLEX_FLAGSHIP = 73, + + //! Select the Csound lexer. + SCLEX_CSOUND = 74, + + //! Select the FreeBasic lexer. + SCLEX_FREEBASIC = 75, + + //! Select the InnoSetup lexer. + SCLEX_INNOSETUP = 76, + + //! Select the Opal lexer. + SCLEX_OPAL = 77, + + //! Select the Spice lexer. + SCLEX_SPICE = 78 + }; + + //! Construct an empty TQextScintillaBase with parent \a parent, name + //! \a name, and widget flags \a f. + TQextScintillaBase(TQWidget *parent = 0,const char *name = 0, + WFlags f = 0); + + //! Destroys the TQextScintillaBase instance. + virtual ~TQextScintillaBase(); + + //! Returns a pointer to a TQextScintillaBase instance, or 0 if there + //! isn't one. This can be used by the higher level API to send + //! messages that aren't associated with a particular instance. + static TQextScintillaBase *pool(); + + //! Send the Scintilla message \a msg with the optional parameters \a + //! wParam and \a lParam. + long SendScintilla(unsigned int msg,unsigned long wParam = 0, + long lParam = 0); + + //! \overload + long SendScintilla(unsigned int msg,unsigned long wParam, + const char *lParam) + { + return SendScintilla(msg,wParam,reinterpret_cast(lParam)); + } + + //! \overload + long SendScintilla(unsigned int msg,const char *lParam) + { + return SendScintilla(msg,0UL,reinterpret_cast(lParam)); + } + + //! \overload + long SendScintilla(unsigned int msg,const char *wParam, + const char *lParam) + { + return SendScintilla(msg,reinterpret_cast(wParam),reinterpret_cast(lParam)); + } + + //! \overload + long SendScintilla(unsigned int msg, long wParam) + { + return SendScintilla(msg, static_cast(wParam), 0L); + } + + //! \overload + long SendScintilla(unsigned int msg, int wParam) + { + return SendScintilla(msg, static_cast(wParam), 0L); + } + + //! \overload + long SendScintilla(unsigned int msg,long cpMin,long cpMax, + char *lpstrText); + + //! \overload + long SendScintilla(unsigned int msg,unsigned long wParam, + const TQColor &col); + + //! \overload + long SendScintilla(unsigned int msg,const TQColor &col); + + //! \overload + long SendScintilla(unsigned int msg,unsigned long wParam,TQPainter *hdc, + const TQRect &rc,long cpMin,long cpMax); + + //! \overload + long SendScintilla(unsigned int msg,unsigned long wParam, + const TQPixmap *lParam) + { + return SendScintilla(msg,wParam,reinterpret_cast(lParam)); + } + + //! Returns the recommended size of the widget. + virtual TQSize sizeHint() const; + + //! Returns the viewport widget. This is the widget that actually + //! contains the text. + TQWidget *viewport() const; + +signals: + //! This signal is emitted when text is selected or de-selected. + //! \a yes is TRUE if text has been selected and FALSE if text has been + //! deselected. + void TQSCN_SELCHANGED(bool yes); + + //! This signal is emitted when the user selects an item in an + //! auto-completion list. It is emitted before the selection is + //! inserted. The insertion can be cancelled by sending an + //! SCI_AUTOCANCEL message from a connected slot. + //! \a position is the start position of the word being completed. + //! \a selection is the text of the selection. + void SCN_AUTOCSELECTION(const char *selection,int position); + + //! This signal is emitted when the document has changed for any + //! reason. + void SCEN_CHANGE(); + + //! This signal ir emitted when the user clicks on a calltip. + //! \a position is 1 if the user clicked on the up arrow, 2 if the user + //! clicked on the down arrow, and 0 if the user clicked elsewhere. + void SCN_CALLTIPCLICK(int direction); + + //! This signal is emitted whenever the user enters an ordinary + //! character into the text. \a charadded is the character. It can be + //! used to decide to display a call tip or an auto-completion list. + void SCN_CHARADDED(int charadded); + + //! + void SCN_DOUBLECLICK(); + + //! + void SCN_DWELLEND(int,int,int); + + //! + void SCN_DWELLSTART(int,int,int); + + //! This signal is emitted when the user clicks on text in a style + //! with the hotspot attribute set. + //! \a position is the position in the text where the click occured. + //! \a modifiers is the logical or of the modifier keys that were + //! pressed when the user clicked. + void SCN_HOTSPOTCLICK(int position,int modifiers); + + //! This signal is emitted when the user double clicks on text in a + //! style with the hotspot attribute set. + //! \a position is the position in the text where the double click + //! occured. + //! \a modifiers is the logical or of the modifier keys that were + //! pressed when the user double clicked. + void SCN_HOTSPOTDOUBLECLICK(int position,int modifiers); + + //! This signal is emitted when a recordable editor command has been + //! executed. + void SCN_MACRORECORD(unsigned int,unsigned long,long); + + //! This signal is emitted when the user clicks on a sensitive margin. + //! \a position is the position of the start of the line against which + //! the user clicked. + //! \a modifiers is the logical or of the modifier keys that were + //! pressed when the user clicked. + //! \a margin is the number of the margin the user clicked in: 0, 1 or + //! 2. + //! + //! \sa SCI_GETMARGINSENSITIVEN, SCI_SETMARGINSENSITIVEN + void SCN_MARGINCLICK(int position,int modifiers,int margin); + + //! + void SCN_MODIFIED(int,int,const char *,int,int,int,int,int); + + //! This signal is emitted when the user attempts to modify read-only + //! text. + void SCN_MODIFYATTEMPTRO(); + + //! + void SCN_NEEDSHOWN(int,int); + + //! This signal is emitted when painting has been completed. It is + //! useful to trigger some other change but to have the paint be done + //! first to appear more reponsive to the user. + void SCN_PAINTED(); + + //! This signal is emitted when the current state of the text no longer + //! corresponds to the state of the text at the save point. + //! + //! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTREACHED() + void SCN_SAVEPOINTLEFT(); + + //! This signal is emitted when the current state of the text + //! corresponds to the state of the text at the save point. This allows + //! feedback to be given to the user as to whether the text has been + //! modified since it was last saved. + //! + //! \sa SCI_SETSAVEPOINT, SCN_SAVEPOINTLEFT() + void SCN_SAVEPOINTREACHED(); + + //! This signal is emitted when a range of text needs to be syntax + //! styled. The range is from the value returned by the + //! SCI_GETENDSTYLED message and \a position. It is only emitted if + //! the currently selected lexer is SCNLEX_CONTAINER. + //! + //! \sa SCI_COLOURISE, SCI_GETENDSTYLED + void SCN_STYLENEEDED(int position); + + //! + void SCN_UPDATEUI(); + + //! + void SCN_USERLISTSELECTION(const char *,int); + + //! + void SCN_ZOOM(); + +protected: + //! Re-implemented to filter certain events. + bool eventFilter(TQObject *o,TQEvent *e); + + //! Re-implemented to handle the key presses for the widget. + virtual void keyPressEvent(TQKeyEvent *ke); + + //! Re-implemented to tell Scintilla it has the focus. + virtual void focusInEvent(TQFocusEvent *); + + //! Re-implemented to tell Scintilla it has lost the focus. + virtual void focusOutEvent(TQFocusEvent *); + + //! Re-implemented to allow tabs to be entered as text. + virtual bool focusNextPrevChild(bool); + + //! Start a drag operation. + virtual void startDrag(); + +private slots: + void handleTimer(); + void handleVSb(int value); + void handleHSb(int value); + void handlePopUp(int cmd); + void handleSelection(); + +private: + friend class ScintillaTQt; + + void mousePress(TQMouseEvent *me); + void mouseRelease(TQMouseEvent *me); + void mouseDoubleClick(TQMouseEvent *me); + void mouseMove(TQMouseEvent *me); + void mouseWheel(TQWheelEvent *we); + void contextMenu(TQContextMenuEvent *cme); + + ScintillaTQt *sci; + TQPoint triple_click_at; + TQTimer triple_click; + TQScrollBar *vsb; + TQScrollBar *hsb; + TQWidget *txtarea; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaBase(const TQextScintillaBase &); + TQextScintillaBase &operator=(const TQextScintillaBase &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillacommand.cpp b/tqt/tqextscintillacommand.cpp new file mode 100644 index 0000000..3f3b2a5 --- /dev/null +++ b/tqt/tqextscintillacommand.cpp @@ -0,0 +1,202 @@ +// This module implements the TQextScintillaCommand class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "tqextscintillacommand.h" +#include "tqextscintilla.h" +#include "tqextscintillabase.h" + + +static int convert(int key); + + +// The ctor. +TQextScintillaCommand::TQextScintillaCommand(TQextScintilla *qs,int msg,int key, + int altkey, const char *desc) : + qsCmd(qs), msgCmd(msg), + qkey(key), qaltkey(altkey), + descCmd(desc) +{ + scikey = convert(qkey); + + if (scikey) + qsCmd -> SendScintilla(TQextScintillaBase::SCI_ASSIGNCMDKEY,scikey,msgCmd); + + scialtkey = convert(qaltkey); + + if (scialtkey) + qsCmd -> SendScintilla(TQextScintillaBase::SCI_ASSIGNCMDKEY,scialtkey,msgCmd); +} + + +// Bind a key to a command. +void TQextScintillaCommand::setKey(int key) +{ + bindKey(key,qkey,scikey); +} + + +// Bind an alternate key to a command. +void TQextScintillaCommand::setAlternateKey(int altkey) +{ + bindKey(altkey,qaltkey,scialtkey); +} + + +// Do the hard work of binding a key. +void TQextScintillaCommand::bindKey(int key,int &qk,int &scik) +{ + int new_scikey; + + // Ignore if it is invalid, allowing for the fact that we might be + // unbinding it. + if (key) + { + new_scikey = convert(key); + + if (!new_scikey) + return; + } + else + new_scikey = 0; + + if (scik) + qsCmd -> SendScintilla(TQextScintillaBase::SCI_CLEARCMDKEY,scik); + + qk = key; + scik = new_scikey; + + if (scik) + qsCmd -> SendScintilla(TQextScintillaBase::SCI_ASSIGNCMDKEY,scik,msgCmd); +} + + +// See if a key is valid. +bool TQextScintillaCommand::validKey(int key) +{ + return convert(key); +} + + +// Convert a TQt character to the Scintilla equivalent. Return zero if it is +// invalid. +static int convert(int key) +{ + // Convert the modifiers. + int sci_mod = 0; + + if (key & TQt::SHIFT) + sci_mod |= TQextScintillaBase::SCMOD_SHIFT; + + if (key & TQt::CTRL) + sci_mod |= TQextScintillaBase::SCMOD_CTRL; + + if (key & TQt::ALT) + sci_mod |= TQextScintillaBase::SCMOD_ALT; + + key &= ~TQt::MODIFIER_MASK; + + // Convert the key. + int sci_key; + + if (key > 0x7f) + switch (key) + { + case TQt::Key_Down: + sci_key = TQextScintillaBase::SCK_DOWN; + break; + + case TQt::Key_Up: + sci_key = TQextScintillaBase::SCK_UP; + break; + + case TQt::Key_Left: + sci_key = TQextScintillaBase::SCK_LEFT; + break; + + case TQt::Key_Right: + sci_key = TQextScintillaBase::SCK_RIGHT; + break; + + case TQt::Key_Home: + sci_key = TQextScintillaBase::SCK_HOME; + break; + + case TQt::Key_End: + sci_key = TQextScintillaBase::SCK_END; + break; + + case TQt::Key_Prior: + sci_key = TQextScintillaBase::SCK_PRIOR; + break; + + case TQt::Key_Next: + sci_key = TQextScintillaBase::SCK_NEXT; + break; + + case TQt::Key_Delete: + sci_key = TQextScintillaBase::SCK_DELETE; + break; + + case TQt::Key_Insert: + sci_key = TQextScintillaBase::SCK_INSERT; + break; + + case TQt::Key_Escape: + sci_key = TQextScintillaBase::SCK_ESCAPE; + break; + + case TQt::Key_Backspace: + sci_key = TQextScintillaBase::SCK_BACK; + break; + + case TQt::Key_Tab: + sci_key = TQextScintillaBase::SCK_TAB; + break; + + case TQt::Key_Return: + sci_key = TQextScintillaBase::SCK_RETURN; + break; + + default: + sci_key = 0; + } + else + sci_key = key; + + if (sci_key) + sci_key |= (sci_mod << 16); + + return sci_key; +} + + +// Return the translated user friendly description. +TQString TQextScintillaCommand::description() const +{ + return tqApp -> translate("TQextScintillaCommand",descCmd); +} diff --git a/tqt/tqextscintillacommand.h b/tqt/tqextscintillacommand.h new file mode 100644 index 0000000..3d8db30 --- /dev/null +++ b/tqt/tqextscintillacommand.h @@ -0,0 +1,99 @@ +// This defines the interface to the TQextScintillaCommand class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLACOMMAND_H +#define TQEXTSCINTILLACOMMAND_H + + +#include + +#include + + +class TQextScintilla; + + +//! \brief The TQextScintillaCommand class represents an internal editor command +//! that may have one or two keys bound to it. +//! +//! Methods are provided to change the keys bound to the command and to remove +//! a key binding. Each command has a user friendly description of the command +//! for use in key mapping dialogs. +class TQEXTSCINTILLA_EXPORT TQextScintillaCommand +{ +public: + //! Binds the key \a key to the command. If \a key is 0 then the key + //! binding is removed. If \a key is invalid then the key binding is + //! unchanged. Valid keys are any visible or control character or any + //! of \c Key_Down, \c Key_Up, \c Key_Left, \c Key_Right, \c Key_Home, + //! \c Key_End, \c Key_Prior, \c Key_Next, \c Key_Delete, + //! \c Key_Insert, \c Key_Escape, \c Key_Backspace, \c Key_Tab and + //! \c Key_Return. Keys may be modified with any combination of + //! \c SHIFT, \c CTRL and \c ALT. + //! + //! \sa key(), setAlternateKey(), validKey() + void setKey(int key); + + //! Binds the alternate key \a altkey to the command. If \a key is 0 + //! then the alternate key binding is removed. + //! + //! \sa alternateKey(), setKey(), validKey() + void setAlternateKey(int altkey); + + //! The key that is currently bound to the command is returned. + //! + //! \sa setKey(), alternateKey() + int key() const {return qkey;} + + //! The alternate key that is currently bound to the command is + //! returned. + //! + //! \sa setAlternateKey(), key() + int alternateKey() const {return qaltkey;} + + //! If the key \a key is valid then TRUE is returned. + static bool validKey(int key); + + //! The user friendly description of the command is returned. + TQString description() const; + +private: + friend class TQextScintillaCommandSet; + + TQextScintillaCommand(TQextScintilla *qs,int msg,int key,int altkey, + const char *desc); + + int msgId() const {return msgCmd;} + void bindKey(int key,int &qk,int &scik); + + TQextScintilla *qsCmd; + int msgCmd; + int qkey, scikey, qaltkey, scialtkey; + const char *descCmd; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaCommand(const TQextScintillaCommand &); + TQextScintillaCommand &operator=(const TQextScintillaCommand &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillacommandset.cpp b/tqt/tqextscintillacommandset.cpp new file mode 100644 index 0000000..500649c --- /dev/null +++ b/tqt/tqextscintillacommandset.cpp @@ -0,0 +1,656 @@ +// This module implements the TQextScintillaCommandSet class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include + +#include "tqextscintillacommandset.h" +#include "tqextscintillacommand.h" +#include "tqextscintilla.h" + + +// The ctor. +TQextScintillaCommandSet::TQextScintillaCommandSet(TQextScintilla *qs) : tqsci(qs) +{ + struct sci_cmd { + int msg; + int key; + int altkey; + const char *desc; + }; + + // This is based on the default table in src/KeyMap.cxx. + static struct sci_cmd cmd_table[] = { + { + TQextScintillaBase::SCI_LINEDOWN, + TQt::Key_Down, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move down one line") + }, + { + TQextScintillaBase::SCI_LINEDOWNEXTEND, + TQt::Key_Down | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection down one line") + }, + { + TQextScintillaBase::SCI_LINESCROLLDOWN, + TQt::Key_Down | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Scroll view down one line") + }, + { + TQextScintillaBase::SCI_LINEDOWNRECTEXTEND, + TQt::Key_Down | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection down one line") + }, + { + TQextScintillaBase::SCI_LINEUP, + TQt::Key_Up, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move up one line") + }, + { + TQextScintillaBase::SCI_LINEUPEXTEND, + TQt::Key_Up | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection up one line") + }, + { + TQextScintillaBase::SCI_LINESCROLLUP, + TQt::Key_Up | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Scroll view up one line") + }, + { + TQextScintillaBase::SCI_LINEUPRECTEXTEND, + TQt::Key_Up | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection up one line") + }, + { + TQextScintillaBase::SCI_PARAUP, + TQt::Key_BracketLeft | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move up one paragraph") + }, + { + TQextScintillaBase::SCI_PARAUPEXTEND, + TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection up one paragraph") + }, + { + TQextScintillaBase::SCI_PARADOWN, + TQt::Key_BracketRight | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move down one paragraph") + }, + { + TQextScintillaBase::SCI_PARADOWNEXTEND, + TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection down one paragraph") + }, + { + TQextScintillaBase::SCI_CHARLEFT, + TQt::Key_Left, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move left one character") + }, + { + TQextScintillaBase::SCI_CHARLEFTEXTEND, + TQt::Key_Left | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection left one character") + }, + { + TQextScintillaBase::SCI_WORDLEFT, + TQt::Key_Left | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move left one word") + }, + { + TQextScintillaBase::SCI_WORDLEFTEXTEND, + TQt::Key_Left | TQt::SHIFT | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection left one word") + }, + { + TQextScintillaBase::SCI_CHARLEFTRECTEXTEND, + TQt::Key_Left | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection left one character") + }, + { + TQextScintillaBase::SCI_CHARRIGHT, + TQt::Key_Right, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move right one character") + }, + { + TQextScintillaBase::SCI_CHARRIGHTEXTEND, + TQt::Key_Right | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection right one character") + }, + { + TQextScintillaBase::SCI_WORDRIGHT, + TQt::Key_Right | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move right one word") + }, + { + TQextScintillaBase::SCI_WORDRIGHTEXTEND, + TQt::Key_Right | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection right one word") + }, + { + TQextScintillaBase::SCI_CHARRIGHTRECTEXTEND, + TQt::Key_Right | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection right one character") + }, + { + TQextScintillaBase::SCI_WORDPARTLEFT, + TQt::Key_Slash | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move left one word part") + }, + { + TQextScintillaBase::SCI_WORDPARTLEFTEXTEND, + TQt::Key_Slash | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection left one word part") + }, + { + TQextScintillaBase::SCI_WORDPARTRIGHT, + TQt::Key_Backslash | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move right one word part") + }, + { + TQextScintillaBase::SCI_WORDPARTRIGHTEXTEND, + TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection right one word part") + }, + { + TQextScintillaBase::SCI_VCHOME, + TQt::Key_Home, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to first visible character in line") + }, + { + TQextScintillaBase::SCI_VCHOMEEXTEND, + TQt::Key_Home | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to first visible character in line") + }, + { + TQextScintillaBase::SCI_DOCUMENTSTART, + TQt::Key_Home | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to start of text") + }, + { + TQextScintillaBase::SCI_DOCUMENTSTARTEXTEND, + TQt::Key_Home | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to start of text") + }, + { + TQextScintillaBase::SCI_HOMEDISPLAY, + TQt::Key_Home | TQt::ALT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to start of displayed line") + }, + { + TQextScintillaBase::SCI_HOMEDISPLAYEXTEND, + 0, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to start of line") + }, + { + TQextScintillaBase::SCI_VCHOMERECTEXTEND, + TQt::Key_Home | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection to first visible character in line") + }, + { + TQextScintillaBase::SCI_LINEEND, + TQt::Key_End, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to end of line") + }, + { + TQextScintillaBase::SCI_LINEENDEXTEND, + TQt::Key_End | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to end of line") + }, + { + TQextScintillaBase::SCI_DOCUMENTEND, + TQt::Key_End | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to end of text") + }, + { + TQextScintillaBase::SCI_DOCUMENTENDEXTEND, + TQt::Key_End | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to end of text") + }, + { + TQextScintillaBase::SCI_LINEENDDISPLAY, + TQt::Key_End | TQt::ALT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move to end of displayed line") + }, + { + TQextScintillaBase::SCI_LINEENDDISPLAYEXTEND, + 0, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection to end of displayed line") + }, + { + TQextScintillaBase::SCI_LINEENDRECTEXTEND, + TQt::Key_End | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection to end of line") + }, + { + TQextScintillaBase::SCI_PAGEUP, + TQt::Key_Prior, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move up one page") + }, + { + TQextScintillaBase::SCI_PAGEUPEXTEND, + TQt::Key_Prior | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection up one page") + }, + { + TQextScintillaBase::SCI_PAGEUPRECTEXTEND, + TQt::Key_Prior | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection up one page") + }, + { + TQextScintillaBase::SCI_PAGEDOWN, + TQt::Key_Next, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move down one page") + }, + { + TQextScintillaBase::SCI_PAGEDOWNEXTEND, + TQt::Key_Next | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend selection down one page") + }, + { + TQextScintillaBase::SCI_PAGEDOWNRECTEXTEND, + TQt::Key_Next | TQt::ALT | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Extend rectangular selection down one page") + }, + { + TQextScintillaBase::SCI_CLEAR, + TQt::Key_Delete, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete current character") + }, + { + TQextScintillaBase::SCI_CUT, + TQt::Key_X | TQt::CTRL, + TQt::Key_Delete | TQt::SHIFT, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Cut selection") + }, + { + TQextScintillaBase::SCI_DELWORDRIGHT, + TQt::Key_Delete | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete word to right") + }, + { + TQextScintillaBase::SCI_DELLINERIGHT, + TQt::Key_Delete | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete line to right") + }, + { + TQextScintillaBase::SCI_EDITTOGGLEOVERTYPE, + TQt::Key_Insert, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Toggle insert/overtype") + }, + { + TQextScintillaBase::SCI_PASTE, + TQt::Key_V | TQt::CTRL, + TQt::Key_Insert | TQt::SHIFT, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Paste") + }, + { + TQextScintillaBase::SCI_COPY, + TQt::Key_C | TQt::CTRL, + TQt::Key_Insert | TQt::CTRL, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Copy selection") + }, + { + TQextScintillaBase::SCI_CANCEL, + TQt::Key_Escape, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Cancel") + }, + { + TQextScintillaBase::SCI_DELETEBACK, + TQt::Key_Backspace, + TQt::Key_Backspace | TQt::SHIFT, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete previous character") + }, + { + TQextScintillaBase::SCI_DELWORDLEFT, + TQt::Key_Backspace | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete word to left") + }, + { + TQextScintillaBase::SCI_UNDO, + TQt::Key_Z | TQt::CTRL, + TQt::Key_Backspace | TQt::ALT, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Undo the last command") + }, + { + TQextScintillaBase::SCI_DELLINELEFT, + TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete line to left") + }, + { + TQextScintillaBase::SCI_REDO, + TQt::Key_Y | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Redo last command") + }, + { + TQextScintillaBase::SCI_SELECTALL, + TQt::Key_A | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Select all text") + }, + { + TQextScintillaBase::SCI_TAB, + TQt::Key_Tab, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Indent one level") + }, + { + TQextScintillaBase::SCI_BACKTAB, + TQt::Key_Tab | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Move back one indentation level") + }, + { + TQextScintillaBase::SCI_NEWLINE, + TQt::Key_Return, + TQt::Key_Return | TQt::SHIFT, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Insert new line") + }, + { + TQextScintillaBase::SCI_ZOOMIN, + TQt::Key_Plus | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Zoom in") + }, + { + TQextScintillaBase::SCI_ZOOMOUT, + TQt::Key_Minus | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Zoom out") + }, + { + TQextScintillaBase::SCI_SETZOOM, + 0, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Set zoom") + }, + { + TQextScintillaBase::SCI_FORMFEED, + 0, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Formfeed") + }, + { + TQextScintillaBase::SCI_LINECUT, + TQt::Key_L | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Cut current line") + }, + { + TQextScintillaBase::SCI_LINEDELETE, + TQt::Key_L | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete current line") + }, + { + TQextScintillaBase::SCI_LINECOPY, + TQt::Key_T | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Copy current line") + }, + { + TQextScintillaBase::SCI_LINETRANSPOSE, + TQt::Key_T | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Swap current and previous lines") + }, + { + TQextScintillaBase::SCI_SELECTIONDUPLICATE, + TQt::Key_D | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Duplicate selection") + }, + { + TQextScintillaBase::SCI_LOWERCASE, + TQt::Key_U | TQt::CTRL, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Convert selection to lower case") + }, + { + TQextScintillaBase::SCI_UPPERCASE, + TQt::Key_U | TQt::CTRL | TQt::SHIFT, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Convert selection to upper case") + }, + { + TQextScintillaBase::SCI_DELETEBACKNOTLINE, + 0, + 0, + TQT_TRANSLATE_NOOP("TQextScintillaCommand", + "Delete previous character if not at line start") + }, + }; + + cmds.setAutoDelete(TRUE); + + // Clear the default map. + tqsci -> SendScintilla(TQextScintillaBase::SCI_CLEARALLCMDKEYS); + + for (int i = 0; i < sizeof (cmd_table) / sizeof (cmd_table[0]); ++i) + cmds.append(new TQextScintillaCommand(tqsci,cmd_table[i].msg,cmd_table[i].key,cmd_table[i].altkey,cmd_table[i].desc)); +} + + +// Read the command set from settings. +bool TQextScintillaCommandSet::readSettings(TQSettings &qs,const char *prefix) +{ + bool rc = TRUE; + TQString skey; + + for (TQextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) + { + skey.sprintf("%s/keymap/c%d/",prefix,cmd -> msgId()); + + int key; + bool ok; + + // Read the key. + key = qs.readNumEntry(skey + "key",0,&ok); + + if (ok) + cmd -> setKey(key); + else + rc = FALSE; + + // Read the alternate key. + key = qs.readNumEntry(skey + "alt",0,&ok); + + if (ok) + cmd -> setAlternateKey(key); + else + rc = FALSE; + } + + return rc; +} + + +// Write the command set to settings. +bool TQextScintillaCommandSet::writeSettings(TQSettings &qs,const char *prefix) +{ + bool rc = TRUE; + TQString skey; + + for (const TQextScintillaCommand *cmd = cmds.first(); cmd; cmd = cmds.next()) + { + skey.sprintf("%s/keymap/c%d/",prefix,cmd -> msgId()); + + // Write the key. + if (!qs.writeEntry(skey + "key",cmd -> key())) + rc = FALSE; + + // Write the alternate key. + if (!qs.writeEntry(skey + "alt",cmd -> alternateKey())) + rc = FALSE; + } + + return rc; +} + + +// Clear the key bindings. +void TQextScintillaCommandSet::clearKeys() +{ + TQPtrList &set = commands(); + + for (TQextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) + cmd -> setKey(0); +} + + +// Clear the alternate key bindings. +void TQextScintillaCommandSet::clearAlternateKeys() +{ + TQPtrList &set = commands(); + + for (TQextScintillaCommand *cmd = set.first(); cmd; cmd = set.next()) + cmd -> setAlternateKey(0); +} diff --git a/tqt/tqextscintillacommandset.h b/tqt/tqextscintillacommandset.h new file mode 100644 index 0000000..e0ab601 --- /dev/null +++ b/tqt/tqextscintillacommandset.h @@ -0,0 +1,82 @@ +// This defines the interface to the TQextScintillaCommandSet class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLACOMMANDSET_H +#define TQEXTSCINTILLACOMMANDSET_H + + +#include + +#include +#include + + +class TQSettings; +class TQextScintilla; + + +//! \brief The TQextScintillaCommandSet class represents the set of all internal +//! editor commands that may have keys bound. +//! +//! Methods are provided to access the individual commands and to read and +//! write the current bindings from and to settings files. +class TQEXTSCINTILLA_EXPORT TQextScintillaCommandSet +{ +public: + //! The key bindings for each command in the set are read from the + //! settings \a qs. \a prefix is prepended to the key of each entry. + //! TRUE is returned if there was no error. + //! + //! \sa writeSettings() + bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); + + //! The key bindings for each command in the set are written to the + //! settings \a qs. \a prefix is prepended to the key of each entry. + //! TRUE is returned if there was no error. + //! + //! \sa readSettings() + bool writeSettings(TQSettings &qs,const char *prefix = "/Scintilla"); + + //! The commands in the set are returned as a list. + TQPtrList &commands() {return cmds;} + + //! The primary keys bindings for all commands are removed. + void clearKeys(); + + //! The alternate keys bindings for all commands are removed. + void clearAlternateKeys(); + +private: + friend class TQextScintilla; + + TQextScintillaCommandSet(TQextScintilla *qs); + + TQextScintilla *tqsci; + TQPtrList cmds; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaCommandSet(const TQextScintillaCommandSet &); + TQextScintillaCommandSet &operator=(const TQextScintillaCommandSet &); +#endif +}; + +#endif diff --git a/tqt/tqextscintilladocument.cpp b/tqt/tqextscintilladocument.cpp new file mode 100644 index 0000000..a8394b6 --- /dev/null +++ b/tqt/tqextscintilladocument.cpp @@ -0,0 +1,142 @@ +// This module implements the TQextScintillaDocument class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "tqextscintilladocument.h" +#include "tqextscintillabase.h" + + +// This internal class encapsulates the underlying document and is shared by +// TQextScintillaDocument instances. +class TQextScintillaDocumentP +{ +public: + TQextScintillaDocumentP() : doc(0), nr_displays(0), nr_attaches(1) {} + + long doc; // The Scintilla document. + int nr_displays; // The number of displays. + int nr_attaches; // The number of attaches. +}; + + +// The ctor. +TQextScintillaDocument::TQextScintillaDocument() +{ + pdoc = new TQextScintillaDocumentP(); +} + + +// The dtor. +TQextScintillaDocument::~TQextScintillaDocument() +{ + detach(); +} + + +// The copy ctor. +TQextScintillaDocument::TQextScintillaDocument(const TQextScintillaDocument &that) +{ + attach(that); +} + + +// The assignment operator. +TQextScintillaDocument &TQextScintillaDocument::operator=(const TQextScintillaDocument &that) +{ + if (pdoc != that.pdoc) + { + detach(); + attach(that); + } + + return *this; +} + + +// Attach an existing document to this one. +void TQextScintillaDocument::attach(const TQextScintillaDocument &that) +{ + ++that.pdoc -> nr_attaches; + pdoc = that.pdoc; +} + + +// Detach the underlying document. +void TQextScintillaDocument::detach() +{ + if (!pdoc) + return; + + if (--pdoc -> nr_attaches == 0) + { + if (pdoc -> doc && pdoc -> nr_displays == 0) + { + TQextScintillaBase *tqsb = TQextScintillaBase::pool(); + + // Release the explicit reference to the document. If + // the pool is empty then we just accept the memory + // leak. + if (tqsb) + tqsb -> SendScintilla(TQextScintillaBase::SCI_RELEASEDOCUMENT,0,pdoc -> doc); + } + + delete pdoc; + } + + pdoc = 0; +} + + +// Undisplay and detach the underlying document. +void TQextScintillaDocument::undisplay(TQextScintillaBase *tqsb) +{ + if (--pdoc -> nr_attaches == 0) + delete pdoc; + else if (--pdoc -> nr_displays == 0) + { + // Create an explicit reference to the document to keep it + // alive. + tqsb -> SendScintilla(TQextScintillaBase::SCI_ADDREFDOCUMENT,0,pdoc -> doc); + } + + pdoc = 0; +} + + +// Display the underlying document. +void TQextScintillaDocument::display(TQextScintillaBase *tqsb,const TQextScintillaDocument *from) +{ + long ndoc; + + if (from) + { + ndoc = from -> pdoc -> doc; + tqsb -> SendScintilla(TQextScintillaBase::SCI_SETDOCPOINTER,0,ndoc); + } + else + ndoc = tqsb -> SendScintilla(TQextScintillaBase::SCI_GETDOCPOINTER); + + pdoc -> doc = ndoc; + ++pdoc -> nr_displays; +} diff --git a/tqt/tqextscintilladocument.h b/tqt/tqextscintilladocument.h new file mode 100644 index 0000000..77fffd3 --- /dev/null +++ b/tqt/tqextscintilladocument.h @@ -0,0 +1,61 @@ +// This defines the interface to the TQextScintillaDocument class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLADOCUMENT_H +#define TQEXTSCINTILLADOCUMENT_H + + +#include + + +class TQextScintillaBase; +class TQextScintillaDocumentP; + + +//! \brief The TQextScintillaDocument class represents a document to be editted. +//! +//! It is an opaque class that can be attached to multiple instances of +//! TQextScintilla to create different simultaneous views of the same document. +//! TQextScintillaDocument uses implicit sharing so that copying class instances +//! is a cheap operation. +class TQEXTSCINTILLA_EXPORT TQextScintillaDocument +{ +public: + //! Create a new unattached document. + TQextScintillaDocument(); + virtual ~TQextScintillaDocument(); + + TQextScintillaDocument(const TQextScintillaDocument &); + TQextScintillaDocument &operator=(const TQextScintillaDocument &); + +private: + friend class TQextScintilla; + + void attach(const TQextScintillaDocument &that); + void detach(); + void display(TQextScintillaBase *tqsb,const TQextScintillaDocument *from); + void undisplay(TQextScintillaBase *tqsb); + + TQextScintillaDocumentP *pdoc; +}; + +#endif diff --git a/tqt/tqextscintillaglobal.h b/tqt/tqextscintillaglobal.h new file mode 100644 index 0000000..cd0fffe --- /dev/null +++ b/tqt/tqextscintillaglobal.h @@ -0,0 +1,62 @@ +// This module defines various things common to all of the TQt port to +// Scintilla. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLAGLOBAL_H +#define TQEXTSCINTILLAGLOBAL_H + + +#include + + +#define TQSCINTILLA_VERSION 0x010701 +#define TQSCINTILLA_VERSION_STR "1.7.1" +#define TQSCINTILLA_BUILD "@RM_BUILD@" + + +// Under Windows, define TQEXTSCINTILLA_MAKE_DLL to create a Scintilla DLL, or +// define TQEXTSCINTILLA_DLL to link against a Scintilla DLL, or define neither +// to either build or link against a static Scintilla library. +#if defined(TQ_WS_WIN) + +#if defined(TQEXTSCINTILLA_DLL) +#define TQEXTSCINTILLA_EXPORT __declspec(dllimport) +#elif defined(TQEXTSCINTILLA_MAKE_DLL) +#define TQEXTSCINTILLA_EXPORT __declspec(dllexport) +#endif + +#else + +#if defined(__KDE_HAVE_GCC_VISIBILITY) +#define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default"))) +#else +#define TQEXTSCINTILLA_EXPORT +#endif + +#endif + +#if !defined(TQEXTSCINTILLA_EXPORT) +#define TQEXTSCINTILLA_EXPORT +#endif + + +#endif diff --git a/tqt/tqextscintillalexer.cpp b/tqt/tqextscintillalexer.cpp new file mode 100644 index 0000000..5cb62d3 --- /dev/null +++ b/tqt/tqextscintillalexer.cpp @@ -0,0 +1,449 @@ +// This module implements the TQextScintillaLexer class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include + +#include "tqextscintillalexer.h" +#include "tqextscintilla.h" +#include "tqextscintillabase.h" + + +// The ctor. +TQextScintillaLexer::TQextScintillaLexer(TQObject *parent,const char *name) + : TQObject(parent,name), autoIndStyle(-1) +{ +#if defined(Q_OS_WIN) + defFont = TQFont("Verdana",10); +#else + defFont = TQFont("Bitstream Vera Sans",9); +#endif + + // Set the default fore and background colours. + TQColorGroup cg = TQApplication::palette().active(); + defColor = cg.text(); + defPaper = cg.base(); +} + + +// The dtor. +TQextScintillaLexer::~TQextScintillaLexer() +{ +} + + +// Default implementation to return the set of fill up characters that can end +// auto-completion. +const char *TQextScintillaLexer::autoCompletionFillups() const +{ + return "("; +} + + +// Default implementation to return the set of characters that can start +// auto-completion. +const char *TQextScintillaLexer::autoCompletionStartCharacters() const +{ + return 0; +} + + +// Default implementation to return the list of keywords that can start a +// block. +const char *TQextScintillaLexer::blockStartKeyword(int *) const +{ + return 0; +} + + +// Default implementation to return the list of characters that can start a +// block. +const char *TQextScintillaLexer::blockStart(int *) const +{ + return 0; +} + + +// Default implementation to return the list of characters that can end a +// block. +const char *TQextScintillaLexer::blockEnd(int *) const +{ + return 0; +} + + +// Default implementation to return the style used for braces. +int TQextScintillaLexer::braceStyle() const +{ + return -1; +} + + +// Default implementation to return the number of lines to look back when +// auto-indenting. +int TQextScintillaLexer::blockLookback() const +{ + return 20; +} + + +// Default implementation to return the characters that make up a word. +const char *TQextScintillaLexer::wordCharacters() const +{ + return 0; +} + + +// Default implementation to return the style used for whitespace. +int TQextScintillaLexer::defaultStyle() const +{ + return 0; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexer::color(int) const +{ + return defaultColor(); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexer::eolFill(int) const +{ + return FALSE; +} + + +// Returns the font for a style. +TQFont TQextScintillaLexer::font(int) const +{ + return defaultFont(); +} + + +// Returns the set of keywords. +const char *TQextScintillaLexer::keywords(int) const +{ + return 0; +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexer::paper(int) const +{ + return defaultPaper(); +} + + +// Returns the default font for all styles. +TQFont TQextScintillaLexer::defaultFont() const +{ + return defFont; +} + + +// Sets the default font for all styles. +void TQextScintillaLexer::setDefaultFont(const TQFont &f) +{ + defFont = f; +} + + +// Returns the default text colour for all styles. +TQColor TQextScintillaLexer::defaultColor() const +{ + return defColor; +} + + +// Sets the default text colour for all styles. +void TQextScintillaLexer::setDefaultColor(const TQColor &c) +{ + defColor = c; +} + + +// Returns the default paper colour for all styles. +TQColor TQextScintillaLexer::defaultPaper() const +{ + return defPaper; +} + + +// Sets the default paper colour for all styles. +void TQextScintillaLexer::setDefaultPaper(const TQColor &c) +{ + defPaper = c; +} + + +// Read properties from the settings. +bool TQextScintillaLexer::readProperties(TQSettings &,const TQString &) +{ + return TRUE; +} + + +// Refresh all properties. +void TQextScintillaLexer::refreshProperties() +{ +} + + +// Write properties to the settings. +bool TQextScintillaLexer::writeProperties(TQSettings &,const TQString &) const +{ + return TRUE; +} + + +// Restore the user settings. +bool TQextScintillaLexer::readSettings(TQSettings &qs,const char *prefix) +{ + bool ok, flag, rc = TRUE; + int num; + TQString key; + + // Read the styles. + for (int i = 0; i < 128; ++i) + { + // Ignore invalid styles. + if (description(i).isNull()) + continue; + + key.sprintf("%s/%s/style%d/",prefix,language(),i); + + // Read the foreground colour. + num = qs.readNumEntry(key + "color",0,&ok); + + if (ok) + emit colorChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); + else + rc = FALSE; + + // Read the end-of-line fill. + flag = qs.readBoolEntry(key + "eolfill",0,&ok); + + if (ok) + emit eolFillChanged(flag,i); + else + rc = FALSE; + + // Read the font + TQStringList fdesc; + + fdesc = qs.readListEntry(key + "font",',',&ok); + + if (ok && fdesc.count() == 5) + { + TQFont f; + + f.setFamily(fdesc[0]); + f.setPointSize(fdesc[1].toInt()); + f.setBold(fdesc[2].toInt()); + f.setItalic(fdesc[3].toInt()); + f.setUnderline(fdesc[4].toInt()); + + emit fontChanged(f,i); + } + else + rc = FALSE; + + // Read the background colour. + num = qs.readNumEntry(key + "paper",0,&ok); + + if (ok) + emit paperChanged(TQColor((num >> 16) & 0xff,(num >> 8) & 0xff,num & 0xff),i); + else + rc = FALSE; + } + + // Read the properties. + key.sprintf("%s/%s/properties/",prefix,language()); + + if (!readProperties(qs,key)) + rc = FALSE; + + refreshProperties(); + + // Read the rest. + key.sprintf("%s/%s/",prefix,language()); + + num = qs.readNumEntry(key + "autoindentstyle",0,&ok); + + if (ok) + autoIndStyle = num; + else + rc = FALSE; + + return rc; +} + + +// Save the user settings. +bool TQextScintillaLexer::writeSettings(TQSettings &qs,const char *prefix) const +{ + bool rc = TRUE; + TQString key; + + // Write the styles. + for (int i = 0; i < 128; ++i) + { + // Ignore invalid styles. + if (description(i).isNull()) + continue; + + int num; + TQColor c; + + key.sprintf("%s/%s/style%d/",prefix,language(),i); + + // Write the foreground colour. + c = color(i); + num = (c.red() << 16) | (c.green() << 8) | c.blue(); + + if (!qs.writeEntry(key + "color",num)) + rc = FALSE; + + // Write the end-of-line fill. + if (!qs.writeEntry(key + "eolfill",eolFill(i))) + rc = FALSE; + + // Write the font + TQStringList fdesc; + TQString fmt("%1"); + TQFont f; + + f = font(i); + + fdesc += f.family(); + fdesc += fmt.arg(f.pointSize()); + + // The casts are for Borland. + fdesc += fmt.arg((int)f.bold()); + fdesc += fmt.arg((int)f.italic()); + fdesc += fmt.arg((int)f.underline()); + + if (!qs.writeEntry(key + "font",fdesc,',')) + rc = FALSE; + + // Write the background colour. + c = paper(i); + num = (c.red() << 16) | (c.green() << 8) | c.blue(); + + if (!qs.writeEntry(key + "paper",num)) + rc = FALSE; + } + + // Write the properties. + key.sprintf("%s/%s/properties/",prefix,language()); + + if (!writeProperties(qs,key)) + rc = FALSE; + + // Write the rest. + key.sprintf("%s/%s/",prefix,language()); + + if (!qs.writeEntry(key + "autoindentstyle",autoIndStyle)) + rc = FALSE; + + return rc; +} + + +// Return the auto-indentation style. +int TQextScintillaLexer::autoIndentStyle() +{ + // We can't do this in the ctor because we want the virtuals to work. + if (autoIndStyle < 0) + autoIndStyle = (blockStartKeyword() || blockStart() || blockEnd()) ? + 0 : TQextScintilla::AiMaintain; + + return autoIndStyle; +} + + +// Set the auto-indentation style. +void TQextScintillaLexer::setAutoIndentStyle(int autoindentstyle) +{ + autoIndStyle = autoindentstyle; +} + + +// Set the foreground colour for a style. +void TQextScintillaLexer::setColor(const TQColor &c,int style) +{ + if (style >= 0) + emit colorChanged(c,style); + else + for (int i = 0; i < 128; ++i) + if (!description(i).isNull()) + emit colorChanged(c,i); +} + + +// Set the end-of-line fill for a style. +void TQextScintillaLexer::setEolFill(bool eolfill,int style) +{ + if (style >= 0) + emit eolFillChanged(eolfill,style); + else + for (int i = 0; i < 128; ++i) + if (!description(i).isNull()) + emit eolFillChanged(eolfill,i); +} + + +// Set the font for a style. +void TQextScintillaLexer::setFont(const TQFont &f,int style) +{ + if (style >= 0) + emit fontChanged(f,style); + else + for (int i = 0; i < 128; ++i) + if (!description(i).isNull()) + emit fontChanged(f,i); +} + + +// Set the background colour for a style. +void TQextScintillaLexer::setPaper(const TQColor &c,int style) +{ + if (style >= 0) + emit paperChanged(c,style); + else + { + for (int i = 0; i < 128; ++i) + if (!description(i).isNull()) + emit paperChanged(c,i); + + emit paperChanged(c,TQextScintillaBase::STYLE_DEFAULT); + } +} + +#include "tqextscintillalexer.moc" diff --git a/tqt/tqextscintillalexer.h b/tqt/tqextscintillalexer.h new file mode 100644 index 0000000..d0bbdc4 --- /dev/null +++ b/tqt/tqextscintillalexer.h @@ -0,0 +1,275 @@ +// This defines the interface to the TQextScintillaLexer class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXER_H +#define TQEXTSCINTILLALEXER_H + + +#include +#include +#include +#include + +#include + + +class TQSettings; + + +//! \brief The TQextScintillaLexer class is an abstract class used as a base for +//! specific language lexers. +//! +//! A Scintilla lexer scans the text breaking it up into separate language +//! objects, e.g. keywords, strings, operators. The lexer then uses a +//! different style to draw each object. A style is identified by a style +//! number and has a number of attributes, including colour and font. A +//! specific language lexer will implement appropriate default styles which can +//! be overriden by an application by further sub-classing the specific +//! language lexer. +//! +//! A specific language lexer may provide one or more sets of words to be +//! recognised as keywords. Most lexers only provide one set, but some may +//! support languages embedded in other languages and provide several sets. +//! +//! TQextScintillaLexer provides convenience methods for saving and restoring +//! user preferences for fonts and colours. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexer : public TQObject +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaLexer with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexer(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexer instance. + virtual ~TQextScintillaLexer(); + + //! Returns the name of the language. It must be re-implemented by a + //! sub-class. + virtual const char *language() const = 0; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. It must be re-implemented by a sub-class. + virtual const char *lexer() const = 0; + + //! \internal Returns the characters that can fill up auto-completion. + //! These are ignored if TQextScintilla::setAutoCompletionFillups() has + //! been explicitly called. + virtual const char *autoCompletionFillups() const; + + //! \internal Returns the characters that can start auto-completion. + virtual const char *autoCompletionStartCharacters() const; + + //! Returns the auto-indentation style. The default is 0 if the + //! language is block structured, or TQextScintilla::AiMaintain if not. + //! + //! \sa setAutoIndentStyle(), TQextScintilla::AiMaintain, + //! TQextScintilla::AiOpening, TQextScintilla::AiClosing + int autoIndentStyle(); + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the end of a block for + //! auto-indentation. The style is returned via \a style. + virtual const char *blockEnd(int *style = 0) const; + + //! \internal Returns the number of lines prior to the current one when + //! determining the scope of a block when auto-indenting. + virtual int blockLookback() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The style is returned via \a style. + virtual const char *blockStart(int *style = 0) const; + + //! \internal Returns a space separated list of keywords in a + //! particular style that define the start of a block for + //! auto-indentation. The style is returned via \a style. + virtual const char *blockStartKeyword(int *style = 0) const; + + //! \internal Returns the style used for braces for brace matching. + virtual int braceStyle() const; + + //! \internal Returns the string of characters that comprise a word. + //! The default is 0 which implies the upper and lower case alphabetic + //! characters and underscore. + virtual const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. The default colour is black. + //! + //! \sa paper() + virtual TQColor color(int style) const; + + //! Returns the end-of-line for style number \a style. The default is + //! FALSE. + virtual bool eolFill(int style) const; + + //! Returns the font for style number \a style. The default font is + //! that returned by defaultFont(). + //! + //! \sa defaultFont() + virtual TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. 0 is returned if there + //! is no such set. + virtual const char *keywords(int set) const; + + //! \internal Returns the number of the style used for whitespace. The + //! default implementation returns 0 which is the convention adopted by + //! most lexers. + virtual int defaultStyle() const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + virtual TQString description(int style) const = 0; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa defaultPaper(), color() + virtual TQColor paper(int style) const; + + //! Returns the default font for all styles. + //! + //! \sa setDefaultFont() + virtual TQFont defaultFont() const; + + //! Returns the default text colour for all styles. + //! + //! \sa setDefaultColor() + virtual TQColor defaultColor() const; + + //! Returns the default paper colour for all styles. + //! + //! \sa setDefaultPaper() + virtual TQColor defaultPaper() const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + virtual void refreshProperties(); + + //! The colour, paper, font and end-of-line for each style number, and + //! all lexer specific properties are read from the settings \a qs. + //! \a prefix is prepended to the key of each entry. TRUE is returned + //! if there was no error. + //! + //! \sa writeSettings(), TQextScintilla::setLexer() + bool readSettings(TQSettings &qs,const char *prefix = "/Scintilla"); + + //! The colour, paper, font and end-of-line for each style number, and + //! all lexer specific properties are written to the settings \a qs. + //! \a prefix is prepended to the key of each entry. TRUE is returned + //! if there was no error. + //! + //! \sa readSettings() + bool writeSettings(TQSettings &qs, + const char *prefix = "/Scintilla") const; + +public slots: + //! The auto-indentation style is set to \a autoindentstyle. + //! + //! \sa autoIndentStyle(), TQextScintilla::AiMaintain, + //! TQextScintilla::AiOpening, TQextScintilla::AiClosing + virtual void setAutoIndentStyle(int autoindentstyle); + + //! The foreground colour for style number \a style is set to \a c. If + //! \a style is -1 then the colour is set for all styles. + virtual void setColor(const TQColor &c,int style = -1); + + //! The default font for all styles is set to \a f. + //! + //! \sa defaultFont() + virtual void setDefaultFont(const TQFont &f); + + //! The default text colour for all styles is set to \a c. + //! + //! \sa defaultColor(), color() + virtual void setDefaultColor(const TQColor &c); + + //! The default paper colour for all styles is set to \a c. + //! + //! \sa defaultPaper(), paper() + virtual void setDefaultPaper(const TQColor &c); + + //! The end-of-line fill for style number \a style is set to + //! \a eoffill. If \a style is -1 then the fill is set for all styles. + virtual void setEolFill(bool eoffill,int style = -1); + + //! The font for style number \a style is set to \a f. If \a style is + //! -1 then the font is set for all styles. + virtual void setFont(const TQFont &f,int style = -1); + + //! The background colour for style number \a style is set to \a c. If + //! \a style is -1 then the colour is set for all styles. + virtual void setPaper(const TQColor &c,int style = -1); + +signals: + //! This signal is emitted when the foreground colour of style number + //! \a style has changed. The new colour is \a c. + void colorChanged(const TQColor &c,int style); + + //! This signal is emitted when the end-of-file fill of style number + //! \a style has changed. The new fill is \a eoffilled. + void eolFillChanged(bool eoffilled,int style); + + //! This signal is emitted when the font of style number \a style has + //! changed. The new font is \a f. + void fontChanged(const TQFont &f,int style); + + //! This signal is emitted when the background colour of style number + //! \a style has changed. The new colour is \a c. + void paperChanged(const TQColor &c,int style); + + //! This signal is emitted when the value of the lexer property \a prop + //! needs to be changed. The new value is \a val. + void propertyChanged(const char *prop,const char *val); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + virtual bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + virtual bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + int autoIndStyle; + TQFont defFont; + TQColor defColor; + TQColor defPaper; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexer(const TQextScintillaLexer &); + TQextScintillaLexer &operator=(const TQextScintillaLexer &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerbash.cpp b/tqt/tqextscintillalexerbash.cpp new file mode 100644 index 0000000..dcea90a --- /dev/null +++ b/tqt/tqextscintillalexerbash.cpp @@ -0,0 +1,374 @@ +// This module implements the TQextScintillaLexerBash class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerbash.h" + + +// The ctor. +TQextScintillaLexerBash::TQextScintillaLexerBash(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_compact(TRUE) +{ +} + + +// The dtor. +TQextScintillaLexerBash::~TQextScintillaLexerBash() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerBash::language() const +{ + return "Bash"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerBash::lexer() const +{ + return "bash"; +} + + +// Return the style used for braces. +int TQextScintillaLexerBash::braceStyle() const +{ + return Operator; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerBash::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerBash::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Error: + case Backticks: + return TQColor(0xff,0xff,0x00); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + return TQColor(0x00,0x00,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + case SingleQuotedHereDocument: + return TQColor(0x7f,0x00,0x7f); + + case Operator: + case Identifier: + case Scalar: + case ParameterExpansion: + case HereDocumentDelimiter: + return TQColor(0x00,0x00,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerBash::eolFill(int style) const +{ + switch (style) + { + case SingleQuotedHereDocument: + return TRUE; + } + + return FALSE; +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerBash::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case Keyword: + case Operator: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case DoubleQuotedString: + case SingleQuotedString: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerBash::keywords(int set) const +{ + if (set == 1) + return + "alias ar asa awk banner basename bash bc bdiff break " + "bunzip2 bzip2 cal calendar case cat cc cd chmod " + "cksum clear cmp col comm compress continue cp cpio " + "crypt csplit ctags cut date dc dd declare deroff dev " + "df diff diff3 dircmp dirname do done du echo ed " + "egrep elif else env esac eval ex exec exit expand " + "export expr false fc fgrep fi file find fmt fold for " + "function functions getconf getopt getopts grep gres " + "hash head help history iconv id if in integer jobs " + "join kill local lc let line ln logname look ls m4 " + "mail mailx make man mkdir more mt mv newgrp nl nm " + "nohup ntps od pack paste patch pathchk pax pcat perl " + "pg pr print printf ps pwd read readonly red return " + "rev rm rmdir sed select set sh shift size sleep sort " + "spell split start stop strings strip stty sum " + "suspend sync tail tar tee test then time times touch " + "tr trap true tsort tty type typeset ulimit umask " + "unalias uname uncompress unexpand uniq unpack unset " + "until uudecode uuencode vi vim vpax wait wc whence " + "which while who wpaste wstart xargs zcat " + + "chgrp chown chroot dir dircolors factor groups " + "hostid install link md5sum mkfifo mknod nice pinky " + "printenv ptx readlink seq sha1sum shred stat su tac " + "unlink users vdir whoami yes"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerBash::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Error: + return tr("Error"); + + case Comment: + return tr("Comment"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case Scalar: + return tr("Scalar"); + + case ParameterExpansion: + return tr("Parameter expansion"); + + case Backticks: + return tr("Backticks"); + + case HereDocumentDelimiter: + return tr("Here document delimiter"); + + case SingleQuotedHereDocument: + return tr("Single-quoted here document"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerBash::paper(int style) const +{ + switch (style) + { + case Error: + return TQColor(0xff,0x00,0x00); + + case Scalar: + return TQColor(0xff,0xe0,0xe0); + + case ParameterExpansion: + return TQColor(0xff,0xff,0xe0); + + case Backticks: + return TQColor(0xa0,0x80,0x80); + + case HereDocumentDelimiter: + case SingleQuotedHereDocument: + return TQColor(0xdd,0xd0,0xdd); + } + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerBash::refreshProperties() +{ + setCommentProp(); + setCompactProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerBash::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerBash::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerBash::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerBash::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerBash::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerBash::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerBash::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerBash::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + +#include "tqextscintillalexerbash.moc" diff --git a/tqt/tqextscintillalexerbash.h b/tqt/tqextscintillalexerbash.h new file mode 100644 index 0000000..3d27904 --- /dev/null +++ b/tqt/tqextscintillalexerbash.h @@ -0,0 +1,190 @@ +// This defines the interface to the TQextScintillaLexerBash class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERBASH_H +#define TQEXTSCINTILLALEXERBASH_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerBash class encapsulates the Scintilla Bash +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerBash : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Bash lexer. + enum { + //! The default. + Default = 0, + + //! \deprecated White space. + WhiteSpace = Default, + + //! An error. + Error = 1, + + //! A comment. + Comment = 2, + + //! A number. + Number = 3, + + //! A keyword. + Keyword = 4, + + //! A double-quoted string. + DoubleQuotedString = 5, + + //! A single-quoted string. + SingleQuotedString = 6, + + //! An operator. + Operator = 7, + + //! An identifier + Identifier = 8, + + //! A scalar. + Scalar = 9, + + //! Parameter expansion. + ParameterExpansion = 10, + + //! Backticks. + Backticks = 11, + + //! A here document delimiter. + HereDocumentDelimiter = 12, + + //! A single quoted here document. + SingleQuotedHereDocument = 13 + }; + + //! Construct a TQextScintillaLexerBash with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerBash(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerBash instance. + virtual ~TQextScintillaLexerBash(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + +public slots: + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setCompactProp(); + + bool fold_comments; + bool fold_compact; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerBash(const TQextScintillaLexerBash &); + TQextScintillaLexerBash &operator=(const TQextScintillaLexerBash &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerbatch.cpp b/tqt/tqextscintillalexerbatch.cpp new file mode 100644 index 0000000..3789d69 --- /dev/null +++ b/tqt/tqextscintillalexerbatch.cpp @@ -0,0 +1,203 @@ +// This module implements the TQextScintillaLexerBatch class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerbatch.h" + + +// The ctor. +TQextScintillaLexerBatch::TQextScintillaLexerBatch(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerBatch::~TQextScintillaLexerBatch() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerBatch::language() const +{ + return "Batch"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerBatch::lexer() const +{ + return "batch"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerBatch::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerBatch::color(int style) const +{ + switch (style) + { + case Default: + case Operator: + return TQColor(0x00,0x00,0x00); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case Keyword: + case ExternalCommand: + return TQColor(0x00,0x00,0x7f); + + case Label: + return TQColor(0x7f,0x00,0x7f); + + case HideCommandChar: + return TQColor(0x7f,0x7f,0x00); + + case Variable: + return TQColor(0x80,0x00,0x80); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerBatch::eolFill(int style) const +{ + return (style == Label); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerBatch::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case Keyword: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case ExternalCommand: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + f.setBold(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerBatch::keywords(int set) const +{ + if (set == 1) + return + "rem set if exist errorlevel for in do break call " + "chcp cd chdir choice cls country ctty date del " + "erase dir echo exit goto loadfix loadhigh mkdir md " + "move path pause prompt rename ren rmdir rd shift " + "time type ver verify vol com con lpt nul"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerBatch::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case Keyword: + return tr("Keyword"); + + case Label: + return tr("Label"); + + case HideCommandChar: + return tr("Hide command character"); + + case ExternalCommand: + return tr("External command"); + + case Variable: + return tr("Variable"); + + case Operator: + return tr("Operator"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerBatch::paper(int style) const +{ + switch (style) + { + case Label: + return TQColor(0x60,0x60,0x60); + } + + return TQextScintillaLexer::paper(style); +} + +#include "tqextscintillalexerbatch.moc" diff --git a/tqt/tqextscintillalexerbatch.h b/tqt/tqextscintillalexerbatch.h new file mode 100644 index 0000000..ae1e679 --- /dev/null +++ b/tqt/tqextscintillalexerbatch.h @@ -0,0 +1,120 @@ +// This defines the interface to the TQextScintillaLexerBatch class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERBATCH_H +#define TQEXTSCINTILLALEXERBATCH_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerBatch class encapsulates the Scintilla batch +//! file lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerBatch : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! batch file lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A keyword. + Keyword = 2, + + //! A label. + Label = 3, + + //! An hide command character. + HideCommandChar = 4, + + //! An external command . + ExternalCommand = 5, + + //! A variable. + Variable = 6, + + //! An operator + Operator = 7 + }; + + //! Construct a TQextScintillaLexerBatch with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerBatch(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerBatch instance. + virtual ~TQextScintillaLexerBatch(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerBatch(const TQextScintillaLexerBatch &); + TQextScintillaLexerBatch &operator=(const TQextScintillaLexerBatch &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexercpp.cpp b/tqt/tqextscintillalexercpp.cpp new file mode 100644 index 0000000..be0eb63 --- /dev/null +++ b/tqt/tqextscintillalexercpp.cpp @@ -0,0 +1,520 @@ +// This module implements the TQextScintillaLexerCPP class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexercpp.h" + + +// The ctor. +TQextScintillaLexerCPP::TQextScintillaLexerCPP(TQObject *parent,const char *name, + bool caseInsensitiveKeywords) + : TQextScintillaLexer(parent,name), fold_atelse(FALSE), + fold_comments(FALSE), fold_compact(TRUE), fold_preproc(TRUE), + style_preproc(FALSE), nocase(caseInsensitiveKeywords) +{ +} + + +// The dtor. +TQextScintillaLexerCPP::~TQextScintillaLexerCPP() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerCPP::language() const +{ + return "C++"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerCPP::lexer() const +{ + return (nocase ? "cppnocase" : "cpp"); +} + + +// Return the list of keywords that can start a block. +const char *TQextScintillaLexerCPP::blockStartKeyword(int *style) const +{ + if (style) + *style = Keyword; + + return "case catch class default do else finally for if private " + "protected public struct try union while"; +} + + +// Return the list of characters that can start a block. +const char *TQextScintillaLexerCPP::blockStart(int *style) const +{ + if (style) + *style = Operator; + + return "{"; +} + + +// Return the list of characters that can end a block. +const char *TQextScintillaLexerCPP::blockEnd(int *style) const +{ + if (style) + *style = Operator; + + return "}"; +} + + +// Return the style used for braces. +int TQextScintillaLexerCPP::braceStyle() const +{ + return Operator; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerCPP::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerCPP::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Comment: + case CommentLine: + return TQColor(0x00,0x7f,0x00); + + case CommentDoc: + case CommentLineDoc: + return TQColor(0x3f,0x70,0x3f); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + return TQColor(0x00,0x00,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + return TQColor(0x7f,0x00,0x7f); + + case PreProcessor: + return TQColor(0x7f,0x7f,0x00); + + case Operator: + case UnclosedString: + return TQColor(0x00,0x00,0x00); + + case Identifier: + break; + + case Regex: + return TQColor(0x3f,0x7f,0x3f); + + case CommentDocKeyword: + return TQColor(0x30,0x60,0xa0); + + case CommentDocKeywordError: + return TQColor(0x80,0x40,0x20); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerCPP::eolFill(int style) const +{ + return (style == UnclosedString); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerCPP::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: + case CommentLine: + case CommentDoc: + case CommentLineDoc: + case CommentDocKeyword: + case CommentDocKeywordError: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case Keyword: + case Operator: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case DoubleQuotedString: + case SingleQuotedString: + case UnclosedString: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerCPP::keywords(int set) const +{ + if (set == 1) + return + "and and_eq asm auto bitand bitor bool break case " + "catch char class compl const const_cast continue " + "default delete do double dynamic_cast else enum " + "explicit export extern false float for friend goto if " + "inline int long mutable namespace new not not_eq " + "operator or or_eq private protected public register " + "reinterpret_cast return short signed sizeof static " + "static_cast struct switch template this throw true " + "try typedef typeid typename union unsigned using " + "virtual void volatile wchar_t while xor xor_eq"; + + if (set == 3) + return + "a addindex addtogroup anchor arg attention author b " + "brief bug c class code date def defgroup deprecated " + "dontinclude e em endcode endhtmlonly endif " + "endlatexonly endlink endverbatim enum example " + "exception f$ f[ f] file fn hideinitializer " + "htmlinclude htmlonly if image include ingroup " + "internal invariant interface latexonly li line link " + "mainpage name namespace nosubgrouping note overload " + "p page par param post pre ref relates remarks return " + "retval sa section see showinitializer since skip " + "skipline struct subsection test throw todo typedef " + "union until var verbatim verbinclude version warning " + "weakgroup $ @ \\ & < > # { }"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerCPP::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("C comment"); + + case CommentLine: + return tr("C++ comment"); + + case CommentDoc: + return tr("JavaDoc style C comment"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case PreProcessor: + return tr("Pre-processor block"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case UnclosedString: + return tr("Unclosed string"); + + case CommentLineDoc: + return tr("JavaDoc style C++ comment"); + + case KeywordSet2: + return tr("Secondary keywords and identifiers"); + + case CommentDocKeyword: + return tr("JavaDoc keyword"); + + case CommentDocKeywordError: + return tr("JavaDoc keyword error"); + + case GlobalClass: + return tr("Global classes and typedefs"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerCPP::paper(int style) const +{ + if (style == UnclosedString) + return TQColor(0xe0,0xc0,0xe0); + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerCPP::refreshProperties() +{ + setAtElseProp(); + setCommentProp(); + setCompactProp(); + setPreprocProp(); + setStylePreprocProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerCPP::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold at else flag. + flag = qs.readBoolEntry(prefix + "foldatelse",FALSE,&ok); + + if (ok) + fold_atelse = flag; + else + rc = FALSE; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + // Read the fold preprocessor flag. + flag = qs.readBoolEntry(prefix + "foldpreprocessor",TRUE,&ok); + + if (ok) + fold_preproc = flag; + else + rc = FALSE; + + // Read the style preprocessor flag. + flag = qs.readBoolEntry(prefix + "stylepreprocessor",FALSE,&ok); + + if (ok) + style_preproc = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerCPP::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold at else flag. + if (!qs.writeEntry(prefix + "foldatelse",fold_atelse)) + rc = FALSE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + // Write the fold preprocessor flag. + if (!qs.writeEntry(prefix + "foldpreprocessor",fold_preproc)) + rc = FALSE; + + // Write the style preprocessor flag. + if (!qs.writeEntry(prefix + "stylepreprocessor",style_preproc)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if else can be folded. +bool TQextScintillaLexerCPP::foldAtElse() const +{ + return fold_atelse; +} + + +// Set if else can be folded. +void TQextScintillaLexerCPP::setFoldAtElse(bool fold) +{ + fold_atelse = fold; + + setAtElseProp(); +} + + +// Set the "fold.at.else" property. +void TQextScintillaLexerCPP::setAtElseProp() +{ + emit propertyChanged("fold.at.else",(fold_atelse ? "1" : "0")); +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerCPP::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerCPP::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerCPP::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerCPP::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerCPP::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerCPP::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + + +// Return TRUE if preprocessor blocks can be folded. +bool TQextScintillaLexerCPP::foldPreprocessor() const +{ + return fold_preproc; +} + + +// Set if preprocessor blocks can be folded. +void TQextScintillaLexerCPP::setFoldPreprocessor(bool fold) +{ + fold_preproc = fold; + + setPreprocProp(); +} + + +// Set the "fold.preprocessor" property. +void TQextScintillaLexerCPP::setPreprocProp() +{ + emit propertyChanged("fold.preprocessor",(fold_preproc ? "1" : "0")); +} + + +// Return TRUE if preprocessor lines are styled. +bool TQextScintillaLexerCPP::stylePreprocessor() const +{ + return style_preproc; +} + + +// Set if preprocessor lines are styled. +void TQextScintillaLexerCPP::setStylePreprocessor(bool style) +{ + style_preproc = style; + + setStylePreprocProp(); +} + + +// Set the "style.within.preprocessor" property. +void TQextScintillaLexerCPP::setStylePreprocProp() +{ + emit propertyChanged("style.within.preprocessor",(style_preproc ? "1" : "0")); +} + +#include "tqextscintillalexercpp.moc" diff --git a/tqt/tqextscintillalexercpp.h b/tqt/tqextscintillalexercpp.h new file mode 100644 index 0000000..36e024f --- /dev/null +++ b/tqt/tqextscintillalexercpp.h @@ -0,0 +1,274 @@ +// This defines the interface to the TQextScintillaLexerCPP class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERCPP_H +#define TQEXTSCINTILLALEXERCPP_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerCPP class encapsulates the Scintilla C++ +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerCPP : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! C++ lexer. + enum { + //! The default. + Default = 0, + + //! \deprecated White space. + WhiteSpace = Default, + + //! A C comment. + Comment = 1, + + //! A C++ comment line. + CommentLine = 2, + + //! A JavaDoc/Doxygen style C comment. + CommentDoc = 3, + + //! A number. + Number = 4, + + //! A keyword. + Keyword = 5, + + //! A double-quoted string. + DoubleQuotedString = 6, + + //! A single-quoted string. + SingleQuotedString = 7, + + //! An IDL UUID. + UUID = 8, + + //! A pre-processor block. + PreProcessor = 9, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! The end of a line where a string is not closed. + UnclosedString = 12, + + //! A C# verbatim string. + VerbatimString = 13, + + //! A JavaScript regular expression. + Regex = 14, + + //! A JavaDoc/Doxygen style C++ comment line. + CommentLineDoc = 15, + + //! A keyword defined in keyword set number 2. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet2 = 16, + + //! A JavaDoc/Doxygen keyword. + CommentDocKeyword = 17, + + //! A JavaDoc/Doxygen keyword error. + CommentDocKeywordError = 18, + + //! A global class or typedef defined in keyword set number 4. + //! The class must be sub-classed and re-implement keywords() + //! to make use of this style. + GlobalClass = 19 + }; + + //! Construct a TQextScintillaLexerCPP with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + //! \a caseInsensitiveKeywords is TRUE if the lexer ignores the case of + //! keywords. + TQextScintillaLexerCPP(TQObject *parent = 0,const char *name = 0, + bool caseInsensitiveKeywords = FALSE); + + //! Destroys the TQextScintillaLexerCPP instance. + virtual ~TQextScintillaLexerCPP(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the end of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockEnd(int *style = 0) const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStart(int *style = 0) const; + + //! \internal Returns a space separated list of keywords in a + //! particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStartKeyword(int *style = 0) const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if "} else {" lines can be folded. + //! + //! \sa setFoldAtElse() + bool foldAtElse() const; + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + + //! Returns TRUE if preprocessor blocks can be folded. + //! + //! \sa setFoldPreprocessor() + bool foldPreprocessor() const; + + //! Returns TRUE if preprocessor lines (after the preprocessor + //! directive) are styled. + //! + //! \sa setStylePreprocessor() + bool stylePreprocessor() const; + +public slots: + //! If \a fold is TRUE then "} else {" lines can be folded. The + //! default is FALSE. + //! + //! \sa foldAtElse() + virtual void setFoldAtElse(bool fold); + + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + + //! If \a fold is TRUE then preprocessor blocks can be folded. The + //! default is TRUE. + //! + //! \sa foldPreprocessor() + virtual void setFoldPreprocessor(bool fold); + + //! If \a style is TRUE then preprocessor lines (after the preprocessor + //! directive) are styled. The default is FALSE. + //! + //! \sa stylePreprocessor() + virtual void setStylePreprocessor(bool style); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + //! \sa writeProperties() + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + //! \sa readProperties() + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setAtElseProp(); + void setCommentProp(); + void setCompactProp(); + void setPreprocProp(); + void setStylePreprocProp(); + + bool fold_atelse; + bool fold_comments; + bool fold_compact; + bool fold_preproc; + bool style_preproc; + + bool nocase; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerCPP(const TQextScintillaLexerCPP &); + TQextScintillaLexerCPP &operator=(const TQextScintillaLexerCPP &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexercsharp.cpp b/tqt/tqextscintillalexercsharp.cpp new file mode 100644 index 0000000..a6e5385 --- /dev/null +++ b/tqt/tqextscintillalexercsharp.cpp @@ -0,0 +1,123 @@ +// This module implements the TQextScintillaLexerCSharp class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "tqextscintillalexercsharp.h" + + +// The ctor. +TQextScintillaLexerCSharp::TQextScintillaLexerCSharp(TQObject *parent,const char *name) + : TQextScintillaLexerCPP(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerCSharp::~TQextScintillaLexerCSharp() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerCSharp::language() const +{ + return "C#"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerCSharp::color(int style) const +{ + if (style == VerbatimString) + return TQColor(0x00,0x7f,0x00); + + return TQextScintillaLexerCPP::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerCSharp::eolFill(int style) const +{ + if (style == VerbatimString) + return TRUE; + + return TQextScintillaLexerCPP::eolFill(style); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerCSharp::font(int style) const +{ + if (style == VerbatimString) +#if defined(Q_OS_WIN) + return TQFont("Courier New",10); +#else + return TQFont("Bitstream Vera Sans Mono",9); +#endif + + return TQextScintillaLexerCPP::font(style); +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerCSharp::keywords(int set) const +{ + if (set != 1) + return 0; + + return "abstract as base bool break byte case catch char checked " + "class const continue decimal default delegate do double else " + "enum event explicit extern false finally fixed float for " + "foreach goto if implicit in int interface internal is lock " + "long namespace new null object operator out override params " + "private protected public readonly ref return sbyte sealed " + "short sizeof stackalloc static string struct switch this " + "throw true try typeof uint ulong unchecked unsafe ushort " + "using virtual void while"; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerCSharp::description(int style) const +{ + if (style == VerbatimString) + return tr("Verbatim string"); + + return TQextScintillaLexerCPP::description(style); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerCSharp::paper(int style) const +{ + if (style == VerbatimString) + return TQColor(0xe0,0xff,0xe0); + + return TQextScintillaLexer::paper(style); +} + +#include "tqextscintillalexercsharp.moc" diff --git a/tqt/tqextscintillalexercsharp.h b/tqt/tqextscintillalexercsharp.h new file mode 100644 index 0000000..e838265 --- /dev/null +++ b/tqt/tqextscintillalexercsharp.h @@ -0,0 +1,85 @@ +// This defines the interface to the TQextScintillaLexerCSharp class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERCSHARP_H +#define TQEXTSCINTILLALEXERCSHARP_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerCSharp class encapsulates the Scintilla C# +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerCSharp : public TQextScintillaLexerCPP +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaLexerCSharp with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerCSharp(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerCSharp instance. + virtual ~TQextScintillaLexerCSharp(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerCSharp(const TQextScintillaLexerCSharp &); + TQextScintillaLexerCSharp &operator=(const TQextScintillaLexerCSharp &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexercss.cpp b/tqt/tqextscintillalexercss.cpp new file mode 100644 index 0000000..c120a9d --- /dev/null +++ b/tqt/tqextscintillalexercss.cpp @@ -0,0 +1,381 @@ +// This module implements the TQextScintillaLexerCSS class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexercss.h" + + +// The ctor. +TQextScintillaLexerCSS::TQextScintillaLexerCSS(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_compact(TRUE) +{ +} + + +// The dtor. +TQextScintillaLexerCSS::~TQextScintillaLexerCSS() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerCSS::language() const +{ + return "CSS"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerCSS::lexer() const +{ + return "css"; +} + + +// Return the list of characters that can start a block. +const char *TQextScintillaLexerCSS::blockStart(int *style) const +{ + if (style) + *style = Operator; + + return "{"; +} + + +// Return the list of characters that can end a block. +const char *TQextScintillaLexerCSS::blockEnd(int *style) const +{ + if (style) + *style = Operator; + + return "}"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerCSS::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerCSS::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0xff,0x00,0x80); + + case Tag: + return TQColor(0x00,0x00,0x7f); + + case PseudoClass: + case Attribute: + return TQColor(0x80,0x00,0x00); + + case UnknownPseudoClass: + case UnknownProperty: + return TQColor(0xff,0x00,0x00); + + case Operator: + return TQColor(0x00,0x00,0x00); + + case CSS1Property: + return TQColor(0x00,0x40,0xe0); + + case Value: + case DoubleQuotedString: + case SingleQuotedString: + return TQColor(0x7f,0x00,0x7f); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case IDSelector: + return TQColor(0x00,0x7f,0x7f); + + case Important: + return TQColor(0xff,0x80,0x00); + + case AtRule: + return TQColor(0x7f,0x7f,0x00); + + case CSS2Property: + return TQColor(0x00,0xa0,0xe0); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerCSS::font(int style) const +{ + TQFont f; + + if (style == Comment) +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + else + { + f = TQextScintillaLexer::font(style); + + switch (style) + { + case Tag: + case Important: + case AtRule: + f.setBold(TRUE); + break; + + case IDSelector: + f.setItalic(TRUE); + break; + } + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerCSS::keywords(int set) const +{ + if (set == 1) + return + "color background-color background-image " + "background-repeat background-attachment " + "background-position background font-family " + "font-style font-variant font-weight font-size font " + "word-spacing letter-spacing text-decoration " + "vertical-align text-transform text-align " + "text-indent line-height margin-top margin-right " + "margin-bottom margin-left margin padding-top " + "padding-right padding-bottom padding-left padding " + "border-top-width border-right-width " + "border-bottom-width border-left-width border-width " + "border-top border-right border-bottom border-left " + "border border-color border-style width height float " + "clear display white-space list-style-type " + "list-style-image list-style-position list-style"; + + if (set == 2) + return + "first-letter first-line link active visited " + "first-child focus hover lang before after left " + "right first"; + + if (set == 3) + return + "border-top-color border-right-color " + "border-bottom-color border-left-color border-color " + "border-top-style border-right-style " + "border-bottom-style border-left-style border-style " + "top right bottom left position z-index direction " + "unicode-bidi min-width max-width min-height " + "max-height overflow clip visibility content quotes " + "counter-reset counter-increment marker-offset size " + "marks page-break-before page-break-after " + "page-break-inside page orphans widows font-stretch " + "font-size-adjust unicode-range units-per-em src " + "panose-1 stemv stemh slope cap-height x-height " + "ascent descent widths bbox definition-src baseline " + "centerline mathline topline text-shadow " + "caption-side table-layout border-collapse " + "border-spacing empty-cells speak-header cursor " + "outline outline-width outline-style outline-color " + "volume speak pause-before pause-after pause " + "cue-before cue-after cue play-during azimuth " + "elevation speech-rate voice-family pitch " + "pitch-range stress richness speak-punctuation " + "speak-numeral"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerCSS::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Tag: + return tr("Tag"); + + case ClassSelector: + return tr("Class selector"); + + case PseudoClass: + return tr("Pseudo-class"); + + case UnknownPseudoClass: + return tr("Unknown pseudo-class"); + + case Operator: + return tr("Operator"); + + case CSS1Property: + return tr("CSS1 property"); + + case UnknownProperty: + return tr("Unknown property"); + + case Value: + return tr("Value"); + + case IDSelector: + return tr("ID selector"); + + case Important: + return tr("Important"); + + case AtRule: + return tr("@-rule"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case CSS2Property: + return tr("CSS2 property"); + + case Attribute: + return tr("Attribute"); + } + + return TQString(); +} + + +// Refresh all properties. +void TQextScintillaLexerCSS::refreshProperties() +{ + setCommentProp(); + setCompactProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerCSS::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerCSS::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerCSS::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerCSS::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerCSS::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerCSS::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerCSS::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerCSS::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + +#include "tqextscintillalexercss.moc" diff --git a/tqt/tqextscintillalexercss.h b/tqt/tqextscintillalexercss.h new file mode 100644 index 0000000..976ff07 --- /dev/null +++ b/tqt/tqextscintillalexercss.h @@ -0,0 +1,194 @@ +// This defines the interface to the TQextScintillaLexerCSS class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERCSS_H +#define TQEXTSCINTILLALEXERCSS_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerCSS class encapsulates the Scintilla CSS +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerCSS : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! CSS lexer. + enum { + //! The default. + Default = 0, + + //! A tag. + Tag = 1, + + //! A class selector. + ClassSelector = 2, + + //! A pseudo-class. + PseudoClass = 3, + + //! An pseudo-class. + UnknownPseudoClass = 4, + + //! An operator. + Operator = 5, + + //! A CSS1 property. + CSS1Property = 6, + + //! An unknown property. + UnknownProperty = 7, + + //! A value. + Value = 8, + + //! A comment. + Comment = 9, + + //! An ID selector. + IDSelector = 10, + + //! An important value. + Important = 11, + + //! An @-rule. + AtRule = 12, + + //! A double-quoted string. + DoubleQuotedString = 13, + + //! A single-quoted string. + SingleQuotedString = 14, + + //! A CSS2 property. + CSS2Property = 15, + + //! An attribute. + Attribute = 16 + }; + + //! Construct a TQextScintillaLexerCSS with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerCSS(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerCSS instance. + virtual ~TQextScintillaLexerCSS(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the end of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockEnd(int *style = 0) const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStart(int *style = 0) const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + +public slots: + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setCompactProp(); + + bool fold_comments; + bool fold_compact; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerCSS(const TQextScintillaLexerCSS &); + TQextScintillaLexerCSS &operator=(const TQextScintillaLexerCSS &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerdiff.cpp b/tqt/tqextscintillalexerdiff.cpp new file mode 100644 index 0000000..f71a2ad --- /dev/null +++ b/tqt/tqextscintillalexerdiff.cpp @@ -0,0 +1,128 @@ +// This module implements the TQextScintillaLexerDiff class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerdiff.h" + + +// The ctor. +TQextScintillaLexerDiff::TQextScintillaLexerDiff(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerDiff::~TQextScintillaLexerDiff() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerDiff::language() const +{ + return "Diff"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerDiff::lexer() const +{ + return "diff"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerDiff::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerDiff::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x00,0x00,0x00); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case Command: + return TQColor(0x7f,0x7f,0x00); + + case Header: + return TQColor(0x7f,0x00,0x00); + + case Position: + return TQColor(0x7f,0x00,0x7f); + + case LineRemoved: + return TQColor(0x00,0x7f,0x7f); + + case LineAdded: + return TQColor(0x00,0x00,0x7f); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerDiff::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case Command: + return tr("Command"); + + case Header: + return tr("Header"); + + case Position: + return tr("Position"); + + case LineRemoved: + return tr("Removed line"); + + case LineAdded: + return tr("Added line"); + } + + return TQString(); +} + +#include "tqextscintillalexerdiff.moc" diff --git a/tqt/tqextscintillalexerdiff.h b/tqt/tqextscintillalexerdiff.h new file mode 100644 index 0000000..487afca --- /dev/null +++ b/tqt/tqextscintillalexerdiff.h @@ -0,0 +1,101 @@ +// This defines the interface to the TQextScintillaLexerDiff class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERDIFF_H +#define TQEXTSCINTILLALEXERDIFF_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerDiff class encapsulates the Scintilla Diff +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerDiff : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Diff lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A command. + Command = 2, + + //! A header. + Header = 3, + + //! A position. + Position = 4, + + //! A removed line. + LineRemoved = 5, + + //! An added line. + LineAdded = 6 + }; + + //! Construct a TQextScintillaLexerDiff with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerDiff(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerDiff instance. + virtual ~TQextScintillaLexerDiff(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerDiff(const TQextScintillaLexerDiff &); + TQextScintillaLexerDiff &operator=(const TQextScintillaLexerDiff &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerhtml.cpp b/tqt/tqextscintillalexerhtml.cpp new file mode 100644 index 0000000..f993b58 --- /dev/null +++ b/tqt/tqextscintillalexerhtml.cpp @@ -0,0 +1,1137 @@ +// This module implements the TQextScintillaLexerHTML class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerhtml.h" +#include "tqextscintillalexerjavascript.h" +#include "tqextscintillalexerpython.h" + + +// The ctor. +TQextScintillaLexerHTML::TQextScintillaLexerHTML(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent,name), fold_compact(TRUE), + fold_preproc(TRUE), case_sens_tags(FALSE) +{ +} + + +// The dtor. +TQextScintillaLexerHTML::~TQextScintillaLexerHTML() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerHTML::language() const +{ + return "HTML"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerHTML::lexer() const +{ + return "hypertext"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerHTML::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerHTML::color(int style) const +{ + switch (style) + { + case Default: + case JavaScriptDefault: + case JavaScriptWord: + case JavaScriptSymbol: + case ASPJavaScriptDefault: + case ASPJavaScriptWord: + case ASPJavaScriptSymbol: + case VBScriptDefault: + case ASPVBScriptDefault: + case PHPOperator: + return TQColor(0x00,0x00,0x00); + + case Tag: + case XMLTagEnd: + case Script: + case SGMLDefault: + case SGMLCommand: + case VBScriptKeyword: + case VBScriptIdentifier: + case VBScriptUnclosedString: + case ASPVBScriptKeyword: + case ASPVBScriptIdentifier: + case ASPVBScriptUnclosedString: + return TQColor(0x00,0x00,0x80); + + case UnknownTag: + case UnknownAttribute: + return TQColor(0xff,0x00,0x00); + + case Attribute: + case VBScriptNumber: + case ASPVBScriptNumber: + return TQColor(0x00,0x80,0x80); + + case HTMLNumber: + case JavaScriptNumber: + case ASPJavaScriptNumber: + case PythonNumber: + case PythonFunctionMethodName: + case ASPPythonNumber: + case ASPPythonFunctionMethodName: + return TQColor(0x00,0x7f,0x7f); + + case HTMLDoubleQuotedString: + case HTMLSingleQuotedString: + case JavaScriptDoubleQuotedString: + case JavaScriptSingleQuotedString: + case ASPJavaScriptDoubleQuotedString: + case ASPJavaScriptSingleQuotedString: + case PythonDoubleQuotedString: + case PythonSingleQuotedString: + case ASPPythonDoubleQuotedString: + case ASPPythonSingleQuotedString: + case PHPKeyword: + return TQColor(0x7f,0x00,0x7f); + + case OtherInTag: + case Entity: + case VBScriptString: + case ASPVBScriptString: + return TQColor(0x80,0x00,0x80); + + case HTMLComment: + case SGMLComment: + return TQColor(0x80,0x80,0x00); + + case XMLStart: + case XMLEnd: + case PHPStart: + case PythonClassName: + case ASPPythonClassName: + return TQColor(0x00,0x00,0xff); + + case HTMLValue: + return TQColor(0xff,0x00,0xff); + + case SGMLParameter: + return TQColor(0x00,0x66,0x00); + + case SGMLDoubleQuotedString: + case SGMLError: + return TQColor(0x80,0x00,0x00); + + case SGMLSingleQuotedString: + return TQColor(0x99,0x33,0x00); + + case SGMLSpecial: + return TQColor(0x33,0x66,0xff); + + case SGMLEntity: + return TQColor(0x33,0x33,0x33); + + case SGMLBlockDefault: + return TQColor(0x00,0x00,0x66); + + case JavaScriptStart: + case ASPJavaScriptStart: + return TQColor(0x7f,0x7f,0x00); + + case JavaScriptComment: + case JavaScriptCommentLine: + case ASPJavaScriptComment: + case ASPJavaScriptCommentLine: + case PythonComment: + case ASPPythonComment: + case PHPDoubleQuotedString: + return TQColor(0x00,0x7f,0x00); + + case JavaScriptCommentDoc: + return TQColor(0x3f,0x70,0x3f); + + case JavaScriptKeyword: + case ASPJavaScriptKeyword: + case PythonKeyword: + case ASPPythonKeyword: + case PHPVariable: + case PHPDoubleQuotedVariable: + return TQColor(0x00,0x00,0x7f); + + case ASPJavaScriptCommentDoc: + return TQColor(0x7f,0x7f,0x7f); + + case VBScriptComment: + case ASPVBScriptComment: + return TQColor(0x00,0x80,0x00); + + case PythonStart: + case PythonDefault: + case ASPPythonStart: + case ASPPythonDefault: + return TQColor(0x80,0x80,0x80); + + case PythonTripleSingleQuotedString: + case PythonTripleDoubleQuotedString: + case ASPPythonTripleSingleQuotedString: + case ASPPythonTripleDoubleQuotedString: + return TQColor(0x7f,0x00,0x00); + + case PHPDefault: + return TQColor(0x00,0x00,0x33); + + case PHPSingleQuotedString: + return TQColor(0x00,0x9f,0x00); + + case PHPNumber: + return TQColor(0xcc,0x99,0x00); + + case PHPComment: + return TQColor(0x99,0x99,0x99); + + case PHPCommentLine: + return TQColor(0x66,0x66,0x66); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerHTML::eolFill(int style) const +{ + switch (style) + { + case JavaScriptDefault: + case JavaScriptComment: + case JavaScriptCommentDoc: + case JavaScriptUnclosedString: + case ASPJavaScriptDefault: + case ASPJavaScriptComment: + case ASPJavaScriptCommentDoc: + case ASPJavaScriptUnclosedString: + case VBScriptDefault: + case VBScriptComment: + case VBScriptNumber: + case VBScriptKeyword: + case VBScriptString: + case VBScriptIdentifier: + case VBScriptUnclosedString: + case ASPVBScriptDefault: + case ASPVBScriptComment: + case ASPVBScriptNumber: + case ASPVBScriptKeyword: + case ASPVBScriptString: + case ASPVBScriptIdentifier: + case ASPVBScriptUnclosedString: + case PythonDefault: + case PythonComment: + case PythonNumber: + case PythonDoubleQuotedString: + case PythonSingleQuotedString: + case PythonKeyword: + case PythonTripleSingleQuotedString: + case PythonTripleDoubleQuotedString: + case PythonClassName: + case PythonFunctionMethodName: + case PythonOperator: + case PythonIdentifier: + case ASPPythonDefault: + case ASPPythonComment: + case ASPPythonNumber: + case ASPPythonDoubleQuotedString: + case ASPPythonSingleQuotedString: + case ASPPythonKeyword: + case ASPPythonTripleSingleQuotedString: + case ASPPythonTripleDoubleQuotedString: + case ASPPythonClassName: + case ASPPythonFunctionMethodName: + case ASPPythonOperator: + case ASPPythonIdentifier: + case PHPDefault: + return TRUE; + } + + return TQextScintillaLexer::eolFill(style); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerHTML::font(int style) const +{ + TQFont f; + + switch (style) + { + case Default: + case Entity: +#if defined(Q_OS_WIN) + f = TQFont("Times New Roman",11); +#else + f = TQFont("Bitstream Charter",10); +#endif + break; + + case HTMLComment: +#if defined(Q_OS_WIN) + f = TQFont("Verdana",9); +#else + f = TQFont("Bitstream Vera Sans",8); +#endif + break; + + case SGMLCommand: + case PythonKeyword: + case PythonClassName: + case PythonFunctionMethodName: + case PythonOperator: + case ASPPythonKeyword: + case ASPPythonClassName: + case ASPPythonFunctionMethodName: + case ASPPythonOperator: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case JavaScriptDefault: + case JavaScriptCommentDoc: + case JavaScriptKeyword: + case JavaScriptSymbol: + case ASPJavaScriptDefault: + case ASPJavaScriptCommentDoc: + case ASPJavaScriptKeyword: + case ASPJavaScriptSymbol: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + f.setBold(TRUE); + break; + + case JavaScriptComment: + case JavaScriptCommentLine: + case JavaScriptNumber: + case JavaScriptWord: + case JavaScriptDoubleQuotedString: + case JavaScriptSingleQuotedString: + case ASPJavaScriptComment: + case ASPJavaScriptCommentLine: + case ASPJavaScriptNumber: + case ASPJavaScriptWord: + case ASPJavaScriptDoubleQuotedString: + case ASPJavaScriptSingleQuotedString: + case VBScriptComment: + case ASPVBScriptComment: + case PythonComment: + case ASPPythonComment: + case PHPComment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case VBScriptDefault: + case VBScriptNumber: + case VBScriptString: + case VBScriptIdentifier: + case VBScriptUnclosedString: + case ASPVBScriptDefault: + case ASPVBScriptNumber: + case ASPVBScriptString: + case ASPVBScriptIdentifier: + case ASPVBScriptUnclosedString: +#if defined(Q_OS_WIN) + f = TQFont("Lucida Sans Unicode",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case VBScriptKeyword: + case ASPVBScriptKeyword: +#if defined(Q_OS_WIN) + f = TQFont("Lucida Sans Unicode",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + f.setBold(TRUE); + break; + + case PythonDoubleQuotedString: + case PythonSingleQuotedString: + case ASPPythonDoubleQuotedString: + case ASPPythonSingleQuotedString: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + case PHPKeyword: + case PHPVariable: + case PHPDoubleQuotedVariable: + f = TQextScintillaLexer::font(style); + f.setItalic(TRUE); + break; + + case PHPCommentLine: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + f.setItalic(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerHTML::keywords(int set) const +{ + if (set == 1) + return + "a abbr acronym address applet area " + "b base basefont bdo big blockquote body br button " + "caption center cite code col colgroup " + "dd del dfn dir div dl dt " + "em " + "fieldset font form frame frameset " + "h1 h2 h3 h4 h5 h6 head hr html " + "i iframe img input ins isindex " + "kbd " + "label legend li link " + "map menu meta " + "noframes noscript " + "object ol optgroup option " + "p param pre " + "q " + "s samp script select small span strike strong style " + "sub sup " + "table tbody td textarea tfoot th thead title tr tt " + "u ul " + "var " + "xml xmlns " + "abbr accept-charset accept accesskey action align " + "alink alt archive axis " + "background bgcolor border " + "cellpadding cellspacing char charoff charset checked " + "cite class classid clear codebase codetype color " + "cols colspan compact content coords " + "data datafld dataformatas datapagesize datasrc " + "datetime declare defer dir disabled " + "enctype event " + "face for frame frameborder " + "headers height href hreflang hspace http-equiv " + "id ismap label lang language leftmargin link " + "longdesc " + "marginwidth marginheight maxlength media method " + "multiple " + "name nohref noresize noshade nowrap " + "object onblur onchange onclick ondblclick onfocus " + "onkeydown onkeypress onkeyup onload onmousedown " + "onmousemove onmouseover onmouseout onmouseup onreset " + "onselect onsubmit onunload " + "profile prompt " + "readonly rel rev rows rowspan rules " + "scheme scope selected shape size span src standby " + "start style summary " + "tabindex target text title topmargin type " + "usemap " + "valign value valuetype version vlink vspace " + "width " + "text password checkbox radio submit reset file " + "hidden image " + "public !doctype"; + + if (set == 2) + return TQextScintillaLexerJavaScript::keywordClass; + + if (set == 3) + return + // Move these to TQextScintillaLexerVisualBasic when we + // get round to implementing it. + "and begin case call continue do each else elseif end " + "erase error event exit false for function get gosub " + "goto if implement in load loop lset me mid new next " + "not nothing on or property raiseevent rem resume " + "return rset select set stop sub then to true unload " + "until wend while with withevents attribute alias as " + "boolean byref byte byval const compare currency date " + "declare dim double enum explicit friend global " + "integer let lib long module object option optional " + "preserve private property public redim single static " + "string type variant"; + + if (set == 4) + return TQextScintillaLexerPython::keywordClass; + + if (set == 5) + return + "and argv as argc break case cfunction class continue " + "declare default do die " + "echo else elseif empty enddeclare endfor endforeach " + "endif endswitch endwhile e_all e_parse e_error " + "e_warning eval exit extends " + "false for foreach function global " + "http_cookie_vars http_get_vars http_post_vars " + "http_post_files http_env_vars http_server_vars " + "if include include_once list new not null " + "old_function or " + "parent php_os php_self php_version print " + "require require_once return " + "static switch stdclass this true var xor virtual " + "while " + "__file__ __line__ __sleep __wakeup"; + + if (set == 6) + return "ELEMENT DOCTYPE ATTLIST ENTITY NOTATION"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerHTML::description(int style) const +{ + switch (style) + { + case Default: + return tr("HTML default"); + + case Tag: + return tr("Tag"); + + case UnknownTag: + return tr("Unknown tag"); + + case Attribute: + return tr("Attribute"); + + case UnknownAttribute: + return tr("Unknown attribute"); + + case HTMLNumber: + return tr("HTML number"); + + case HTMLDoubleQuotedString: + return tr("HTML double-quoted string"); + + case HTMLSingleQuotedString: + return tr("HTML single-quoted string"); + + case OtherInTag: + return tr("Other text in a tag"); + + case HTMLComment: + return tr("HTML comment"); + + case Entity: + return tr("Entity"); + + case XMLTagEnd: + return tr("End of a tag"); + + case XMLStart: + return tr("Start of an XML fragment"); + + case XMLEnd: + return tr("End of an XML fragment"); + + case Script: + return tr("Script tag"); + + case ASPAtStart: + return tr("Start of an ASP fragment with @"); + + case ASPStart: + return tr("Start of an ASP fragment"); + + case CDATA: + return tr("CDATA"); + + case PHPStart: + return tr("Start of a PHP fragment"); + + case HTMLValue: + return tr("Unquoted HTML value"); + + case ASPXCComment: + return tr("ASP X-Code comment"); + + case SGMLDefault: + return tr("SGML default"); + + case SGMLCommand: + return tr("SGML command"); + + case SGMLParameter: + return tr("First parameter of an SGML command"); + + case SGMLDoubleQuotedString: + return tr("SGML double-quoted string"); + + case SGMLSingleQuotedString: + return tr("SGML single-quoted string"); + + case SGMLError: + return tr("SGML error"); + + case SGMLSpecial: + return tr("SGML special entity"); + + case SGMLComment: + return tr("SGML comment"); + + case SGMLParameterComment: + return tr("First parameter comment of an SGML command"); + + case SGMLBlockDefault: + return tr("SGML block default"); + + case JavaScriptStart: + return tr("Start of a JavaScript fragment"); + + case JavaScriptDefault: + return tr("JavaScript default"); + + case JavaScriptComment: + return tr("JavaScript comment"); + + case JavaScriptCommentLine: + return tr("JavaScript line comment"); + + case JavaScriptCommentDoc: + return tr("JavaDoc style JavaScript comment"); + + case JavaScriptNumber: + return tr("JavaScript number"); + + case JavaScriptWord: + return tr("JavaScript word"); + + case JavaScriptKeyword: + return tr("JavaScript keyword"); + + case JavaScriptDoubleQuotedString: + return tr("JavaScript double-quoted string"); + + case JavaScriptSingleQuotedString: + return tr("JavaScript single-quoted string"); + + case JavaScriptSymbol: + return tr("JavaScript symbol"); + + case JavaScriptUnclosedString: + return tr("JavaScript unclosed string"); + + case JavaScriptRegex: + return tr("JavaScript regular expression"); + + case ASPJavaScriptStart: + return tr("Start of an ASP JavaScript fragment"); + + case ASPJavaScriptDefault: + return tr("ASP JavaScript default"); + + case ASPJavaScriptComment: + return tr("ASP JavaScript comment"); + + case ASPJavaScriptCommentLine: + return tr("ASP JavaScript line comment"); + + case ASPJavaScriptCommentDoc: + return tr("JavaDoc style ASP JavaScript comment"); + + case ASPJavaScriptNumber: + return tr("ASP JavaScript number"); + + case ASPJavaScriptWord: + return tr("ASP JavaScript word"); + + case ASPJavaScriptKeyword: + return tr("ASP JavaScript keyword"); + + case ASPJavaScriptDoubleQuotedString: + return tr("ASP JavaScript double-quoted string"); + + case ASPJavaScriptSingleQuotedString: + return tr("ASP JavaScript single-quoted string"); + + case ASPJavaScriptSymbol: + return tr("ASP JavaScript symbol"); + + case ASPJavaScriptUnclosedString: + return tr("ASP JavaScript unclosed string"); + + case ASPJavaScriptRegex: + return tr("ASP JavaScript regular expression"); + + case VBScriptStart: + return tr("Start of a VBScript fragment"); + + case VBScriptDefault: + return tr("VBScript default"); + + case VBScriptComment: + return tr("VBScript comment"); + + case VBScriptNumber: + return tr("VBScript number"); + + case VBScriptKeyword: + return tr("VBScript keyword"); + + case VBScriptString: + return tr("VBScript string"); + + case VBScriptIdentifier: + return tr("VBScript identifier"); + + case VBScriptUnclosedString: + return tr("VBScript unclosed string"); + + case ASPVBScriptStart: + return tr("Start of an ASP VBScript fragment"); + + case ASPVBScriptDefault: + return tr("ASP VBScript default"); + + case ASPVBScriptComment: + return tr("ASP VBScript comment"); + + case ASPVBScriptNumber: + return tr("ASP VBScript number"); + + case ASPVBScriptKeyword: + return tr("ASP VBScript keyword"); + + case ASPVBScriptString: + return tr("ASP VBScript string"); + + case ASPVBScriptIdentifier: + return tr("ASP VBScript identifier"); + + case ASPVBScriptUnclosedString: + return tr("ASP VBScript unclosed string"); + + case PythonStart: + return tr("Start of a Python fragment"); + + case PythonDefault: + return tr("Python default"); + + case PythonComment: + return tr("Python comment"); + + case PythonNumber: + return tr("Python number"); + + case PythonDoubleQuotedString: + return tr("Python double-quoted string"); + + case PythonSingleQuotedString: + return tr("Python single-quoted string"); + + case PythonKeyword: + return tr("Python keyword"); + + case PythonTripleDoubleQuotedString: + return tr("Python triple double-quoted string"); + + case PythonTripleSingleQuotedString: + return tr("Python triple single-quoted string"); + + case PythonClassName: + return tr("Python class name"); + + case PythonFunctionMethodName: + return tr("Python function or method name"); + + case PythonOperator: + return tr("Python operator"); + + case PythonIdentifier: + return tr("Python identifier"); + + case ASPPythonStart: + return tr("Start of an ASP Python fragment"); + + case ASPPythonDefault: + return tr("ASP Python default"); + + case ASPPythonComment: + return tr("ASP Python comment"); + + case ASPPythonNumber: + return tr("ASP Python number"); + + case ASPPythonDoubleQuotedString: + return tr("ASP Python double-quoted string"); + + case ASPPythonSingleQuotedString: + return tr("ASP Python single-quoted string"); + + case ASPPythonKeyword: + return tr("ASP Python keyword"); + + case ASPPythonTripleDoubleQuotedString: + return tr("ASP Python triple double-quoted string"); + + case ASPPythonTripleSingleQuotedString: + return tr("ASP Python triple single-quoted string"); + + case ASPPythonClassName: + return tr("ASP Python class name"); + + case ASPPythonFunctionMethodName: + return tr("ASP Python function or method name"); + + case ASPPythonOperator: + return tr("ASP Python operator"); + + case ASPPythonIdentifier: + return tr("ASP Python identifier"); + + case PHPDefault: + return tr("PHP default"); + + case PHPDoubleQuotedString: + return tr("PHP double-quoted string"); + + case PHPSingleQuotedString: + return tr("PHP single-quoted string"); + + case PHPKeyword: + return tr("PHP keyword"); + + case PHPNumber: + return tr("PHP number"); + + case PHPVariable: + return tr("PHP variable"); + + case PHPComment: + return tr("PHP comment"); + + case PHPCommentLine: + return tr("PHP line comment"); + + case PHPDoubleQuotedVariable: + return tr("PHP double-quoted variable"); + + case PHPOperator: + return tr("PHP operator"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerHTML::paper(int style) const +{ + switch (style) + { + case ASPAtStart: + return TQColor(0xff,0xff,0x00); + + case ASPStart: + case CDATA: + return TQColor(0xff,0xdf,0x00); + + case PHPStart: + return TQColor(0xff,0xef,0xbf); + + case HTMLValue: + return TQColor(0xff,0xef,0xff); + + case SGMLDefault: + case SGMLCommand: + case SGMLParameter: + case SGMLDoubleQuotedString: + case SGMLSingleQuotedString: + case SGMLSpecial: + case SGMLEntity: + case SGMLComment: + return TQColor(0xef,0xef,0xff); + + case SGMLError: + return TQColor(0xff,0x66,0x66); + + case SGMLBlockDefault: + return TQColor(0xcc,0xcc,0xe0); + + case JavaScriptDefault: + case JavaScriptComment: + case JavaScriptCommentLine: + case JavaScriptCommentDoc: + case JavaScriptNumber: + case JavaScriptWord: + case JavaScriptKeyword: + case JavaScriptDoubleQuotedString: + case JavaScriptSingleQuotedString: + case JavaScriptSymbol: + return TQColor(0xf0,0xf0,0xff); + + case JavaScriptUnclosedString: + case ASPJavaScriptUnclosedString: + return TQColor(0xbf,0xbb,0xb0); + + case JavaScriptRegex: + case ASPJavaScriptRegex: + return TQColor(0xff,0xbb,0xb0); + + case ASPJavaScriptDefault: + case ASPJavaScriptComment: + case ASPJavaScriptCommentLine: + case ASPJavaScriptCommentDoc: + case ASPJavaScriptNumber: + case ASPJavaScriptWord: + case ASPJavaScriptKeyword: + case ASPJavaScriptDoubleQuotedString: + case ASPJavaScriptSingleQuotedString: + case ASPJavaScriptSymbol: + return TQColor(0xdf,0xdf,0x7f); + + case VBScriptDefault: + case VBScriptComment: + case VBScriptNumber: + case VBScriptKeyword: + case VBScriptString: + case VBScriptIdentifier: + return TQColor(0xef,0xef,0xff); + + case VBScriptUnclosedString: + case ASPVBScriptUnclosedString: + return TQColor(0x7f,0x7f,0xff); + + case ASPVBScriptDefault: + case ASPVBScriptComment: + case ASPVBScriptNumber: + case ASPVBScriptKeyword: + case ASPVBScriptString: + case ASPVBScriptIdentifier: + return TQColor(0xcf,0xcf,0xef); + + case PythonDefault: + case PythonComment: + case PythonNumber: + case PythonDoubleQuotedString: + case PythonSingleQuotedString: + case PythonKeyword: + case PythonTripleSingleQuotedString: + case PythonTripleDoubleQuotedString: + case PythonClassName: + case PythonFunctionMethodName: + case PythonOperator: + case PythonIdentifier: + return TQColor(0xef,0xff,0xef); + + case ASPPythonDefault: + case ASPPythonComment: + case ASPPythonNumber: + case ASPPythonDoubleQuotedString: + case ASPPythonSingleQuotedString: + case ASPPythonKeyword: + case ASPPythonTripleSingleQuotedString: + case ASPPythonTripleDoubleQuotedString: + case ASPPythonClassName: + case ASPPythonFunctionMethodName: + case ASPPythonOperator: + case ASPPythonIdentifier: + return TQColor(0xcf,0xef,0xcf); + + case PHPDefault: + case PHPDoubleQuotedString: + case PHPSingleQuotedString: + case PHPKeyword: + case PHPNumber: + case PHPVariable: + case PHPComment: + case PHPCommentLine: + case PHPDoubleQuotedVariable: + case PHPOperator: + return TQColor(0xff,0xf8,0xf8); + } + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerHTML::refreshProperties() +{ + setCompactProp(); + setPreprocProp(); + setCaseSensTagsProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerHTML::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + // Read the fold preprocessor flag. + flag = qs.readBoolEntry(prefix + "foldpreprocessor",FALSE,&ok); + + if (ok) + fold_preproc = flag; + else + rc = FALSE; + + // Read the case sensitive tags flag. + flag = qs.readBoolEntry(prefix + "casesensitivetags",FALSE,&ok); + + if (ok) + case_sens_tags = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerHTML::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + // Write the fold preprocessor flag. + if (!qs.writeEntry(prefix + "foldpreprocessor",fold_preproc)) + rc = FALSE; + + // Write the case sensitive tags flag. + if (!qs.writeEntry(prefix + "casesensitivetags",case_sens_tags)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if tags are case sensitive. +bool TQextScintillaLexerHTML::caseSensitiveTags() const +{ + return case_sens_tags; +} + + +// Set if tags are case sensitive. +void TQextScintillaLexerHTML::setCaseSensitiveTags(bool sens) +{ + case_sens_tags = sens; + + setCaseSensTagsProp(); +} + + +// Set the "html.tags.case.sensitive" property. +void TQextScintillaLexerHTML::setCaseSensTagsProp() +{ + emit propertyChanged("html.tags.case.sensitive",(case_sens_tags ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerHTML::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerHTML::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerHTML::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + + +// Return TRUE if preprocessor blocks can be folded. +bool TQextScintillaLexerHTML::foldPreprocessor() const +{ + return fold_preproc; +} + + +// Set if preprocessor blocks can be folded. +void TQextScintillaLexerHTML::setFoldPreprocessor(bool fold) +{ + fold_preproc = fold; + + setPreprocProp(); +} + + +// Set the "fold.preprocessor" property. +void TQextScintillaLexerHTML::setPreprocProp() +{ + emit propertyChanged("fold.html.preprocessor",(fold_preproc ? "1" : "0")); +} + +#include "tqextscintillalexerhtml.moc" diff --git a/tqt/tqextscintillalexerhtml.h b/tqt/tqextscintillalexerhtml.h new file mode 100644 index 0000000..77e5c1b --- /dev/null +++ b/tqt/tqextscintillalexerhtml.h @@ -0,0 +1,487 @@ +// This defines the interface to the TQextScintillaLexerHTML class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERHTML_H +#define TQEXTSCINTILLALEXERHTML_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerHTML class encapsulates the Scintilla HTML +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerHTML : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! HTML lexer. + enum { + //! The default. + Default = 0, + + //! A tag. + Tag = 1, + + //! An unknown tag. + UnknownTag = 2, + + //! An attribute. + Attribute = 3, + + //! An unknown attribute. + UnknownAttribute = 4, + + //! An HTML number. + HTMLNumber = 5, + + //! An HTML double-quoted string. + HTMLDoubleQuotedString = 6, + + //! An HTML single-quoted string. + HTMLSingleQuotedString = 7, + + //! Other text within a tag. + OtherInTag = 8, + + //! An HTML comment. + HTMLComment = 9, + + //! An entity. + Entity = 10, + + //! The end of an XML style tag. + XMLTagEnd = 11, + + //! The start of an XML fragment. + XMLStart = 12, + + //! The end of an XML fragment. + XMLEnd = 13, + + //! A script tag. + Script = 14, + + //! The start of an ASP fragment with @. + ASPAtStart = 15, + + //! The start of an ASP fragment. + ASPStart = 16, + + //! CDATA. + CDATA = 17, + + //! The start of a PHP fragment. + PHPStart = 18, + + //! An unquoted HTML value. + HTMLValue = 19, + + //! An ASP X-Code comment. + ASPXCComment = 20, + + //! The default for SGML. + SGMLDefault = 21, + + //! An SGML command. + SGMLCommand = 22, + + //! The first parameter of an SGML command. + SGMLParameter = 23, + + //! An SGML double-quoted string. + SGMLDoubleQuotedString = 24, + + //! An SGML single-quoted string. + SGMLSingleQuotedString = 25, + + //! An SGML error. + SGMLError = 26, + + //! An SGML special entity. + SGMLSpecial = 27, + + //! An SGML entity. + SGMLEntity = 28, + + //! An SGML comment. + SGMLComment = 29, + + //! A comment with the first parameter of an SGML command. + SGMLParameterComment = 30, + + //! The default for an SGML block. + SGMLBlockDefault = 31, + + //! The start of a JavaScript fragment. + JavaScriptStart = 40, + + //! The default for JavaScript. + JavaScriptDefault = 41, + + //! A JavaScript comment. + JavaScriptComment = 42, + + //! A JavaScript line comment. + JavaScriptCommentLine = 43, + + //! A JavaDoc style JavaScript comment. + JavaScriptCommentDoc = 44, + + //! A JavaScript number. + JavaScriptNumber = 45, + + //! A JavaScript word. + JavaScriptWord = 46, + + //! A JavaScript keyword. + JavaScriptKeyword = 47, + + //! A JavaScript double-quoted string. + JavaScriptDoubleQuotedString = 48, + + //! A JavaScript single-quoted string. + JavaScriptSingleQuotedString = 49, + + //! A JavaScript symbol. + JavaScriptSymbol = 50, + + //! The end of a JavaScript line where a string is not closed. + JavaScriptUnclosedString = 51, + + //! A JavaScript regular expression. + JavaScriptRegex = 52, + + //! The start of an ASP JavaScript fragment. + ASPJavaScriptStart = 55, + + //! The default for ASP JavaScript. + ASPJavaScriptDefault = 56, + + //! An ASP JavaScript comment. + ASPJavaScriptComment = 57, + + //! An ASP JavaScript line comment. + ASPJavaScriptCommentLine = 58, + + //! An ASP JavaDoc style JavaScript comment. + ASPJavaScriptCommentDoc = 59, + + //! An ASP JavaScript number. + ASPJavaScriptNumber = 60, + + //! An ASP JavaScript word. + ASPJavaScriptWord = 61, + + //! An ASP JavaScript keyword. + ASPJavaScriptKeyword = 62, + + //! An ASP JavaScript double-quoted string. + ASPJavaScriptDoubleQuotedString = 63, + + //! An ASP JavaScript single-quoted string. + ASPJavaScriptSingleQuotedString = 64, + + //! An ASP JavaScript symbol. + ASPJavaScriptSymbol = 65, + + //! The end of an ASP JavaScript line where a string is not + //! closed. + ASPJavaScriptUnclosedString = 66, + + //! An ASP JavaScript regular expression. + ASPJavaScriptRegex = 67, + + //! The start of a VBScript fragment. + VBScriptStart = 70, + + //! The default for VBScript. + VBScriptDefault = 71, + + //! A VBScript comment. + VBScriptComment = 72, + + //! A VBScript number. + VBScriptNumber = 73, + + //! A VBScript keyword. + VBScriptKeyword = 74, + + //! A VBScript string. + VBScriptString = 75, + + //! A VBScript identifier. + VBScriptIdentifier = 76, + + //! The end of a VBScript line where a string is not closed. + VBScriptUnclosedString = 77, + + //! The start of an ASP VBScript fragment. + ASPVBScriptStart = 80, + + //! The default for ASP VBScript. + ASPVBScriptDefault = 81, + + //! An ASP VBScript comment. + ASPVBScriptComment = 82, + + //! An ASP VBScript number. + ASPVBScriptNumber = 83, + + //! An ASP VBScript keyword. + ASPVBScriptKeyword = 84, + + //! An ASP VBScript string. + ASPVBScriptString = 85, + + //! An ASP VBScript identifier. + ASPVBScriptIdentifier = 86, + + //! The end of an ASP VBScript line where a string is not + //! closed. + ASPVBScriptUnclosedString = 87, + + //! The start of a Python fragment. + PythonStart = 90, + + //! The default for Python. + PythonDefault = 91, + + //! A Python comment. + PythonComment = 92, + + //! A Python number. + PythonNumber = 93, + + //! A Python double-quoted string. + PythonDoubleQuotedString = 94, + + //! A Python single-quoted string. + PythonSingleQuotedString = 95, + + //! A Python keyword. + PythonKeyword = 96, + + //! A Python triple single-quoted string. + PythonTripleSingleQuotedString = 97, + + //! A Python triple double-quoted string. + PythonTripleDoubleQuotedString = 98, + + //! The name of a Python class. + PythonClassName = 99, + + //! The name of a Python function or method. + PythonFunctionMethodName = 100, + + //! A Python operator. + PythonOperator = 101, + + //! A Python identifier. + PythonIdentifier = 102, + + //! The start of an ASP Python fragment. + ASPPythonStart = 105, + + //! The default for ASP Python. + ASPPythonDefault = 106, + + //! An ASP Python comment. + ASPPythonComment = 107, + + //! An ASP Python number. + ASPPythonNumber = 108, + + //! An ASP Python double-quoted string. + ASPPythonDoubleQuotedString = 109, + + //! An ASP Python single-quoted string. + ASPPythonSingleQuotedString = 110, + + //! An ASP Python keyword. + ASPPythonKeyword = 111, + + //! An ASP Python triple single-quoted string. + ASPPythonTripleSingleQuotedString = 112, + + //! An ASP Python triple double-quoted string. + ASPPythonTripleDoubleQuotedString = 113, + + //! The name of an ASP Python class. + ASPPythonClassName = 114, + + //! The name of an ASP Python function or method. + ASPPythonFunctionMethodName = 115, + + //! An ASP Python operator. + ASPPythonOperator = 116, + + //! An ASP Python identifier + ASPPythonIdentifier = 117, + + //! The default for PHP. + PHPDefault = 118, + + //! A PHP double-quoted string. + PHPDoubleQuotedString = 119, + + //! A PHP single-quoted string. + PHPSingleQuotedString = 120, + + //! A PHP keyword. + PHPKeyword = 121, + + //! A PHP number. + PHPNumber = 122, + + //! A PHP variable. + PHPVariable = 123, + + //! A PHP comment. + PHPComment = 124, + + //! A PHP line comment. + PHPCommentLine = 125, + + //! A PHP double-quoted variable. + PHPDoubleQuotedVariable = 126, + + //! A PHP operator. + PHPOperator = 127 + }; + + //! Construct a TQextScintillaLexerHTML with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerHTML(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerHTML instance. + virtual ~TQextScintillaLexerHTML(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + + //! Returns TRUE if preprocessor blocks can be folded. + //! + //! \sa setFoldPreprocessor() + bool foldPreprocessor() const; + + //! Returns TRUE if tags are case sensitive. + //! + //! \sa setCaseSensitiveTags() + bool caseSensitiveTags() const; + +public slots: + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + + //! If \a fold is TRUE then preprocessor blocks can be folded. The + //! default is FALSE. + //! + //! \sa foldPreprocessor() + virtual void setFoldPreprocessor(bool fold); + + //! If \a sens is TRUE then tags are case sensitive. The default is + //! FALSE. + //! + //! \sa caseSensitiveTags() + virtual void setCaseSensitiveTags(bool sens); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCompactProp(); + void setPreprocProp(); + void setCaseSensTagsProp(); + + bool fold_compact; + bool fold_preproc; + bool case_sens_tags; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerHTML(const TQextScintillaLexerHTML &); + TQextScintillaLexerHTML &operator=(const TQextScintillaLexerHTML &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexeridl.cpp b/tqt/tqextscintillalexeridl.cpp new file mode 100644 index 0000000..49cc650 --- /dev/null +++ b/tqt/tqextscintillalexeridl.cpp @@ -0,0 +1,107 @@ +// This module implements the TQextScintillaLexerIDL class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "tqextscintillalexeridl.h" + + +// The ctor. +TQextScintillaLexerIDL::TQextScintillaLexerIDL(TQObject *parent,const char *name) + : TQextScintillaLexerCPP(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerIDL::~TQextScintillaLexerIDL() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerIDL::language() const +{ + return "IDL"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerIDL::color(int style) const +{ + if (style == UUID) + return TQColor(0x80,0x40,0x80); + + return TQextScintillaLexerCPP::color(style); +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerIDL::keywords(int set) const +{ + if (set != 1) + return 0; + + return "aggregatable allocate appobject arrays async async_uuid " + "auto_handle bindable boolean broadcast byte byte_count " + "call_as callback char coclass code comm_status const " + "context_handle context_handle_noserialize " + "context_handle_serialize control cpp_quote custom decode " + "default defaultbind defaultcollelem defaultvalue " + "defaultvtable dispinterface displaybind dllname double dual " + "enable_allocate encode endpoint entry enum error_status_t " + "explicit_handle fault_status first_is float handle_t heap " + "helpcontext helpfile helpstring helpstringcontext " + "helpstringdll hidden hyper id idempotent ignore iid_as iid_is " + "immediatebind implicit_handle import importlib in include " + "in_line int __int64 __int3264 interface last_is lcid " + "length_is library licensed local long max_is maybe message " + "methods midl_pragma midl_user_allocate midl_user_free min_is " + "module ms_union ncacn_at_dsp ncacn_dnet_nsp ncacn_http " + "ncacn_ip_tcp ncacn_nb_ipx ncacn_nb_nb ncacn_nb_tcp ncacn_np " + "ncacn_spx ncacn_vns_spp ncadg_ip_udp ncadg_ipx ncadg_mq " + "ncalrpc nocode nonbrowsable noncreatable nonextensible notify " + "object odl oleautomation optimize optional out out_of_line " + "pipe pointer_default pragma properties propget propput " + "propputref ptr public range readonly ref represent_as " + "requestedit restricted retval shape short signed size_is " + "small source strict_context_handle string struct switch " + "switch_is switch_type transmit_as typedef uidefault union " + "unique unsigned user_marshal usesgetlasterror uuid v1_enum " + "vararg version void wchar_t wire_marshal"; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerIDL::description(int style) const +{ + if (style == UUID) + return tr("UUID"); + + return TQextScintillaLexerCPP::description(style); +} + +#include "tqextscintillalexeridl.moc" diff --git a/tqt/tqextscintillalexeridl.h b/tqt/tqextscintillalexeridl.h new file mode 100644 index 0000000..d566fca --- /dev/null +++ b/tqt/tqextscintillalexeridl.h @@ -0,0 +1,73 @@ +// This defines the interface to the TQextScintillaLexerIDL class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERIDL_H +#define TQEXTSCINTILLALEXERIDL_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerIDL class encapsulates the Scintilla IDL +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerIDL : public TQextScintillaLexerCPP +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaLexerIDL with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerIDL(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerIDL instance. + virtual ~TQextScintillaLexerIDL(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerIDL(const TQextScintillaLexerIDL &); + TQextScintillaLexerIDL &operator=(const TQextScintillaLexerIDL &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerjava.cpp b/tqt/tqextscintillalexerjava.cpp new file mode 100644 index 0000000..4203a8f --- /dev/null +++ b/tqt/tqextscintillalexerjava.cpp @@ -0,0 +1,64 @@ +// This module implements the TQextScintillaLexerJava class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "tqextscintillalexerjava.h" + + +// The ctor. +TQextScintillaLexerJava::TQextScintillaLexerJava(TQObject *parent,const char *name) + : TQextScintillaLexerCPP(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerJava::~TQextScintillaLexerJava() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerJava::language() const +{ + return "Java"; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerJava::keywords(int set) const +{ + if (set != 1) + return 0; + + return "abstract assert boolean break byte case catch char class " + "const continue default do double else extends final finally " + "float for future generic goto if implements import inner " + "instanceof int interface long native new null operator outer " + "package private protected public rest return short static " + "super switch synchronized this throw throws transient try var " + "void volatile while"; +} + +#include "tqextscintillalexerjava.moc" diff --git a/tqt/tqextscintillalexerjava.h b/tqt/tqextscintillalexerjava.h new file mode 100644 index 0000000..589fe6b --- /dev/null +++ b/tqt/tqextscintillalexerjava.h @@ -0,0 +1,62 @@ +// This defines the interface to the TQextScintillaLexerJava class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERJAVA_H +#define TQEXTSCINTILLALEXERJAVA_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerJava class encapsulates the Scintilla Java +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerJava : public TQextScintillaLexerCPP +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaLexerJava with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerJava(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerJava instance. + virtual ~TQextScintillaLexerJava(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerJava(const TQextScintillaLexerJava &); + TQextScintillaLexerJava &operator=(const TQextScintillaLexerJava &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerjavascript.cpp b/tqt/tqextscintillalexerjavascript.cpp new file mode 100644 index 0000000..b51660b --- /dev/null +++ b/tqt/tqextscintillalexerjavascript.cpp @@ -0,0 +1,125 @@ +// This module implements the TQextScintillaLexerJavaScript class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "tqextscintillalexerjavascript.h" + + +// The list of JavaScript keywords that can be used by other friendly lexers. +const char *TQextScintillaLexerJavaScript::keywordClass = + "abstract boolean break byte case catch char class const continue " + "debugger default delete do double else enum export extends final " + "finally float for function goto if implements import in instanceof " + "int interface long native new package private protected public " + "return short static super switch synchronized this throw throws " + "transient try typeof var void volatile while with"; + + +// The ctor. +TQextScintillaLexerJavaScript::TQextScintillaLexerJavaScript(TQObject *parent,const char *name) + : TQextScintillaLexerCPP(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerJavaScript::~TQextScintillaLexerJavaScript() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerJavaScript::language() const +{ + return "JavaScript"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerJavaScript::color(int style) const +{ + if (style == Regex) + return TQColor(0x3f,0x7f,0x3f); + + return TQextScintillaLexerCPP::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerJavaScript::eolFill(int style) const +{ + if (style == Regex) + return TRUE; + + return TQextScintillaLexerCPP::eolFill(style); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerJavaScript::font(int style) const +{ + if (style == Regex) +#if defined(Q_OS_WIN) + return TQFont("Courier New",10); +#else + return TQFont("Bitstream Vera Sans Mono",9); +#endif + + return TQextScintillaLexerCPP::font(style); +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerJavaScript::keywords(int set) const +{ + if (set != 1) + return 0; + + return keywordClass; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerJavaScript::description(int style) const +{ + if (style == Regex) + return tr("Regular expression"); + + return TQextScintillaLexerCPP::description(style); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerJavaScript::paper(int style) const +{ + if (style == Regex) + return TQColor(0xe0,0xf0,0xff); + + return TQextScintillaLexer::paper(style); +} + +#include "tqextscintillalexerjavascript.moc" diff --git a/tqt/tqextscintillalexerjavascript.h b/tqt/tqextscintillalexerjavascript.h new file mode 100644 index 0000000..bc63c9a --- /dev/null +++ b/tqt/tqextscintillalexerjavascript.h @@ -0,0 +1,89 @@ +// This defines the interface to the TQextScintillaLexerJavaScript class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERJSCRIPT_H +#define TQEXTSCINTILLALEXERJSCRIPT_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerJavaScript class encapsulates the Scintilla +//! JavaScript lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerJavaScript : public TQextScintillaLexerCPP +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaLexerJavaScript with parent \a parent and + //! name \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerJavaScript(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerJavaScript instance. + virtual ~TQextScintillaLexerJavaScript(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + +private: + friend class TQextScintillaLexerHTML; + + static const char *keywordClass; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerJavaScript(const TQextScintillaLexerJavaScript &); + TQextScintillaLexerJavaScript &operator=(const TQextScintillaLexerJavaScript &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerlua.cpp b/tqt/tqextscintillalexerlua.cpp new file mode 100644 index 0000000..97676fd --- /dev/null +++ b/tqt/tqextscintillalexerlua.cpp @@ -0,0 +1,351 @@ +// This module implements the TQextScintillaLexerLua class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerlua.h" + + +// The ctor. +TQextScintillaLexerLua::TQextScintillaLexerLua(TQObject *parent, const char *name) + : TQextScintillaLexer(parent,name), fold_compact(TRUE) +{ +} + + +// The dtor. +TQextScintillaLexerLua::~TQextScintillaLexerLua() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerLua::language() const +{ + return "Lua"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerLua::lexer() const +{ + return "lua"; +} + + +// Return the list of characters that can start a block. +const char *TQextScintillaLexerLua::blockStart(int *style) const +{ + if (style) + *style = Operator; + + return ""; +} + + +// Return the style used for braces. +int TQextScintillaLexerLua::braceStyle() const +{ + return Operator; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerLua::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x00,0x00,0x00); + + case Comment: + case LineComment: + return TQColor(0x00,0x7f,0x00); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + case BasicFunctions: + case StringTableMathsFunctions: + case CoroutinesIOSystemFacilities: + return TQColor(0x00,0x00,0x7f); + + case String: + case Character: + case LiteralString: + return TQColor(0x7f,0x00,0x7f); + + case Preprocessor: + return TQColor(0x7f,0x7f,0x00); + + case Operator: + case Identifier: + break; + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerLua::eolFill(int style) const +{ + return (style == Comment || style == UnclosedString); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerLua::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: + case LineComment: + case LiteralString: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerLua::keywords(int set) const +{ + if (set == 1) + // Keywords. + return + "and break do else elseif end false for function if " + "in local nil not or repeat return then true until " + "while"; + + if (set == 2) + // Basic functions. + return + "_ALERT _ERRORMESSAGE _INPUT _PROMPT _OUTPUT _STDERR " + "_STDIN _STDOUT call dostring foreach foreachi getn " + "globals newtype rawget rawset require sort tinsert " + "tremove " + + "G getfenv getmetatable ipairs loadlib next pairs " + "pcall rawegal rawget rawset require setfenv " + "setmetatable xpcall string table math coroutine io " + "os debug"; + + if (set == 3) + // String, table and maths functions. + return + "abs acos asin atan atan2 ceil cos deg exp floor " + "format frexp gsub ldexp log log10 max min mod rad " + "random randomseed sin sqrt strbyte strchar strfind " + "strlen strlower strrep strsub strupper tan " + + "string.byte string.char string.dump string.find " + "string.len string.lower string.rep string.sub " + "string.upper string.format string.gfind string.gsub " + "table.concat table.foreach table.foreachi table.getn " + "table.sort table.insert table.remove table.setn " + "math.abs math.acos math.asin math.atan math.atan2 " + "math.ceil math.cos math.deg math.exp math.floor " + "math.frexp math.ldexp math.log math.log10 math.max " + "math.min math.mod math.pi math.rad math.random " + "math.randomseed math.sin math.sqrt math.tan"; + + if (set == 4) + // Coroutine, I/O and system facilities. + return + "openfile closefile readfrom writeto appendto remove " + "rename flush seek tmpfile tmpname read write clock " + "date difftime execute exit getenv setlocale time " + + "coroutine.create coroutine.resume coroutine.status " + "coroutine.wrap coroutine.yield io.close io.flush " + "io.input io.lines io.open io.output io.read " + "io.tmpfile io.type io.write io.stdin io.stdout " + "io.stderr os.clock os.date os.difftime os.execute " + "os.exit os.getenv os.remove os.rename os.setlocale " + "os.time os.tmpname"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerLua::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case LineComment: + return tr("Line comment"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case String: + return tr("String"); + + case Character: + return tr("Character"); + + case LiteralString: + return tr("Literal string"); + + case Preprocessor: + return tr("Preprocessor"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case UnclosedString: + return tr("Unclosed string"); + + case BasicFunctions: + return tr("Basic functions"); + + case StringTableMathsFunctions: + return tr("String, table and maths functions"); + + case CoroutinesIOSystemFacilities: + return tr("Coroutines, i/o and system facilities"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerLua::paper(int style) const +{ + switch (style) + { + case Comment: + return TQColor(0xd0,0xf0,0xf0); + + case LiteralString: + return TQColor(0xe0,0xff,0xff); + + case UnclosedString: + return TQColor(0xe0,0xc0,0xe0); + + case BasicFunctions: + return TQColor(0xd0,0xff,0xd0); + + case StringTableMathsFunctions: + return TQColor(0xd0,0xd0,0xff); + + case CoroutinesIOSystemFacilities: + return TQColor(0xff,0xd0,0xd0); + } + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerLua::refreshProperties() +{ + setCompactProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerLua::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerLua::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerLua::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact. +void TQextScintillaLexerLua::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerLua::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + +#include "tqextscintillalexerlua.moc" diff --git a/tqt/tqextscintillalexerlua.h b/tqt/tqextscintillalexerlua.h new file mode 100644 index 0000000..3f8ddf8 --- /dev/null +++ b/tqt/tqextscintillalexerlua.h @@ -0,0 +1,179 @@ +// This defines the interface to the TQextScintillaLexerLua class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERLUA_H +#define TQEXTSCINTILLALEXERLUA_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerLua class encapsulates the Scintilla Lua +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerLua : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Lua lexer. + enum { + //! The default. + Default = 0, + + //! A block comment. + Comment = 1, + + //! A line comment. + LineComment = 2, + + //! A number. + Number = 4, + + //! A keyword. + Keyword = 5, + + //! A string. + String = 6, + + //! A character. + Character = 7, + + //! A literal string. + LiteralString = 8, + + //! Preprocessor + Preprocessor = 9, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! The end of a line where a string is not closed. + UnclosedString = 12, + + //! Basic functions. + BasicFunctions = 13, + + //! String, table and maths functions. + StringTableMathsFunctions = 14, + + //! Coroutines, I/O and system facilities. + CoroutinesIOSystemFacilities = 15 + }; + + //! Construct a TQextScintillaLexerLua with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerLua(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerLua instance. + virtual ~TQextScintillaLexerLua(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStart(int *style = 0) const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + +public slots: + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCompactProp(); + + bool fold_compact; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerLua(const TQextScintillaLexerLua &); + TQextScintillaLexerLua &operator=(const TQextScintillaLexerLua &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexermakefile.cpp b/tqt/tqextscintillalexermakefile.cpp new file mode 100644 index 0000000..7fd81a1 --- /dev/null +++ b/tqt/tqextscintillalexermakefile.cpp @@ -0,0 +1,161 @@ +// This module implements the TQextScintillaLexerMakefile class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexermakefile.h" + + +// The ctor. +TQextScintillaLexerMakefile::TQextScintillaLexerMakefile(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerMakefile::~TQextScintillaLexerMakefile() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerMakefile::language() const +{ + return "Makefile"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerMakefile::lexer() const +{ + return "makefile"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerMakefile::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerMakefile::color(int style) const +{ + switch (style) + { + case Default: + case Operator: + return TQColor(0x00,0x00,0x00); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case Preprocessor: + return TQColor(0x7f,0x7f,0x00); + + case Variable: + return TQColor(0x00,0x00,0x80); + + case Target: + return TQColor(0xa0,0x00,0x00); + + case Error: + return TQColor(0xff,0xff,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerMakefile::eolFill(int style) const +{ + return (style == Error); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerMakefile::font(int style) const +{ + TQFont f; + + if (style == Comment) +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + else + f = TQextScintillaLexer::font(style); + + return f; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerMakefile::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case Preprocessor: + return tr("Preprocessor"); + + case Variable: + return tr("Variable"); + + case Operator: + return tr("Operator"); + + case Target: + return tr("Target"); + + case Error: + return tr("Error"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerMakefile::paper(int style) const +{ + if (style == Error) + return TQColor(0xff,0x00,0x00); + + return TQextScintillaLexer::paper(style); +} + +#include "tqextscintillalexermakefile.moc" diff --git a/tqt/tqextscintillalexermakefile.h b/tqt/tqextscintillalexermakefile.h new file mode 100644 index 0000000..99a4907 --- /dev/null +++ b/tqt/tqextscintillalexermakefile.h @@ -0,0 +1,113 @@ +// This defines the interface to the TQextScintillaLexerMakefile class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERMAKEFILE_H +#define TQEXTSCINTILLALEXERMAKEFILE_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerMakefile class encapsulates the Scintilla +//! Makefile lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerMakefile : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Makefile lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A pre-processor directive. + Preprocessor = 2, + + //! A variable. + Variable = 3, + + //! An operator. + Operator = 4, + + //! A target. + Target = 5, + + //! An error. + Error = 9 + }; + + //! Construct a TQextScintillaLexerMakefile with parent \a parent and + //! name \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerMakefile(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerMakefile instance. + virtual ~TQextScintillaLexerMakefile(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerMakefile(const TQextScintillaLexerMakefile &); + TQextScintillaLexerMakefile &operator=(const TQextScintillaLexerMakefile &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerperl.cpp b/tqt/tqextscintillalexerperl.cpp new file mode 100644 index 0000000..e9858c5 --- /dev/null +++ b/tqt/tqextscintillalexerperl.cpp @@ -0,0 +1,487 @@ +// This module implements the TQextScintillaLexerPerl class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerperl.h" + + +// The ctor. +TQextScintillaLexerPerl::TQextScintillaLexerPerl(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_compact(TRUE) +{ +} + + +// The dtor. +TQextScintillaLexerPerl::~TQextScintillaLexerPerl() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerPerl::language() const +{ + return "Perl"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerPerl::lexer() const +{ + return "perl"; +} + + +// Return the style used for braces. +int TQextScintillaLexerPerl::braceStyle() const +{ + return Operator; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerPerl::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_$@%&"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerPerl::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Error: + case Backticks: + case QuotedStringQX: + return TQColor(0xff,0xff,0x00); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case POD: + case PODVerbatim: + return TQColor(0x00,0x40,0x00); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + return TQColor(0x00,0x00,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + case SingleQuotedHereDocument: + case DoubleQuotedHereDocument: + case BacktickHereDocument: + case QuotedStringQ: + case QuotedStringQQ: + return TQColor(0x7f,0x00,0x7f); + + case Operator: + case Identifier: + case Scalar: + case Array: + case Hash: + case SymbolTable: + case Regex: + case Substitution: + case HereDocumentDelimiter: + case QuotedStringQR: + case QuotedStringQW: + return TQColor(0x00,0x00,0x00); + + case DataSection: + return TQColor(0x60,0x00,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerPerl::eolFill(int style) const +{ + switch (style) + { + case POD: + case DataSection: + case SingleQuotedHereDocument: + case DoubleQuotedHereDocument: + case BacktickHereDocument: + case PODVerbatim: + return TRUE; + } + + return FALSE; +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerPerl::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case POD: +#if defined(Q_OS_WIN) + f = TQFont("Times New Roman",11); +#else + f = TQFont("Bitstream Charter",10); +#endif + break; + + case Keyword: + case Operator: + case DoubleQuotedHereDocument: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case DoubleQuotedString: + case SingleQuotedString: + case QuotedStringQQ: + case PODVerbatim: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + case BacktickHereDocument: + f = TQextScintillaLexer::font(style); + f.setItalic(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerPerl::keywords(int set) const +{ + if (set == 1) + return + "NULL __FILE__ __LINE__ __PACKAGE__ __DATA__ __END__ " + "AUTOLOAD BEGIN CORE DESTROY END EQ GE GT INIT LE LT " + "NE CHECK abs accept alarm and atan2 bind binmode " + "bless caller chdir chmod chomp chop chown chr chroot " + "close closedir cmp connect continue cos crypt " + "dbmclose dbmopen defined delete die do dump each " + "else elsif endgrent endhostent endnetent endprotoent " + "endpwent endservent eof eq eval exec exists exit exp " + "fcntl fileno flock for foreach fork format formline " + "ge getc getgrent getgrgid getgrnam gethostbyaddr " + "gethostbyname gethostent getlogin getnetbyaddr " + "getnetbyname getnetent getpeername getpgrp getppid " + "getpriority getprotobyname getprotobynumber " + "getprotoent getpwent getpwnam getpwuid getservbyname " + "getservbyport getservent getsockname getsockopt glob " + "gmtime goto grep gt hex if index int ioctl join keys " + "kill last lc lcfirst le length link listen local " + "localtime lock log lstat lt m map mkdir msgctl " + "msgget msgrcv msgsnd my ne next no not oct open " + "opendir or ord our pack package pipe pop pos print " + "printf prototype push q qq qr quotemeta qu qw qx " + "rand read readdir readline readlink readpipe recv " + "redo ref rename require reset return reverse " + "rewinddir rindex rmdir s scalar seek seekdir select " + "semctl semget semop send setgrent sethostent " + "setnetent setpgrp setpriority setprotoent setpwent " + "setservent setsockopt shift shmctl shmget shmread " + "shmwrite shutdown sin sleep socket socketpair sort " + "splice split sprintf sqrt srand stat study sub " + "substr symlink syscall sysopen sysread sysseek " + "system syswrite tell telldir tie tied time times tr " + "truncate uc ucfirst umask undef unless unlink unpack " + "unshift untie until use utime values vec wait " + "waitpid wantarray warn while write x xor y"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerPerl::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Error: + return tr("Error"); + + case Comment: + return tr("Comment"); + + case POD: + return tr("POD"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case Scalar: + return tr("Scalar"); + + case Array: + return tr("Array"); + + case Hash: + return tr("Hash"); + + case SymbolTable: + return tr("Symbol table"); + + case Regex: + return tr("Regular expression"); + + case Substitution: + return tr("Substitution"); + + case Backticks: + return tr("Backticks"); + + case DataSection: + return tr("Data section"); + + case HereDocumentDelimiter: + return tr("Here document delimiter"); + + case SingleQuotedHereDocument: + return tr("Single-quoted here document"); + + case DoubleQuotedHereDocument: + return tr("Double-quoted here document"); + + case BacktickHereDocument: + return tr("Backtick here document"); + + case QuotedStringQ: + return tr("Quoted string (q)"); + + case QuotedStringQQ: + return tr("Quoted string (qq)"); + + case QuotedStringQX: + return tr("Quoted string (qx)"); + + case QuotedStringQR: + return tr("Quoted string (qr)"); + + case QuotedStringQW: + return tr("Quoted string (qw)"); + + case PODVerbatim: + return tr("POD verbatim"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerPerl::paper(int style) const +{ + switch (style) + { + case Error: + return TQColor(0xff,0x00,0x00); + + case POD: + return TQColor(0xe0,0xff,0xe0); + + case Scalar: + return TQColor(0xff,0xe0,0xe0); + + case Array: + return TQColor(0xff,0xff,0xe0); + + case Hash: + return TQColor(0xff,0xe0,0xff); + + case SymbolTable: + return TQColor(0xe0,0xe0,0xe0); + + case Regex: + return TQColor(0xa0,0xff,0xa0); + + case Substitution: + return TQColor(0xf0,0xe0,0x80); + + case Backticks: + return TQColor(0xa0,0x80,0x80); + + case DataSection: + return TQColor(0xff,0xf0,0xd8); + + case HereDocumentDelimiter: + case SingleQuotedHereDocument: + case DoubleQuotedHereDocument: + case BacktickHereDocument: + return TQColor(0xdd,0xd0,0xdd); + + case PODVerbatim: + return TQColor(0xc0,0xff,0xc0); + } + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerPerl::refreshProperties() +{ + setCommentProp(); + setCompactProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerPerl::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerPerl::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerPerl::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerPerl::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerPerl::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerPerl::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerPerl::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerPerl::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + +#include "tqextscintillalexerperl.moc" diff --git a/tqt/tqextscintillalexerperl.h b/tqt/tqextscintillalexerperl.h new file mode 100644 index 0000000..a359c0d --- /dev/null +++ b/tqt/tqextscintillalexerperl.h @@ -0,0 +1,232 @@ +// This defines the interface to the TQextScintillaLexerPerl class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERPERL_H +#define TQEXTSCINTILLALEXERPERL_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerPerl class encapsulates the Scintilla Perl +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerPerl : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Perl lexer. + enum { + //! The default. + Default = 0, + + //! \deprecated White space. + WhiteSpace = Default, + + //! An error. + Error = 1, + + //! A comment. + Comment = 2, + + //! A POD. + POD = 3, + + //! A number. + Number = 4, + + //! A keyword. + Keyword = 5, + + //! A double-quoted string. + DoubleQuotedString = 6, + + //! A single-quoted string. + SingleQuotedString = 7, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! A scalar. + Scalar = 12, + + //! An array. + Array = 13, + + //! A hash. + Hash = 14, + + //! A symbol table. + SymbolTable = 15, + + //! A regular expression. + Regex = 17, + + //! A substitution. + Substitution = 18, + + //! Backticks. + Backticks = 20, + + //! A data section. + DataSection = 21, + + //! A here document delimiter. + HereDocumentDelimiter = 22, + + //! A single quoted here document. + SingleQuotedHereDocument = 23, + + //! A double quoted here document. + DoubleQuotedHereDocument = 24, + + //! A backtick here document. + BacktickHereDocument = 25, + + //! A quoted string (q). + QuotedStringQ = 26, + + //! A quoted string (qq). + QuotedStringQQ = 27, + + //! A quoted string (qx). + QuotedStringQX = 28, + + //! A quoted string (qr). + QuotedStringQR = 29, + + //! A quoted string (qw). + QuotedStringQW = 30, + + //! A verbatim POD. + PODVerbatim = 31 + }; + + //! Construct a TQextScintillaLexerPerl with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerPerl(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerPerl instance. + virtual ~TQextScintillaLexerPerl(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + +public slots: + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setCompactProp(); + + bool fold_comments; + bool fold_compact; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerPerl(const TQextScintillaLexerPerl &); + TQextScintillaLexerPerl &operator=(const TQextScintillaLexerPerl &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerpov.cpp b/tqt/tqextscintillalexerpov.cpp new file mode 100644 index 0000000..da75b4f --- /dev/null +++ b/tqt/tqextscintillalexerpov.cpp @@ -0,0 +1,493 @@ +// This module implements the TQextScintillaLexerPOV class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerpov.h" + + +// The ctor. +TQextScintillaLexerPOV::TQextScintillaLexerPOV(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_compact(TRUE), fold_directives(FALSE) +{ +} + + +// The dtor. +TQextScintillaLexerPOV::~TQextScintillaLexerPOV() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerPOV::language() const +{ + return "POV"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerPOV::lexer() const +{ + return "pov"; +} + + +// Return the style used for braces. +int TQextScintillaLexerPOV::braceStyle() const +{ + return Operator; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerPOV::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_#"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerPOV::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0xff,0x00,0x80); + + case Comment: + case CommentLine: + return TQColor(0x00,0x7f,0x00); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Operator: + return TQColor(0x00,0x00,0x00); + + case String: + return TQColor(0x7f,0x00,0x7f); + + case Directive: + return TQColor(0x7f,0x7f,0x00); + + case BadDirective: + return TQColor(0x80,0x40,0x20); + + case ObjectsCSGAppearance: + case TypesModifiersItems: + case PredefinedIdentifiers: + case PredefinedFunctions: + case KeywordSet6: + case KeywordSet7: + case KeywordSet8: + return TQColor(0x00,0x00,0x7f); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerPOV::eolFill(int style) const +{ + return (style == UnclosedString); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerPOV::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: + case CommentLine: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case UnclosedString: + case PredefinedIdentifiers: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case BadDirective: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + f.setItalic(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerPOV::keywords(int set) const +{ + if (set == 1) + return + "declare local include undef fopen fclose read write " + "default version case range break debug error " + "warning if ifdef ifndef switch while macro else end"; + + if (set == 2) + return + "camera light_source light_group object blob sphere " + "cylinder box cone height_field julia_fractal lathe " + "prism sphere_sweep superellipsoid sor text torus " + "bicubic_patch disc mesh mesh2 polygon triangle " + "smooth_triangle plane poly cubic quartic quadric " + "isosurface parametric union intersection difference " + "merge function array spline vertex_vectors " + "normal_vectors uv_vectors face_indices " + "normal_indices uv_indices texture texture_list " + "interior_texture texture_map material_map image_map " + "color_map colour_map pigment_map normal_map " + "slope_map bump_map density_map pigment normal " + "material interior finish reflection irid slope " + "pigment_pattern image_pattern warp media scattering " + "density background fog sky_sphere rainbow " + "global_settings radiosity photons pattern transform " + "looks_like projected_through contained_by " + "clipped_by bounded_by"; + + if (set == 3) + return + "linear_spline quadratic_spline cubic_spline " + "natural_spline bezier_spline b_spline read write " + "append inverse open perspective orthographic " + "fisheye ultra_wide_angle omnimax panoramic " + "spherical spotlight jitter circular orient " + "media_attenuation media_interaction shadowless " + "parallel refraction collect pass_through " + "global_lights hierarchy sturm smooth gif tga iff " + "pot png pgm ppm jpeg tiff sys ttf quaternion " + "hypercomplex linear_sweep conic_sweep type " + "all_intersections split_union cutaway_textures " + "no_shadow no_image no_reflection double_illuminate " + "hollow uv_mapping all use_index use_color " + "use_colour no_bump_scale conserve_energy fresnel " + "average agate boxed bozo bumps cells crackle " + "cylindrical density_file dents facets granite " + "leopard marble onion planar quilted radial ripples " + "spotted waves wood wrinkles solid use_alpha " + "interpolate magnet noise_generator toroidal " + "ramp_wave triangle_wave sine_wave scallop_wave " + "cubic_wave poly_wave once map_type method fog_type " + "hf_gray_16 charset ascii utf8 rotate scale " + "translate matrix location right up direction sky " + "angle look_at aperture blur_samples focal_point " + "confidence variance radius falloff tightness " + "point_at area_light adaptive fade_distance " + "fade_power threshold strength water_level tolerance " + "max_iteration precision slice u_steps v_steps " + "flatness inside_vector accuracy max_gradient " + "evaluate max_trace precompute target ior dispersion " + "dispersion_samples caustics color colour rgb rgbf " + "rgbt rgbft red green blue filter transmit gray hf " + "fade_color fade_colour quick_color quick_colour " + "brick checker hexagon brick_size mortar bump_size " + "ambient diffuse brilliance crand phong phong_size " + "metallic specular roughness reflection_exponent " + "exponent thickness gradient spiral1 spiral2 " + "agate_turb form metric offset df3 coords size " + "mandel exterior julia control0 control1 altitude " + "turbulence octaves omega lambda repeat flip " + "black-hole orientation dist_exp major_radius " + "frequency phase intervals samples ratio absorption " + "emission aa_threshold aa_level eccentricity " + "extinction distance turb_depth fog_offset fog_alt " + "width arc_angle falloff_angle adc_bailout " + "ambient_light assumed_gamma irid_wavelength " + "number_of_waves always_sample brigthness count " + "error_bound gray_threshold load_file " + "low_error_factor max_sample minimum_reuse " + "nearest_count pretrace_end pretrace_start " + "recursion_limit save_file spacing gather " + "max_trace_level autostop expand_thresholds"; + + if (set == 4) + return + "x y z t u v yes no true false on off clock " + "clock_delta clock_on final_clock final_frame " + "frame_number image_height image_width initial_clock " + "initial_frame pi version"; + + if (set == 5) + return + "abs acos acosh asc asin asinh atan atanh atan2 ceil " + "cos cosh defined degrees dimensions dimension_size " + "div exp file_exists floor inside int ln log max min " + "mod pow prod radians rand seed select sin sinh sqrt " + "strcmp strlen sum tan tanh val vdot vlength " + "min_extent max_extent trace vaxis_rotate vcross " + "vrotate vnormalize vturbulence chr concat str " + "strlwr strupr substr vstr sqr cube reciprocal pwr"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerPOV::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case CommentLine: + return tr("Comment line"); + + case Number: + return tr("Number"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case String: + return tr("String"); + + case UnclosedString: + return tr("Unclosed string"); + + case Directive: + return tr("Directive"); + + case BadDirective: + return tr("Bad directive"); + + case ObjectsCSGAppearance: + return tr("Objects, CSG and appearance"); + + case TypesModifiersItems: + return tr("Types, modifiers and items"); + + case PredefinedIdentifiers: + return tr("Predefined identifiers"); + + case PredefinedFunctions: + return tr("Predefined functions"); + + case KeywordSet6: + return tr("User defined 1"); + + case KeywordSet7: + return tr("User defined 2"); + + case KeywordSet8: + return tr("User defined 3"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerPOV::paper(int style) const +{ + switch (style) + { + case UnclosedString: + return TQColor(0xe0,0xc0,0xe0); + + case ObjectsCSGAppearance: + return TQColor(0xff,0xd0,0xd0); + + case TypesModifiersItems: + return TQColor(0xff,0xff,0xd0); + + case PredefinedFunctions: + return TQColor(0xd0,0xd0,0xff); + + case KeywordSet6: + return TQColor(0xd0,0xff,0xd0); + + case KeywordSet7: + return TQColor(0xd0,0xd0,0xd0); + + case KeywordSet8: + return TQColor(0xe0,0xe0,0xe0); + } + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerPOV::refreshProperties() +{ + setCommentProp(); + setCompactProp(); + setDirectiveProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerPOV::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + // Read the fold directives flag. + flag = qs.readBoolEntry(prefix + "folddirectives",FALSE,&ok); + + if (ok) + fold_directives = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerPOV::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + // Write the fold directives flag. + if (!qs.writeEntry(prefix + "folddirectives",fold_directives)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerPOV::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerPOV::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerPOV::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerPOV::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerPOV::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerPOV::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + + +// Return TRUE if directives can be folded. +bool TQextScintillaLexerPOV::foldDirectives() const +{ + return fold_directives; +} + + +// Set if directives can be folded. +void TQextScintillaLexerPOV::setFoldDirectives(bool fold) +{ + fold_directives = fold; + + setDirectiveProp(); +} + + +// Set the "fold.directive" property. +void TQextScintillaLexerPOV::setDirectiveProp() +{ + emit propertyChanged("fold.directive",(fold_directives ? "1" : "0")); +} + +#include "tqextscintillalexerpov.moc" diff --git a/tqt/tqextscintillalexerpov.h b/tqt/tqextscintillalexerpov.h new file mode 100644 index 0000000..d1ef6b2 --- /dev/null +++ b/tqt/tqextscintillalexerpov.h @@ -0,0 +1,215 @@ +// This defines the interface to the TQextScintillaLexerPOV class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERPOV_H +#define TQEXTSCINTILLALEXERPOV_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerPOV class encapsulates the Scintilla POV +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerPOV : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! POV lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A comment line. + CommentLine = 2, + + //! A number. + Number = 3, + + //! An operator. + Operator = 4, + + //! An identifier + Identifier = 5, + + //! A string. + String = 6, + + //! The end of a line where a string is not closed. + UnclosedString = 7, + + //! A directive. + Directive = 8, + + //! A bad directive. + BadDirective = 9, + + //! Objects, CSG and appearance. + ObjectsCSGAppearance = 10, + + //! Types, modifiers and items. + TypesModifiersItems = 11, + + //! Predefined identifiers. + PredefinedIdentifiers = 12, + + //! Predefined identifiers. + PredefinedFunctions = 13, + + //! A keyword defined in keyword set number 6. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet6 = 14, + + //! A keyword defined in keyword set number 7. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet7 = 15, + + //! A keyword defined in keyword set number 8. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet8 = 16 + }; + + //! Construct a TQextScintillaLexerPOV with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerPOV(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerPOV instance. + virtual ~TQextScintillaLexerPOV(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + + //! Returns TRUE if directives can be folded. + //! + //! \sa setFoldDirectives() + bool foldDirectives() const; + +public slots: + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + + //! If \a fold is TRUE then directives can be folded. The default is + //! FALSE. + //! + //! \sa foldDirectives() + virtual void setFoldDirectives(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setCompactProp(); + void setDirectiveProp(); + + bool fold_comments; + bool fold_compact; + bool fold_directives; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerPOV(const TQextScintillaLexerPOV &); + TQextScintillaLexerPOV &operator=(const TQextScintillaLexerPOV &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerproperties.cpp b/tqt/tqextscintillalexerproperties.cpp new file mode 100644 index 0000000..1acc9c6 --- /dev/null +++ b/tqt/tqextscintillalexerproperties.cpp @@ -0,0 +1,209 @@ +// This module implements the TQextScintillaLexerProperties class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerproperties.h" + + +// The ctor. +TQextScintillaLexerProperties::TQextScintillaLexerProperties(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name), fold_compact(TRUE) +{ +} + + +// The dtor. +TQextScintillaLexerProperties::~TQextScintillaLexerProperties() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerProperties::language() const +{ + return "Properties"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerProperties::lexer() const +{ + return "props"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerProperties::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerProperties::color(int style) const +{ + switch (style) + { + case Comment: + return TQColor(0x00,0x7f,0x7f); + + case Section: + return TQColor(0x7f,0x00,0x7f); + + case Assignment: + return TQColor(0xb0,0x60,0x00); + + case DefaultValue: + return TQColor(0x7f,0x7f,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerProperties::eolFill(int style) const +{ + return (style == Section); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerProperties::font(int style) const +{ + TQFont f; + + if (style == Comment) +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + else + f = TQextScintillaLexer::font(style); + + return f; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerProperties::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case Section: + return tr("Section"); + + case Assignment: + return tr("Assignment"); + + case DefaultValue: + return tr("Default value"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerProperties::paper(int style) const +{ + if (style == Section) + return TQColor(0xe0,0xf0,0xf0); + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerProperties::refreshProperties() +{ + setCompactProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerProperties::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerProperties::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerProperties::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerProperties::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerProperties::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + +#include "tqextscintillalexerproperties.moc" diff --git a/tqt/tqextscintillalexerproperties.h b/tqt/tqextscintillalexerproperties.h new file mode 100644 index 0000000..b95189c --- /dev/null +++ b/tqt/tqextscintillalexerproperties.h @@ -0,0 +1,142 @@ +// This defines the interface to the TQextScintillaLexerProperties class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERPROPERTIES_H +#define TQEXTSCINTILLALEXERPROPERTIES_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerProperties class encapsulates the Scintilla +//! Properties lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerProperties : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Properties lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A section. + Section = 2, + + //! An assignment operator. + Assignment = 3, + + //! A default value. + DefaultValue = 4 + }; + + //! Construct a TQextScintillaLexerProperties with parent \a parent and + //! name \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerProperties(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerProperties instance. + virtual ~TQextScintillaLexerProperties(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + +public slots: + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + //! \sa writeProperties() + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + //! \sa readProperties() + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCompactProp(); + + bool fold_compact; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerProperties(const TQextScintillaLexerProperties &); + TQextScintillaLexerProperties &operator=(const TQextScintillaLexerProperties &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerpython.cpp b/tqt/tqextscintillalexerpython.cpp new file mode 100644 index 0000000..c1962f0 --- /dev/null +++ b/tqt/tqextscintillalexerpython.cpp @@ -0,0 +1,412 @@ +// This module implements the TQextScintillaLexerPython class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerpython.h" + + +// The list of Python keywords that can be used by other friendly lexers. +const char *TQextScintillaLexerPython::keywordClass = + "and assert break class continue def del elif else except exec " + "finally for from global if import in is lambda None not or pass " + "print raise return try while yield"; + + +// The ctor. +TQextScintillaLexerPython::TQextScintillaLexerPython(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_quotes(FALSE), indent_warn(NoWarning) +{ +} + + +// The dtor. +TQextScintillaLexerPython::~TQextScintillaLexerPython() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerPython::language() const +{ + return "Python"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerPython::lexer() const +{ + return "python"; +} + + +// Return the set of characters that can start autocompletion. +const char *TQextScintillaLexerPython::autoCompletionStartCharacters() const +{ + return "."; +} + + +// Return the list of characters that can start a block. +const char *TQextScintillaLexerPython::blockStart(int *style) const +{ + if (style) + *style = Operator; + + return ":"; +} + + +// Return the number of lines to look back when auto-indenting. +int TQextScintillaLexerPython::blockLookback() const +{ + // This must be 0 otherwise de-indenting a Python block gets very + // difficult. + return 0; +} + + +// Return the style used for braces. +int TQextScintillaLexerPython::braceStyle() const +{ + return Operator; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerPython::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + return TQColor(0x7f,0x00,0x7f); + + case Keyword: + return TQColor(0x00,0x00,0x7f); + + case TripleSingleQuotedString: + case TripleDoubleQuotedString: + return TQColor(0x7f,0x00,0x00); + + case ClassName: + return TQColor(0x00,0x00,0xff); + + case FunctionMethodName: + return TQColor(0x00,0x7f,0x7f); + + case Operator: + case Identifier: + break; + + case CommentBlock: + return TQColor(0x7f,0x7f,0x7f); + + case UnclosedString: + return TQColor(0x00,0x00,0x00); + + case HighlightedIdentifier: + return TQColor(0x40,0x70,0x90); + + case Decorator: + return TQColor(0x80,0x50,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerPython::eolFill(int style) const +{ + return (style == UnclosedString); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerPython::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case DoubleQuotedString: + case SingleQuotedString: + case UnclosedString: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + case Keyword: + case ClassName: + case FunctionMethodName: + case Operator: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerPython::keywords(int set) const +{ + if (set != 1) + return 0; + + return keywordClass; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerPython::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case Number: + return tr("Number"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case Keyword: + return tr("Keyword"); + + case TripleSingleQuotedString: + return tr("Triple single-quoted string"); + + case TripleDoubleQuotedString: + return tr("Triple double-quoted string"); + + case ClassName: + return tr("Class name"); + + case FunctionMethodName: + return tr("Function or method name"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case CommentBlock: + return tr("Comment block"); + + case UnclosedString: + return tr("Unclosed string"); + + case HighlightedIdentifier: + return tr("Highlighted identifier"); + + case Decorator: + return tr("Decorator"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerPython::paper(int style) const +{ + if (style == UnclosedString) + return TQColor(0xe0,0xc0,0xe0); + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerPython::refreshProperties() +{ + setCommentProp(); + setQuotesProp(); + setTabWhingeProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerPython::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE, num; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold quotes flag. + flag = qs.readBoolEntry(prefix + "foldquotes",FALSE,&ok); + + if (ok) + fold_quotes = flag; + else + rc = FALSE; + + // Read the indentation warning. + num = qs.readNumEntry(prefix + "indentwarning",(int)NoWarning,&ok); + + if (ok) + indent_warn = (IndentationWarning)num; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerPython::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold quotes flag. + if (!qs.writeEntry(prefix + "foldquotes",fold_quotes)) + rc = FALSE; + + // Write the indentation warning. + if (!qs.writeEntry(prefix + "indentwarning",(int)indent_warn)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerPython::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerPython::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment.python" property. +void TQextScintillaLexerPython::setCommentProp() +{ + emit propertyChanged("fold.comment.python",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if quotes can be folded. +bool TQextScintillaLexerPython::foldQuotes() const +{ + return fold_quotes; +} + + +// Set if quotes can be folded. +void TQextScintillaLexerPython::setFoldQuotes(bool fold) +{ + fold_quotes = fold; + + setQuotesProp(); +} + + +// Set the "fold.quotes.python" property. +void TQextScintillaLexerPython::setQuotesProp() +{ + emit propertyChanged("fold.quotes.python",(fold_quotes ? "1" : "0")); +} + + +// Return the indentation warning. +TQextScintillaLexerPython::IndentationWarning TQextScintillaLexerPython::indentationWarning() const +{ + return indent_warn; +} + + +// Set the indentation warning. +void TQextScintillaLexerPython::setIndentationWarning(IndentationWarning warn) +{ + indent_warn = warn; + + setTabWhingeProp(); +} + + +// Set the "tab.timmy.whinge.level" property. +void TQextScintillaLexerPython::setTabWhingeProp() +{ + emit propertyChanged("tab.timmy.whinge.level",TQString::number(indent_warn).latin1()); +} + +#include "tqextscintillalexerpython.moc" diff --git a/tqt/tqextscintillalexerpython.h b/tqt/tqextscintillalexerpython.h new file mode 100644 index 0000000..5d93f73 --- /dev/null +++ b/tqt/tqextscintillalexerpython.h @@ -0,0 +1,245 @@ +// This defines the interface to the TQextScintillaLexerPython class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERPYTHON_H +#define TQEXTSCINTILLALEXERPYTHON_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerPython class encapsulates the Scintilla Python +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerPython : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Python lexer. + enum { + //! The default. + Default = 0, + + //! \deprecated White space. + WhiteSpace = Default, + + //! A comment. + Comment = 1, + + //! A number. + Number = 2, + + //! A double-quoted string. + DoubleQuotedString = 3, + + //! A single-quoted string. + SingleQuotedString = 4, + + //! A keyword. + Keyword = 5, + + //! A triple single-quoted string. + TripleSingleQuotedString = 6, + + //! A triple double-quoted string. + TripleDoubleQuotedString = 7, + + //! The name of a class. + ClassName = 8, + + //! The name of a function or method. + FunctionMethodName = 9, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! A comment block. + CommentBlock = 12, + + //! The end of a line where a string is not closed. + UnclosedString = 13, + + //! A highlighted identifier. These are defined by keyword set + //! 2. Reimplement keywords() to define keyword set 2. + HighlightedIdentifier = 14, + + //! A decorator. + Decorator = 15 + }; + + //! This enum defines the different conditions that can cause + //! indentations to be displayed as being bad. + enum IndentationWarning { + //! Bad indentation is not displayed differently. + NoWarning = 0, + + //! The indentation is inconsistent when compared to the + //! previous line, ie. it is made up of a different combination + //! of tabs and/or spaces. + Inconsistent = 1, + + //! The indentation is made up of spaces followed by tabs. + TabsAfterSpaces = 2, + + //! The indentation contains spaces. + Spaces = 3, + + //! The indentation contains tabs. + Tabs = 4 + }; + + //! Construct a TQextScintillaLexerPython with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerPython(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerPython instance. + virtual ~TQextScintillaLexerPython(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the characters that can start auto-completion. + const char *autoCompletionStartCharacters() const; + + //! \internal Returns the number of lines prior to the current one when + //! determining the scope of a block when auto-indenting. + int blockLookback() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStart(int *style = 0) const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if indented comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if triple quoted strings can be folded. + //! + //! \sa setFoldQuotes() + bool foldQuotes() const; + + //! Returns the condition that will cause bad indentations to be + //! displayed. + //! + //! \sa setIndentationWarning() + IndentationWarning indentationWarning() const; + +public slots: + //! If \a fold is TRUE then indented comment blocks can be folded. The + //! default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then triple quoted strings can be folded. The + //! default is FALSE. + //! + //! \sa foldQuotes() + virtual void setFoldQuotes(bool fold); + + //! Sets the condition that will cause bad indentations to be + //! displayed. + //! + //! \sa indentationWarning() + virtual void setIndentationWarning(IndentationWarning warn); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setQuotesProp(); + void setTabWhingeProp(); + + bool fold_comments; + bool fold_quotes; + IndentationWarning indent_warn; + + friend class TQextScintillaLexerHTML; + + static const char *keywordClass; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerPython(const TQextScintillaLexerPython &); + TQextScintillaLexerPython &operator=(const TQextScintillaLexerPython &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexerruby.cpp b/tqt/tqextscintillalexerruby.cpp new file mode 100644 index 0000000..a6bca4e --- /dev/null +++ b/tqt/tqextscintillalexerruby.cpp @@ -0,0 +1,385 @@ +// This module implements the TQextScintillaLexerRuby class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexerruby.h" + + +// The ctor. +TQextScintillaLexerRuby::TQextScintillaLexerRuby(TQObject *parent, + const char *name) + : TQextScintillaLexer(parent, name) +{ +} + + +// The dtor. +TQextScintillaLexerRuby::~TQextScintillaLexerRuby() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerRuby::language() const +{ + return "Ruby"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerRuby::lexer() const +{ + return "ruby"; +} + + +// Return the list of words that can start a block. +const char *TQextScintillaLexerRuby::blockStart(int *style) const +{ + if (style) + *style = Keyword; + + return "do"; +} + + +// Return the list of words that can start end a block. +const char *TQextScintillaLexerRuby::blockEnd(int *style) const +{ + if (style) + *style = Keyword; + + return "end"; +} + + +// Return the list of words that can start end a block. +const char *TQextScintillaLexerRuby::blockStartKeyword(int *style) const +{ + if (style) + *style = Keyword; + + return "def class if do elsif else case while for"; +} + + +// Return the style used for braces. +int TQextScintillaLexerRuby::braceStyle() const +{ + return Operator; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerRuby::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Comment: + return TQColor(0x00,0x7f,0x00); + + case POD: + return TQColor(0x00,0x40,0x00); + + case Number: + case FunctionMethodName: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + case DemotedKeyword: + return TQColor(0x00,0x00,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + case HereDocument: + case PercentStringq: + case PercentStringQ: + return TQColor(0x7f,0x00,0x7f); + + case ClassName: + return TQColor(0x00,0x00,0xff); + + case Regex: + case HereDocumentDelimiter: + case PercentStringr: + case PercentStringw: + return TQColor(0x00,0x00,0x00); + + case Global: + return TQColor(0x80,0x00,0x80); + + case Symbol: + return TQColor(0xc0,0xa0,0x30); + + case ModuleName: + return TQColor(0xa0,0x00,0xa0); + + case InstanceVariable: + return TQColor(0xb0,0x00,0x80); + + case ClassVariable: + return TQColor(0x80,0x00,0xb0); + + case Backticks: + case PercentStringx: + return TQColor(0xff,0xff,0x00); + + case DataSection: + return TQColor(0x60,0x00,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerRuby::eolFill(int style) const +{ + bool fill; + + switch (style) + { + case POD: + case DataSection: + case HereDocument: + fill = true; + break; + + default: + fill = false; + } + + return fill; +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerRuby::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case POD: + case DoubleQuotedString: + case SingleQuotedString: + case PercentStringq: + case PercentStringQ: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + case Keyword: + case ClassName: + case FunctionMethodName: + case Operator: + case ModuleName: + case DemotedKeyword: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerRuby::keywords(int set) const +{ + if (set == 1) + return + "__FILE__ and def end in or self unless __LINE__ " + "begin defined? ensure module redo super until BEGIN " + "break do false next rescue then when END case else " + "for nil require retry true while alias class elsif " + "if not return undef yield"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerRuby::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Error: + return tr("Error"); + + case Comment: + return tr("Comment"); + + case POD: + return tr("POD"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case ClassName: + return tr("Class name"); + + case FunctionMethodName: + return tr("Function or method name"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case Regex: + return tr("Regular expression"); + + case Global: + return tr("Global"); + + case Symbol: + return tr("Symbol"); + + case ModuleName: + return tr("Module name"); + + case InstanceVariable: + return tr("Instance variable"); + + case ClassVariable: + return tr("Class variable"); + + case Backticks: + return tr("Backticks"); + + case DataSection: + return tr("Data section"); + + case HereDocumentDelimiter: + return tr("Here document delimiter"); + + case HereDocument: + return tr("Here document"); + + case PercentStringq: + return tr("%q string"); + + case PercentStringQ: + return tr("%Q string"); + + case PercentStringx: + return tr("%x string"); + + case PercentStringr: + return tr("%r string"); + + case PercentStringw: + return tr("%w string"); + + case DemotedKeyword: + return tr("Demoted keyword"); + + case Stdin: + return tr("stdin"); + + case Stdout: + return tr("stdout"); + + case Stderr: + return tr("stderr"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerRuby::paper(int style) const +{ + switch (style) + { + case Error: + return TQColor(0xff,0x00,0x00); + + case POD: + return TQColor(0xc0,0xff,0xc0); + + case Regex: + case PercentStringr: + return TQColor(0xa0,0xff,0xa0); + + case Backticks: + case PercentStringx: + return TQColor(0xa0,0x80,0x80); + + case DataSection: + return TQColor(0xff,0xf0,0xd8); + + case HereDocumentDelimiter: + case HereDocument: + return TQColor(0xdd,0xd0,0xdd); + + case PercentStringw: + return TQColor(0xff,0xff,0xe0); + + case Stdin: + case Stdout: + case Stderr: + return TQColor(0xff,0x80,0x80); + } + + return TQextScintillaLexer::paper(style); +} + +#include "tqextscintillalexerruby.moc" diff --git a/tqt/tqextscintillalexerruby.h b/tqt/tqextscintillalexerruby.h new file mode 100644 index 0000000..c4a427a --- /dev/null +++ b/tqt/tqextscintillalexerruby.h @@ -0,0 +1,204 @@ +// This defines the interface to the TQextScintillaLexerRuby class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERRUBY_H +#define TQEXTSCINTILLALEXERRUBY_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerRuby class encapsulates the Scintilla Ruby +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerRuby : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! Ruby lexer. + enum { + //! The default. + Default = 0, + + //! An error. + Error = 1, + + //! A comment. + Comment = 2, + + //! A POD. + POD = 3, + + //! A number. + Number = 4, + + //! A keyword. + Keyword = 5, + + //! A double-quoted string. + DoubleQuotedString = 6, + + //! A single-quoted string. + SingleQuotedString = 7, + + //! The name of a class. + ClassName = 8, + + //! The name of a function or method. + FunctionMethodName = 9, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! A regular expression. + Regex = 12, + + //! A global. + Global = 13, + + //! A symbol. + Symbol = 14, + + //! The name of a module. + ModuleName = 15, + + //! An instance variable. + InstanceVariable = 16, + + //! A class variable. + ClassVariable = 17, + + //! Backticks. + Backticks = 18, + + //! A data section. + DataSection = 19, + + //! A here document delimiter. + HereDocumentDelimiter = 20, + + //! A here document. + HereDocument = 21, + + //! A %q string. + PercentStringq = 24, + + //! A %Q string. + PercentStringQ = 25, + + //! A %x string. + PercentStringx = 26, + + //! A %r string. + PercentStringr = 27, + + //! A %w string. + PercentStringw = 28, + + //! A demoted keyword. + DemotedKeyword = 29, + + //! stdin. + Stdin = 30, + + //! stdout. + Stdout = 31, + + //! stderr. + Stderr = 40 + }; + + //! Construct a TQextScintillaLexerRuby with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerRuby(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerRuby instance. + virtual ~TQextScintillaLexerRuby(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the end of a block for + //! auto-indentation. The style is returned via \a style. + const char *blockEnd(int *style = 0) const; + + //! \internal Returns a space separated list of words or characters in + //! a particular style that define the start of a block for + //! auto-indentation. The styles is returned via \a style. + const char *blockStart(int *style = 0) const; + + //! \internal Returns a space separated list of keywords in a + //! particular style that define the start of a block for + //! auto-indentation. The style is returned via \a style. + const char *blockStartKeyword(int *style = 0) const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerRuby(const TQextScintillaLexerRuby &); + TQextScintillaLexerRuby &operator=(const TQextScintillaLexerRuby &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexersql.cpp b/tqt/tqextscintillalexersql.cpp new file mode 100644 index 0000000..7d296ea --- /dev/null +++ b/tqt/tqextscintillalexersql.cpp @@ -0,0 +1,457 @@ +// This module implements the TQextScintillaLexerSQL class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexersql.h" + + +// The ctor. +TQextScintillaLexerSQL::TQextScintillaLexerSQL(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name), fold_comments(FALSE), + fold_compact(TRUE), backslash_escapes(FALSE) +{ +} + + +// The dtor. +TQextScintillaLexerSQL::~TQextScintillaLexerSQL() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerSQL::language() const +{ + return "SQL"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerSQL::lexer() const +{ + return "sql"; +} + + +// Return the style used for braces. +int TQextScintillaLexerSQL::braceStyle() const +{ + return Operator; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerSQL::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x80,0x80,0x80); + + case Comment: + case CommentLine: + case PlusPrompt: + case PlusComment: + case CommentLineHash: + return TQColor(0x00,0x7f,0x00); + + case CommentDoc: + return TQColor(0x7f,0x7f,0x7f); + + case Number: + return TQColor(0x00,0x7f,0x7f); + + case Keyword: + return TQColor(0x00,0x00,0x7f); + + case DoubleQuotedString: + case SingleQuotedString: + return TQColor(0x7f,0x00,0x7f); + + case PlusKeyword: + return TQColor(0x7f,0x7f,0x00); + + case Operator: + case Identifier: + break; + + case CommentDocKeyword: + return TQColor(0x30,0x60,0xa0); + + case CommentDocKeywordError: + return TQColor(0x80,0x40,0x20); + + case KeywordSet5: + return TQColor(0x4b,0x00,0x82); + + case KeywordSet6: + return TQColor(0xb0,0x00,0x40); + + case KeywordSet7: + return TQColor(0x8b,0x00,0x00); + + case KeywordSet8: + return TQColor(0x80,0x00,0x80); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the end-of-line fill for a style. +bool TQextScintillaLexerSQL::eolFill(int style) const +{ + return (style == PlusPrompt); +} + + +// Returns the font of the text for a style. +TQFont TQextScintillaLexerSQL::font(int style) const +{ + TQFont f; + + switch (style) + { + case Comment: + case CommentLine: + case PlusComment: + case CommentLineHash: + case CommentDocKeyword: + case CommentDocKeywordError: +#if defined(Q_OS_WIN) + f = TQFont("Comic Sans MS",9); +#else + f = TQFont("Bitstream Vera Serif",9); +#endif + break; + + case Keyword: + case Operator: + f = TQextScintillaLexer::font(style); + f.setBold(TRUE); + break; + + case DoubleQuotedString: + case SingleQuotedString: + case PlusPrompt: +#if defined(Q_OS_WIN) + f = TQFont("Courier New",10); +#else + f = TQFont("Bitstream Vera Sans Mono",9); +#endif + break; + + default: + f = TQextScintillaLexer::font(style); + } + + return f; +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerSQL::keywords(int set) const +{ + if (set == 1) + return + "absolute action add admin after aggregate alias all " + "allocate alter and any are array as asc assertion " + "at authorization before begin binary bit blob " + "boolean both breadth by call cascade cascaded case " + "cast catalog char character check class clob close " + "collate collation column commit completion connect " + "connection constraint constraints constructor " + "continue corresponding create cross cube current " + "current_date current_path current_role current_time " + "current_timestamp current_user cursor cycle data " + "date day deallocate dec decimal declare default " + "deferrable deferred delete depth deref desc " + "describe descriptor destroy destructor " + "deterministic dictionary diagnostics disconnect " + "distinct domain double drop dynamic each else end " + "end-exec equals escape every except exception exec " + "execute external false fetch first float for " + "foreign found from free full function general get " + "global go goto grant group grouping having host " + "hour identity if ignore immediate in indicator " + "initialize initially inner inout input insert int " + "integer intersect interval into is isolation " + "iterate join key language large last lateral " + "leading left less level like limit local localtime " + "localtimestamp locator map match minute modifies " + "modify module month names national natural nchar " + "nclob new next no none not null numeric object of " + "off old on only open operation option or order " + "ordinality out outer output pad parameter " + "parameters partial path postfix precision prefix " + "preorder prepare preserve primary prior privileges " + "procedure public read reads real recursive ref " + "references referencing relative restrict result " + "return returns revoke right role rollback rollup " + "routine row rows savepoint schema scroll scope " + "search second section select sequence session " + "session_user set sets size smallint some| space " + "specific specifictype sql sqlexception sqlstate " + "sqlwarning start state statement static structure " + "system_user table temporary terminate than then " + "time timestamp timezone_hour timezone_minute to " + "trailing transaction translation treat trigger " + "true under union unique unknown unnest update usage " + "user using value values varchar variable varying " + "view when whenever where with without work write " + "year zone"; + + if (set == 4) + return + "acc~ept a~ppend archive log attribute bre~ak " + "bti~tle c~hange cl~ear col~umn comp~ute conn~ect " + "copy def~ine del desc~ribe disc~onnect e~dit " + "exec~ute exit get help ho~st i~nput l~ist passw~ord " + "pau~se pri~nt pro~mpt quit recover rem~ark " + "repf~ooter reph~eader r~un sav~e set sho~w shutdown " + "spo~ol sta~rt startup store timi~ng tti~tle " + "undef~ine var~iable whenever oserror whenever " + "sqlerror"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerSQL::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Comment: + return tr("Comment"); + + case CommentLine: + return tr("Comment line"); + + case CommentDoc: + return tr("JavaDoc style comment"); + + case Number: + return tr("Number"); + + case Keyword: + return tr("Keyword"); + + case DoubleQuotedString: + return tr("Double-quoted string"); + + case SingleQuotedString: + return tr("Single-quoted string"); + + case PlusKeyword: + return tr("SQL*Plus keyword"); + + case PlusPrompt: + return tr("SQL*Plus prompt"); + + case Operator: + return tr("Operator"); + + case Identifier: + return tr("Identifier"); + + case PlusComment: + return tr("SQL*Plus comment"); + + case CommentLineHash: + return tr("# comment line"); + + case CommentDocKeyword: + return tr("JavaDoc keyword"); + + case CommentDocKeywordError: + return tr("JavaDoc keyword error"); + + case KeywordSet5: + return tr("User defined 1"); + + case KeywordSet6: + return tr("User defined 2"); + + case KeywordSet7: + return tr("User defined 3"); + + case KeywordSet8: + return tr("User defined 4"); + } + + return TQString(); +} + + +// Returns the background colour of the text for a style. +TQColor TQextScintillaLexerSQL::paper(int style) const +{ + if (style == PlusPrompt) + return TQColor(0xe0,0xff,0xe0); + + return TQextScintillaLexer::paper(style); +} + + +// Refresh all properties. +void TQextScintillaLexerSQL::refreshProperties() +{ + setCommentProp(); + setCompactProp(); + setBackslashEscapesProp(); +} + + +// Read properties from the settings. +bool TQextScintillaLexerSQL::readProperties(TQSettings &qs,const TQString &prefix) +{ + int rc = TRUE; + bool ok, flag; + + // Read the fold comments flag. + flag = qs.readBoolEntry(prefix + "foldcomments",FALSE,&ok); + + if (ok) + fold_comments = flag; + else + rc = FALSE; + + // Read the fold compact flag. + flag = qs.readBoolEntry(prefix + "foldcompact",TRUE,&ok); + + if (ok) + fold_compact = flag; + else + rc = FALSE; + + // Read the backslash escapes flag. + flag = qs.readBoolEntry(prefix + "backslashescapes",FALSE,&ok); + + if (ok) + backslash_escapes = flag; + else + rc = FALSE; + + return rc; +} + + +// Write properties to the settings. +bool TQextScintillaLexerSQL::writeProperties(TQSettings &qs,const TQString &prefix) const +{ + int rc = TRUE; + + // Write the fold comments flag. + if (!qs.writeEntry(prefix + "foldcomments",fold_comments)) + rc = FALSE; + + // Write the fold compact flag. + if (!qs.writeEntry(prefix + "foldcompact",fold_compact)) + rc = FALSE; + + // Write the backslash escapes flag. + if (!qs.writeEntry(prefix + "backslashescapes",backslash_escapes)) + rc = FALSE; + + return rc; +} + + +// Return TRUE if comments can be folded. +bool TQextScintillaLexerSQL::foldComments() const +{ + return fold_comments; +} + + +// Set if comments can be folded. +void TQextScintillaLexerSQL::setFoldComments(bool fold) +{ + fold_comments = fold; + + setCommentProp(); +} + + +// Set the "fold.comment" property. +void TQextScintillaLexerSQL::setCommentProp() +{ + emit propertyChanged("fold.comment",(fold_comments ? "1" : "0")); +} + + +// Return TRUE if folds are compact. +bool TQextScintillaLexerSQL::foldCompact() const +{ + return fold_compact; +} + + +// Set if folds are compact +void TQextScintillaLexerSQL::setFoldCompact(bool fold) +{ + fold_compact = fold; + + setCompactProp(); +} + + +// Set the "fold.compact" property. +void TQextScintillaLexerSQL::setCompactProp() +{ + emit propertyChanged("fold.compact",(fold_compact ? "1" : "0")); +} + + +// Return TRUE if backslash escapes are enabled. +bool TQextScintillaLexerSQL::backslashEscapes() const +{ + return backslash_escapes; +} + + +// Enable/disable backslash escapes. +void TQextScintillaLexerSQL::setBackslashEscapes(bool enable) +{ + backslash_escapes = enable; + + setBackslashEscapesProp(); +} + + +// Set the "sql.backslash.escapes" property. +void TQextScintillaLexerSQL::setBackslashEscapesProp() +{ + emit propertyChanged("sql.backslash.escapes",(backslash_escapes ? "1" : "0")); +} + +#include "tqextscintillalexersql.moc" diff --git a/tqt/tqextscintillalexersql.h b/tqt/tqextscintillalexersql.h new file mode 100644 index 0000000..190eb62 --- /dev/null +++ b/tqt/tqextscintillalexersql.h @@ -0,0 +1,227 @@ +// This defines the interface to the TQextScintillaLexerSQL class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERSQL_H +#define TQEXTSCINTILLALEXERSQL_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerSQL class encapsulates the Scintilla SQL +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerSQL : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! SQL lexer. + enum { + //! The default. + Default = 0, + + //! A comment. + Comment = 1, + + //! A line comment. + CommentLine = 2, + + //! \deprecated A line comment. + LineComment = CommentLine, + + //! A JavaDoc/Doxygen style comment. + CommentDoc = 3, + + //! A number. + Number = 4, + + //! A keyword. + Keyword = 5, + + //! A double-quoted string. + DoubleQuotedString = 6, + + //! A single-quoted string. + SingleQuotedString = 7, + + //! An SQL*Plus keyword. + PlusKeyword = 8, + + //! An SQL*Plus prompt. + PlusPrompt = 9, + + //! An operator. + Operator = 10, + + //! An identifier + Identifier = 11, + + //! An SQL*Plus comment. + PlusComment = 13, + + //! A '#' line comment. + CommentLineHash = 15, + + //! A JavaDoc/Doxygen keyword. + CommentDocKeyword = 17, + + //! A JavaDoc/Doxygen keyword error. + CommentDocKeywordError = 18, + + //! A keyword defined in keyword set number 5. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet5 = 19, + + //! A keyword defined in keyword set number 6. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet6 = 20, + + //! A keyword defined in keyword set number 7. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet7 = 21, + + //! A keyword defined in keyword set number 8. The class must + //! be sub-classed and re-implement keywords() to make use of + //! this style. + KeywordSet8 = 22 + }; + + //! Construct a TQextScintillaLexerSQL with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerSQL(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerSQL instance. + virtual ~TQextScintillaLexerSQL(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the style used for braces for brace matching. + int braceStyle() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the end-of-line fill for style number \a style. + bool eolFill(int style) const; + + //! Returns the font for style number \a style. + TQFont font(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + + //! Returns the background colour of the text for style number + //! \a style. + //! + //! \sa color() + TQColor paper(int style) const; + + //! Causes all properties to be refreshed by emitting the + //! propertyChanged() signal as required. + void refreshProperties(); + + //! Returns TRUE if multi-line comment blocks can be folded. + //! + //! \sa setFoldComments() + bool foldComments() const; + + //! Returns TRUE if trailing blank lines are included in a fold block. + //! + //! \sa setFoldCompact() + bool foldCompact() const; + + //! Returns TRUE if backslash escapes are enabled. + //! + //! \sa setBackslashEscapes() + bool backslashEscapes() const; + +public slots: + //! If \a fold is TRUE then multi-line comment blocks can be folded. + //! The default is FALSE. + //! + //! \sa foldComments() + virtual void setFoldComments(bool fold); + + //! If \a fold is TRUE then trailing blank lines are included in a fold + //! block. The default is TRUE. + //! + //! \sa foldCompact() + virtual void setFoldCompact(bool fold); + + //! If \a enable is TRUE then backslash escapes are enabled. The + //! default is FALSE. + //! + //! \sa backslashEscapes() + virtual void setBackslashEscapes(bool enable); + +protected: + //! The lexer's properties are read from the settings \a qs. \a prefix + //! (which has a trailing '/') should be used as a prefix to the key of + //! each setting. TRUE is returned if there is no error. + //! + bool readProperties(TQSettings &qs,const TQString &prefix); + + //! The lexer's properties are written to the settings \a qs. + //! \a prefix (which has a trailing '/') should be used as a prefix to + //! the key of each setting. TRUE is returned if there is no error. + //! + bool writeProperties(TQSettings &qs,const TQString &prefix) const; + +private: + void setCommentProp(); + void setCompactProp(); + void setBackslashEscapesProp(); + + bool fold_comments; + bool fold_compact; + bool backslash_escapes; + + +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerSQL(const TQextScintillaLexerSQL &); + TQextScintillaLexerSQL &operator=(const TQextScintillaLexerSQL &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillalexertex.cpp b/tqt/tqextscintillalexertex.cpp new file mode 100644 index 0000000..aa9804d --- /dev/null +++ b/tqt/tqextscintillalexertex.cpp @@ -0,0 +1,211 @@ +// This module implements the TQextScintillaLexerTeX class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include + +#include "tqextscintillalexertex.h" + + +// The ctor. +TQextScintillaLexerTeX::TQextScintillaLexerTeX(TQObject *parent,const char *name) + : TQextScintillaLexer(parent,name) +{ +} + + +// The dtor. +TQextScintillaLexerTeX::~TQextScintillaLexerTeX() +{ +} + + +// Returns the language name. +const char *TQextScintillaLexerTeX::language() const +{ + return "TeX"; +} + + +// Returns the lexer name. +const char *TQextScintillaLexerTeX::lexer() const +{ + return "tex"; +} + + +// Return the string of characters that comprise a word. +const char *TQextScintillaLexerTeX::wordCharacters() const +{ + return "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\\@"; +} + + +// Returns the foreground colour of the text for a style. +TQColor TQextScintillaLexerTeX::color(int style) const +{ + switch (style) + { + case Default: + return TQColor(0x3f,0x3f,0x3f); + + case Special: + return TQColor(0x00,0x7f,0x7f); + + case Group: + return TQColor(0x7f,0x00,0x00); + + case Symbol: + return TQColor(0x7f,0x7f,0x00); + + case Command: + return TQColor(0x00,0x7f,0x00); + } + + return TQextScintillaLexer::color(style); +} + + +// Returns the set of keywords. +const char *TQextScintillaLexerTeX::keywords(int set) const +{ + if (set == 1) + return + "above abovedisplayshortskip abovedisplayskip " + "abovewithdelims accent adjdemerits advance " + "afterassignment aftergroup atop atopwithdelims " + "badness baselineskip batchmode begingroup " + "belowdisplayshortskip belowdisplayskip binoppenalty " + "botmark box boxmaxdepth brokenpenalty catcode char " + "chardef cleaders closein closeout clubpenalty copy " + "count countdef cr crcr csname day deadcycles def " + "defaulthyphenchar defaultskewchar delcode delimiter " + "delimiterfactor delimeters delimitershortfall " + "delimeters dimen dimendef discretionary " + "displayindent displaylimits displaystyle " + "displaywidowpenalty displaywidth divide " + "doublehyphendemerits dp dump edef else " + "emergencystretch end endcsname endgroup endinput " + "endlinechar eqno errhelp errmessage " + "errorcontextlines errorstopmode escapechar everycr " + "everydisplay everyhbox everyjob everymath everypar " + "everyvbox exhyphenpenalty expandafter fam fi " + "finalhyphendemerits firstmark floatingpenalty font " + "fontdimen fontname futurelet gdef global group " + "globaldefs halign hangafter hangindent hbadness " + "hbox hfil horizontal hfill horizontal hfilneg hfuzz " + "hoffset holdinginserts hrule hsize hskip hss " + "horizontal ht hyphenation hyphenchar hyphenpenalty " + "hyphen if ifcase ifcat ifdim ifeof iffalse ifhbox " + "ifhmode ifinner ifmmode ifnum ifodd iftrue ifvbox " + "ifvmode ifvoid ifx ignorespaces immediate indent " + "input inputlineno input insert insertpenalties " + "interlinepenalty jobname kern language lastbox " + "lastkern lastpenalty lastskip lccode leaders left " + "lefthyphenmin leftskip leqno let limits linepenalty " + "line lineskip lineskiplimit long looseness lower " + "lowercase mag mark mathaccent mathbin mathchar " + "mathchardef mathchoice mathclose mathcode mathinner " + "mathop mathopen mathord mathpunct mathrel " + "mathsurround maxdeadcycles maxdepth meaning " + "medmuskip message mkern month moveleft moveright " + "mskip multiply muskip muskipdef newlinechar noalign " + "noboundary noexpand noindent nolimits nonscript " + "scriptscript nonstopmode nulldelimiterspace " + "nullfont number omit openin openout or outer output " + "outputpenalty over overfullrule overline " + "overwithdelims pagedepth pagefilllstretch " + "pagefillstretch pagefilstretch pagegoal pageshrink " + "pagestretch pagetotal par parfillskip parindent " + "parshape parskip patterns pausing penalty " + "postdisplaypenalty predisplaypenalty predisplaysize " + "pretolerance prevdepth prevgraf radical raise read " + "relax relpenalty right righthyphenmin rightskip " + "romannumeral scriptfont scriptscriptfont " + "scriptscriptstyle scriptspace scriptstyle " + "scrollmode setbox setlanguage sfcode shipout show " + "showbox showboxbreadth showboxdepth showlists " + "showthe skewchar skip skipdef spacefactor spaceskip " + "span special splitbotmark splitfirstmark " + "splitmaxdepth splittopskip string tabskip textfont " + "textstyle the thickmuskip thinmuskip time toks " + "toksdef tolerance topmark topskip tracingcommands " + "tracinglostchars tracingmacros tracingonline " + "tracingoutput tracingpages tracingparagraphs " + "tracingrestores tracingstats uccode uchyph " + "underline unhbox unhcopy unkern unpenalty unskip " + "unvbox unvcopy uppercase vadjust valign vbadness " + "vbox vcenter vfil vfill vfilneg vfuzz voffset vrule " + "vsize vskip vsplit vss vtop wd widowpenalty write " + "xdef xleaders xspaceskip year " + "TeX bgroup egroup endgraf space empty null newcount " + "newdimen newskip newmuskip newbox newtoks newhelp " + "newread newwrite newfam newlanguage newinsert newif " + "maxdimen magstephalf magstep frenchspacing " + "nonfrenchspacing normalbaselines obeylines " + "obeyspaces raggedr ight ttraggedright thinspace " + "negthinspace enspace enskip quad qquad smallskip " + "medskip bigskip removelastskip topglue vglue hglue " + "break nobreak allowbreak filbreak goodbreak " + "smallbreak medbreak bigbreak line leftline " + "rightline centerline rlap llap underbar strutbox " + "strut cases matrix pmatrix bordermatrix eqalign " + "displaylines eqalignno leqalignno pageno folio " + "tracingall showhyphens fmtname fmtversion hphantom " + "vphantom phantom smash"; + + return 0; +} + + +// Returns the user name of a style. +TQString TQextScintillaLexerTeX::description(int style) const +{ + switch (style) + { + case Default: + return tr("Default"); + + case Special: + return tr("Special"); + + case Group: + return tr("Group"); + + case Symbol: + return tr("Symbol"); + + case Command: + return tr("Command"); + + case Text: + return tr("Text"); + } + + return TQString(); +} + +#include "tqextscintillalexertex.moc" diff --git a/tqt/tqextscintillalexertex.h b/tqt/tqextscintillalexertex.h new file mode 100644 index 0000000..39619f8 --- /dev/null +++ b/tqt/tqextscintillalexertex.h @@ -0,0 +1,102 @@ +// This defines the interface to the TQextScintillaLexerTeX class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLALEXERTEX_H +#define TQEXTSCINTILLALEXERTEX_H + + +#include + +#include +#include + + +//! \brief The TQextScintillaLexerTeX class encapsulates the Scintilla TeX +//! lexer. +class TQEXTSCINTILLA_EXPORT TQextScintillaLexerTeX : public TQextScintillaLexer +{ + TQ_OBJECT + + +public: + //! This enum defines the meanings of the different styles used by the + //! TeX lexer. + enum { + //! The default. + Default = 0, + + //! A special. + Special = 1, + + //! A group. + Group = 2, + + //! A symbol. + Symbol = 3, + + //! A command. + Command = 4, + + //! Text. + Text = 5 + }; + + //! Construct a TQextScintillaLexerTeX with parent \a parent and name + //! \a name. \a parent is typically the TQextScintilla instance. + TQextScintillaLexerTeX(TQObject *parent = 0,const char *name = 0); + + //! Destroys the TQextScintillaLexerTeX instance. + virtual ~TQextScintillaLexerTeX(); + + //! Returns the name of the language. + const char *language() const; + + //! Returns the name of the lexer. Some lexers support a number of + //! languages. + const char *lexer() const; + + //! \internal Returns the string of characters that comprise a word. + const char *wordCharacters() const; + + //! Returns the foreground colour of the text for style number + //! \a style. + //! + //! \sa paper() + TQColor color(int style) const; + + //! Returns the set of keywords for the keyword set \a set recognised + //! by the lexer as a space separated string. + const char *keywords(int set) const; + + //! Returns the descriptive name for style number \a style. If the + //! style is invalid for this language then TQString() is returned. + //! This is intended to be used in user preference dialogs. + TQString description(int style) const; + +private: +#if defined(TQ_DISABLE_COPY) + TQextScintillaLexerTeX(const TQextScintillaLexerTeX &); + TQextScintillaLexerTeX &operator=(const TQextScintillaLexerTeX &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillamacro.cpp b/tqt/tqextscintillamacro.cpp new file mode 100644 index 0000000..8fc1a72 --- /dev/null +++ b/tqt/tqextscintillamacro.cpp @@ -0,0 +1,334 @@ +// This module implements the TQextScintillaMacro class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include + +#include + +#include "tqextscintillamacro.h" +#include "tqextscintilla.h" + + +static TQCString extract(const TQCString &asc,int &start); +static int fromHex(unsigned char ch); + + +// The ctor. +TQextScintillaMacro::TQextScintillaMacro(TQextScintilla *parent,const char *name) + : TQObject(parent,name), tqsci(parent) +{ +} + + +// The ctor that initialises the macro. +TQextScintillaMacro::TQextScintillaMacro(const TQCString &asc, + TQextScintilla *parent,const char *name) + : TQObject(parent,name), tqsci(parent) +{ + load(asc); +} + + +// The dtor. +TQextScintillaMacro::~TQextScintillaMacro() +{ +} + + +// Clear the contents of the macro. +void TQextScintillaMacro::clear() +{ + macro.clear(); +} + + +// Read a macro from a string. +bool TQextScintillaMacro::load(const TQCString &asc) +{ + bool rc = TRUE; + + macro.clear(); + + int pos = 0; + + while (pos < asc.length()) + { + TQCString fld; + Macro cmd; + unsigned len; + + // Extract the 3 fixed fields. + fld = extract(asc,pos); + cmd.msg = fld.toUInt(&rc); + + if (!rc) + break; + + fld = extract(asc,pos); + cmd.wParam = fld.toULong(&rc); + + if (!rc) + break; + + fld = extract(asc,pos); + len = fld.toUInt(&rc); + + if (!rc) + break; + + // Extract any text. + if (len) + { + cmd.text.resize(len); + fld = extract(asc,pos); + + char *dp = cmd.text.data(); + const char *sp = fld; + + if (!sp) + { + rc = FALSE; + break; + } + + while (len--) + { + unsigned char ch; + + ch = *sp++; + + if (ch == '"' || ch <= ' ' || ch >= 0x7f) + { + rc = FALSE; + break; + } + + if (ch == '\\') + { + int b1, b2; + + if ((b1 = fromHex(*sp++)) < 0 || + (b2 = fromHex(*sp++)) < 0) + { + rc = FALSE; + break; + } + + ch = (b1 << 4) + b2; + } + + *dp++ = ch; + } + + if (!rc) + break; + } + + macro.append(cmd); + } + + if (!rc) + macro.clear(); + + return rc; +} + + +// Write a macro to a string. +TQCString TQextScintillaMacro::save() const +{ + TQCString ms; + + for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) + { + if (!ms.isEmpty()) + ms += ' '; + + unsigned len = (*it).text.size(); + TQCString m; + + m.sprintf("%u %lu %u",(*it).msg,(*it).wParam,len); + + if (len) + { + m += ' '; + + const char *cp = (*it).text.data(); + + while (len--) + { + unsigned char ch = *cp++; + + if (ch == '\\' || ch == '"' || ch <= ' ' || ch >= 0x7f) + { + char buf[4]; + + sprintf(buf,"\\%02x",ch); + m += buf; + } + else + m += ch; + } + } + + ms += m; + } + + return ms; +} + + +// Play the macro. +void TQextScintillaMacro::play() +{ + if (!tqsci) + return; + + for (TQValueList::const_iterator it = macro.begin(); it != macro.end(); ++it) + tqsci -> SendScintilla((*it).msg,(*it).wParam,(*it).text.data()); +} + + +// Start recording. +void TQextScintillaMacro::startRecording() +{ + if (!tqsci) + return; + + macro.clear(); + + connect(tqsci, + TQT_SIGNAL(SCN_MACRORECORD(unsigned int,unsigned long,long)), + TQT_SLOT(record(unsigned int,unsigned long,long))); + + tqsci -> SendScintilla(TQextScintillaBase::SCI_STARTRECORD); +} + + +// End recording. +void TQextScintillaMacro::endRecording() +{ + if (!tqsci) + return; + + tqsci -> SendScintilla(TQextScintillaBase::SCI_STOPRECORD); + tqsci -> disconnect(this); +} + + +// Record a command. +void TQextScintillaMacro::record(unsigned int msg,unsigned long wParam, + long lParam) +{ + Macro m; + + m.msg = msg; + m.wParam = wParam; + + // Determine commands which need special handling of the parameters. + switch (msg) + { + case TQextScintillaBase::SCI_ADDTEXT: + m.text.duplicate(reinterpret_cast(lParam),wParam); + break; + + case TQextScintillaBase::SCI_REPLACESEL: + if (!macro.isEmpty() && macro.last().msg == TQextScintillaBase::SCI_REPLACESEL) + { + const char *text = reinterpret_cast(lParam); + + // This is the command used for ordinary user input so + // it's a signifacant space reduction to append it to + // the previous command. + + TQByteArray &ba = macro.last().text; + + unsigned pos = ba.size() - 1; + + // Make room for the new text. + ba.resize(ba.size() + strlen(text)); + + // Copy it in. + strcpy(ba.data() + pos,text); + + return; + } + + /* Drop through. */ + + case TQextScintillaBase::SCI_INSERTTEXT: + case TQextScintillaBase::SCI_APPENDTEXT: + case TQextScintillaBase::SCI_SEARCHNEXT: + case TQextScintillaBase::SCI_SEARCHPREV: + { + const char *text = reinterpret_cast(lParam); + + m.text.duplicate(text,strlen(text) + 1); + break; + } + } + + macro.append(m); +} + + +// Extract a macro field starting at the given position. +static TQCString extract(const TQCString &asc,int &fstart) +{ + TQCString f; + + if (fstart < asc.length()) + { + int fend = asc.find(' ',fstart); + + if (fend < 0) + { + f = asc.mid(fstart); + fstart = asc.length(); + } + else + { + f = asc.mid(fstart,fend - fstart); + fstart = fend + 1; + } + } + + return f; +} + + +// Return the given hex character as a binary. +static int fromHex(unsigned char ch) +{ + if (ch >= '0' && ch <= '9') + return ch - '0'; + + if (ch >= 'a' && ch <= 'f') + return ch - 'a' + 10; + + return -1; +} + +#include "tqextscintillamacro.moc" diff --git a/tqt/tqextscintillamacro.h b/tqt/tqextscintillamacro.h new file mode 100644 index 0000000..11f07ce --- /dev/null +++ b/tqt/tqextscintillamacro.h @@ -0,0 +1,107 @@ +// This defines the interface to the TQextScintillaMacro class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLAMACRO_H +#define TQEXTSCINTILLAMACRO_H + + +#include +#include +#include + +#include + + +class TQString; +class TQextScintilla; + + +//! \brief The TQextScintillaMacro class represents a sequence of recordable +//! editor commands. +//! +//! Methods are provided to convert convert a macro to and from a textual +//! representation so that they can be easily written to and read from +//! permanent storage. +class TQEXTSCINTILLA_EXPORT TQextScintillaMacro : public TQObject +{ + TQ_OBJECT + + +public: + //! Construct a TQextScintillaMacro with parent \a parent and name + //! \a name. + TQextScintillaMacro(TQextScintilla *parent,const char *name = 0); + + //! Construct a TQextScintillaMacro from the printable ASCII + //! representation \a asc, with parent \a parent and name \a name. + TQextScintillaMacro(const TQCString &asc,TQextScintilla *parent, + const char *name = 0); + + //! Destroy the TQextScintillaMacro instance. + virtual ~TQextScintillaMacro(); + + //! Clear the contents of the macro. + void clear(); + + //! Load the macro from the printable ASCII representation \a asc. + //! Returns TRUE if there was no error. + //! + //! \sa save() + bool load(const TQCString &asc); + + //! Return a printable ASCII representation of the macro. It is + //! guaranteed that only printable ASCII characters are used and that + //! double quote characters will not be used. + //! + //! \sa load() + TQCString save() const; + +public slots: + //! Play the macro. + virtual void play(); + + //! Start recording user commands and add them to the macro. + virtual void startRecording(); + + //! Stop recording user commands. + virtual void endRecording(); + +private slots: + void record(unsigned int msg,unsigned long wParam,long lParam); + +private: + struct Macro { + unsigned int msg; + unsigned long wParam; + TQByteArray text; + }; + + TQextScintilla *tqsci; + TQValueList macro; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaMacro(const TQextScintillaMacro &); + TQextScintillaMacro &operator=(const TQextScintillaMacro &); +#endif +}; + +#endif diff --git a/tqt/tqextscintillaprinter.cpp b/tqt/tqextscintillaprinter.cpp new file mode 100644 index 0000000..a7dd282 --- /dev/null +++ b/tqt/tqextscintillaprinter.cpp @@ -0,0 +1,189 @@ +// This module implements the TQextScintillaPrinter class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include +#include + +#include "tqextscintillaprinter.h" +#include "tqextscintillabase.h" + + +// The ctor. +TQextScintillaPrinter::TQextScintillaPrinter(TQPrinter::PrinterMode mode) : + TQPrinter(mode), mag(0), + wrap(TQextScintilla::WrapWord) +{ +} + + +// The dtor. +TQextScintillaPrinter::~TQextScintillaPrinter() +{ +} + + +// Format the page before the document text is drawn. +void TQextScintillaPrinter::formatPage(TQPainter &,bool,TQRect &,int) +{ +} + + +// Print a range of lines to a printer. +int TQextScintillaPrinter::printRange(TQextScintillaBase *tqsb,int from,int to) +{ + // Sanity check. + if (!tqsb) + return FALSE; + + // Setup the printing area. + TQPaintDeviceMetrics metrics(this); + TQRect def_area; + + def_area.setX(0); + def_area.setY(0); + def_area.setWidth(metrics.width()); + def_area.setHeight(metrics.height()); + + // Get the page range. + int pgFrom, pgTo; + + pgFrom = fromPage(); + pgTo = toPage(); + + // Find the position range. + long startPos, endPos; + + endPos = tqsb -> SendScintilla(TQextScintillaBase::SCI_GETLENGTH); + + startPos = (from > 0 ? tqsb -> SendScintilla(TQextScintillaBase::SCI_POSITIONFROMLINE,from) : 0); + + if (to >= 0) + { + long toPos = tqsb -> SendScintilla(TQextScintillaBase::SCI_POSITIONFROMLINE,to + 1); + + if (endPos > toPos) + endPos = toPos; + } + + if (startPos >= endPos) + return FALSE; + + TQPainter painter(this); + bool reverse = (pageOrder() == LastPageFirst); + bool needNewPage = FALSE; + + tqsb -> SendScintilla(TQextScintillaBase::SCI_SETPRINTMAGNIFICATION,mag); + tqsb -> SendScintilla(TQextScintillaBase::SCI_SETPRINTWRAPMODE,wrap); + + for (int i = 1; i <= numCopies(); ++i) + { + // If we are printing in reverse page order then remember the + // start position of each page. + TQValueStack pageStarts; + + int currPage = 1; + long pos = startPos; + + while (pos < endPos) + { + // See if we have finished the requested page range. + if (pgTo > 0 && pgTo < currPage) + break; + + // See if we are going to render this page, or just see + // how much would fit onto it. + bool render = FALSE; + + if (pgFrom == 0 || pgFrom <= currPage) + { + if (reverse) + pageStarts.push(pos); + else + { + render = TRUE; + + if (needNewPage) + { + if (!newPage()) + return FALSE; + } + else + needNewPage = TRUE; + } + } + + TQRect area = def_area; + + formatPage(painter,render,area,currPage); + pos = tqsb -> SendScintilla(TQextScintillaBase::SCI_FORMATRANGE,render,&painter,area,pos,endPos); + + ++currPage; + } + + // All done if we are printing in normal page order. + if (!reverse) + continue; + + // Now go through each page on the stack and really print it. + while (!pageStarts.isEmpty()) + { + --currPage; + + long ePos = pos; + pos = pageStarts.pop(); + + if (needNewPage) + { + if (!newPage()) + return FALSE; + } + else + needNewPage = TRUE; + + TQRect area = def_area; + + formatPage(painter,TRUE,area,currPage); + tqsb -> SendScintilla(TQextScintillaBase::SCI_FORMATRANGE,TRUE,&painter,area,pos,ePos); + } + } + + return TRUE; +} + + +// Set the print magnification in points. +void TQextScintillaPrinter::setMagnification(int magnification) +{ + mag = magnification; +} + + +// Set the line wrap mode. +void TQextScintillaPrinter::setWrapMode(TQextScintilla::WrapMode wmode) +{ + wrap = wmode; +} diff --git a/tqt/tqextscintillaprinter.h b/tqt/tqextscintillaprinter.h new file mode 100644 index 0000000..7a0f3c9 --- /dev/null +++ b/tqt/tqextscintillaprinter.h @@ -0,0 +1,107 @@ +// This module defines interface to the TQextScintillaPrinter class. +// +// Copyright (c) 2006 +// Riverbank Computing Limited +// +// This file is part of TQScintilla. +// +// This copy of TQScintilla is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2, or (at your option) any +// later version. +// +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +// details. +// +// You should have received a copy of the GNU General Public License along with +// TQScintilla; see the file LICENSE. If not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +#ifndef TQEXTSCINTILLAPRINTER_H +#define TQEXTSCINTILLAPRINTER_H + + +#include + +#include +#include + + +class TQRect; +class TQPainter; +class TQextScintillaBase; + + +//! \brief The TQextScintillaPrinter class is a sub-class of the TQt TQPrinter +//! class that is able to print the text of a Scintilla document. +//! +//! The class can be further sub-classed to alter to layout of the text, adding +//! headers and footers for example. +class TQEXTSCINTILLA_EXPORT TQextScintillaPrinter : public TQPrinter +{ +public: + //! Constructs a printer paint device with mode \a mode. + TQextScintillaPrinter(PrinterMode mode = ScreenResolution); + + //! Destroys the TQextScintillaPrinter instance. + ~TQextScintillaPrinter(); + + //! Format a page, by adding headers and footers for example, before + //! the document text is drawn on it. \a painter is the painter to be + //! used to add customised text and graphics. \a drawing is TRUE if + //! the page is actually being drawn rather than being sized. + //! \a painter drawing methods must only be called when \a drawing is + //! TRUE. \a area is the area of the page that will be used to draw + //! the text. This should be modified if it is necessary to reserve + //! space for any customised text or graphics. By default the area is + //! relative to the printable area of the page. Use + //! TQPrinter::setFullPage() because calling printRange() if you want to + //! try and print over the whole page. \a pagenr is the number of the + //! page. The first page is numbered 1. + virtual void formatPage(TQPainter &painter,bool drawing,TQRect &area, + int pagenr); + + //! Return the number of points to add to each font when printing. + //! + //! \sa setMagnification() + int magnification() const {return mag;} + + //! Sets the number of points to add to each font when printing to + //! \a magnification. + //! + //! \sa magnification() + virtual void setMagnification(int magnification); + + //! Print a range of lines from the Scintilla instance \a tqsb. \a from + //! is the first line to print and a negative value signifies the first + //! line of text. \a to is the last line to print and a negative value + //! signifies the last line of text. TRUE is returned if there was no + //! error. + virtual int printRange(TQextScintillaBase *tqsb,int from = -1, + int to = -1); + + //! Return the line wrap mode used when printing. The default is + //! TQextScintilla::WrapWord. + //! + //! \sa setWrapMode() + TQextScintilla::WrapMode wrapMode() const {return wrap;} + + //! Sets the line wrap mode used when printing to \a wmode. + //! + //! \sa wrapMode() + virtual void setWrapMode(TQextScintilla::WrapMode wmode); + +private: + int mag; + TQextScintilla::WrapMode wrap; + +#if defined(TQ_DISABLE_COPY) + TQextScintillaPrinter(const TQextScintillaPrinter &); + TQextScintillaPrinter &operator=(const TQextScintillaPrinter &); +#endif +}; + +#endif diff --git a/tqt/tqscintilla.pro b/tqt/tqscintilla.pro new file mode 100644 index 0000000..8fee11b --- /dev/null +++ b/tqt/tqscintilla.pro @@ -0,0 +1,220 @@ +# The project file for the tqscintilla library. +# +# Copyright (c) 2006 +# Riverbank Computing Limited +# +# This file is part of TQScintilla. +# +# This copy of TQScintilla is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) any +# later version. +# +# TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# TQScintilla; see the file LICENSE. If not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + +unix:VERSION = 7.0.1 + + +TEMPLATE = lib +TARGET = tqscintilla +# DESTDIR = $(TQTDIR)/lib +CONFIG += qt warn_off release dll thread +INCLUDEPATH = . ../include ../src /usr/include/tqt +DEFINES = TQEXTSCINTILLA_MAKE_DLL TQT SCI_LEXER + +HEADERS = \ + tqextscintillaglobal.h \ + tqextscintilla.h \ + tqextscintillaapis.h \ + tqextscintillabase.h \ + tqextscintillacommand.h \ + tqextscintillacommandset.h \ + tqextscintilladocument.h \ + tqextscintillalexer.h \ + tqextscintillalexerbash.h \ + tqextscintillalexerbatch.h \ + tqextscintillalexercpp.h \ + tqextscintillalexercsharp.h \ + tqextscintillalexercss.h \ + tqextscintillalexerdiff.h \ + tqextscintillalexerhtml.h \ + tqextscintillalexeridl.h \ + tqextscintillalexerjava.h \ + tqextscintillalexerjavascript.h \ + tqextscintillalexerlua.h \ + tqextscintillalexermakefile.h \ + tqextscintillalexerperl.h \ + tqextscintillalexerpov.h \ + tqextscintillalexerproperties.h \ + tqextscintillalexerpython.h \ + tqextscintillalexerruby.h \ + tqextscintillalexersql.h \ + tqextscintillalexertex.h \ + tqextscintillamacro.h \ + tqextscintillaprinter.h \ + SciListBox.h \ + ScintillaTQt.h \ + ../include/Accessor.h \ + ../include/KeyWords.h \ + ../include/Platform.h \ + ../include/PropSet.h \ + ../include/SString.h \ + ../include/SciLexer.h \ + ../include/Scintilla.h \ + ../include/ScintillaWidget.h \ + ../include/WindowAccessor.h \ + ../src/AutoComplete.h \ + ../src/CallTip.h \ + ../src/CellBuffer.h \ + ../src/ContractionState.h \ + ../src/CharClassify.h \ + ../src/Document.h \ + ../src/DocumentAccessor.h \ + ../src/Editor.h \ + ../src/ExternalLexer.h \ + ../src/Indicator.h \ + ../src/KeyMap.h \ + ../src/LineMarker.h \ + ../src/RESearch.h \ + ../src/SVector.h \ + ../src/ScintillaBase.h \ + ../src/Style.h \ + ../src/StyleContext.h \ + ../src/ViewStyle.h \ + ../src/XPM.h + +SOURCES = \ + tqextscintilla.cpp \ + tqextscintillaapis.cpp \ + tqextscintillabase.cpp \ + tqextscintillacommand.cpp \ + tqextscintillacommandset.cpp \ + tqextscintilladocument.cpp \ + tqextscintillalexer.cpp \ + tqextscintillalexerbash.cpp \ + tqextscintillalexerbatch.cpp \ + tqextscintillalexercpp.cpp \ + tqextscintillalexercsharp.cpp \ + tqextscintillalexercss.cpp \ + tqextscintillalexerdiff.cpp \ + tqextscintillalexerhtml.cpp \ + tqextscintillalexeridl.cpp \ + tqextscintillalexerjava.cpp \ + tqextscintillalexerjavascript.cpp \ + tqextscintillalexerlua.cpp \ + tqextscintillalexermakefile.cpp \ + tqextscintillalexerperl.cpp \ + tqextscintillalexerpov.cpp \ + tqextscintillalexerproperties.cpp \ + tqextscintillalexerpython.cpp \ + tqextscintillalexerruby.cpp \ + tqextscintillalexersql.cpp \ + tqextscintillalexertex.cpp \ + tqextscintillamacro.cpp \ + tqextscintillaprinter.cpp \ + SciListBox.cpp \ + PlatTQt.cpp \ + ScintillaTQt.cpp \ + ../src/AutoComplete.cpp \ + ../src/CallTip.cpp \ + ../src/CellBuffer.cpp \ + ../src/ContractionState.cpp \ + ../src/CharClassify.cpp \ + ../src/Document.cpp \ + ../src/DocumentAccessor.cpp \ + ../src/Editor.cpp \ + ../src/ExternalLexer.cpp \ + ../src/Indicator.cpp \ + ../src/KeyMap.cpp \ + ../src/KeyWords.cpp \ + ../src/LexAPDL.cpp \ + ../src/LexAU3.cpp \ + ../src/LexAVE.cpp \ + ../src/LexAda.cpp \ + ../src/LexAsm.cpp \ + ../src/LexAsn1.cpp \ + ../src/LexBaan.cpp \ + ../src/LexBash.cpp \ + ../src/LexBasic.cpp \ + ../src/LexBullant.cpp \ + ../src/LexCLW.cpp \ + ../src/LexCPP.cpp \ + ../src/LexCSS.cpp \ + ../src/LexCaml.cpp \ + ../src/LexConf.cpp \ + ../src/LexCrontab.cpp \ + ../src/LexCsound.cpp \ + ../src/LexEScript.cpp \ + ../src/LexEiffel.cpp \ + ../src/LexErlang.cpp \ + ../src/LexFlagship.cpp \ + ../src/LexForth.cpp \ + ../src/LexFortran.cpp \ + ../src/LexGui4Cli.cpp \ + ../src/LexHTML.cpp \ + ../src/LexHaskell.cpp \ + ../src/LexInno.cpp \ + ../src/LexKix.cpp \ + ../src/LexLisp.cpp \ + ../src/LexLout.cpp \ + ../src/LexLua.cpp \ + ../src/LexMMIXAL.cpp \ + ../src/LexMPT.cpp \ + ../src/LexMSSQL.cpp \ + ../src/LexMatlab.cpp \ + ../src/LexMetapost.cpp \ + ../src/LexNsis.cpp \ + ../src/LexOpal.cpp \ + ../src/LexOthers.cpp \ + ../src/LexPB.cpp \ + ../src/LexPOV.cpp \ + ../src/LexPS.cpp \ + ../src/LexPascal.cpp \ + ../src/LexPerl.cpp \ + ../src/LexPython.cpp \ + ../src/LexRebol.cpp \ + ../src/LexRuby.cpp \ + ../src/LexSQL.cpp \ + ../src/LexScriptol.cpp \ + ../src/LexSmalltalk.cpp \ + ../src/LexSpecman.cpp \ + ../src/LexSpice.cpp \ + ../src/LexTADS3.cpp \ + ../src/LexTCL.cpp \ + ../src/LexTeX.cpp \ + ../src/LexVB.cpp \ + ../src/LexVHDL.cpp \ + ../src/LexVerilog.cpp \ + ../src/LexYAML.cpp \ + ../src/LineMarker.cpp \ + ../src/PropSet.cpp \ + ../src/RESearch.cpp \ + ../src/ScintillaBase.cpp \ + ../src/Style.cpp \ + ../src/StyleContext.cpp \ + ../src/ViewStyle.cpp \ + ../src/WindowAccessor.cpp \ + ../src/XPM.cpp + +TRANSLATIONS = \ + tqscintilla_de.ts \ + tqscintilla_fr.ts \ + tqscintilla_pt_br.ts \ + tqscintilla_ru.ts + + +header.path = $(TQTDIR)/include +header.files = tqextscintilla*.h + +trans.path = $(TQTDIR)/translations +trans.files = tqscintilla_*.qm + +INSTALLS += header trans diff --git a/tqt/tqscintilla_de.qm b/tqt/tqscintilla_de.qm new file mode 100644 index 0000000..4dc41f9 Binary files /dev/null and b/tqt/tqscintilla_de.qm differ diff --git a/tqt/tqscintilla_de.ts b/tqt/tqscintilla_de.ts new file mode 100644 index 0000000..1decc72 --- /dev/null +++ b/tqt/tqscintilla_de.ts @@ -0,0 +1,1635 @@ + + + TQextScintillaCommand + + Move left one character + Ein Zeichen nach links + + + Move right one character + Ein Zeichen nach rechts + + + Move up one line + Eine Zeile nach oben + + + Move down one line + Eine Zeile nach unten + + + Move left one word part + Ein Wortteil nach links + + + Move right one word part + Ein Wortteil nach rechts + + + Move left one word + Ein Wort nach links + + + Move right one word + Ein Wort nach rechts + + + Move to first visible character in line + Zum ersten sichtbaren Zeichen + + + Move to end of line + Zum Ende der Zeile + + + Scroll view down one line + Eine Zeile nach unten rollen + + + Scroll view up one line + Eine Zeile nach oben rollen + + + Move up one page + Eine Seite hoch + + + Move down one page + Eine Seite nach unten + + + Move to start of text + Zum Textanfang + + + Move to end of text + Zum Textende + + + Indent one level + Eine Ebene einrücken + + + Move back one indentation level + Eine Ebene ausrücken + + + Select all text + Gesamten Text auswählen + + + Extend selection left one character + Auswahl um ein Zeichen nach links erweitern + + + Extend selection right one character + Auswahl um ein Zeichen nach rechts erweitern + + + Extend selection up one line + Auswahl um eine Zeile nach oben erweitern + + + Extend selection down one line + Auswahl um eine Zeile nach unten erweitern + + + Extend selection left one word part + Auswahl um einen Wortteil nach links erweitern + + + Extend selection right one word part + Auswahl um einen Wortteil nach rechts erweitern + + + Extend selection left one word + Auswahl um ein Wort nach links erweitern + + + Extend selection right one word + Auswahl um ein Wort nach rechts erweitern + + + Extend selection to first visible character in line + Auswahl bis zum ersten sichtbaren Zeichen erweitern + + + Extend selection to start of line + Auswahl bis zum Zeilenanfang erweitern + + + Extend selection to end of line + Auswahl bis zum Zeilenende erweitern + + + Extend selection up one page + Auswahl um eine Seite nach oben erweitern + + + Extend selection down one page + Auswahl um eine Seite nach unten erweitern + + + Extend selection to start of text + Auswahl bis zum Textanfang erweitern + + + Extend selection to end of text + Auswahl bis zum Textende erweitern + + + Delete previous character + Zeichen links löschen + + + Delete previous character if not at line start + Zeichen links löschen, wenn nicht am Zeilenanfang + + + Delete current character + Aktuelles Zeichen löschen + + + Delete word to left + Wort links löschen + + + Delete word to right + Wort rechts löschen + + + Delete line to left + Zeile links löschen + + + Delete line to right + Zeile rechts löschen + + + Insert new line + Neue Zeile einfügen + + + Delete current line + Aktuelle Zeile löschen + + + Swap current and previous lines + Aktuelle Zeile mit vorhergehender tauschen + + + Cut current line + Aktuelle Zeile ausschneiden + + + Cut selection + Auswahl ausschneiden + + + Copy selection + Auswahl kopieren + + + Paste + Einfügen + + + Redo last command + Letzten Befehl wiederholen + + + Undo the last command + Letzten Befehl rückgängig + + + Cancel + Abbrechen + + + Toggle insert/overtype + Einfügen/Überschreiben umschalten + + + Convert selection to lower case + Auswahl in Kleinbuchstaben umwandeln + + + Convert selection to upper case + Auswahl in Großbuchstaben umwandeln + + + Zoom in + Vergrößern + + + Zoom out + Verkleinern + + + Move up one paragraph + Einen Absatz nach oben + + + Move down one paragraph + Einen Absatz nach unten + + + Extend selection up one paragraph + Auswahl um einen Absatz nach oben erweitern + + + Extend selection down one paragraph + Auswahl um einen Absatz nach unten erweitern + + + Copy current line + Aktuelle Zeile kopieren + + + Extend rectangular selection down one line + Rechteckige Auswahl um eine Zeile nach unten erweitern + + + Extend rectangular selection up one line + Rechteckige Auswahl um eine Zeile nach oben erweitern + + + Extend rectangular selection left one character + Rechteckige Auswahl um ein Zeichen nach links erweitern + + + Extend rectangular selection right one character + Rechteckige Auswahl um ein Zeichen nach rechts erweitern + + + Move to start of displayed line + Zum Beginn der angezeigten Zeile + + + Extend rectangular selection to first visible character in line + Rechteckige Auswahl bis zum ersten sichtbaren Zeichen erweitern + + + Move to end of displayed line + Zum Ende der angezeigten Zeile + + + Extend selection to end of displayed line + Auswahl bis zum Ende der angezeigten Zeile erweitern + + + Extend rectangular selection to end of line + Rechteckige Auswahl bis zum Zeilenende erweitern + + + Extend rectangular selection up one page + Rechteckige Auswahl um eine Seite nach oben erweitern + + + Extend rectangular selection down one page + Rechteckige Auswahl um eine Seite nach unten erweitern + + + Set zoom + Zoom einstellen + + + Formfeed + Seitenumbruch + + + Duplicate selection + Auswahl duplizieren + + + + TQextScintillaLexerBash + + Default + Standard + + + Error + Fehler + + + Comment + Kommentar + + + Number + Zahl + + + Keyword + Schlüsselwort + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + Operator + Operator + + + Identifier + Bezeichner + + + Scalar + Skalar + + + Parameter expansion + Parametererweiterung + + + Backticks + Backticks + + + Here document delimiter + Here Dokument-Begrenzer + + + Single-quoted here document + Here Dokument in Hochkommata + + + + TQextScintillaLexerBatch + + Default + Standard + + + Comment + Kommentar + + + Keyword + Schlüsselwort + + + Label + Marke + + + Variable + Variable + + + Operator + Operator + + + Hide command character + "Befehl verbergen" Zeichen + + + External command + Externer Befehl + + + + TQextScintillaLexerCPP + + Number + Zahl + + + Keyword + Schlüsselwort + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + Pre-processor block + Preprozessorblock + + + Operator + Operator + + + Identifier + Bezeichner + + + Unclosed string + Unbeendete Zeichenkette + + + Default + Standard + + + C comment + C Kommentar + + + C++ comment + C++ Kommentar + + + JavaDoc style C comment + JavaDoc C Kommentar + + + JavaDoc style C++ comment + JavaDoc C++ Kommentar + + + JavaDoc keyword + JavaDoc Schlüsselwort + + + JavaDoc keyword error + JavaDoc Schlüsselwortfehler + + + Secondary keywords and identifiers + Sekundäre Schlusselwörter und Bezeichner + + + Global classes and typedefs + Globale Klassen und typdefinitionen + + + + TQextScintillaLexerCSS + + Default + Standard + + + Tag + Tag + + + Class selector + Klassenselektor + + + Pseudo-class + Pseudoklasse + + + Unknown pseudo-class + Unbekannte Pseudoklasse + + + Operator + Operator + + + CSS1 property + CSS1 Eigenschaft + + + Unknown property + Unbekannte Eigenschaft + + + Value + Wert + + + ID selector + ID-Selektor + + + Important + Wichtig + + + @-rule + @-Regel + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + CSS2 property + CSS2 Eigenschaft + + + Attribute + Attribut + + + + TQextScintillaLexerCSharp + + Verbatim string + Uninterpretierte Zeichenkette + + + + TQextScintillaLexerDiff + + Default + Standard + + + Comment + Kommentar + + + Command + Befehl + + + Header + Kopfzeilen + + + Position + Position + + + Removed line + Entfernte Zeile + + + Added line + Hinzugefügte Zeile + + + + TQextScintillaLexerHTML + + HTML default + HTML Standard + + + Tag + Tag + + + Unknown tag + Unbekanntes Tag + + + Attribute + Attribut + + + Unknown attribute + Unbekanntes Attribut + + + HTML number + HTML Zahl + + + HTML double-quoted string + HTML Zeichenkette in Anführungszeichen + + + HTML single-quoted string + HTML Zeichenkette in Hochkommata + + + Other text in a tag + Anderer Text in einem Tag + + + HTML comment + HTML Kommentar + + + Entity + Entität + + + End of a tag + Tagende + + + Start of an XML fragment + Beginn eines XML Fragmentes + + + End of an XML fragment + Ende eines XML Fragmentes + + + Script tag + Skript Tag + + + Start of an ASP fragment with @ + Beginn eines ASP Fragmentes mit @ + + + Start of an ASP fragment + Beginn eines ASP Fragmentes + + + CDATA + CDATA + + + Start of a PHP fragment + Beginn eines PHP Fragmentes + + + Unquoted HTML value + HTML Wert ohne Anführungszeichen + + + ASP X-Code comment + ASP X-Code Kommentar + + + SGML default + SGML Standard + + + SGML command + SGML Befehl + + + First parameter of an SGML command + Erster Parameter eines SGML Befehls + + + SGML double-quoted string + SGML Zeichenkette in Anführungszeichen + + + SGML single-quoted string + SGML Zeichenkette in Hochkommata + + + SGML error + SGML Fehler + + + SGML special entity + SGML Spezielle Entität + + + SGML comment + SGML Kommentar + + + First parameter comment of an SGML command + Kommentar des ersten Parameters eines SGML Befehls + + + SGML block default + SGML Standardblock + + + Start of a JavaScript fragment + Beginn eines JavaScript Fragmentes + + + JavaScript default + JavaScript Standard + + + JavaScript comment + JavaScript Kommentar + + + JavaScript line comment + JavaScript Zeilenkommentar + + + JavaDoc style JavaScript comment + JavaDoc JavaScript Kommentar + + + JavaScript number + JavaScript Zahl + + + JavaScript word + JavaScript Wort + + + JavaScript keyword + JavaScript Schlüsselwort + + + JavaScript double-quoted string + JavaScript Zeichenkette in Anführungszeichen + + + JavaScript single-quoted string + JavaScript Zeichenkette in Hochkommata + + + JavaScript symbol + JavaScript Symbol + + + JavaScript unclosed string + JavaScript Unbeendete Zeichenkette + + + JavaScript regular expression + JavaScript Regulärer Ausdruck + + + Start of an ASP JavaScript fragment + Beginn eines ASP JavaScript Fragmentes + + + ASP JavaScript default + ASP JavaScript Standard + + + ASP JavaScript comment + ASP JavaScript Kommentar + + + ASP JavaScript line comment + ASP JavaScript Zeilenkommentar + + + JavaDoc style ASP JavaScript comment + JavaDoc ASP JavaScript Kommentar + + + ASP JavaScript number + ASP JavaScript Zahl + + + ASP JavaScript word + ASP JavaScript Wort + + + ASP JavaScript keyword + ASP JavaScript Schlüsselwort + + + ASP JavaScript double-quoted string + ASP JavaScript Zeichenkette in Anführungszeichen + + + ASP JavaScript single-quoted string + ASP JavaScript Zeichenkette in Hochkommata + + + ASP JavaScript symbol + ASP JavaScript Symbol + + + ASP JavaScript unclosed string + ASP JavaScript Unbeendete Zeichenkette + + + ASP JavaScript regular expression + ASP JavaScript Regulärer Ausdruck + + + Start of a VBScript fragment + Beginn eines VBScript Fragmentes + + + VBScript default + VBScript Standard + + + VBScript comment + VBScript Kommentar + + + VBScript number + VBScript Zahl + + + VBScript keyword + VBScript Schlüsselwort + + + VBScript string + VBScript Zeichenkette + + + VBScript identifier + VBScript Bezeichner + + + VBScript unclosed string + VBScript Unbeendete Zeichenkette + + + Start of an ASP VBScript fragment + Beginn eines ASP VBScript Fragmentes + + + ASP VBScript default + ASP VBScript Standard + + + ASP VBScript comment + ASP VBScript Kommentar + + + ASP VBScript number + ASP VBScript Zahl + + + ASP VBScript keyword + ASP VBScript Schlüsselwort + + + ASP VBScript string + ASP VBScript Zeichenkette + + + ASP VBScript identifier + ASP VBScript Bezeichner + + + ASP VBScript unclosed string + ASP VBScript Unbeendete Zeichenkette + + + Start of a Python fragment + Beginn eines Python Fragmentes + + + Python default + Python Standard + + + Python comment + Python Kommentar + + + Python number + Python Zahl + + + Python double-quoted string + Python Zeichenkette in Anführungszeichen + + + Python single-quoted string + Python Zeichenkette in Hochkommata + + + Python keyword + Python Schlüsselwort + + + Python triple double-quoted string + Python Zeichenkette in dreifachen Anführungszeichen + + + Python triple single-quoted string + Python Zeichenkette in dreifachen Hochkommata + + + Python class name + Python Klassenname + + + Python function or method name + Python Funktions- oder Methodenname + + + Python operator + Python Operator + + + Python identifier + Python Bezeichner + + + Start of an ASP Python fragment + Beginn eines ASP Python Fragmentes + + + ASP Python default + ASP Python Standard + + + ASP Python comment + ASP Python Kommentar + + + ASP Python number + ASP Python Zahl + + + ASP Python double-quoted string + ASP Python Zeichenkette in Anführungszeichen + + + ASP Python single-quoted string + ASP Python Zeichenkette in Hochkommata + + + ASP Python keyword + ASP Python Schlüsselwort + + + ASP Python triple double-quoted string + ASP Python Zeichenkette in dreifachen Anführungszeichen + + + ASP Python triple single-quoted string + ASP Python Zeichenkette in dreifachen Hochkommata + + + ASP Python class name + ASP Python Klassenname + + + ASP Python function or method name + ASP Python Funktions- oder Methodenname + + + ASP Python operator + ASP Python Operator + + + ASP Python identifier + ASP Python Bezeichner + + + PHP default + PHP Standard + + + PHP double-quoted string + PHP Zeichenkette in Anführungszeichen + + + PHP single-quoted string + PHP Zeichenkette in Hochkommata + + + PHP keyword + PHP Schlüsselwort + + + PHP number + PHP Zahl + + + PHP comment + PHP Kommentar + + + PHP line comment + PHP Zeilenkommentar + + + PHP double-quoted variable + PHP Variable in Anführungszeichen + + + PHP operator + PHP Operator + + + PHP variable + PHP Variable + + + + TQextScintillaLexerIDL + + UUID + UUID + + + + TQextScintillaLexerJavaScript + + Regular expression + Regulärer Ausdruck + + + + TQextScintillaLexerLua + + Default + Standard + + + Comment + Kommentar + + + Line comment + Zeilenkommentar + + + Number + Zahl + + + Keyword + Schlüsselwort + + + String + Zeichenkette + + + Character + Zeichen + + + Literal string + Uninterpretierte Zeichenkette + + + Preprocessor + Preprozessor + + + Operator + Operator + + + Identifier + Bezeichner + + + Unclosed string + Unbeendete Zeichenkette + + + Basic functions + Basisfunktionen + + + String, table and maths functions + Zeichenketten-, Tabelle- und mathematische Funktionen + + + Coroutines, i/o and system facilities + Koroutinen, I/O- und Systemfunktionen + + + + TQextScintillaLexerMakefile + + Default + Standard + + + Comment + Kommentar + + + Preprocessor + Preprozessor + + + Variable + Variable + + + Operator + Operator + + + Target + Ziel + + + Error + Fehler + + + + TQextScintillaLexerPOV + + Default + Standard + + + Comment + Kommentar + + + Comment line + Kommentarzeile + + + Number + Zahl + + + Operator + Operator + + + Identifier + Bezeichner + + + String + Zeichenkette + + + Unclosed string + Unbeendete Zeichenkette + + + Directive + Direktive + + + Bad directive + Ungültige Direktive + + + Objects, CSG and appearance + Objekte, CSG und Erscheinung + + + Types, modifiers and items + Typen, Modifizierer und Items + + + Predefined identifiers + Vordefinierter Bezeichner + + + Predefined functions + Vordefinierte Funktion + + + User defined 1 + Nutzerdefiniert 1 + + + User defined 2 + Nutzerdefiniert 2 + + + User defined 3 + Nutzerdefiniert 3 + + + + TQextScintillaLexerPerl + + Default + Standard + + + Error + Fehler + + + Comment + Kommentar + + + POD + POD + + + Number + Zahl + + + Keyword + Schlüsselwort + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + Operator + Operator + + + Identifier + Bezeichner + + + Scalar + Skalar + + + Array + Feld + + + Hash + Hash + + + Symbol table + Symboltabelle + + + Regular expression + Regulärer Ausdruck + + + Substitution + Ersetzung + + + Backticks + Backticks + + + Data section + Datensektion + + + Here document delimiter + Here Dokument-Begrenzer + + + Single-quoted here document + Here Dokument in Hochkommata + + + Double-quoted here document + Here Dokument in Anführungszeichen + + + Backtick here document + Here Dokument in Backticks + + + Quoted string (q) + Zeichenkette (q) + + + Quoted string (qq) + Zeichenkette (qq) + + + Quoted string (qx) + Zeichenkette (qx) + + + Quoted string (qr) + Zeichenkette (qr) + + + Quoted string (qw) + Zeichenkette (qw) + + + POD verbatim + POD wörtlich + + + + TQextScintillaLexerProperties + + Default + Standard + + + Comment + Kommentar + + + Section + Abschnitt + + + Assignment + Zuweisung + + + Default value + Standardwert + + + + TQextScintillaLexerPython + + Comment + Kommentar + + + Number + Zahl + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + Keyword + Schlüsselwort + + + Triple single-quoted string + Zeichenkette in dreifachen Hochkommata + + + Triple double-quoted string + Zeichenkette in dreifachen Anführungszeichen + + + Class name + Klassenname + + + Function or method name + Funktions- oder Methodenname + + + Operator + Operator + + + Identifier + Bezeichner + + + Comment block + Kommentarblock + + + Unclosed string + Unbeendete Zeichenkette + + + Default + Standard + + + Highlighted identifier + Hervorgehobener Bezeichner + + + Decorator + Dekorator + + + + TQextScintillaLexerRuby + + Default + Standard + + + Comment + Kommentar + + + Number + Zahl + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + Single-quoted string + Zeichenkette in Hochkommata + + + Keyword + Schlüsselwort + + + Class name + Klassenname + + + Function or method name + Funktions- oder Methodenname + + + Operator + Operator + + + Identifier + Bezeichner + + + Error + Fehler + + + POD + POD + + + Regular expression + Regulärer Ausdruck + + + Global + Global + + + Symbol + Symbol + + + Module name + Modulname + + + Instance variable + Instanzvariable + + + Class variable + Klassenvariable + + + Backticks + Backticks + + + Data section + Datensektion + + + Here document delimiter + Here Dokument-Begrenzer + + + Here document + Here Dokument + + + %q string + %q Zeichenkette + + + %Q string + %Q Zeichenkette + + + %x string + %x Zeichenkette + + + %r string + %r Zeichenkette + + + %w string + %w Zeichenkette + + + Demoted keyword + zurückgestuftes Schlüsselwort + + + stdin + Stdin + + + stdout + Stdout + + + stderr + Stderr + + + + TQextScintillaLexerSQL + + Default + Standard + + + Comment + Kommentar + + + Number + Zahl + + + Keyword + Schlüsselwort + + + Single-quoted string + Zeichenkette in Hochkommata + + + Operator + Operator + + + Identifier + Bezeichner + + + Comment line + Kommentarzeile + + + JavaDoc style comment + JavaDoc Kommentar + + + Double-quoted string + Zeichenkette in Anführungszeichen + + + SQL*Plus keyword + SQL*Plus Schlüsselwort + + + SQL*Plus prompt + SQL*Plus Eingabe + + + SQL*Plus comment + SQL*Plus Kommentar + + + # comment line + # Kommentarzeile + + + JavaDoc keyword + JavaDoc Schlüsselwort + + + JavaDoc keyword error + JavaDoc Schlüsselwortfehler + + + User defined 1 + Nutzerdefiniert 1 + + + User defined 2 + Nutzerdefiniert 2 + + + User defined 3 + Nutzerdefiniert 3 + + + User defined 4 + Nutzerdefiniert 4 + + + + TQextScintillaLexerTeX + + Default + Standard + + + Special + Spezial + + + Group + Gruppe + + + Symbol + Symbol + + + Command + Befehl + + + Text + Text + + + diff --git a/tqt/tqscintilla_fr.qm b/tqt/tqscintilla_fr.qm new file mode 100644 index 0000000..e4bcfea Binary files /dev/null and b/tqt/tqscintilla_fr.qm differ diff --git a/tqt/tqscintilla_fr.ts b/tqt/tqscintilla_fr.ts new file mode 100644 index 0000000..d48d556 --- /dev/null +++ b/tqt/tqscintilla_fr.ts @@ -0,0 +1,1635 @@ + + + TQextScintillaCommand + + Move down one line + Déplacement d'une ligne vers le bas + + + Extend selection down one line + Extension de la sélection d'une ligne vers le bas + + + Scroll view down one line + Decendre la vue d'une ligne + + + Extend rectangular selection down one line + Extension de la sélection rectangulaire d'une ligne vers le bas + + + Move up one line + Déplacement d'une ligne vers le haut + + + Extend selection up one line + Extension de la sélection d'une ligne vers le haut + + + Scroll view up one line + Remonter la vue d'une ligne + + + Extend rectangular selection up one line + Extension de la sélection rectangulaire d'une ligne vers le haut + + + Move up one paragraph + Déplacement d'un paragraphe vers le haut + + + Extend selection up one paragraph + Extension de la sélection d'un paragraphe vers le haut + + + Move down one paragraph + Déplacement d'un paragraphe vers le bas + + + Extend selection down one paragraph + Extension de la sélection d'un paragraphe vers le bas + + + Move left one character + Déplacement d'un caractère vers la gauche + + + Extend selection left one character + Extension de la sélection d'un caractère vers la gauche + + + Move left one word + Déplacement d'un mot vers la gauche + + + Extend selection left one word + Extension de la sélection d'un mot vers la gauche + + + Extend rectangular selection left one character + Extension de la sélection rectangulaire d'un caractère vers la gauche + + + Move right one character + Déplacement d'un caractère vers la droite + + + Extend selection right one character + Extension de la sélection d'un caractère vers la droite + + + Move right one word + Déplacement d'un mot vers la droite + + + Extend selection right one word + Extension de la sélection d'un mot vers la droite + + + Extend rectangular selection right one character + Extension de la sélection rectangulaire d'un caractère vers la droite + + + Move left one word part + Déplacement d'une part de mot vers la gauche + + + Extend selection left one word part + Extension de la sélection d'une part de mot vers la gauche + + + Move right one word part + Déplacement d'une part de mot vers la droite + + + Extend selection right one word part + Extension de la sélection d'une part de mot vers la droite + + + Move to first visible character in line + Déplacement vers le premier caractère visible de la ligne + + + Extend selection to first visible character in line + Extension de la sélection jusqu'au premier caractère visible de la ligne + + + Move to start of text + Déplacement au début du texte + + + Extend selection to start of text + Extension de la sélection jusqu'au début du texte + + + Move to start of displayed line + Déplacement au le début de la ligne affichée + + + Extend selection to start of line + Extension de la sélection jusqu'au début de la ligne + + + Extend rectangular selection to first visible character in line + Extension de la sélection rectangulaire jusqu'au premier caractère visible de la ligne + + + Move to end of line + Déplacement à la fin de la ligne + + + Extend selection to end of line + Extension de la sélection jusqu'à la fin de la ligne + + + Move to end of text + Déplacement à la fin du du texte + + + Extend selection to end of text + Extension de la sélection jusqu'à la fin du texte + + + Move to end of displayed line + Déplacement à la fin de la ligne affichée + + + Extend selection to end of displayed line + Extension de la sélection à la fin de la ligne affichée + + + Extend rectangular selection to end of line + Extension de la sélection rectangulaire à la fin de la ligne + + + Move up one page + Déplacement d'une page vers le haut + + + Extend selection up one page + Extension de la sélection d'une page vers le haut + + + Extend rectangular selection up one page + Extension de la sélection rectangulaire d'une page vers le haut + + + Move down one page + Déplacement d'une page vers le bas + + + Extend selection down one page + Extension de la sélection d'une page vers le bas + + + Extend rectangular selection down one page + Extension de la sélection rectangulaire d'une page vers le bas + + + Delete current character + Effacement du caractère courant + + + Cut selection + Couper la sélection + + + Delete word to right + Suppression du mot de droite + + + Delete line to right + Suppression de la partie droite de la ligne + + + Toggle insert/overtype + Basculement Insertion /Ecrasement + + + Paste + Coller + + + Copy selection + Copier la sélection + + + Cancel + Annuler + + + Delete previous character + Suppression du dernier caractère + + + Delete word to left + Suppression du mot de gauche + + + Undo the last command + Annuler la dernière commande + + + Delete line to left + Effacer la partie gauche de la ligne + + + Redo last command + Refaire la dernière commande + + + Select all text + Sélectionner tout le texte + + + Indent one level + Indentation d'un niveau + + + Move back one indentation level + Désindentation d'un niveau + + + Insert new line + Insertion d'une nouvelle ligne + + + Zoom in + Zoom avant + + + Zoom out + Zoom arrière + + + Set zoom + Définition du zoom + + + Formfeed + Chargement de la page + + + Cut current line + Couper la ligne courante + + + Delete current line + Suppression de la ligne courante + + + Copy current line + Copier la ligne courante + + + Swap current and previous lines + Permuter la ligne précédente avec la ligne courante + + + Convert selection to lower case + Conversion de la ligne courante en minuscules + + + Convert selection to upper case + Conversion de la ligne courante en majuscules + + + Delete previous character if not at line start + Suppression du caractère précédent sauf en début de ligne + + + Duplicate selection + + + + + TQextScintillaLexerBash + + Default + Par défaut + + + Error + Erreur + + + Comment + Commentaire + + + Number + Nombre + + + Keyword + Mot-clé + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Operator + Opérateur + + + Identifier + Identificateur + + + Scalar + Scalaire + + + Parameter expansion + Extension de paramètre + + + Backticks + Quotes inverses + + + Here document delimiter + Délimiteur de texte intégré (cat <<EOF....EOF) + + + Single-quoted here document + Document intégré guillemets simples + + + + TQextScintillaLexerBatch + + Default + Par défaut + + + Comment + Commentaire + + + Keyword + Mot-clé + + + Label + Titre + + + Hide command character + Cacher le caratère de commande + + + External command + Commande externe + + + Variable + Variable + + + Operator + Opérateur + + + + TQextScintillaLexerCPP + + Default + Par défaut + + + C comment + Commentaire C + + + C++ comment + Commentaire C++ + + + JavaDoc style C comment + Commentaire C de style JavaDoc + + + Number + Nombre + + + Keyword + Mot-clé + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Pre-processor block + Instructions de pré-processing + + + Operator + Opérateur + + + Identifier + Identificateur + + + Unclosed string + Chaine de caractères non refermée + + + JavaDoc style C++ comment + Commentaire C++ de style JavaDoc + + + Secondary keywords and identifiers + Seconds mots-clés et identificateurs + + + JavaDoc keyword + Mot-clé JavaDoc + + + JavaDoc keyword error + Erreur de mot-clé JavaDoc + + + Global classes and typedefs + Classes globales et définitions de types + + + + TQextScintillaLexerCSS + + Default + Par défaut + + + Tag + Balise + + + Class selector + Classe + + + Pseudo-class + Pseudo-classe + + + Unknown pseudo-class + Peudo-classe inconnue + + + Operator + Opérateur + + + CSS1 property + Propriété CSS1 + + + Unknown property + Propriété inconnue + + + Value + Valeur + + + ID selector + ID + + + Important + Important + + + @-rule + règle-@ + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + CSS2 property + Propriété CSS2 + + + Attribute + Attribut + + + + TQextScintillaLexerCSharp + + Verbatim string + Chaine verbatim + + + + TQextScintillaLexerDiff + + Default + Par défaut + + + Comment + Commentaire + + + Command + Commande + + + Header + En-tête + + + Position + Position + + + Removed line + Ligne supprimée + + + Added line + Ligne ajoutée + + + + TQextScintillaLexerHTML + + HTML default + HTML par défaut + + + Tag + Balise + + + Unknown tag + Balise inconnue + + + Attribute + Attribut + + + Unknown attribute + Attribut inconnu + + + HTML number + Nombre HTML + + + HTML double-quoted string + Chaine de caractères HTML (guillemets doubles) + + + HTML single-quoted string + Chaine de caractères HTML (guillemets simples) + + + Other text in a tag + Autre texte dans les balises + + + HTML comment + Commentaire HTML + + + Entity + Entité + + + End of a tag + Balise fermante + + + Start of an XML fragment + Début de block XML + + + End of an XML fragment + Fin de block XML + + + Script tag + Balise de script + + + Start of an ASP fragment with @ + Début de block ASP avec @ + + + Start of an ASP fragment + Début de block ASP + + + CDATA + CDATA + + + Start of a PHP fragment + Début de block PHP + + + Unquoted HTML value + Valeur HTML sans guillemets + + + ASP X-Code comment + Commentaire X-Code ASP + + + SGML default + SGML par défaut + + + SGML command + Commande SGML + + + First parameter of an SGML command + Premier paramètre de commande SGML + + + SGML double-quoted string + Chaine de caractères SGML (guillemets doubles) + + + SGML single-quoted string + Chaine de caractères SGML (guillemets simples) + + + SGML error + Erreur SGML + + + SGML special entity + Entité SGML spéciale + + + SGML comment + Commentaire SGML + + + First parameter comment of an SGML command + Premier paramètre de commentaire de commande SGML + + + SGML block default + Block SGML par défaut + + + Start of a JavaScript fragment + Début de block JavaScript + + + JavaScript default + JavaScript par défaut + + + JavaScript comment + Commentaire JavaScript + + + JavaScript line comment + Commentaire de ligne JavaScript + + + JavaDoc style JavaScript comment + Commentaire JavaScript de style JavaDoc + + + JavaScript number + Nombre JavaScript + + + JavaScript word + Mot JavaScript + + + JavaScript keyword + Mot-clé JavaScript + + + JavaScript double-quoted string + Chaine de caractères JavaScript (guillemets doubles) + + + JavaScript single-quoted string + Chaine de caractères JavaScript (guillemets simples) + + + JavaScript symbol + Symbole JavaScript + + + JavaScript unclosed string + Chaine de caractères JavaScript non refermée + + + JavaScript regular expression + Expression régulière JavaScript + + + Start of an ASP JavaScript fragment + Début de block JavaScript ASP + + + ASP JavaScript default + JavaScript ASP par défaut + + + ASP JavaScript comment + Commentaire JavaScript ASP + + + ASP JavaScript line comment + Commentaire de ligne JavaScript ASP + + + JavaDoc style ASP JavaScript comment + Commentaire JavaScript ASP de style JavaDoc + + + ASP JavaScript number + Nombre JavaScript ASP + + + ASP JavaScript word + Mot JavaScript ASP + + + ASP JavaScript keyword + Mot-clé JavaScript ASP + + + ASP JavaScript double-quoted string + Chaine de caractères JavaScript ASP (guillemets doubles) + + + ASP JavaScript single-quoted string + Chaine de caractères JavaScript ASP (guillemets simples) + + + ASP JavaScript symbol + Symbole JavaScript ASP + + + ASP JavaScript unclosed string + Chaine de caractères JavaScript ASP non refermée + + + ASP JavaScript regular expression + Expression régulière JavaScript ASP + + + Start of a VBScript fragment + Début de block VBScript + + + VBScript default + VBScript par défaut + + + VBScript comment + Commentaire VBScript + + + VBScript number + Nombre VBScript + + + VBScript keyword + Mot-clé VBScript + + + VBScript string + Chaine de caractères VBScript + + + VBScript identifier + Identificateur VBScript + + + VBScript unclosed string + Chaine de caractères VBScript non refermée + + + Start of an ASP VBScript fragment + Début de block VBScript ASP + + + ASP VBScript default + VBScript ASP par défaut + + + ASP VBScript comment + Commentaire VBScript ASP + + + ASP VBScript number + Nombre VBScript ASP + + + ASP VBScript keyword + Mot-clé VBScript ASP + + + ASP VBScript string + Chaine de caractères VBScript ASP + + + ASP VBScript identifier + Identificateur VBScript ASP + + + ASP VBScript unclosed string + Chaine de caractères VBScript ASP non refermée + + + Start of a Python fragment + Début de block Python + + + Python default + Python par défaut + + + Python comment + Commentaire Python + + + Python number + Nombre Python + + + Python double-quoted string + Chaine de caractères Python (guillemets doubles) + + + Python single-quoted string + Chaine de caractères Python (guillemets simples) + + + Python keyword + Mot-clé Python + + + Python triple double-quoted string + Chaine de caractères Python (triples guillemets doubles) + + + Python triple single-quoted string + Chaine de caractères Python (triples guillemets simples) + + + Python class name + Nom de classe Python + + + Python function or method name + Méthode ou fonction Python + + + Python operator + Opérateur Python + + + Python identifier + Identificateur Python + + + Start of an ASP Python fragment + Début de block Python ASP + + + ASP Python default + Python ASP par défaut + + + ASP Python comment + Commentaire Python ASP + + + ASP Python number + Nombre Python ASP + + + ASP Python double-quoted string + Chaine de caractères Python ASP (guillemets doubles) + + + ASP Python single-quoted string + Chaine de caractères Python ASP (guillemets simples) + + + ASP Python keyword + Mot-clé Python ASP + + + ASP Python triple double-quoted string + Chaine de caractères Python ASP (triples guillemets doubles) + + + ASP Python triple single-quoted string + Chaine de caractères Python ASP (triples guillemets simples) + + + ASP Python class name + Nom de classe Python ASP + + + ASP Python function or method name + Méthode ou fonction Python ASP + + + ASP Python operator + Opérateur Python ASP + + + ASP Python identifier + Identificateur Python ASP + + + PHP default + PHP par défaut + + + PHP double-quoted string + Chaine de caractères PHP (guillemets doubles) + + + PHP single-quoted string + Chaine de caractères PHP (guillemets simples) + + + PHP keyword + Mot-clé PHP + + + PHP number + Nombre PHP + + + PHP variable + Variable PHP + + + PHP comment + Commentaire PHP + + + PHP line comment + Commentaire de ligne PHP + + + PHP double-quoted variable + Variable PHP (guillemets doubles) + + + PHP operator + Opérateur PHP + + + + TQextScintillaLexerIDL + + UUID + UUID + + + + TQextScintillaLexerJavaScript + + Regular expression + Expression régulière + + + + TQextScintillaLexerLua + + Default + Par défaut + + + Comment + Commentaire + + + Line comment + Commentaire de ligne + + + Number + Nombre + + + Keyword + Mot-clé + + + String + Chaîne de caractères + + + Character + Caractère + + + Literal string + Chaîne littérale + + + Preprocessor + Préprocessing + + + Operator + Opérateur + + + Identifier + Identificateur + + + Unclosed string + Chaine de caractères non refermée + + + Basic functions + Fonctions de base + + + String, table and maths functions + Fonctions sur les chaines, tables et fonctions math + + + Coroutines, i/o and system facilities + Coroutines, i/o et fonctions système + + + + TQextScintillaLexerMakefile + + Default + Par défaut + + + Comment + Commentaire + + + Preprocessor + Préprocessing + + + Variable + Variable + + + Operator + Opérateur + + + Target + Cible + + + Error + Erreur + + + + TQextScintillaLexerPOV + + Default + Par défaut + + + Comment + Commentaire + + + Comment line + Ligne commentée + + + Number + Nombre + + + Operator + Opérateur + + + Identifier + Identificateur + + + String + Chaîne de caractères + + + Unclosed string + Chaine de caractères non refermée + + + Directive + Directive + + + Bad directive + Mauvaise directive + + + Objects, CSG and appearance + Objets, CSG et apparence + + + Types, modifiers and items + Types, modifieurs et éléments + + + Predefined identifiers + Identifiants prédéfinis + + + Predefined functions + Fonctions prédéfinies + + + User defined 1 + Définition utilisateur 1 + + + User defined 2 + Définition utilisateur 2 + + + User defined 3 + Définition utilisateur 3 + + + + TQextScintillaLexerPerl + + Default + Par défaut + + + Error + Erreur + + + Comment + Commentaire + + + POD + POD + + + Number + Nombre + + + Keyword + Mot-clé + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Operator + Opérateur + + + Identifier + Identificateur + + + Scalar + Scalaire + + + Array + Tableau + + + Hash + Hashage + + + Symbol table + Table de symboles + + + Regular expression + Expression régulière + + + Substitution + Substitution + + + Backticks + Quotes inverses + + + Data section + Section de données + + + Here document delimiter + Délimiteur de texte intégré (cat <<EOF....EOF) + + + Single-quoted here document + Document intégré guillemets simples + + + Double-quoted here document + Document intégré guillemets doubles + + + Backtick here document + Document intégré quotes inverses + + + Quoted string (q) + Chaine quotée (q) + + + Quoted string (qq) + Chaine quotée (qq) + + + Quoted string (qx) + Chaine quotée (qx) + + + Quoted string (qr) + Chaine quotée (qr) + + + Quoted string (qw) + Chaine quotée (qw) + + + POD verbatim + POD verbatim + + + + TQextScintillaLexerProperties + + Default + Par défaut + + + Comment + Commentaire + + + Section + Section + + + Assignment + Affectation + + + Default value + Valeur par défaut + + + + TQextScintillaLexerPython + + Default + Par défaut + + + Comment + Commentaire + + + Number + Nombre + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Keyword + Mot-clé + + + Triple single-quoted string + Chaine de caractères HTML (guillemets simples) + + + Triple double-quoted string + Chaine de caractères HTML (guillemets simples) + + + Class name + Nom de classe + + + Function or method name + Nom de méthode ou de fonction + + + Operator + Opérateur + + + Identifier + Identificateur + + + Comment block + Block de commentaires + + + Unclosed string + Chaine de caractères non refermée + + + Highlighted identifier + + + + Decorator + + + + + TQextScintillaLexerRuby + + Default + Par défaut + + + Comment + Commentaire + + + Number + Nombre + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Keyword + Mot-clé + + + Class name + Nom de classe + + + Function or method name + Nom de méthode ou de fonction + + + Operator + Opérateur + + + Identifier + Identificateur + + + Error + Erreur + + + POD + POD + + + Regular expression + Expression régulière + + + Global + + + + Symbol + Symbole + + + Module name + + + + Instance variable + + + + Class variable + + + + Backticks + Quotes inverses + + + Data section + Section de données + + + Here document delimiter + Délimiteur de texte intégré (cat <<EOF....EOF) + + + Here document + + + + %q string + + + + %Q string + + + + %x string + + + + %r string + + + + %w string + + + + Demoted keyword + + + + stdin + + + + stdout + + + + stderr + + + + + TQextScintillaLexerSQL + + Default + Par défaut + + + Comment + Commentaire + + + Number + Nombre + + + Keyword + Mot-clé + + + Single-quoted string + Chaine de caractères (guillemets simples) + + + Operator + Opérateur + + + Identifier + Identificateur + + + Comment line + Ligne commentée + + + JavaDoc style comment + Commentaire style JavaDoc + + + Double-quoted string + Chaine de caractères (guillemets doubles) + + + SQL*Plus keyword + Mot-clé SQL*Plus + + + SQL*Plus prompt + Prompt SQL*Plus + + + SQL*Plus comment + Commentaire SQL*Plus + + + # comment line + # Ligne commentée + + + JavaDoc keyword + Mot-clé JavaDoc + + + JavaDoc keyword error + Erreur de mot-clé JavaDoc + + + User defined 1 + Définition utilisateur 1 + + + User defined 2 + Définition utilisateur 2 + + + User defined 3 + Définition utilisateur 3 + + + User defined 4 + Définition utilisateur 4 + + + + TQextScintillaLexerTeX + + Default + Par défaut + + + Special + Spécial + + + Group + Groupe + + + Symbol + Symbole + + + Command + Commande + + + Text + Texte + + + diff --git a/tqt/tqscintilla_pt_br.qm b/tqt/tqscintilla_pt_br.qm new file mode 100644 index 0000000..285ca8f Binary files /dev/null and b/tqt/tqscintilla_pt_br.qm differ diff --git a/tqt/tqscintilla_pt_br.ts b/tqt/tqscintilla_pt_br.ts new file mode 100644 index 0000000..92bdbe0 --- /dev/null +++ b/tqt/tqscintilla_pt_br.ts @@ -0,0 +1,1635 @@ + + + TQextScintillaCommand + + Move down one line + Mover uma linha para baixo + + + Extend selection down one line + Extender a seleção uma linha para baixo + + + Scroll view down one line + Descer a visão uma linha para baixo + + + Extend rectangular selection down one line + Extender a seleção retangular uma linha para baixo + + + Move up one line + Mover uma linha para cima + + + Extend selection up one line + Extender a seleção uma linha para cima + + + Scroll view up one line + Subir a visão uma linha para cima + + + Extend rectangular selection up one line + Extender a seleção retangular uma linha para cima + + + Move up one paragraph + Mover um paragrafo para cima + + + Extend selection up one paragraph + Extender a seleção um paragrafo para cima + + + Move down one paragraph + Mover um paragrafo para baixo + + + Extend selection down one paragraph + Extender a seleção um paragrafo para baixo + + + Move left one character + Mover um caractere para a esquerda + + + Extend selection left one character + Extender a seleção um caractere para esquerda + + + Move left one word + Mover uma palavra para esquerda + + + Extend selection left one word + Extender a seleção uma palavra para esquerda + + + Extend rectangular selection left one character + Extender a seleção retangular um caractere para esquerda + + + Move right one character + Mover um caractere para direita + + + Extend selection right one character + Extender a seleção um caractere para direita + + + Move right one word + Mover uma palavra para direita + + + Extend selection right one word + Extender a seleção uma palavra para direita + + + Extend rectangular selection right one character + Extender a seleção retangular um caractere para direita + + + Move left one word part + Mover uma parte da palavra para esquerda + + + Extend selection left one word part + Extender a seleção uma parte de palavra para esquerda + + + Move right one word part + Mover uma parte da palavra para direita + + + Extend selection right one word part + Extender a seleção uma parte de palavra para direita + + + Move to first visible character in line + Mover para o primeiro caractere visível na linha + + + Extend selection to first visible character in line + Extender a seleção para o primeiro caractere na linha + + + Move to start of text + Mover para o ínicio do texto + + + Extend selection to start of text + Extender a seleção para o ínicio do texto + + + Move to start of displayed line + Mover para o ínicio da linha exibida + + + Extend selection to start of line + Extender a seleção para o ínicio da linha + + + Extend rectangular selection to first visible character in line + Extender a seleção para o primeiro caractere visível na linha + + + Move to end of line + Mover para o final da linha + + + Extend selection to end of line + Extender a seleção para o final da linha + + + Move to end of text + Mover para o final do texto + + + Extend selection to end of text + Extender a seleção para o final do texto + + + Move to end of displayed line + Mover para o final da linha exibida + + + Extend selection to end of displayed line + Extender a seleção retangular para o final da linha exibida + + + Extend rectangular selection to end of line + Extender a seleção retangular para o final da linha + + + Move up one page + Mover uma página para cima + + + Extend selection up one page + Extender a seleção uma página para cima + + + Extend rectangular selection up one page + Extender a seleção retangular uma página para cima + + + Move down one page + Mover uma página para baixo + + + Extend selection down one page + Extender a seleção uma página para baixo + + + Extend rectangular selection down one page + Extender a seleção retangular uma página para baixo + + + Delete current character + Excluir caractere atual + + + Cut selection + Recortar seleção + + + Delete word to right + Excluir palavra para direita + + + Delete line to right + Excluir linha para direita + + + Toggle insert/overtype + Alternar entre modo de inserir/sobreescrever + + + Paste + Copiar + + + Copy selection + Copiar seleção + + + Cancel + Cancelar + + + Delete previous character + Excluir caractere anterior + + + Delete word to left + Excluir palavra a esquerda + + + Undo the last command + Desfazer último comando + + + Delete line to left + Excluir linha a esquerda + + + Redo last command + Refazer último comando + + + Select all text + Selecionar todo o texto + + + Indent one level + Indentar um nível + + + Move back one indentation level + Desindentar um nível + + + Insert new line + Inserir nova linha + + + Zoom in + Aumentar zoom + + + Zoom out + Diminuir zoom + + + Set zoom + Configurar zoom + + + Formfeed + Alimentação da Página + + + Cut current line + Configurar linha atual + + + Delete current line + Excluir linha atual + + + Copy current line + Copiar linha atual + + + Swap current and previous lines + Trocar linha atual com as linhas anteriores + + + Convert selection to lower case + Converter a seleção para minúscula + + + Convert selection to upper case + Converter a seleção para maiúscula + + + Delete previous character if not at line start + Excluir o caractere anterior se o mesmo não estiver no ínicio da linha + + + Duplicate selection + + + + + TQextScintillaLexerBash + + Default + Padrão + + + Error + Número + + + Comment + Comentário + + + Number + Número + + + Keyword + Palavra Chave + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Operator + Operador + + + Identifier + Identificador + + + Scalar + Escalar + + + Parameter expansion + Parâmetro de Expansão + + + Backticks + Aspas Invertidas + + + Here document delimiter + Delimitador de "here documents" + + + Single-quoted here document + "here document" envolvido por aspas simples + + + + TQextScintillaLexerBatch + + Default + Padrão + + + Comment + Comentário + + + Keyword + Palavra Chave + + + Label + Rótulo + + + Hide command character + Esconder caractere de comando + + + External command + Comando externo + + + Variable + Variável + + + Operator + Operador + + + + TQextScintillaLexerCPP + + Default + Padrão + + + C comment + Comentário C + + + C++ comment + Comentário C++ + + + JavaDoc style C comment + Comentário JavaDoc estilo C + + + Number + Número + + + Keyword + Palavra Chave + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Pre-processor block + Instruções de pré-processamento + + + Operator + Operador + + + Identifier + Identificador + + + Unclosed string + Cadeia de caracteres não fechada + + + JavaDoc style C++ comment + Comentário JavaDoc estilo C++ + + + Secondary keywords and identifiers + Identificadores e palavras chave secundárias + + + JavaDoc keyword + Palavra chave JavaDoc + + + JavaDoc keyword error + Erro de palavra chave do JavaDoc + + + Global classes and typedefs + Classes e definições de tipo globais + + + + TQextScintillaLexerCSS + + Default + Padrão + + + Tag + Marcador + + + Class selector + Seletor de classe + + + Pseudo-class + Pseudo-classe + + + Unknown pseudo-class + Pseudo-classe desconhecida + + + Operator + Operador + + + CSS1 property + Propriedade CSS1 + + + Unknown property + Propriedade desconhecida + + + Value + Valor + + + ID selector + Seletor de ID + + + Important + Importante + + + @-rule + regra-@ + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + CSS2 property + Propriedade CSS2 + + + Attribute + Atributo + + + + TQextScintillaLexerCSharp + + Verbatim string + Cadeia de caracteres no formato verbatim + + + + TQextScintillaLexerDiff + + Default + Padrão + + + Comment + Comentário + + + Command + Comando + + + Header + Cabeçalho + + + Position + Posição + + + Removed line + Linha Removida + + + Added line + Linha Adicionada + + + + TQextScintillaLexerHTML + + HTML default + HTML por padrão + + + Tag + Marcador + + + Unknown tag + Marcador desconhecido + + + Attribute + Atributo + + + Unknown attribute + Atributo desconhecido + + + HTML number + Número HTML + + + HTML double-quoted string + Cadeia de caracteres HTML envolvida por aspas duplas + + + HTML single-quoted string + Cadeia de caracteres HTML envolvida por aspas simples + + + Other text in a tag + Outro texto em um marcador + + + HTML comment + Comentário HTML + + + Entity + Entidade + + + End of a tag + Final de um marcador + + + Start of an XML fragment + Início de um bloco XML + + + End of an XML fragment + Final de um bloco XML + + + Script tag + Marcador de script + + + Start of an ASP fragment with @ + Início de um bloco ASP com @ + + + Start of an ASP fragment + Início de um bloco ASP + + + CDATA + CDATA + + + Start of a PHP fragment + Início de um bloco PHP + + + Unquoted HTML value + Valor HTML não envolvido por aspas + + + ASP X-Code comment + Comentário ASP X-Code + + + SGML default + SGML por padrão + + + SGML command + Comando SGML + + + First parameter of an SGML command + Primeiro parâmetro em um comando SGML + + + SGML double-quoted string + Cadeia de caracteres SGML envolvida por aspas duplas + + + SGML single-quoted string + Cadeia de caracteres SGML envolvida por aspas simples + + + SGML error + Erro SGML + + + SGML special entity + Entidade especial SGML + + + SGML comment + Comando SGML + + + First parameter comment of an SGML command + Primeiro comentário de parâmetro de uma comando SGML + + + SGML block default + Bloco SGML por padrão + + + Start of a JavaScript fragment + Início de um bloco Javascript + + + JavaScript default + JavaScript por padrão + + + JavaScript comment + Comentário JavaScript + + + JavaScript line comment + Comentário de linha JavaScript + + + JavaDoc style JavaScript comment + Comentário JavaScript no estilo JavaDoc + + + JavaScript number + Número JavaScript + + + JavaScript word + Palavra JavaScript + + + JavaScript keyword + Palavra chave JavaScript + + + JavaScript double-quoted string + Cadeia de caracteres JavaScript envolvida por aspas duplas + + + JavaScript single-quoted string + Cadeia de caracteres JavaScript envolvida por aspas simples + + + JavaScript symbol + Símbolo JavaScript + + + JavaScript unclosed string + Cadeia de caracteres JavaScript não fechada + + + JavaScript regular expression + Expressão regular JavaScript + + + Start of an ASP JavaScript fragment + Início de um bloco Javascript ASP + + + ASP JavaScript default + JavaScript ASP por padrão + + + ASP JavaScript comment + Comentário JavaScript ASP + + + ASP JavaScript line comment + Comentário de linha JavaScript ASP + + + JavaDoc style ASP JavaScript comment + Comentário JavaScript ASP no estilo JavaDoc + + + ASP JavaScript number + Número JavaScript ASP + + + ASP JavaScript word + Palavra chave JavaScript ASP + + + ASP JavaScript keyword + Palavra chave JavaScript ASP + + + ASP JavaScript double-quoted string + Cadeia de caracteres JavaScript ASP envolvida por aspas duplas + + + ASP JavaScript single-quoted string + Cadeia de caracteres JavaScript ASP envolvida por aspas simples + + + ASP JavaScript symbol + Símbolo JavaScript ASP + + + ASP JavaScript unclosed string + Cadeia de caracteres JavaScript ASP não fechada + + + ASP JavaScript regular expression + Expressão regular JavaScript ASP + + + Start of a VBScript fragment + Início de um bloco VBScript + + + VBScript default + VBScript por padrão + + + VBScript comment + Comentário VBScript + + + VBScript number + Número VBScript + + + VBScript keyword + Palavra chave VBScript + + + VBScript string + Cadeia de caracteres VBScript + + + VBScript identifier + Identificador VBScript + + + VBScript unclosed string + Cadeia de caracteres VBScript não fechada + + + Start of an ASP VBScript fragment + Início de um bloco VBScript ASP + + + ASP VBScript default + VBScript ASP por padrão + + + ASP VBScript comment + Comentário VBScript ASP + + + ASP VBScript number + Número VBScript ASP + + + ASP VBScript keyword + Palavra chave VBScript ASP + + + ASP VBScript string + Cadeia de caracteres VBScript ASP + + + ASP VBScript identifier + Identificador VBScript ASP + + + ASP VBScript unclosed string + Cadeia de caracteres VBScript ASP não fechada + + + Start of a Python fragment + Início de um bloco Python + + + Python default + Python por padrão + + + Python comment + Comentário Python + + + Python number + Número Python + + + Python double-quoted string + Cadeia de caracteres Python envolvida por aspas duplas + + + Python single-quoted string + Cadeia de caracteres Python envolvida por aspas simples + + + Python keyword + Palavra chave Python + + + Python triple double-quoted string + Cadeia de caracteres Python envolvida por aspas triplas duplas + + + Python triple single-quoted string + Cadeia de caracteres Python envolvida por aspas triplas simples + + + Python class name + Nome de classe Python + + + Python function or method name + Nome de método ou função Python + + + Python operator + Operador Python + + + Python identifier + Identificador Python + + + Start of an ASP Python fragment + Início de um bloco Python ASP + + + ASP Python default + Python ASP por padrão + + + ASP Python comment + Comentário Python ASP + + + ASP Python number + Número Python ASP + + + ASP Python double-quoted string + Cadeia de caracteres Python ASP envolvida por aspas duplas + + + ASP Python single-quoted string + Cadeia de caracteres Python ASP envolvida por aspas simples + + + ASP Python keyword + Palavra chave Python ASP + + + ASP Python triple double-quoted string + Cadeia de caracteres Python ASP envolvida por aspas triplas duplas + + + ASP Python triple single-quoted string + Cadeia de caracteres Python ASP envolvida por aspas triplas simples + + + ASP Python class name + Nome de classe Python ASP + + + ASP Python function or method name + Nome de método ou função Python ASP + + + ASP Python operator + Operador Python ASP + + + ASP Python identifier + Identificador Python ASP + + + PHP default + PHP por padrão + + + PHP double-quoted string + Cadeia de caracteres PHP envolvida por aspas duplas + + + PHP single-quoted string + Cadeia de caracteres PHP envolvida por aspas simples + + + PHP keyword + Palavra chave PHP + + + PHP number + Número PHP + + + PHP variable + Variável PHP + + + PHP comment + Comentário PHP + + + PHP line comment + Comentário de linha PHP + + + PHP double-quoted variable + Variável PHP envolvida por aspas duplas + + + PHP operator + Operador PHP + + + + TQextScintillaLexerIDL + + UUID + UUID + + + + TQextScintillaLexerJavaScript + + Regular expression + Expressão Regular + + + + TQextScintillaLexerLua + + Default + Padrão + + + Comment + Comentário + + + Line comment + Comentar Linha + + + Number + Número + + + Keyword + Palavra Chave + + + String + Cadeia de Caracteres + + + Character + Caractere + + + Literal string + Cadeia de caracteres literal + + + Preprocessor + Preprocessador + + + Operator + Operador + + + Identifier + Identificador + + + Unclosed string + Cadeia de caracteres não fechada + + + Basic functions + Funções básicas + + + String, table and maths functions + Funções de cadeia de caracteres e de tabelas matemáticas + + + Coroutines, i/o and system facilities + Funções auxiiares, e/s e funções de sistema + + + + TQextScintillaLexerMakefile + + Default + Padrão + + + Comment + Comentário + + + Preprocessor + Preprocessador + + + Variable + Variável + + + Operator + Operador + + + Target + Destino + + + Error + Erro + + + + TQextScintillaLexerPOV + + Default + Padrão + + + Comment + Comentário + + + Comment line + Comentar Linha + + + Number + Número + + + Operator + Operador + + + Identifier + Identificador + + + String + Cadeia de Caracteres + + + Unclosed string + Cadeia de caracteres não fechada + + + Directive + Diretiva + + + Bad directive + Diretiva ruim + + + Objects, CSG and appearance + Objetos, CSG e aparência + + + Types, modifiers and items + Tipos, modificadores e itens + + + Predefined identifiers + Identificadores predefinidos + + + Predefined functions + Funções predefinidas + + + User defined 1 + Definição de usuário 1 + + + User defined 2 + Definição de usuário 2 + + + User defined 3 + Definição de usuário 3 + + + + TQextScintillaLexerPerl + + Default + Padrão + + + Error + Erro + + + Comment + Comentário + + + POD + POD + + + Number + Número + + + Keyword + Palavra Chave + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Operator + Operador + + + Identifier + Identificador + + + Scalar + Escalar + + + Array + Vetor + + + Hash + Hash + + + Symbol table + Tabela de Símbolos + + + Regular expression + Expressão Regular + + + Substitution + Substituição + + + Backticks + Aspas Invertidas + + + Data section + Seção de dados + + + Here document delimiter + Delimitador de documentos criados através de redicionadores (>> e >) + + + Single-quoted here document + "here document" envolvido por aspas simples + + + Double-quoted here document + "here document" envolvido por aspas duplas + + + Backtick here document + "here document" envolvido por aspas invertidas + + + Quoted string (q) + Cadeia de caracteres envolvida por aspas (q) + + + Quoted string (qq) + Cadeia de caracteres envolvida por aspas (qq) + + + Quoted string (qx) + Cadeia de caracteres envolvida por aspas (qx) + + + Quoted string (qr) + Cadeia de caracteres envolvida por aspas (qr) + + + Quoted string (qw) + Cadeia de caracteres envolvida por aspas (qw) + + + POD verbatim + POD em formato verbatim + + + + TQextScintillaLexerProperties + + Default + Padrão + + + Comment + Comentário + + + Section + Seção + + + Assignment + Atribuição + + + Default value + Valor Padrão + + + + TQextScintillaLexerPython + + Default + Padrão + + + Comment + Comentário + + + Number + Número + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Keyword + Palavra Chave + + + Triple single-quoted string + Cadeia de caracteres envolvida por três aspas simples + + + Triple double-quoted string + Cadeia de caracteres envolvida por três aspas duplas + + + Class name + Nome da classe + + + Function or method name + Nome da função ou método + + + Operator + Operador + + + Identifier + Identificador + + + Comment block + Bloco de comentários + + + Unclosed string + Cadeia de caracteres não fechada + + + Highlighted identifier + + + + Decorator + + + + + TQextScintillaLexerRuby + + Default + Padrão + + + Comment + Comentário + + + Number + Número + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Keyword + Palavra Chave + + + Class name + Nome da classe + + + Function or method name + Nome da função ou método + + + Operator + Operador + + + Identifier + Identificador + + + Error + + + + POD + POD + + + Regular expression + Expressão Regular + + + Global + + + + Symbol + Símbolo + + + Module name + + + + Instance variable + + + + Class variable + + + + Backticks + Aspas Invertidas + + + Data section + Seção de dados + + + Here document delimiter + + + + Here document + + + + %q string + + + + %Q string + + + + %x string + + + + %r string + + + + %w string + + + + Demoted keyword + + + + stdin + + + + stdout + + + + stderr + + + + + TQextScintillaLexerSQL + + Default + Padrão + + + Comment + Comentário + + + Number + Número + + + Keyword + Palavra Chave + + + Single-quoted string + Cadeia de caracteres envolvida por aspas simples + + + Operator + Operador + + + Identifier + Identificador + + + Comment line + Comentário de Linha + + + JavaDoc style comment + Comentário estilo JavaDoc + + + Double-quoted string + Cadeia de caracteres envolvida por aspas duplas + + + SQL*Plus keyword + Palavra chave do SQL*Plus + + + SQL*Plus prompt + Prompt do SQL*Plus + + + SQL*Plus comment + Comentário do SQL*Plus + + + # comment line + Comentário de linha usando # + + + JavaDoc keyword + Palavra chave JavaDoc + + + JavaDoc keyword error + Erro de palavra chave do JavaDoc + + + User defined 1 + Definição de usuário 1 + + + User defined 2 + Definição de usuário 2 + + + User defined 3 + Definição de usuário 3 + + + User defined 4 + Definição de usuário 4 + + + + TQextScintillaLexerTeX + + Default + Padrão + + + Special + Especial + + + Group + Grupo + + + Symbol + Símbolo + + + Command + Comando + + + Text + Texto + + + diff --git a/tqt/tqscintilla_ru.qm b/tqt/tqscintilla_ru.qm new file mode 100644 index 0000000..aea781d Binary files /dev/null and b/tqt/tqscintilla_ru.qm differ diff --git a/tqt/tqscintilla_ru.ts b/tqt/tqscintilla_ru.ts new file mode 100644 index 0000000..adc8e11 --- /dev/null +++ b/tqt/tqscintilla_ru.ts @@ -0,0 +1,1635 @@ + + + TQextScintillaCommand + + Move left one character + Сдвинуться влево на один символ + + + Move right one character + Сдвинуться вправо на один символ + + + Move up one line + Сдвинуться вверх на одну строчку + + + Move down one line + Сдвинуться вправо на одну строчку + + + Move left one word part + Сдвинуться влево на одну часть слова + + + Move right one word part + Сдвинуться вправо на одну часть слова + + + Move left one word + Сдвинуться влево на одно слово + + + Move right one word + Сдвинуться вправо на одно слово + + + Move to first visible character in line + Переместиться на первый видимый символ на строке + + + Move to end of line + Сдвинуться в конец строки + + + Scroll view down one line + Прокрутить вид на одну строку вниз + + + Scroll view up one line + Прокрутить вид на одну строку вверх + + + Move up one paragraph + Сдвинуться вверх на один параграф + + + Move down one paragraph + Сдвинуться вниз на один параграф + + + Move up one page + Сдвинуться вверх на одну страницу + + + Move down one page + Сдвинуться вправо на одну страницу + + + Move to start of text + Переместиться в начало текста + + + Move to end of text + Переместиться в конец текста + + + Indent one level + Увеличить отступ на один уровень + + + Move back one indentation level + Уменьшить отступ на один уровень + + + Select all text + Выбрать весь текст + + + Extend selection left one character + Расширить выделение на один символ влево + + + Extend selection right one character + Расширить выделение на один символ вправо + + + Extend selection up one line + Расширить выделение на одну строку вверх + + + Extend selection down one line + Расширить выделение на одну строку вниз + + + Extend selection left one word part + Расширить выделение влево на одну часть слова + + + Extend selection right one word part + Расширить выделение вправо на одну часть слова + + + Extend selection left one word + Расширить выделение влево на одно слово + + + Extend selection right one word + Расширить выделение вправо на одно слово + + + Extend selection to first visible character in line + Расширить выделение до первого видимого символа на строке + + + Extend selection to start of line + Расширить выделение до начала строки + + + Extend selection to end of line + Расширить выделение до конца строки + + + Extend selection up one paragraph + Расширить выделение вверх на один параграф + + + Extend selection down one paragraph + Расширить выделение вниз на один параграф + + + Extend selection up one page + Расширить выделение на одну страницу вверх + + + Extend selection down one page + Расширить выделение на одну страницу вниз + + + Extend selection to start of text + Расширить выделение до начала текста + + + Extend selection to end of text + Расширить выделение до конца текста + + + Delete previous character + Удалить предыдущий символ + + + Delete previous character if not at line start + Удалить предыдущий символ, если он не в начале строки + + + Delete current character + Удалить текущий символ + + + Delete word to left + Удалить слово слева + + + Delete word to right + Удалить слово справа + + + Delete line to left + Удалить строку слева + + + Delete line to right + Удалить строку справа + + + Insert new line + Вставить новую строку + + + Delete current line + Удалить текущую строку + + + Swap current and previous lines + Поменять местами текущую и предыдущую строки + + + Cut current line + Вырезать текущую строку + + + Cut selection + Вырезать выделение + + + Copy current line + Копировать текущую строку + + + Copy selection + Копировать выделение + + + Paste + Вставить + + + Redo last command + Повторить последнюю команду + + + Undo the last command + Отменить последнюю команду + + + Cancel + Отменить + + + Toggle insert/overtype + Переключиться на вставку/замещение + + + Convert selection to lower case + Преобразовать выделение в нижний регистр + + + Convert selection to upper case + Преобразовать выделение в верхний регистр + + + Zoom in + Увеличить + + + Zoom out + Уменьшить + + + Extend rectangular selection down one line + + + + Extend rectangular selection up one line + + + + Extend rectangular selection left one character + + + + Extend rectangular selection right one character + + + + Move to start of displayed line + + + + Extend rectangular selection to first visible character in line + + + + Move to end of displayed line + + + + Extend selection to end of displayed line + + + + Extend rectangular selection to end of line + + + + Extend rectangular selection up one page + + + + Extend rectangular selection down one page + + + + Set zoom + + + + Formfeed + + + + Duplicate selection + + + + + TQextScintillaLexerBash + + Default + По умолчанию + + + Comment + Комментарий + + + Number + Число + + + Keyword + Ключевое слово + + + Double-quoted string + Строка в двойных кавычках + + + Single-quoted string + Строка в одинарных кавычках + + + Operator + Оператор + + + Identifier + Идентификатор + + + Error + + + + Scalar + + + + Parameter expansion + + + + Backticks + + + + Here document delimiter + + + + Single-quoted here document + + + + + TQextScintillaLexerBatch + + Default + + + + Comment + + + + Keyword + + + + Label + + + + Hide command character + + + + External command + + + + Variable + + + + Operator + + + + + TQextScintillaLexerCPP + + Default + По умолчанию + + + C comment + Комментарий C + + + C++ comment + Комментарий C++ + + + JavaDoc style C comment + Комментарий C в стиле JavaDoc + + + Number + Число + + + Keyword + Ключевое слово + + + Double-quoted string + Строка в двойных кавычках + + + Single-quoted string + Строка в одинарных кавычках + + + Pre-processor block + Блок препроцессора + + + Operator + Оператор + + + Identifier + Идентификатор + + + Unclosed string + Незакрытая строка + + + JavaDoc style C++ comment + Комментарий C++ в стиле JavaDoc + + + Secondary keywords and identifiers + Вторичные ключевые слова и идентификаторы + + + JavaDoc keyword + Ключевое слово JavaDoc + + + JavaDoc keyword error + Ошибка в ключевом слове JavaDoc + + + Global classes and typedefs + По умолчанию + + + + TQextScintillaLexerCSS + + Default + + + + Tag + + + + Class selector + + + + Pseudo-class + + + + Unknown pseudo-class + + + + Operator + + + + CSS1 property + + + + Unknown property + + + + Value + + + + ID selector + + + + Important + + + + @-rule + + + + Double-quoted string + + + + Single-quoted string + + + + CSS2 property + + + + Attribute + + + + + TQextScintillaLexerCSharp + + Verbatim string + Строка без замен + + + + TQextScintillaLexerDiff + + Default + + + + Comment + + + + Command + + + + Header + + + + Position + + + + Removed line + + + + Added line + + + + + TQextScintillaLexerHTML + + HTML default + HTML по умолчанию + + + Tag + Тег + + + Unknown tag + Неизвестный тег + + + Attribute + Атрибут + + + Unknown attribute + Неизвестный атрибут + + + HTML number + Число в HTML + + + HTML double-quoted string + Строка в двойных кавычках HTML + + + HTML single-quoted string + Строка в одинарных кавычках HTML + + + Other text in a tag + Другой текст в теге + + + HTML comment + Комментарий HTML + + + Entity + Сущность + + + End of a tag + Окончание тега + + + Start of an XML fragment + Начало фрагмента XML + + + End of an XML fragment + Окончание фрагмента XML + + + Script tag + Тег сценария + + + Start of an ASP fragment with @ + Начало @-фрагмента ASP + + + Start of an ASP fragment + Начало фрагмента ASP + + + CDATA + CDATA + + + Start of a PHP fragment + Начало фрагмента PHP + + + Unquoted HTML value + Значение атрибута HTML не в кавычках + + + ASP X-Code comment + Комментарий ASP X-Code + + + SGML default + SGML по умолчанию + + + SGML command + Команда SGML + + + First parameter of an SGML command + Первый параметр команды SGML + + + SGML double-quoted string + Строка в двойных кавычках SGML + + + SGML single-quoted string + Строка в одинарных кавычках SGML + + + SGML error + Ошибка SGML + + + SGML special entity + Специальная сущность SGML + + + SGML comment + Комментарий SGML + + + First parameter comment of an SGML command + Комментарий к первому параметру команды SGML + + + SGML block default + SGML-блок по умолчанию + + + Start of a JavaScript fragment + Начало фрагмента JavaScript + + + JavaScript default + JavaScript по умолчанию + + + JavaScript comment + Комментарий JavaScript + + + JavaScript line comment + Однострочный комментарий JavaScript + + + JavaDoc style JavaScript comment + Комментарий JavaScript в стиле JavaDoc + + + JavaScript number + Число JavaScript + + + JavaScript word + Слово JavaScript + + + JavaScript keyword + Ключевое слово JavaScript + + + JavaScript double-quoted string + Строка JavaScript в двойных кавычках + + + JavaScript single-quoted string + Строка JavaScript в одинарных кавычках + + + JavaScript symbol + Символ JavaScript + + + JavaScript unclosed string + Незакрытая строка JavaScript + + + JavaScript regular expression + Регулярное выражение JavaScript + + + Start of an ASP JavaScript fragment + Начало JavaScript-фрагмента в ASP + + + ASP JavaScript default + ASP JavaScript по умолчанию + + + ASP JavaScript comment + Комментарий ASP JavaScript + + + ASP JavaScript line comment + Однострочный комментарий ASP JavaScript + + + JavaDoc style ASP JavaScript comment + Комментарий ASP JavaScript в стиле JavaDoc + + + ASP JavaScript number + Число ASP JavaScript + + + ASP JavaScript word + Слово ASP JavaScript + + + ASP JavaScript keyword + Ключевое слово ASP JavaScript + + + ASP JavaScript double-quoted string + Строка ASP JavaScript в двойных кавычках + + + ASP JavaScript single-quoted string + Строка ASP JavaScript в одинарных кавычках + + + ASP JavaScript symbol + Символ ASP JavaScript + + + ASP JavaScript unclosed string + Незакрытая строка ASP JavaScript + + + ASP JavaScript regular expression + Регулярное выражение ASP JavaScript + + + Start of a VBScript fragment + Начало фрагмента VBScript + + + VBScript default + VBScript по умолчанию + + + VBScript comment + Комментарий VBScript + + + VBScript number + Число VBScript + + + VBScript keyword + Ключевое слово VBScript + + + VBScript string + Строка VBScript + + + VBScript identifier + Идентификатор VBScript + + + VBScript unclosed string + Незакрытая строка VBScript + + + Start of an ASP VBScript fragment + Начало VBScript-фрагмента в ASP + + + ASP VBScript default + ASP VBScript по умолчанию + + + ASP VBScript comment + Комментарий ASP VBScript + + + ASP VBScript number + Число ASP VBScript + + + ASP VBScript keyword + Ключевое слово ASP VBScript + + + ASP VBScript string + Строка ASP VBScript + + + ASP VBScript identifier + Идентификатор ASP VBScript + + + ASP VBScript unclosed string + Незакрытая строка ASP VBScript + + + Start of a Python fragment + Начало фрагмента Python + + + Python default + Python по умолчанию + + + Python comment + Комментарий Python + + + Python number + Число в Python + + + Python double-quoted string + Строка в двойных кавычках Python + + + Python single-quoted string + Строка в одинарных кавычках Python + + + Python keyword + Ключевое слово в Python + + + Python triple double-quoted string + Многострочная строка в двойных кавычках в Python + + + Python triple single-quoted string + Многострочная строка в одинарных кавычках в Python + + + Python class name + Имя класса в Python + + + Python function or method name + Имя функции/метода в Python + + + Python operator + Оператор Python + + + Python identifier + Идентификатор Python + + + Start of an ASP Python fragment + Начало Python-фрагмента в ASP + + + ASP Python default + ASP Python по умолчанию + + + ASP Python comment + Комментарий ASP Python + + + ASP Python number + Число в ASP Python + + + ASP Python double-quoted string + Строка в двойных кавычках ASP Python + + + ASP Python single-quoted string + Строка в одинарных кавычках ASP Python + + + ASP Python keyword + Ключевое слово в ASP Python + + + ASP Python triple double-quoted string + Многострочная строка в двойных кавычках в ASP Python + + + ASP Python triple single-quoted string + Многострочная строка в одинарных кавычках в ASP Python + + + ASP Python class name + Имя класса в ASP Python + + + ASP Python function or method name + Имя функции/метода в ASP Python + + + ASP Python operator + Оператор ASP Python + + + ASP Python identifier + Идентификатор ASP Python + + + PHP default + PHP по умолчанию + + + PHP double-quoted string + Строка в двойных кавычках PHP + + + PHP single-quoted string + Строка в одинарных кавычках PHP + + + PHP keyword + Ключевое слово PHP + + + PHP number + Число PHP + + + PHP variable + Переменная PHP + + + PHP comment + Комментарий PHP + + + PHP line comment + Однострочный комментарий PHP + + + PHP double-quoted variable + Переменная в двойных кавычках PHP + + + PHP operator + Оператор PHP + + + + TQextScintillaLexerIDL + + UUID + UUID + + + + TQextScintillaLexerJavaScript + + Regular expression + Регулярное выражение + + + + TQextScintillaLexerLua + + Default + + + + Comment + + + + Line comment + Однострочный комментарий + + + Number + + + + Keyword + + + + String + + + + Character + + + + Literal string + + + + Preprocessor + + + + Operator + + + + Identifier + + + + Unclosed string + Незакрытая строка + + + Basic functions + + + + String, table and maths functions + + + + Coroutines, i/o and system facilities + + + + + TQextScintillaLexerMakefile + + Default + + + + Comment + + + + Preprocessor + + + + Variable + + + + Operator + + + + Target + + + + Error + + + + + TQextScintillaLexerPOV + + Default + + + + Comment + + + + Comment line + + + + Number + + + + Operator + + + + Identifier + + + + String + + + + Unclosed string + Незакрытая строка + + + Directive + + + + Bad directive + + + + Objects, CSG and appearance + + + + Types, modifiers and items + + + + Predefined identifiers + + + + Predefined functions + + + + User defined 1 + + + + User defined 2 + + + + User defined 3 + + + + + TQextScintillaLexerPerl + + Default + По умолчанию + + + Comment + Комментарий + + + Number + Число + + + Keyword + Ключевое слово + + + Double-quoted string + Строка в двойных кавычках + + + Single-quoted string + Строка в одинарных кавычках + + + Operator + Оператор + + + Identifier + Идентификатор + + + Regular expression + Регулярное выражение + + + Error + + + + POD + + + + Scalar + + + + Array + + + + Hash + + + + Symbol table + + + + Substitution + + + + Backticks + + + + Data section + + + + Here document delimiter + + + + Single-quoted here document + + + + Double-quoted here document + + + + Backtick here document + + + + Quoted string (q) + + + + Quoted string (qq) + + + + Quoted string (qx) + + + + Quoted string (qr) + + + + Quoted string (qw) + + + + POD verbatim + + + + + TQextScintillaLexerProperties + + Default + + + + Comment + + + + Section + + + + Assignment + + + + Default value + + + + + TQextScintillaLexerPython + + Default + По умолчанию + + + Comment + Комментарий + + + Number + Число + + + Double-quoted string + Строка в двойных кавычках + + + Single-quoted string + Строка в одинарных кавычках + + + Keyword + Ключевое слово + + + Triple single-quoted string + Многострочная строка в одинарных кавычках (<code>'''...'''</code>) + + + Triple double-quoted string + Многострочная строка в двойных кавычках (<code>"""..."""</code>) + + + Class name + Имя класса + + + Function or method name + Имя функции/метода + + + Operator + Оператор + + + Identifier + Идентификатор + + + Comment block + Блочный комментарий + + + Unclosed string + Незакрытая строка + + + Highlighted identifier + + + + Decorator + + + + + TQextScintillaLexerRuby + + Default + По умолчанию + + + Comment + Комментарий + + + Number + Число + + + Double-quoted string + Строка в двойных кавычках + + + Single-quoted string + Строка в одинарных кавычках + + + Keyword + Ключевое слово + + + Class name + Имя класса + + + Function or method name + Имя функции/метода + + + Operator + Оператор + + + Identifier + Идентификатор + + + Error + + + + POD + + + + Regular expression + + + + Global + + + + Symbol + + + + Module name + + + + Instance variable + + + + Class variable + + + + Backticks + + + + Data section + + + + Here document delimiter + + + + Here document + + + + %q string + + + + %Q string + + + + %x string + + + + %r string + + + + %w string + + + + Demoted keyword + + + + stdin + + + + stdout + + + + stderr + + + + + TQextScintillaLexerSQL + + Default + По умолчанию + + + Comment + Комментарий + + + Number + Число + + + Keyword + Ключевое слово + + + Single-quoted string + Строка в одинарных кавычках + + + Operator + Оператор + + + Identifier + Идентификатор + + + Comment line + + + + JavaDoc style comment + + + + Double-quoted string + + + + SQL*Plus keyword + + + + SQL*Plus prompt + + + + SQL*Plus comment + + + + # comment line + + + + JavaDoc keyword + + + + JavaDoc keyword error + + + + User defined 1 + + + + User defined 2 + + + + User defined 3 + + + + User defined 4 + + + + + TQextScintillaLexerTeX + + Default + + + + Special + + + + Group + + + + Symbol + + + + Command + + + + Text + + + + -- cgit v1.2.3