From 827cc7b89d9db74b505483575764bcb90e4cfc16 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Tue, 21 Feb 2023 20:02:41 +0100 Subject: [PATCH] MUI - Synchro all "Margins and Line Numbers" - chg to: "font:Consolas; size:-2; fore:#008080" --- res/StdDarkModeScheme.ini | 8 ++++---- src/StyleLexers/styleLexStandard.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/res/StdDarkModeScheme.ini b/res/StdDarkModeScheme.ini index 60e5d780a..af7c3469d 100644 --- a/res/StdDarkModeScheme.ini +++ b/res/StdDarkModeScheme.ini @@ -20,7 +20,7 @@ 16=#BE944E [Common Base] Default Style=font:$Code -Margins and Line Numbers=size:-2; fore:#A5FAFA; back:#454545; alpha:180 +Margins and Line Numbers=font:Consolas; size:-2; fore:#A5FAFA; back:#454545; alpha:180 Matching Braces (Indicator)=fore:#0DF145; alpha:80; alpha2:80; indic_roundbox Matching Braces Error (Indicator)=fore:#F20C80; alpha:140; alpha2:140; indic_roundbox Control Characters (Font)=size:-1 @@ -42,7 +42,7 @@ Change History Marker Reverted to Origin=fore:#40A0BF; back:#40A0BF Inline-IME Color=fore:#4EF64D [2nd Common Base] 2nd Default Style=font:Consolas -2nd Margins and Line Numbers=size:-1; fore:#A5FAFA; back:#454545; alpha:180 +2nd Margins and Line Numbers=font:Consolas; size:-2; fore:#A5FAFA; back:#454545; alpha:180 2nd Matching Braces (Indicator)=fore:#0DF145; alpha:80; alpha2:220; indic_roundbox 2nd Matching Braces Error (Indicator)=fore:#F20C80; alpha:140; alpha2:220; indic_roundbox 2nd Control Characters (Font)=size:-1 @@ -63,11 +63,11 @@ Inline-IME Color=fore:#4EF64D 2nd Inline-IME Color=fore:#F20C0D [Text Files] Default=font:$Text; size:11 -Margins and Line Numbers=font:Consolas; size:-1; fore:#DEDEDE; back:#454545 +Margins and Line Numbers=font:Consolas; size:-2; fore:#DEDEDE; back:#454545 Extra Line Spacing (Size)=size:2 [ANSI Art] Default=font:Lucida Console; thin; size:11; smoothing:aliased -Margins and Line Numbers=font:Lucida Console; size:-1; fore:#DEDEDE; back:#454545 +Margins and Line Numbers=font:Consolas; size:-2; fore:#DEDEDE; back:#454545 Extra Line Spacing (Size)=size:-1 [Apache Config Files] Comment=fore:#DBF873 diff --git a/src/StyleLexers/styleLexStandard.c b/src/StyleLexers/styleLexStandard.c index 38545cc24..795cc3f83 100644 --- a/src/StyleLexers/styleLexStandard.c +++ b/src/StyleLexers/styleLexStandard.c @@ -9,7 +9,7 @@ EDITLEXER lexStandard = SCLEX_NULL, "null", IDS_LEX_DEF_TXT, L"Common Base", L"", L"", &KeyWords_NULL, { /* 0 */ { {STYLE_DEFAULT}, IDS_LEX_STD_STYLE, L"Default Style", L"font:$Code", L"" }, - /* 1 */ { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"size:-2; fore:#008080", L"" }, + /* 1 */ { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"font:Consolas; size:-2; fore:#008080", L"" }, /* 2 */ { {STYLE_BRACELIGHT}, IDS_LEX_STD_BRACE, L"Matching Braces (Indicator)", L"fore:#00FF40; alpha:80; alpha2:80; indic_roundbox", L"" }, /* 3 */ { {STYLE_BRACEBAD}, IDS_LEX_STD_BRACE_FAIL, L"Matching Braces Error (Indicator)", L"fore:#FF0080; alpha:140; alpha2:140; indic_roundbox", L"" }, /* 4 */ { {STYLE_CONTROLCHAR}, IDS_LEX_STD_CTRL_CHAR, L"Control Characters (Font)", L"size:-1", L"" }, @@ -39,7 +39,7 @@ EDITLEXER lexStandard2nd = SCLEX_NULL, "null", IDS_LEX_STR_63266, L"2nd Common Base", L"", L"", &KeyWords_NULL,{ /* 0 */ { {STYLE_DEFAULT}, IDS_LEX_2ND_STYLE, L"2nd Default Style", L"font:Consolas", L"" }, - /* 1 */ { {STYLE_LINENUMBER}, IDS_LEX_2ND_MARGIN, L"2nd Margins and Line Numbers", L"size:-1; fore:#008080", L"" }, + /* 1 */ { {STYLE_LINENUMBER}, IDS_LEX_2ND_MARGIN, L"2nd Margins and Line Numbers", L"font:Consolas; size:-2; fore:#008080", L"" }, /* 2 */ { {STYLE_BRACELIGHT}, IDS_LEX_2ND_BRACE, L"2nd Matching Braces (Indicator)", L"fore:#00FF40; alpha:80; alpha2:220; indic_roundbox", L"" }, /* 3 */ { {STYLE_BRACEBAD}, IDS_LEX_2ND_BRACE_FAIL, L"2nd Matching Braces Error (Indicator)", L"fore:#FF0080; alpha:140; alpha2:220; indic_roundbox", L"" }, /* 4 */ { {STYLE_CONTROLCHAR}, IDS_LEX_2ND_CTRL_CHAR, L"2nd Control Characters (Font)", L"size:-1", L"" }, @@ -70,7 +70,7 @@ EDITLEXER lexTEXT = SCLEX_NULL, "null", IDS_LEX_TEXT_FILES, L"Text Files", L"txt; text; tmp; log; asc; doc; scp; wtx", L"", &KeyWords_NULL,{ { {STYLE_DEFAULT}, IDS_LEX_STR_63126, L"Default", L"font:$Text; size:11", L"" }, - { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"font:Consolas; size:-1", L"" }, + { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"font:Consolas; size:-2; fore:#008080", L"" }, { {STYLE_BRACELIGHT}, IDS_LEX_STD_X_SPC, L"Extra Line Spacing (Size)", L"size:2", L"" }, EDITLEXER_SENTINEL } @@ -82,7 +82,7 @@ EDITLEXER lexANSI = SCLEX_NULL, "null", IDS_LEX_ANSI_ART, L"ANSI Art", L"nfo; diz; \\^Readme$", L"", &KeyWords_NULL,{ { {STYLE_DEFAULT}, IDS_LEX_STR_63126, L"Default", L"font:Lucida Console; thin; size:11; smoothing:aliased", L"" }, - { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"font:Lucida Console; size:-2", L"" }, + { {STYLE_LINENUMBER}, IDS_LEX_STD_MARGIN, L"Margins and Line Numbers", L"font:Consolas; size:-2; fore:#008080", L"" }, { {STYLE_BRACELIGHT}, IDS_LEX_STD_BRACE, L"Matching Braces", L"", L"" }, { {STYLE_BRACEBAD}, IDS_LEX_STD_BRACE_FAIL, L"Matching Braces Error", L"", L"" }, { {STYLE_CONTROLCHAR}, IDS_LEX_STD_X_SPC, L"Extra Line Spacing (Size)", L"size:-1", L"" },