OptPane () { return pane( checkbox("CHECK_FOR_FILES_CONTAINING_BOM", CodeInsightBundle.message("non.ascii.chars.inspection.option.files.containing.bom.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.option.files.containing.bom.label"))), group(CodeInsightBundle.message("non.ascii.chars.inspection.non.ascii.top.label"), checkbox("CHECK_FOR_NOT_ASCII_IDENTIFIER_NAME", CodeInsightBundle.message("non.ascii.chars.inspection.option.characters.in.identifiers.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.characters.in.identifiers.label"))), checkbox("CHECK_FOR_NOT_ASCII_STRING_LITERAL", CodeInsightBundle.message("non.ascii.chars.inspection.option.characters.in.strings.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.characters.in.strings.label"))), checkbox("CHECK_FOR_NOT_ASCII_COMMENT", CodeInsightBundle.message("non.ascii.chars.inspection.option.characters.in.comments.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.characters.in.comments.label"))), checkbox("CHECK_FOR_NOT_ASCII_IN_ANY_OTHER_WORD", CodeInsightBundle.message("non.ascii.chars.inspection.option.characters.in.any.other.word.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.characters.in.any.other.word.label")))), group(CodeInsightBundle.message("non.ascii.chars.inspection.mixed.chars.top.label"), checkbox("CHECK_FOR_DIFFERENT_LANGUAGES_IN_IDENTIFIER_NAME", CodeInsightBundle.message("non.ascii.chars.inspection.option.mixed.languages.in.identifiers.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.mixed.languages.in.identifiers.label"))), checkbox("CHECK_FOR_DIFFERENT_LANGUAGES_IN_STRING", CodeInsightBundle.message("non.ascii.chars.inspection.option.mixed.languages.in.strings.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.mixed.languages.in.string.label"))), checkbox("CHECK_FOR_DIFFERENT_LANGUAGES_IN_COMMENTS", CodeInsightBundle.message("non.ascii.chars.inspection.option.mixed.languages.in.comments.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.mixed.languages.in.comments.label"))), checkbox("CHECK_FOR_DIFFERENT_LANGUAGES_IN_ANY_OTHER_WORD", CodeInsightBundle.message("non.ascii.chars.inspection.option.mixed.languages.in.any.other.word.checkbox")) .description(HtmlChunk.raw(CodeInsightBundle.message("non.ascii.chars.inspection.example.mixed.languages.in.any.other.word.label")))) ); }