From 154254a66aebb4cf40616c0a80c1b57c5560d3c8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 3 Apr 2002 01:58:48 +0000 Subject: Patch from Brian Quinlan to include metdata about keyword lists within lexers. --- src/LexPython.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/LexPython.cxx') diff --git a/src/LexPython.cxx b/src/LexPython.cxx index 6675c1f03..01365c190 100644 --- a/src/LexPython.cxx +++ b/src/LexPython.cxx @@ -408,4 +408,10 @@ static void FoldPyDoc(unsigned int startPos, int length, int /*initStyle - unuse //styler.SetLevel(lineCurrent, indentCurrent); } -LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc, "python", FoldPyDoc); +static const char * const pythonWordListDesc[] = { + "Python keywords", + 0 +}; + +LexerModule lmPython(SCLEX_PYTHON, ColourisePyDoc, "python", FoldPyDoc, + pythonWordListDesc); -- cgit v1.2.3