IDE: fix the order of file names added to list in EditorFileManager.

git-svn-id: trunk@35777 -
This commit is contained in:
juha 2012-03-06 19:14:07 +00:00
parent e1194a904a
commit 467acb1ea9

View File

@ -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;