mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-21 09:59:32 +02:00
IDE: find/rename identifier: ignore invalid filename, note on console
git-svn-id: trunk@54658 -
This commit is contained in:
parent
bad374e722
commit
256375f0c9
@ -132,11 +132,15 @@ begin
|
||||
i:=0;
|
||||
while i<=Files.Count-2 do begin
|
||||
while (i<=Files.Count-2) and (CompareFilenames(Files[i],Files[i+1])=0) do
|
||||
begin
|
||||
Files.Delete(i+1);
|
||||
end;
|
||||
inc(i);
|
||||
end;
|
||||
// remove non files
|
||||
for i:=Files.Count-1 downto 0 do
|
||||
if ExtractFilename(Files[i])='' then begin
|
||||
debugln(['Note: (lazarus) [FindRenameIdentifier.CleanUpFileList] invalid file "',Files[i],'"']);
|
||||
Files.Delete(i);
|
||||
end;
|
||||
end;
|
||||
|
||||
function ShowFindRenameIdentifierDialog(const Filename: string;
|
||||
|
Loading…
Reference in New Issue
Block a user