mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 12:59:15 +02:00
SynEdit: Fixed crash in MarkTextAsSaved. Issue #0035635
git-svn-id: trunk@61309 -
This commit is contained in:
parent
4dc3fb5ee6
commit
93d8287c3e
@ -7562,7 +7562,7 @@ end;
|
||||
procedure TCustomSynEdit.MarkTextAsSaved;
|
||||
begin
|
||||
TSynEditStringList(fLines).MarkSaved;
|
||||
if FLeftGutter.Visible and FLeftGutter.ChangesPart(0).Visible then
|
||||
if FLeftGutter.Visible and (FLeftGutter.ChangesPart(0) <> nil) and FLeftGutter.ChangesPart(0).Visible then
|
||||
InvalidateGutter; // Todo: Make the ChangeGutterPart an observer
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user