FocusChangeListener not working on remote gateway
已回答
I have this code:
Object multicaster = EditorFactory.getInstance().getEventMulticaster();
if (multicaster instanceof EditorEventMulticasterEx) {
EditorEventMulticasterEx ex = (EditorEventMulticasterEx) multicaster;
ex.addFocusChangeListener(new FocusChangeListener() {
@Override
public void focusGained(@NotNull Editor editor) {
System.err.println("focusGained");which works just fine on a local IntelliJ instance, but when the plugin is used on the Host of a remote IntelliJ, I'm not seeing the focus gained be called.
请先登录再写评论。
Hi Mark,
I suggest reporting this to the Gateway issue tracker: https://youtrack.jetbrains.com/issues/GTW