Skip to content

Commit

Permalink
fix Fold.DeleteExceptTag
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Sep 8, 2019
1 parent a798fdc commit 476c255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atsynedit/atsynedit_ranges.pas
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ procedure TATSynRanges.DeleteAllExceptTag(const ATag: Int64);
for i:= 0 to FList.Count-1 do
if ItemPtr(i)^.Tag=ATag then
TempList.Add(ItemPtr(i)^);
Clear;
FList.Clear;
for i:= 0 to TempList.Count-1 do
FList.Add(TempList.ItemPtr(i)^);
finally
Expand Down

0 comments on commit 476c255

Please sign in to comment.