diff options
author | nyamatongwe <unknown> | 2010-10-10 21:55:31 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-10-10 21:55:31 +1100 |
commit | 54cd02b4bbe654fea892975d46cd9071a7fc891e (patch) | |
tree | 7cc7b760b62e83150eb6f902f9e27716fbc1e90b /lexers/LexOthers.cxx | |
parent | 638af7c6f8582c24c23b247e068961dba57d9af7 (diff) | |
download | scintilla-mirror-54cd02b4bbe654fea892975d46cd9071a7fc891e.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); |