[Lazarus] Lazarus IDE can't multi-task

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 27 19:30:59 CEST 2011


 
 

 Hans-Peter Diettrich <DrDiettrich1 at aol.com> hat am 27. Juni 2011 um 19:26
geschrieben:

 > Mattias Gaertner schrieb:
 >
 > > The IDE reads the output in a loop using Application.ProcessMessages.
 > > This means any event pauses reading the output.A ShowModal runs in its
 > > own loop, pausing the calling code. That's why.
 >
 > Is this a blocking read for the compiler output? Why? 
It is a matter of buffer size. If the fpc output does not fit into the TProcess
buffer, then fpc has to wait for the IDE to read from the buffer.
It uses the default buffer size. Maybe this can be increased. Find out how and
tell. 
 
 

 >
 > > I already started a rewrite of the IDE's code to execute external tools.
 > > But I can't say when it will be ready.
 >
 > Can it be that your attempts made code completion so fragile? 
Unlikely. Because I have not committed one line of that code. 

 
> Currently I have to invoke (CTRL-space) and abort code completion several
> times,  

 > until only a single identifier is inserted :-(
 It works here. Is this reproducable?


 Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110627/557036d7/attachment-0003.html>


More information about the Lazarus mailing list