SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522

(cherry picked from commit 6c2a52efe0)
This commit is contained in:
Martin 2025-03-11 10:26:51 +01:00
parent cd74cc2487
commit 6b2502a96e

View File

@ -7828,7 +7828,7 @@ begin
end;
if (smcrRemoved in Changes) and Sender.IsBookmark then begin
FBookMarks[Sender.BookmarkNumber] := nil;
if Assigned(FOnPlaceMark) then
if Assigned(FOnClearMark) then
FOnClearMark(Self, Sender);
end;