diff options
| author | John Donoghue <john.donoghue@ieee.org> | 2018-01-02 08:09:54 -0500 |
|---|---|---|
| committer | John Donoghue <john.donoghue@ieee.org> | 2018-01-02 08:09:54 -0500 |
| commit | 9242468fa809c82db6353f1dad4d190d3321a7ac (patch) | |
| tree | 0ac1c836a031470db047927b8033d7eb8be489f9 /lexers/LexMatlab.cxx | |
| parent | 5bb08e66bdb8c0f6f0091fc3c736d67ba1cc0e58 (diff) | |
| download | scintilla-mirror-9242468fa809c82db6353f1dad4d190d3321a7ac.tar.gz | |
Backport: [Bug #1985] Add 'while' keyword to Matlab lexer keywords that start a fold block
* lexers/LexMatlab.cxx
(CheckKeywordFoldPoint): add check for while keyword
Backport of changeset 6423:0fc72517fb07.
Diffstat (limited to 'lexers/LexMatlab.cxx')
| -rw-r--r-- | lexers/LexMatlab.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lexers/LexMatlab.cxx b/lexers/LexMatlab.cxx index 6063623ea..a36a99502 100644 --- a/lexers/LexMatlab.cxx +++ b/lexers/LexMatlab.cxx @@ -64,6 +64,7 @@ static int CheckKeywordFoldPoint(char *str) { if (strcmp ("if", str) == 0 || strcmp ("for", str) == 0 || strcmp ("switch", str) == 0 || + strcmp ("while", str) == 0 || strcmp ("try", str) == 0 || strcmp ("do", str) == 0 || strcmp ("parfor", str) == 0 || |
