aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexHTML.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-04-13 05:19:52 +0000
committernyamatongwe <devnull@localhost>2001-04-13 05:19:52 +0000
commitd268b6e3a8ea565b0c255c8ac45ca442b98a37f8 (patch)
tree9a63f807ffa9cfce0689ed979832c666f24c0b30 /src/LexHTML.cxx
parenta1008c54ed13feeb5d1a0dc3ebf3f8c908d541ba (diff)
downloadscintilla-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/LexHTML.cxx')
-rw-r--r--src/LexHTML.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx
index 2f0c72851..41c30d735 100644
--- a/src/LexHTML.cxx
+++ b/src/LexHTML.cxx
@@ -1314,6 +1314,6 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty
}
}
-LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc);
-LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc);
+LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc, "hypertext");
+LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc, "xml");