Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When editing a markdown in word wrap mode, entering a backtick leads to wrong wrapping temporarily #15085

Open
xpomul opened this issue Feb 28, 2025 · 0 comments

Comments

@xpomul
Copy link

xpomul commented Feb 28, 2025

Bug Description:

I am editing a markdown file in Theia with word wrapping activated.
I have a long line that wraps, so I am on the second line line.
If I now want to type a code-snippet by entering a single backtick, basically the cursor is moved to the rightmost column of the currently edited line along with the complete line that is currently edited. Since the string is actually shorter than the available space, part of the previous line is also rendered until the beginning of the line is reached. So it seems like if a part of the first line is duplicated (but it is only a rendering issue which will go away when any character is entered.

Steps to Reproduce:

  1. Start Theia
  2. Create a new Markdown file (e.g., Readme.md)
  3. Enter a long line until it wraps to a second line
  4. Enter a single backtick

Additional Information

  • Operating System: MacOS 15.3 (M1 Max, arm64)
  • Theia Version: Theia IDE 1.58.100

I cannot reproduce this in VS Code 1.97.2

Markdown.Issue.-.SD.480p.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant