5

I've run into some unexpected syntax highlighting mistakes while I was asking a question about VB6.

When I use _ after using ' to add comments about my code I see that _ does not work within ', but it should.

Here is a screenshot demonstrating the situation:

5

Stack Exchange sites are using Google Code Prettify JavaScript module to have those nice colors, so that's actually a problem/bug with "their" code.

Similar case has already been reported:
Syntax highlighting for C doesn't properly recognize `restrict` as a keyword

(Similar in the sense of problem with Prettify)

  • i see now, ty for leading me to the right direction. – Berker Yüceer Feb 7 '12 at 9:31
5

This is fixed in prettify at revision 203. A new release will be forthcoming soon.

  • thanks i cant wait for the new release. – Berker Yüceer Apr 2 '12 at 7:04

Not the answer you're looking for? Browse other questions tagged .