aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-02-17 11:18:11 +0000
committernyamatongwe <unknown>2003-02-17 11:18:11 +0000
commitbb028fe06a4e642aa20f72136c2deaf312ba61b9 (patch)
tree045f6c279f221341f136acd2d2cdd2e8db3a65f8 /src/LexOthers.cxx
parentd9b3f2fe99e4bb7fb6649eee27382f25f20a4146 (diff)
downloadscintilla-mirror-bb028fe06a4e642aa20f72136c2deaf312ba61b9.tar.gz
Upgraded keyword list descriptions from Brian Quinlan.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx
index be512abbd..27a6bf406 100644
--- a/src/LexOthers.cxx
+++ b/src/LexOthers.cxx
@@ -564,9 +564,18 @@ static void ColouriseLatexDoc(unsigned int startPos, int length, int initStyle,
styler.ColourTo(lengthDoc, state);
}
-LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc, "batch");
-LexerModule lmDiff(SCLEX_DIFF, ColouriseDiffDoc, "diff");
-LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc, "props");
-LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc, "makefile");
-LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc, "errorlist");
-LexerModule lmLatex(SCLEX_LATEX, ColouriseLatexDoc, "latex");
+static const char * const batchWordListDesc[] = {
+ "Keywords",
+ 0
+};
+
+static const char * const emptyWordListDesc[] = {
+ 0
+};
+
+LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc, "batch", 0, batchWordListDesc);
+LexerModule lmDiff(SCLEX_DIFF, ColouriseDiffDoc, "diff", 0, emptyWordListDesc);
+LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc, "props", 0, emptyWordListDesc);
+LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc, "makefile", 0, emptyWordListDesc);
+LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc, "errorlist", 0, emptyWordListDesc);
+LexerModule lmLatex(SCLEX_LATEX, ColouriseLatexDoc, "latex", 0, emptyWordListDesc);