mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 09:00:35 +02:00
IDE: fix the order of file names added to list in EditorFileManager.
git-svn-id: trunk@35777 -
This commit is contained in:
parent
e1194a904a
commit
467acb1ea9
@ -311,7 +311,7 @@ begin
|
||||
sw:=SourceWindows[i];
|
||||
Assert(sw.PageCount=sw.EditorCount, 'sw.PageCount<>sw.EditorCount');
|
||||
for j:=0 to sw.EditorCount-1 do begin
|
||||
SrcEdit:=sw.Editors[j];
|
||||
SrcEdit:=sw.FindSourceEditorWithPageIndex(j);
|
||||
if SrcEdit.Modified then
|
||||
Modi:='* '
|
||||
else
|
||||
@ -319,12 +319,6 @@ begin
|
||||
FilterEdit.Data.Add(Modi+SrcEdit.FileName);
|
||||
end;
|
||||
end;
|
||||
|
||||
//for i:=0 to SourceEditorCount-1 do begin // Same thing...
|
||||
// SrcEdit:=SourceEditors[i];
|
||||
// FilterEdit.Data.Add(SrcEdit.FileName);
|
||||
//end;
|
||||
|
||||
FilterEdit.InvalidateFilter;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user