diff --git a/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt b/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt index f276e5a8be5f..e22e2012fb69 100644 --- a/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt +++ b/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt @@ -619,9 +619,7 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR private fun updateDeprecatedProperties() { HIDE_TOOL_STRIPES = hideToolStripes SHOW_MAIN_TOOLBAR = showMainToolbar - CYCLE_SCROLLING = cycleScrolling SHOW_CLOSE_BUTTON = showCloseButton - EDITOR_AA_TYPE = editorAAType PRESENTATION_MODE = presentationMode OVERRIDE_NONIDEA_LAF_FONTS = overrideLafFonts PRESENTATION_MODE_FONT_SIZE = presentationModeFontSize @@ -629,8 +627,6 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR FONT_SIZE = fontSize FONT_FACE = fontFace EDITOR_TAB_LIMIT = editorTabLimit - OVERRIDE_CONSOLE_CYCLE_BUFFER_SIZE = overrideConsoleCycleBufferSize - CONSOLE_CYCLE_BUFFER_SIZE_KB = consoleCycleBufferSizeKb } override fun getState() = state @@ -680,7 +676,7 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR state.editorAAType = AntialiasingType.SUBPIXEL } if (state.ideAAType == AntialiasingType.SUBPIXEL && !AntialiasingType.canUseSubpixelAAForIDE()) { - state.ideAAType = AntialiasingType.GREYSCALE; + state.ideAAType = AntialiasingType.GREYSCALE } if (state.moveMouseOnDefaultButton) { Registry.get("ide.settings.move.mouse.on.default.button").setValue(true) @@ -739,7 +735,7 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR var CONSOLE_COMMAND_HISTORY_LIMIT = 300 @Suppress("unused", "PropertyName") - @Deprecated("Use cycleScrolling", replaceWith = ReplaceWith("cycleScrolling")) + @Deprecated("Use cycleScrolling", replaceWith = ReplaceWith("cycleScrolling"), level = DeprecationLevel.ERROR) @JvmField @Transient var CYCLE_SCROLLING = true @@ -756,12 +752,6 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR @Transient var SHOW_CLOSE_BUTTON = true - @Suppress("unused", "PropertyName") - @Deprecated("Use editorAAType", replaceWith = ReplaceWith("editorAAType")) - @JvmField - @Transient - var EDITOR_AA_TYPE: AntialiasingType? = AntialiasingType.SUBPIXEL - @Suppress("unused", "PropertyName") @Deprecated("Use presentationMode", replaceWith = ReplaceWith("presentationMode")) @JvmField @@ -785,17 +775,5 @@ class UISettings @NonInjectable constructor(private val notRoamableOptions: NotR @JvmField @Transient var EDITOR_TAB_LIMIT = editorTabLimit - - @Suppress("unused", "PropertyName") - @Deprecated("Use overrideConsoleCycleBufferSize", replaceWith = ReplaceWith("overrideConsoleCycleBufferSize")) - @JvmField - @Transient - var OVERRIDE_CONSOLE_CYCLE_BUFFER_SIZE = false - - @Suppress("unused", "PropertyName") - @Deprecated("Use consoleCycleBufferSizeKb", replaceWith = ReplaceWith("consoleCycleBufferSizeKb")) - @JvmField - @Transient - var CONSOLE_CYCLE_BUFFER_SIZE_KB = consoleCycleBufferSizeKb // } \ No newline at end of file