mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
Synedit: Minor code cleanup. Issue #38035, patch from Cyrax.
git-svn-id: trunk@64111 -
This commit is contained in:
parent
741a56883e
commit
6b4b3e9eb4
@ -1211,10 +1211,9 @@ end;
|
||||
function TSynGutterLOvProviderBookmarks.IndexOfSynMark(ASynMark: TSynEditMark): Integer;
|
||||
begin
|
||||
Result := FMarkList.Count - 1;
|
||||
while Result >= 0 do begin;
|
||||
while Result >= 0 do begin
|
||||
if FMarkList[Result].FData = Pointer(ASynMark) then exit;
|
||||
dec(Result);
|
||||
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user