boolean (@NotNull AnActionEvent e) { Editor editor = getEditor(e); if (myGlobal) { boolean selected = EditorSettingsExternalizable.getInstance().isUseSoftWraps(myAppliancePlace); selected |= (editor != null && Boolean.TRUE.equals(editor.getUserData(EditorImpl.FORCED_SOFT_WRAPS))); return selected; } return editor != null && editor.getSettings().isUseSoftWraps(); }