From 43fbfb3682cdcab86a49ba987c3decb593e84f13 Mon Sep 17 00:00:00 2001 From: Eran Ifrah Date: Sat, 27 Jul 2024 13:18:37 +0300 Subject: [PATCH] Reduced the margin width back to 16 (regression) --- LiteEditor/cl_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LiteEditor/cl_editor.cpp b/LiteEditor/cl_editor.cpp index 904536b00c..3a937315a9 100644 --- a/LiteEditor/cl_editor.cpp +++ b/LiteEditor/cl_editor.cpp @@ -148,7 +148,7 @@ constexpr int EDIT_TRACKER_MARGIN_ID = 2; constexpr int SYMBOLS_MARGIN_ID = 3; constexpr int SYMBOLS_MARGIN_SEP_ID = 4; constexpr int LAST_MARGIN_ID = 4; -constexpr int MARGIN_WIDTH = 24; +constexpr int MARGIN_WIDTH = 16; /// A helper class that sets the cursor of the current control to /// left pointing arrow and restores it once its destroyed @@ -838,7 +838,7 @@ void clEditor::SetProperties() //--------------------------------------------------- SetMarginCursor(FOLD_MARGIN_ID, 8); StyleSetBackground(wxSTC_STYLE_FOLDDISPLAYTEXT, StyleGetBackground(wxSTC_STYLE_DEFAULT)); - StyleSetForeground(wxSTC_STYLE_FOLDDISPLAYTEXT, DrawingUtils::IsDark(bg_colour) ? "GOLD" : "ORANGE"); + StyleSetForeground(wxSTC_STYLE_FOLDDISPLAYTEXT, DrawingUtils::IsDark(bg_colour) ? "YELLOW" : "ORANGE"); // Determine the folding symbols colours wxColour foldFgColour = wxColor(0xff, 0xff, 0xff);