mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
PY-71962 editor: do not expose 'isLineNumbersAfterIcons' in persistent settings
It is a per-Editor-instance property, which is not supposed to be toggled globally. GitOrigin-RevId: f00d4613ef3d7d7acefe1bc1b073b9c926e0b0a3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
882595690b
commit
60547eb005
@@ -515,7 +515,6 @@ c:com.intellij.openapi.editor.ex.EditorSettingsExternalizable
|
||||
- isInsertParenthesesAutomatically():Z
|
||||
- isKeepTrailingSpacesOnCaretLine():Z
|
||||
- isLeadingWhitespacesShown():Z
|
||||
- isLineNumbersAfterIcons():Z
|
||||
- isLineNumbersShown():Z
|
||||
- isMouseClickSelectionHonorsCamelWords():Z
|
||||
- isPreselectRename():Z
|
||||
@@ -614,7 +613,6 @@ f:com.intellij.openapi.editor.ex.EditorSettingsExternalizable$OptionSet
|
||||
- ADDITIONAL_PAGE_AT_BOTTOM:Z
|
||||
- ADD_CARETS_ON_DOUBLE_CTRL:Z
|
||||
- ARE_GUTTER_ICONS_SHOWN:Z
|
||||
- ARE_LINE_NUMBERS_AFTER_ICONS:Z
|
||||
- ARE_LINE_NUMBERS_SHOWN:Z
|
||||
- BIDI_TEXT_DIRECTION:com.intellij.openapi.editor.ex.BidiTextDirection
|
||||
- CARET_BLINKING_PERIOD:I
|
||||
|
||||
@@ -79,7 +79,6 @@ public class EditorSettingsExternalizable implements PersistentStateComponent<Ed
|
||||
public int CARET_BLINKING_PERIOD = BLINKING_RANGE.initial;
|
||||
public boolean IS_RIGHT_MARGIN_SHOWN = true;
|
||||
public boolean ARE_LINE_NUMBERS_SHOWN = true;
|
||||
public boolean ARE_LINE_NUMBERS_AFTER_ICONS = false;
|
||||
public @NotNull EditorSettings.LineNumerationType LINE_NUMERATION = EditorSettings.LineNumerationType.ABSOLUTE;
|
||||
public boolean ARE_GUTTER_ICONS_SHOWN = true;
|
||||
public boolean IS_FOLDING_OUTLINE_SHOWN = true;
|
||||
@@ -313,10 +312,6 @@ public class EditorSettingsExternalizable implements PersistentStateComponent<Ed
|
||||
myPropertyChangeSupport.firePropertyChange(PropNames.PROP_ARE_LINE_NUMBERS_SHOWN, old, val);
|
||||
}
|
||||
|
||||
public boolean isLineNumbersAfterIcons() {
|
||||
return myOptions.ARE_LINE_NUMBERS_AFTER_ICONS;
|
||||
}
|
||||
|
||||
public EditorSettings.LineNumerationType getLineNumeration() {
|
||||
return myOptions.LINE_NUMERATION;
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ class EditorSettingsState(private val editor: EditorImpl?,
|
||||
var myLineMarkerAreaShown: Boolean by property(true)
|
||||
var myAllowSingleLogicalLineFolding: Boolean by property(false)
|
||||
var myAutoCodeFoldingEnabled: Boolean by property(true)
|
||||
var myAreLineNumbersAfterIcons: Boolean by property { EditorSettingsExternalizable.getInstance().isLineNumbersAfterIcons }
|
||||
var myAreLineNumbersAfterIcons: Boolean by property { false }
|
||||
|
||||
// These come from CodeStyleSettings.
|
||||
var myUseTabCharacter: Boolean by property {
|
||||
|
||||
Reference in New Issue
Block a user