diff options
author | nyamatongwe <devnull@localhost> | 2001-04-13 05:19:52 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-04-13 05:19:52 +0000 |
commit | d268b6e3a8ea565b0c255c8ac45ca442b98a37f8 (patch) | |
tree | 9a63f807ffa9cfce0689ed979832c666f24c0b30 /src/LexOthers.cxx | |
parent | a1008c54ed13feeb5d1a0dc3ebf3f8c908d541ba (diff) | |
download | scintilla-mirror-d268b6e3a8ea565b0c255c8ac45ca442b98a37f8.tar.gz |
Added a string name to each lexer.
Made it possible for LexerModule to be subclassed so that its Lex and
Fold methods can be specialised to work across DLL boundaries.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r-- | src/LexOthers.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index da0f70040..7ca6f5dfb 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -500,9 +500,9 @@ static void ColouriseLatexDoc(unsigned int startPos, int length, int initStyle, styler.ColourTo(lengthDoc, state); } -LexerModule lmBatch(SCLEX_BATCH, ColouriseBatchDoc); -LexerModule lmDiff(SCLEX_DIFF, ColouriseDiffDoc); -LexerModule lmProps(SCLEX_PROPERTIES, ColourisePropsDoc); -LexerModule lmMake(SCLEX_MAKEFILE, ColouriseMakeDoc); -LexerModule lmErrorList(SCLEX_ERRORLIST, ColouriseErrorListDoc); -LexerModule lmLatex(SCLEX_LATEX, ColouriseLatexDoc); +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"); |