From 0f4fafe3b751f98d98bec861cefa04487d7970a4 Mon Sep 17 00:00:00 2001 From: Martijn Laan <1092369+martijnlaan@users.noreply.github.com> Date: Sun, 16 Jun 2024 19:59:59 +0200 Subject: [PATCH] I think this looks better. --- Projects/Src/CompScintEdit.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/Src/CompScintEdit.pas b/Projects/Src/CompScintEdit.pas index 043d6d433..e101d934a 100644 --- a/Projects/Src/CompScintEdit.pas +++ b/Projects/Src/CompScintEdit.pas @@ -344,8 +344,8 @@ procedure TCompScintEdit.UpdateThemeColorsAndStyleAttributes; Call(SCI_SETELEMENTCOLOUR, SC_ELEMENT_SELECTION_INACTIVE_BACK, SelBackColor); Call(SCI_SETELEMENTCOLOUR, SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK, SelBackColor); - Call(SCI_SETFOLDMARGINCOLOUR, 1, FTheme.Colors[tcMarginBack]); - Call(SCI_SETFOLDMARGINHICOLOUR, 1, FTheme.Colors[tcMarginBack]); + Call(SCI_SETFOLDMARGINCOLOUR, 1, FTheme.Colors[tcBack]); + Call(SCI_SETFOLDMARGINHICOLOUR, 1, FTheme.Colors[tcBack]); Call(SCI_INDICSETFORE, inSquiggly, FTheme.Colors[tcRed]); Call(SCI_INDICSETFORE, inWordAtCursorOccurrence, FTheme.Colors[tcWordAtCursorOccurrenceBack]);