Commit 7c0124a4 authored by Martin's avatar Martin 💬
Browse files

SynEdit: fix crash in overview gutter creation. Issue #21887

git-svn-id: trunk@37095 -
parent d5584e28
......@@ -1223,11 +1223,12 @@ begin
FWinControl.Parent := SynEdit;
FWinControl.DoubleBuffered := SynEdit.DoubleBuffered;
FWinControl.OnPaint := {$IFDEF FPC}@{$ENDIF}PaintWinControl;
DoResize(Self);
FLineMarks := TSynGutterLOvLineMarksList.Create;
FProviders := TSynGutterLineOverviewProviderList.Create(Self);
MarkupInfo.Background := $E0E0E0;
DoResize(Self);
LineCountchanged(nil, 0, 0);
end;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment