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

Question: When I call the codeArea.replaceText() method, the styling is scrambled #1183

Open
ThisOldDog opened this issue Apr 3, 2023 · 0 comments

Comments

@ThisOldDog
Copy link

Description

I'm working on a simple Markdown editor, but when I call codeArea.replaceText(0, 0, text) when opening a document, I find that the editor's styling is scrambled. Just like this:

动画

When I removed the codeArea.replaceText(0, 0, text) method, the problem didn't occur.

动画1

Environment info:

  • RichTextFX Version: 0.11.0
  • Operating System: Windows 11
  • Java version: 11

I'm a beginner in JavaFX and can't find the specific reason yet, sorry.

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