@Override
        public boolean isSelected() {
          boolean hasForcedSoftWraps = ContainerUtil.exists(myEditors.get(), editor -> {
            return Boolean.TRUE.equals(editor.getUserData(EditorImpl.FORCED_SOFT_WRAPS));
          });
          return myForcedSoftWrap || myTextSettings.isUseSoftWraps() || hasForcedSoftWraps;
        }
@Override
        public boolean isSelected()