boolean (LanguageCheckBoxRec checkBoxRec) { if (!myIntelliJPropertiesCb.isSelected()) { CodeStyleSettings settings = CodeStyle.getSettings(myProject); CommonCodeStyleSettings.IndentOptions langOptions = settings.getLanguageIndentOptions(checkBoxRec.myLanguage); final CommonCodeStyleSettings.IndentOptions commonIndentOptions = settings.OTHER_INDENT_OPTIONS; return langOptions.INDENT_SIZE != commonIndentOptions.INDENT_SIZE || langOptions.TAB_SIZE != commonIndentOptions.TAB_SIZE || langOptions.USE_TAB_CHARACTER != commonIndentOptions.USE_TAB_CHARACTER || settings.getRightMargin(checkBoxRec.myLanguage) != settings.getRightMargin(null); } return true; }