diff options
| author | nyamatongwe <unknown> | 2003-02-17 11:18:04 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2003-02-17 11:18:04 +0000 | 
| commit | 6275f5a4c7dd5d92a6085a2e78b3aa2d8c47c738 (patch) | |
| tree | ad61b2ce296b7a28adb62c17edf927faef2a6417 | |
| parent | 272a81c7c806826fc9a949fb92de0e6ed9d5e014 (diff) | |
| download | scintilla-mirror-6275f5a4c7dd5d92a6085a2e78b3aa2d8c47c738.tar.gz | |
Upgraded keyword list descriptions from Brian Quinlan.
| -rw-r--r-- | src/LexBullant.cxx | 20 | 
1 files changed, 6 insertions, 14 deletions
| diff --git a/src/LexBullant.cxx b/src/LexBullant.cxx index 1f76ffcf0..902f89c1e 100644 --- a/src/LexBullant.cxx +++ b/src/LexBullant.cxx @@ -30,18 +30,6 @@ static int classifyWordBullant(unsigned int start, unsigned int end, WordList &k  	else {  		if (keywords.InList(s)) {  			chAttr = SCE_C_WORD; -/*			if (strcmp(s, "end method") == 0 || -				strcmp(s, "end case") == 0 || -				strcmp(s, "end class") == 0 || -				strcmp(s, "end debug") == 0 || -				strcmp(s, "end test") == 0 || -				strcmp(s, "end if") == 0 || -				strcmp(s, "end lock") == 0 || -				strcmp(s, "end transaction") == 0 || -				strcmp(s, "end trap") == 0 || -				strcmp(s, "end until") == 0 || -				strcmp(s, "end while") == 0) -				lev = -1;*/  			if (strcmp(s, "end") == 0)  				lev = -1;  			else if (strcmp(s, "method") == 0 || @@ -80,7 +68,6 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle  	char chNext = styler[startPos];  	unsigned int lengthDoc = startPos + length;  	int visibleChars = 0; -	// int blockChange = 0;  	styler.StartSegment(startPos);  	int endFoundThisLine = 0;  	for (unsigned int i = startPos; i < lengthDoc; i++) { @@ -230,4 +217,9 @@ static void ColouriseBullantDoc(unsigned int startPos, int length, int initStyle  	}  } -LexerModule lmBullant(SCLEX_BULLANT, ColouriseBullantDoc, "bullant"); +static const char * const bullantWordListDesc[] = { +	"Keywords", +	0 +}; + +LexerModule lmBullant(SCLEX_BULLANT, ColouriseBullantDoc, "bullant", 0, bullantWordListDesc); | 
