I found a problem with the comment highlighting with VB.
If you have a single quote comment which has nothing after it the comment
carries onto the next line.
Example:
'
' Test this fails by including Imports System in the last comment
'
Imports System
'
' Test, this is fine
Imports System
I don't quite understand the original regex "/(?:'{1,2}[^']|rem\s).*/i" but I
managed to fix the problem for me by changing it to "/'{1,2}.*?\n/i".
Original issue reported on code.google.com by s...@samclarke.com on 17 Aug 2011 at 9:40
Original issue reported on code.google.com by
s...@samclarke.com
on 17 Aug 2011 at 9:40