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/LexCrontab.cxx | |
parent | 66f55a8d94635d87d94a34e8e38f28ea6cf5f174 (diff) | |
download | scintilla-mirror-d9b3f2fe99e4bb7fb6649eee27382f25f20a4146.tar.gz |
Upgraded keyword list descriptions from Brian Quinlan.
Diffstat (limited to 'src/LexCrontab.cxx')
-rw-r--r-- | src/LexCrontab.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
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); |