boolean (CodeStyleSettings settings) { XmlCodeStyleSettings xmlSettings = settings.getCustomSettings(XmlCodeStyleSettings.class); if (myWrapText.isSelected() != wrapText(settings)) { return true; } if (xmlSettings.XML_KEEP_BLANK_LINES != getIntValue(myKeepBlankLines)) { return true; } if (xmlSettings.XML_ATTRIBUTE_WRAP != CodeStyleSettings.WrapStyle.getId((CodeStyleSettings.WrapStyle)myWrapAttributes.getSelectedItem())) { return true; } if (xmlSettings.XML_ALIGN_ATTRIBUTES != myAlignAttributes.isSelected()) { return true; } if (xmlSettings.XML_KEEP_WHITESPACES != myKeepWhiteSpaces.isSelected()) { return true; } if (xmlSettings.XML_SPACE_AROUND_EQUALITY_IN_ATTRIBUTE != mySpacesAroundEquality.isSelected()){ return true; } if (xmlSettings.XML_SPACE_AFTER_TAG_NAME != mySpacesAfterTagName.isSelected()){ return true; } if (xmlSettings.XML_KEEP_LINE_BREAKS != myKeepLineBreaks.isSelected()) { return true; } if (xmlSettings.XML_KEEP_LINE_BREAKS_IN_TEXT != myKeepLineBreaksInText.isSelected()) { return true; } if (xmlSettings.XML_SPACE_INSIDE_EMPTY_TAG != myInEmptyTag.isSelected()){ return true; } if (xmlSettings.XML_WHITE_SPACE_AROUND_CDATA != myWhiteSpaceAroundCDATA.getSelectedIndex()) { return true; } if (xmlSettings.XML_KEEP_WHITE_SPACES_INSIDE_CDATA != this.myKeepWhitespaceInsideCDATACheckBox.isSelected()) { return true; } return myRightMarginForm.isModified(settings); }