Skip to content

Nested block of comments in SQL code isn't highlighted correctly #11718

@piomiq

Description

@piomiq

Description of the Issue

Code of SQL commented by block commands which is nested (example below) is not highlighted correctly. Please notice that in Microsoft SQ Server Management Studio below works as expected.

/* aaaaaaaaaa
/* bbbbbbbbbbbbbbb */
aaaaaaaaaa */

Steps to Reproduce the Issue

  1. Put below into editor
    /* aaaaaaaaaa
    /* bbbbbbbbbbbbbbb */
    aaaaaaaaaa */

  2. Change highlighting with SQL

Expected Behavior

all lines coming from example should be like as commented

Actual Behavior

last line is incorrectly highlighted - like would be not commented

Metadata

Metadata

Assignees

No one assigned

    Labels

    language-supportIssues or PRs related to programming languages (also e.g. in styles, themes)scintilla dependentCan't be considered for N++ implementation unless/until Scintilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions