mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 18:29:21 +02:00
ide: fix TSourceMark.Compare for the case we have > 1 different marks for the same line and column
git-svn-id: trunk@18945 -
This commit is contained in:
parent
633ff61ec3
commit
2d53f3dbe7
@ -395,6 +395,8 @@ begin
|
||||
Result:=Line-OtherMark.Line;
|
||||
if Result<>0 then exit;
|
||||
Result:=Column-OtherMark.Column;
|
||||
if Result <> 0 then exit;
|
||||
Result := PtrInt(Self) - PtrInt(OtherMark);
|
||||
end;
|
||||
|
||||
function TSourceMark.CompareEditorAndLine(ASynEdit: TCustomSynEdit;
|
||||
|
Loading…
Reference in New Issue
Block a user