diff options
| author | nyamatongwe <devnull@localhost> | 2010-11-08 09:19:59 +1100 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-11-08 09:19:59 +1100 | 
| commit | a966c5e5da085496a304d62e2b522febb2fb72f0 (patch) | |
| tree | 8e6c8b0881ce2e9c860b983116ea33d49ea3654e | |
| parent | 934758d6a6de8876c2dba9195cde71e21a60d1ba (diff) | |
| download | scintilla-mirror-a966c5e5da085496a304d62e2b522febb2fb72f0.tar.gz | |
Feature #3104091. Folding for CASE in SQL. From Jérôme LAFORGE.
| -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; | 
