mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 01:08:12 +02:00
SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522
(cherry picked from commit 6c2a52efe0
)
This commit is contained in:
parent
cd74cc2487
commit
6b2502a96e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user