mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:49:30 +02:00
* don't send Update messages during loading of files, makes the IDE startup much faster when a lot of files are loaded
git-svn-id: trunk@13541 -
This commit is contained in:
parent
512d66988c
commit
212da45205
@ -3894,7 +3894,9 @@ begin
|
||||
end;
|
||||
W^.HelpCtx:=hcSourceWindow;
|
||||
Desktop^.Insert(W);
|
||||
{ this makes loading a lot slower and is not needed as far as I can see (FK)
|
||||
Message(Application,evBroadcast,cmUpdate,nil);
|
||||
}
|
||||
end;
|
||||
PopStatus;
|
||||
IOpenEditorWindow:=W;
|
||||
@ -3986,7 +3988,7 @@ begin
|
||||
FindFirst(filename,anyfile,Srec);
|
||||
while (DosError=0) do
|
||||
begin
|
||||
ITryToOpenFile(Bounds,dir+srec.name,CurX,CurY,tryexts,true,false);
|
||||
ITryToOpenFile(Bounds,dir+srec.name,CurX,CurY,tryexts,true,false);
|
||||
FindNext(srec);
|
||||
end;
|
||||
FindClose(srec);
|
||||
|
Loading…
Reference in New Issue
Block a user