[bug]: Cursor misalignment occurs when displaying inline code in Markdown under word wrap
Author: xiaoditxCreated Sep 6, 2026Updated Sep 6, 2026
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.
https://github.com/user-attachments/assets/c936b175-bafa-4ed0-8e31-85e8a64ee399
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
Source: microsoft/edit