mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
SynEdit: Fix crash when textviews were changed, introduced in 6efa78a255
This commit is contained in:
parent
4a81cf9580
commit
a62266dc99
@ -2182,7 +2182,8 @@ begin
|
||||
FInternalBlockSelection.Lines := FTheLinesView;
|
||||
FMarkupManager.Lines := FTheLinesView;
|
||||
FTextArea.TheLinesView := FTheLinesView;
|
||||
SizeOrFontChanged(True);
|
||||
if FMarkList <> nil then // skip, if in ChangeTextBuffer / senrTextBufferChanged hasn't been sent yet
|
||||
SizeOrFontChanged(True);
|
||||
end;
|
||||
|
||||
function TCustomSynEdit.GetIsStickySelecting: Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user