mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 07:00:22 +02:00
IDE: fix Color settings for gutter-current-line - switch to off did not clear
This commit is contained in:
parent
5ede412c0d
commit
10ba50d939
@ -2429,7 +2429,7 @@ procedure TEditorSynGutterOptions.ApplyLineColorTo(AGutterPart: TSynGutterPartBa
|
||||
begin
|
||||
if AGutterPart = nil then exit;
|
||||
case FShowLineColor of
|
||||
glcOff: ;
|
||||
glcOff: AGutterPart.MarkupInfoCurrentLine.Clear;
|
||||
glcOn: if Attri <> nil then Attri.ApplyTo(AGutterPart.MarkupInfoCurrentLine);
|
||||
glcLineNum: if NumAttri <> nil then NumAttri.ApplyTo(AGutterPart.MarkupInfoCurrentLine);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user