FIX: Lazarus 3.99 compatibility

(cherry picked from commit 44abcdeb4a)
This commit is contained in:
Alexander Koblov 2024-04-11 23:47:12 +03:00
commit b965125939
3 changed files with 7 additions and 2 deletions

View file

@ -589,7 +589,7 @@ object frmEditor: TfrmEditor
Width = 13
MouseActions = <>
MarkupInfo.Background = clBtnFace
MarkupInfo.Foreground = clNone
MarkupInfo.Foreground = clBtnText
DigitCount = 2
ShowOnlyLineNumbersMultiplesOf = 1
ZeroStart = False

View file

@ -535,7 +535,7 @@ inherited frmOptionsEditorColors: TfrmOptionsEditorColors
Width = 19
MouseActions = <>
MarkupInfo.Background = clBtnFace
MarkupInfo.Foreground = clNone
MarkupInfo.Foreground = clBtnText
DigitCount = 2
ShowOnlyLineNumbersMultiplesOf = 1
ZeroStart = False

View file

@ -2808,6 +2808,11 @@ begin
MarkupInfo.Background:= clWindow;
MarkupInfo.Foreground:= clGrayText;
end;
with SynEdit.Gutter.LineNumberPart() do
begin
MarkupInfo.Background:= clBtnFace;
MarkupInfo.Foreground:= clBtnText;
end;
SynEdit.Options:= gEditorSynEditOptions;
SynEdit.TabWidth := gEditorSynEditTabWidth;
SynEdit.RightEdge := gEditorSynEditRightEdge;