Possible bug in syntax highlighter?

18 views
Skip to first unread message

dbor...@willamette.edu

unread,
Apr 25, 2018, 5:03:05 PM4/25/18
to Ace Internals Dev
I noticed that ACE's syntax highlighter has a couple of interesting behaviors one of which is probably planned, the other which is probably a bug

1.) There is different (green) highlighting for the middle term when you have two divisions in a row but only when the third term is surrounded by a parenthesis, e.g., a/b/(c).
This may be a bug or a feature, not sure.

2.) The parenthesis highlighting tool fails when the opening parenthesis is not green but the closing parenthesis is: 

So things like

(a/(b))/c

highlights everything correctly, but 

(a/(b))/(c)

does not. I would imagine this behavior leans more toward bug than feature.

Harutyun Amirjanyan

unread,
Apr 25, 2018, 5:12:38 PM4/25/18
to ace-in...@googlegroups.com
For which ​language mode do you see this behavior?
Reply all
Reply to author
Forward
0 new messages