mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[java] Don't mark preview LLs as LTS releases in combo
#IDEA-374763 (cherry picked from commit 45b870aeece0f7d939ac801017cd8354e07241b0) IJ-CR-166447 GitOrigin-RevId: a883c7514fd9c033a6ea491f47da202c2ec1e065
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9a28c60400
commit
ca9944c4e8
@@ -74,7 +74,7 @@ abstract class LanguageLevelCombo @JvmOverloads constructor(
|
||||
}) {
|
||||
if (value is LanguageLevel && value.isUnsupported) {
|
||||
attributes = SimpleTextAttributes.ERROR_ATTRIBUTES
|
||||
} else if (value is LanguageLevel && LTS.contains(value)) {
|
||||
} else if (value is LanguageLevel && LTS.contains(value) && value <= highestLanguageLevel) {
|
||||
attributes = SimpleTextAttributes.REGULAR_ATTRIBUTES.derive(SimpleTextAttributes.STYLE_BOLD, null, null, null)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user