RichTextFX: Restyling large portions of the document causes area to scroll when it shouldn't.
I am using this code:
codeArea.clearStyle(0, codeArea.getLength() - 1);
Before / After Clear and style
If the area is already clean, the problem does not happen (it is inside a VirtualizedScrollPane)
Obs.: After some tests, I noticed that this happens when the font type is italic
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 18 (12 by maintainers)
@synth3 It was fun and frustrating. You might want to look at TomasMikula/Flowless#33 to get a better understanding of how Flowless works.
@richATavail @synth3 You can get around this issue if you compile a local copy of my PR for Flowless and use it as a dependency in your project because I’m not sure how long it’ll be before Tomas merges the code.