aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-02-17 11:18:11 +0000
committernyamatongwe <devnull@localhost>2003-02-17 11:18:11 +0000
commit2a25b067f78f395392499ac9f19a8028d847d07e (patch)
tree045f6c279f221341f136acd2d2cdd2e8db3a65f8 /src/LexOthers.cxx
parent0b5372d287924ae28c2b869f6edf2c03035872c8 (diff)
downloadscintilla-mirror-2a25b067f78f395392499ac9f19a8028d847d07e.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);