SynEdit: Fix crash when textviews were changed, introduced in 6efa78a255

This commit is contained in:
Martin 2025-03-20 19:44:08 +01:00
parent 4a81cf9580
commit a62266dc99

View File

@ -2182,6 +2182,7 @@ begin
FInternalBlockSelection.Lines := FTheLinesView;
FMarkupManager.Lines := FTheLinesView;
FTextArea.TheLinesView := FTheLinesView;
if FMarkList <> nil then // skip, if in ChangeTextBuffer / senrTextBufferChanged hasn't been sent yet
SizeOrFontChanged(True);
end;