diff options
author | nyamatongwe <unknown> | 2003-02-17 11:18:06 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-02-17 11:18:06 +0000 |
commit | d9b3f2fe99e4bb7fb6649eee27382f25f20a4146 (patch) | |
tree | 8f047b6a2fe6bf684d897292f1317e68b6f73da9 /src | |
parent | 66f55a8d94635d87d94a34e8e38f28ea6cf5f174 (diff) | |
download | scintilla-mirror-d9b3f2fe99e4bb7fb6649eee27382f25f20a4146.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); |