Skip to content

Token refresh bug when using setInsertPairedCharacters(true), inserting " then UNDO #624

@olivbrau

Description

@olivbrau

Hi,

When using setInsertPairedCharacters(true), I type ", which insert 2 ""
Then I Undo via Ctrl-Z
The result is the suppression of the 2 "", but in my case, the tokens are re-scanned as if there was still 1 " (maybe the scan occur after deleting the first " ?)
therefore, visually everything after the place where I inserted the " is considered as a string until the next " in the code.
(I admit that I'm not sure if is a general bug or if my personal token scan has an issue)

Remark : It seems that this bug appears only if the insertion is at the beginning of a line

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions