Skip to content

Fix edit highligth shift with multibyte characters #5

@WASDetchan

Description

@WASDetchan

If there's some text the length of encoding of which doesn't match one-to-one with the character count (for example, multibyte chars in utf-8, or multi-symbol single-byte chars (tab)), the highlight color will be misaligned with the text, and will instead be displayed on the (character-count)'th byte.

Image

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