IDE: fix Color settings for gutter-current-line - switch to off did not clear

This commit is contained in:
Martin 2025-05-06 10:33:07 +02:00
parent 5ede412c0d
commit 10ba50d939

View File

@ -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;