FocusChangeListener not working on remote gateway
Answered
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.
Please sign in to leave a comment.
Hi Mark,
I suggest reporting this to the Gateway issue tracker: https://youtrack.jetbrains.com/issues/GTW