Skip to content

Commit cc81646

Browse files
committed
Rename editorActiveLineNumber.foreground. Fixes microsoft#46848
1 parent e72d8d1 commit cc81646

11 files changed

Lines changed: 21 additions & 14 deletions

File tree

extensions/theme-abyss/themes/abyss-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
"editorHoverWidget.background": "#000c38",
313313
"editorHoverWidget.border": "#004c18",
314314
"editorLineNumber.foreground": "#406385",
315-
"editorActiveLineNumber.foreground": "#80a2c2",
315+
"editorLineNumber.activeForeground": "#80a2c2",
316316
"editorMarkerNavigation.background": "#060621",
317317
"editorMarkerNavigationError.background": "#AB395B",
318318
"editorMarkerNavigationWarning.background": "#5B7E7A",

extensions/theme-kimbie-dark/themes/kimbie-dark-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"editorHoverWidget.background": "#221a14",
2121
"editorGroupHeader.tabsBackground": "#131510",
2222
"editorGroup.background": "#0f0c08",
23-
"editorActiveLineNumber.foreground": "#adadad",
23+
"editorLineNumber.activeForeground": "#adadad",
2424
"tab.inactiveBackground": "#131510",
2525
"titleBar.activeBackground": "#423523",
2626
"statusBar.background": "#423523",

extensions/theme-monokai-dimmed/themes/dimmed-monokai-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"editor.selectionBackground": "#676b7180",
1414
"editor.selectionHighlightBackground": "#575b6180",
1515
"editor.lineHighlightBackground": "#303030",
16-
"editorActiveLineNumber.foreground": "#949494",
16+
"editorLineNumber.activeForeground": "#949494",
1717
"editor.wordHighlightBackground": "#4747a180",
1818
"editor.wordHighlightStrongBackground": "#6767ce80",
1919
"editorCursor.foreground": "#c07020",

extensions/theme-monokai/themes/monokai-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"editor.wordHighlightBackground": "#4a4a7680",
2525
"editor.wordHighlightStrongBackground": "#6a6a9680",
2626
"editor.lineHighlightBackground": "#3e3d32",
27-
"editorActiveLineNumber.foreground": "#c2c2bf",
27+
"editorLineNumber.activeForeground": "#c2c2bf",
2828
"editorCursor.foreground": "#f8f8f0",
2929
"editorWhitespace.foreground": "#464741",
3030
"editorIndentGuide.background": "#464741",

extensions/theme-quietlight/themes/quietlight-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
"editor.background": "#F5F5F5",
495495
"editorWhitespace.foreground": "#AAAAAA",
496496
"editor.lineHighlightBackground": "#E4F6D4",
497-
"editorActiveLineNumber.foreground": "#9769dc",
497+
"editorLineNumber.activeForeground": "#9769dc",
498498
"editor.selectionBackground": "#C9D0D9",
499499
"panel.background": "#F5F5F5",
500500
"sideBar.background": "#F2F2F2",

extensions/theme-red/themes/Red-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"editorWhitespace.foreground": "#c10000",
2222
"editor.selectionBackground": "#750000",
2323
"editorLineNumber.foreground": "#ff777788",
24-
"editorActiveLineNumber.foreground": "#ffbbbb88",
24+
"editorLineNumber.activeForeground": "#ffbbbb88",
2525
"editorWidget.background": "#300000",
2626
"editorHoverWidget.background": "#300000",
2727
"editorSuggestWidget.background": "#300000",

extensions/theme-solarized-dark/themes/solarized-dark-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
"editorCursor.foreground": "#D30102",
356356
"editorWhitespace.foreground": "#93A1A180",
357357
"editor.lineHighlightBackground": "#073642",
358-
"editorActiveLineNumber.foreground": "#949494",
358+
"editorLineNumber.activeForeground": "#949494",
359359
"editor.selectionBackground": "#073642",
360360
// "editorIndentGuide.background": "",
361361
"editorHoverWidget.background": "#004052",

extensions/theme-solarized-light/themes/solarized-light-color-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
"editor.selectionBackground": "#EEE8D5",
355355
// "editorIndentGuide.background": "",
356356
"editorHoverWidget.background": "#CCC4B0",
357-
"editorActiveLineNumber.foreground": "#567983",
357+
"editorLineNumber.activeForeground": "#567983",
358358
// "editorHoverWidget.border": "",
359359
// "editorLineNumber.foreground": "",
360360
// "editorMarkerNavigation.background": "",

extensions/theme-tomorrow-night-blue/themes/tomorrow-night-blue-theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"editor.foreground": "#ffffff",
1616
"editor.selectionBackground": "#003f8e",
1717
"editor.lineHighlightBackground": "#00346e",
18-
"editorActiveLineNumber.foreground": "#949494",
18+
"editorLineNumber.activeForeground": "#949494",
1919
"editorCursor.foreground": "#ffffff",
2020
"editorWhitespace.foreground": "#404f7d",
2121
"editorWidget.background": "#001c40",

src/vs/editor/common/view/editorColorRegistry.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ export const editorCursorBackground = registerColor('editorCursor.background', n
2121
export const editorWhitespaces = registerColor('editorWhitespace.foreground', { dark: '#e3e4e229', light: '#33333333', hc: '#e3e4e229' }, nls.localize('editorWhitespaces', 'Color of whitespace characters in the editor.'));
2222
export const editorIndentGuides = registerColor('editorIndentGuide.background', { dark: editorWhitespaces, light: editorWhitespaces, hc: editorWhitespaces }, nls.localize('editorIndentGuides', 'Color of the editor indentation guides.'));
2323
export const editorLineNumbers = registerColor('editorLineNumber.foreground', { dark: '#5A5A5A', light: '#2B91AF', hc: Color.white }, nls.localize('editorLineNumbers', 'Color of editor line numbers.'));
24-
export const editorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: null, light: null, hc: null }, nls.localize('editorActiveLineNumber', 'Color of editor active line number'));
24+
25+
const deprecatedEditorActiveLineNumber = registerColor('editorActiveLineNumber.foreground', { dark: null, light: null, hc: null }, nls.localize('editorActiveLineNumber', 'Color of editor active line number'), false, nls.localize('deprecatedEditorActiveLineNumber', 'Id is deprecated. Use \'editorLineNumber.activeForeground\' instead.'));
26+
export const editorActiveLineNumber = registerColor('editorLineNumber.activeForeground', { dark: deprecatedEditorActiveLineNumber, light: deprecatedEditorActiveLineNumber, hc: deprecatedEditorActiveLineNumber }, nls.localize('editorActiveLineNumber', 'Color of editor active line number'));
27+
2528
export const editorRuler = registerColor('editorRuler.foreground', { dark: '#5A5A5A', light: Color.lightgrey, hc: Color.white }, nls.localize('editorRuler', 'Color of the editor rulers.'));
2629

2730
export const editorCodeLensForeground = registerColor('editorCodeLens.foreground', { dark: '#999999', light: '#999999', hc: '#999999' }, nls.localize('editorCodeLensForeground', 'Foreground color of editor code lenses'));

0 commit comments

Comments
 (0)