Skip to content

VB comment #5

@GoogleCodeExporter

Description

@GoogleCodeExporter
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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions