diff options
| author | nyamatongwe <unknown> | 2010-11-08 09:19:59 +1100 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-11-08 09:19:59 +1100 | 
| commit | 007ad81af9c6398a5adca6df50130e4759e07075 (patch) | |
| tree | 57ba453d23f33ee994ea93b4cd05b6dd6c75ec89 /lexers/LexSQL.cxx | |
| parent | 76c6ce9e0780f0bc62c675f062537d075c507470 (diff) | |
| download | scintilla-mirror-007ad81af9c6398a5adca6df50130e4759e07075.tar.gz | |
Feature #3104091. Folding for CASE in SQL. From Jérôme LAFORGE.
Diffstat (limited to 'lexers/LexSQL.cxx')
| -rw-r--r-- | lexers/LexSQL.cxx | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/lexers/LexSQL.cxx b/lexers/LexSQL.cxx index 1375af5cb..14785ed49 100644 --- a/lexers/LexSQL.cxx +++ b/lexers/LexSQL.cxx @@ -307,7 +307,10 @@ static void FoldSQLDoc(unsigned int startPos, int length, int initStyle,  			} else {  				s[j] = '\0';  			} -			if ((!foldOnlyBegin) && (strcmp(s, "if") == 0 || strcmp(s, "loop") == 0)) { +			if ((!foldOnlyBegin) && ( +				strcmp(s, "if") == 0 || +				strcmp(s, "loop") == 0 || +				strcmp(s, "case") == 0)) {  				if (endFound) {  					// ignore  					endFound = false; | 
