mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 05:40:24 +02:00
SynEdit: fixed possible highlighter crash, introduced in r 34252
git-svn-id: trunk@34522 -
This commit is contained in:
parent
2f1c965db2
commit
ebfc7112a5
@ -5283,6 +5283,7 @@ begin
|
||||
fMarkupHighCaret.Highlighter := nil;
|
||||
fMarkupWordGroup.Highlighter := nil;
|
||||
FFoldedLinesView.Highlighter := nil;
|
||||
FTextArea.Highlighter := nil;
|
||||
{begin} //mh 2000-10-01
|
||||
if not (csDestroying in ComponentState) then begin
|
||||
RecalcCharExtent;
|
||||
|
@ -164,7 +164,9 @@ end;
|
||||
|
||||
procedure TTestSynEdit.SimulatePaintText;
|
||||
begin
|
||||
PaintTextLines(Rect(0,0,1000,1000), 0, Lines.Count - 1, 1, 100);
|
||||
Canvas.ClipRect := Rect(0,0,1000,1000);
|
||||
Paint;
|
||||
//PaintTextLines(Rect(0,0,1000,1000), 0, Lines.Count - 1, 1, 100);
|
||||
end;
|
||||
|
||||
{ TTestBase }
|
||||
|
Loading…
Reference in New Issue
Block a user