Hello!
I am currently making a plugin that uses CaretEvents. However, I am unable to register the class that implements it in plugin.xml.
What extension point contains the CaretListener interface?
Thank you.
Hello!
I am currently making a plugin that uses CaretEvents. However, I am unable to register the class that implements it in plugin.xml.
What extension point contains the CaretListener interface?
Thank you.
Hi!
I’m not aware of any related extension points, but you can register it programmatically via com.intellij.openapi.editor.CaretModel#addCaretListener(...).
If you have an Editor instance, it would be something like this: editor.caretModel.addCaretListener(SomeCaretListener(), aParentDisposable)
Are you sure you need it? Usually we see people easily cause UI freezes on that low level
Perhaps a better idea would be to explain what are you trying to achieve - there might be better options.
isn’t documented yet. Pardon me because noob