Skip to content

[bug]: Cursor misalignment occurs when displaying inline code in Markdown under word wrap #948

Description

@xiaoditx

When the language mode is set to Markdown, with word wrap enabled and inline code used, the software displays misalignment as shown in the video. The misalignment disappears when a space is entered. For Chinese input, the misalignment also disappears after the candidate text is committed via the IME. This issue does not occur when word wrap is disabled.

bug.record.mp4

This phenomenon only happens when the inline code is on the last line of the current document.

Edit version: 2.0.0
Terminal version: 1.24.11911.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions