3 ms·
The lack of syntax highlighting in your comment really illustrates the problem nicely. Took me longer than it should have to spot the problem!
by mikeash 11y ago
The lack of syntax highlighting in your comment really illustrates the problem nicely. Took me longer than it should have to spot the problem!
- 0942v8653 11y agoHeh, I tried to scroll to the right to see the rest of the line. Swift's nested block comments would sort of fix the problem, but syntax highlighting would work with C. I will say though that highlighting comments and strings separately from the code doesn't necessitate full syntax highlighting. I remember (and have saved somewhere) an article on syntax highlighting where only comments were highlighted.