How to disable text selection in editor?
Hi Community,
I want to write a Plugin for free hand drawing in the editor.
I'm able to draw some lines but the code in the document which is opened in the editor is also marked.
I would like to know how I can disable the text selection in the editor?
Thanks in advance,
Markus
Please sign in to leave a comment.
You can reset the selection in your EditorMouseMotionListener. It will override the default editor behaviour.