void (@NotNull AnActionEvent e, boolean state) { if (myDirection != EditorSettingsExternalizable.getInstance().getBidiTextDirection()) { EditorSettingsExternalizable.getInstance().setBidiTextDirection(myDirection); EditorFactory.getInstance().refreshAllEditors(); } }