diff options
| author | nyamatongwe <devnull@localhost> | 2010-10-10 21:55:31 +1100 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-10-10 21:55:31 +1100 |
| commit | 09ed1fc514d1b922d2b00fca4798521f946dd348 (patch) | |
| tree | 153cfd020f5c2b695b9b41c8289a039c9e859040 /lexers/LexOthers.cxx | |
| parent | 515c4bef2f6dacefc581bd99bf92a58d646c1624 (diff) | |
| download | scintilla-mirror-09ed1fc514d1b922d2b00fca4798521f946dd348.tar.gz | |
Fix for bug #1263788 LaTeX syntax wrong for \end {something}
Diffstat (limited to 'lexers/LexOthers.cxx')
| -rw-r--r-- | lexers/LexOthers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexOthers.cxx b/lexers/LexOthers.cxx index c583c93a1..3449f07f6 100644 --- a/lexers/LexOthers.cxx +++ b/lexers/LexOthers.cxx @@ -1170,7 +1170,7 @@ static int isTag(int start, Accessor &styler) { while (i < 5 && e) { s[i] = styler[start + i]; i++; - e = styler[start + i] != '{'; + e = (strchr("{ \t", styler[start + i]) == NULL); } s[i] = '\0'; return (strcmp(s, "begin") == 0) || (strcmp(s, "end") == 0); |
