TextEditorCustomizer is Internal, what sould I use instead of?
已回答
My plugion uses TextEditorCustomizer class which is marked as Internal in last versions of IDE, what is the alternative?
请先登录再写评论。
Hi,
Please describe your use case.
It's needed to implement “scroll from source” feature. The user press some shortkey and plugin should select opened file in it's TreeModel.
In this case I had focus on opened note ‘plugin’(TextEditor), but after shortcut pressing focus moved to selected ‘plugin’ item in TreeModel. The probles is I don't know what is a good point to registerCustomShortcutSet, because I need to have TextEditor object in some event on starting plugin, i.e. I need to register some action on all opened notes. Hope I escribed my case clear - if it's not pls let me know)
The code is https://github.com/epm-dev-priporov/idea-notes/blob/master/src/main/kotlin/dev/priporov/ideanotes/extension/UnnamedConfigurableCustom.kt
up
Hi,
I'm sorry for the delay. I'm waiting for the answer from the responsible developer.