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:
paul 2009-03-10 13:25:58 +00:00
parent 633ff61ec3
commit 2d53f3dbe7

View File

@ -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;