On Tue, 24 Feb 2009 16:01:07 +0100 Hans-Peter Diettrich <drdiettri...@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 _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus