<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title></title>
</head>
<body>
<p style="margin: 0px;"><span> </span></p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
Hans-Peter Diettrich <DrDiettrich1@aol.com> hat am 27. Juni 2011 um 19:26 geschrieben:<br/>
<br/>
> Mattias Gaertner schrieb:<br/>
><br/>
> > The IDE reads the output in a loop using Application.ProcessMessages.<br/>
> > This means any event pauses reading the output.A ShowModal runs in its<br/>
> > own loop, pausing the calling code. That's why.<br/>
><br/>
> Is this a blocking read for the compiler output? Why?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">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.</p>
<p style="margin: 0px;">It uses the default buffer size. Maybe this can be increased. Find out how and tell. </p>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
><br/>
> > I already started a rewrite of the IDE's code to execute external tools.<br/>
> > But I can't say when it will be ready.<br/>
><br/>
> Can it be that your attempts made code completion so fragile?
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">Unlikely. Because I have not committed one line of that code. </p>
<br/>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">> Currently I have to invoke (CTRL-space) and abort code completion several times, </p>
<div style="margin: 5px 0px 5px 0px;">
> until only a single identifier is inserted :-(
</div><br/>
It works here. Is this reproducable?<br/>
<br/>
<br/>
Mattias<br/>
<br/>
<br/>
</body>
</html>