diff options
author | nyamatongwe <devnull@localhost> | 2003-02-17 11:18:06 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-02-17 11:18:06 +0000 |
commit | 0b5372d287924ae28c2b869f6edf2c03035872c8 (patch) | |
tree | 8f047b6a2fe6bf684d897292f1317e68b6f73da9 /src | |
parent | de0de1623ef9478f0e3ad68135c4a65a40530b9d (diff) | |
download | scintilla-mirror-0b5372d287924ae28c2b869f6edf2c03035872c8.tar.gz |
Upgraded keyword list descriptions from Brian Quinlan.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexConf.cxx | 8 | ||||
-rw-r--r-- | src/LexCrontab.cxx | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/src/LexConf.cxx b/src/LexConf.cxx index c8441f41e..c33cdb5ce 100644 --- a/src/LexConf.cxx +++ b/src/LexConf.cxx @@ -175,4 +175,10 @@ static void ColouriseConfDoc(unsigned int startPos, int length, int, WordList *k delete []buffer; } -LexerModule lmConf(SCLEX_CONF, ColouriseConfDoc, "conf"); +static const char * const confWordListDesc[] = { + "Directives", + "Parameters", + 0 +}; + +LexerModule lmConf(SCLEX_CONF, ColouriseConfDoc, "conf", 0, confWordListDesc); diff --git a/src/LexCrontab.cxx b/src/LexCrontab.cxx index 37729cbfd..d139bb4f1 100644 --- a/src/LexCrontab.cxx +++ b/src/LexCrontab.cxx @@ -62,7 +62,7 @@ static void ColouriseNncrontabDoc(unsigned int startPos, int length, int, WordLi state = SCE_NNCRONTAB_TASK; styler.ColourTo(i,SCE_NNCRONTAB_TASK); } - else if( ch == '\\' && (styler.SafeGetCharAt(i+1) == ' ' || + else if( ch == '\\' && (styler.SafeGetCharAt(i+1) == ' ' || styler.SafeGetCharAt(i+1) == '\t')) { // signals the start of an extended comment... state = SCE_NNCRONTAB_COMMENT; @@ -208,4 +208,11 @@ static void ColouriseNncrontabDoc(unsigned int startPos, int length, int, WordLi delete []buffer; } -LexerModule lmNncrontab(SCLEX_NNCRONTAB, ColouriseNncrontabDoc, "nncrontab"); +static const char * const cronWordListDesc[] = { + "Section keywords and Forth words", + "nnCrontab keywords", + "Modifiers", + 0 +}; + +LexerModule lmNncrontab(SCLEX_NNCRONTAB, ColouriseNncrontabDoc, "nncrontab", 0, cronWordListDesc); |