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

0
1 comment

You can reset the selection in your EditorMouseMotionListener. It will override the default editor behaviour.

0

Please sign in to leave a comment.