@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state) {
    final Editor editor = getEditor(e);
    if (editor == null) {
      return;
    }

    toggleSoftWraps(editor, myGlobal && !Boolean.TRUE.equals(editor.getUserData(EditorImpl.FORCED_SOFT_WRAPS))
                            ? myAppliancePlace
                            : null, state);
  }
@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state)