mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 09:30:37 +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;
|
function TSynGutterLOvProviderBookmarks.IndexOfSynMark(ASynMark: TSynEditMark): Integer;
|
||||||
begin
|
begin
|
||||||
Result := FMarkList.Count - 1;
|
Result := FMarkList.Count - 1;
|
||||||
while Result >= 0 do begin;
|
while Result >= 0 do begin
|
||||||
if FMarkList[Result].FData = Pointer(ASynMark) then exit;
|
if FMarkList[Result].FData = Pointer(ASynMark) then exit;
|
||||||
dec(Result);
|
dec(Result);
|
||||||
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user