aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-04-03 01:58:48 +0000
committernyamatongwe <devnull@localhost>2002-04-03 01:58:48 +0000
commit154254a66aebb4cf40616c0a80c1b57c5560d3c8 (patch)
tree7117f177a62465861a86aa3ef40473032d1e687b /src/LexPython.cxx
parent8947d717a43f3026cf3d246e43698d7ba266feaf (diff)
downloadscintilla-mirror-154254a66aebb4cf40616c0a80c1b57c5560d3c8.tar.gz
Patch from Brian Quinlan to include metdata about keyword lists within
lexers.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r--src/LexPython.cxx8
1 files changed, 7 insertions, 1 deletions
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);