void (FocusEvent e) { if (!e.isTemporary() && myEditor != null) { IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(() -> IdeFocusManager.getGlobalInstance().requestFocus(myEditor, true)); } }