boolean (CodeStyleSettings settings) { if (!generalTab.myVisualGuides.getValue().equals(settings.getDefaultSoftMargins())) return true; if (myExcludedScopesPanel.isModified(settings)) return true; if (myExcludedPatternsPanel.isModified(settings)) return true; if (!Objects.equals(generalTab.getLineSeparator(), settings.LINE_SEPARATOR)) { return true; } if (settings.WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN ^ generalTab.myCbWrapWhenTypingReachesRightMargin.isSelected()) { return true; } if (getRightMargin() != settings.getDefaultRightMargin()) return true; if (myEnableFormatterTags.isSelected()) { if ( !settings.FORMATTER_TAGS_ENABLED || settings.FORMATTER_TAGS_ACCEPT_REGEXP != myAcceptRegularExpressionsCheckBox.isSelected() || !StringUtil.equals(myFormatterOffTagField.getText(), settings.FORMATTER_OFF_TAG) || !StringUtil.equals(myFormatterOnTagField.getText(), settings.FORMATTER_ON_TAG)) return true; } else { if (settings.FORMATTER_TAGS_ENABLED) return true; } for (GeneralCodeStyleOptionsProvider option : myAdditionalOptions) { if (option.isModified(settings)) return true; } return settings.AUTODETECT_INDENTS != generalTab.myAutodetectIndentsBox.isSelected(); }