diff options
| author | nyamatongwe <unknown> | 2003-02-17 11:18:03 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2003-02-17 11:18:03 +0000 | 
| commit | 272a81c7c806826fc9a949fb92de0e6ed9d5e014 (patch) | |
| tree | 9afc83510a6c12a0531c09bbe9a6bff6c3a05168 /src | |
| parent | 3c095a33afcc26b078ecc86eae649ed39ef2f63b (diff) | |
| download | scintilla-mirror-272a81c7c806826fc9a949fb92de0e6ed9d5e014.tar.gz | |
Upgraded keyword list descriptions from Brian Quinlan.
Diffstat (limited to 'src')
| -rw-r--r-- | src/LexAda.cxx | 7 | ||||
| -rw-r--r-- | src/LexAsm.cxx | 11 | 
2 files changed, 16 insertions, 2 deletions
| diff --git a/src/LexAda.cxx b/src/LexAda.cxx index 30f0732c7..263f7da45 100644 --- a/src/LexAda.cxx +++ b/src/LexAda.cxx @@ -30,7 +30,12 @@ static void ColouriseDocument(      WordList *keywordlists[],      Accessor &styler); -LexerModule lmAda(SCLEX_ADA, ColouriseDocument, "ada"); +static const char * const adaWordListDesc[] = { +	"Keywords", +	0 +}; + +LexerModule lmAda(SCLEX_ADA, ColouriseDocument, "ada", NULL, adaWordListDesc);  /*   * Implementation diff --git a/src/LexAsm.cxx b/src/LexAsm.cxx index 0fc6f27ad..1eecf9b31 100644 --- a/src/LexAsm.cxx +++ b/src/LexAsm.cxx @@ -129,5 +129,14 @@ static void ColouriseAsmDoc(unsigned int startPos, int length, int initStyle, Wo  	sc.Complete();  } -LexerModule lmAsm(SCLEX_ASM, ColouriseAsmDoc, "asm"); +static const char * const asmWordListDesc[] = { +	"CPU instructions", +	"FPU instructions", +	"Registers", +	"Directives", +	"Directive operands", +	0 +}; + +LexerModule lmAsm(SCLEX_ASM, ColouriseAsmDoc, "asm", 0, asmWordListDesc); | 
