[Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Feb 24 19:08:47 CET 2009
On Tue, 24 Feb 2009 16:01:07 +0100
Hans-Peter Diettrich <DrDiettrich1 at aol.com> wrote:
> Marco van de Voort schrieb:
>
> >> Now I could spot the trouble source: it's fpdoc!
> >
> > Interesting, I'm just optimizing a part of that.
> >
> > http://bugs.freepascal.org/view.php?id=12953
> >
> > What exactly is slow in fpdoc?
>
> IMO it's the search for documentation information about the current
> identifier in the edit window, started for almost every move of the
> caret.
>
> If that's the reason for the excessive slowdown of the editor, the
> search should be performed by a background thread, so that the editor
> is not blocked. The search should be terminated immediately, when the
> caret moves to an different identifier.
At the moment the fpdoc editor is updated on idle in several steps.
Maybe the update should be started after a short delay.
Mattias
More information about the Lazarus
mailing list