Skip to content

Rename (and Find All References) gives incorrect results for comment references with UTF-8 characters > 1 byte #4372

@sean-mcmanus

Description

@sean-mcmanus

Use code:

int func()
{
 // 包括 包括     
    int 包括;
}

The rename (and find all references) has the incorrect ranges for the comment references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions