William Platt
William Platt
Ah, I didn't notice it was a bug in `TextArea` as well. I also tested with a `Text` node and the behaviour is the same. I'm not sure what you...
I have reported the bug to [Oracle's bug database](https://bugreport.java.com/bugreport/) now. I also discovered `"த" + "文".repeat(32_001) + "b"` is rendered as `தb`, unlike `"த" + "a".repeat(32_001) + "b"`, which is...
The bug report has been evaluated now, so here's the link for anyone who wants to follow its progress: https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-8315653
I just got around to trying the new version, and it's much better, thanks! Both the problems above have been fixed, and having a `kind` on each `CompletionItem` is also...
Can you see the image I included? Lines 11 and 12 have black text because syntax highlighting wasn't applied to these lines. This is the bug that is addressed by...
Ah, okay. So With each undo there is an insertion on the lines labelled 9 and 10 (indices 8 and 9)—line 9 for the newline character and line 10 for...
To be clear, I'm not saying the three insertions are merged into one insertion. I'm saying that the three insertions are performed correctly one after another but that the subscribed...
I'm glad it makes sense to you now. I could separate things out into small functions, but I was trying to keep the style of the original code. Personally I...
Actually it appears this still isn't correct because `offsetToPosition()` is relying on the latest version of the text, not the text at the time of the edit. I think what...
Everything should be correct now. I used IndexRanges to minimise calls to `offsetToPosition()` in case those may be slow for very large texts.