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() {
                public void focusGained(@NotNull Editor editor) {

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.

1 comment

Hi Mark,

I suggest reporting this to the Gateway issue tracker:


Please sign in to leave a comment.