Skip to content

Block comments have extremely irregular selection #456

@aarondill

Description

@aarondill

Issue:

Block comment detection is extremely finicky, as is detection of comments within them. The top row isn't styled at all, also if there is no white space immediately following the blockCommentStart, the whole block is thrown out.

Steps to reproduce:

/*!this breaks it all
? Why am I not colored
*/
/* ? I don't break it, but I'm not styled
! I am red
/* ! I don't work at all */ 

Expected outcome:

All of the above text should be colored.

Actual outcome:

None of the above text is colored.

related to #447

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions