aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexLua.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/LexLua.cxx
parent0b5372d287924ae28c2b869f6edf2c03035872c8 (diff)
downloadscintilla-mirror-2a25b067f78f395392499ac9f19a8028d847d07e.tar.gz
Upgraded keyword list descriptions from Brian Quinlan.
Diffstat (limited to 'src/LexLua.cxx')
-rw-r--r--src/LexLua.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/LexLua.cxx b/src/LexLua.cxx
index b7920ef20..159bc1585 100644
--- a/src/LexLua.cxx
+++ b/src/LexLua.cxx
@@ -297,4 +297,14 @@ static void FoldLuaDoc(unsigned int startPos, int length, int /* initStyle */, W
styler.SetLevel(lineCurrent, levelPrev | flagsNext);
}
-LexerModule lmLua(SCLEX_LUA, ColouriseLuaDoc, "lua", FoldLuaDoc);
+static const char * const luaWordListDesc[] = {
+ "Keywords",
+ "Basic functions",
+ "String & math functions",
+ "I/O & system facilities",
+ "XXX",
+ "XXX",
+ 0
+};
+
+LexerModule lmLua(SCLEX_LUA, ColouriseLuaDoc, "lua", FoldLuaDoc, luaWordListDesc);