Clive Mercer wrote:If I paste in the word "hello" once, it colours fine. However if I keep CTRL+V pressed, some "hello"s get coloured but others do not (screenshots are attached).
Can someone please share their expertise as to why this is, and possibly how to fix it?
Clive Mercer wrote:
The project is a Code Editor with syntax highlighting - the reason I used a separate thread instead of doing the colouring from within the listener was so that a user will not have to wait for the colouring to take place whilst they work with the document.