[Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

Luiz Americo Pereira Camara luizamericop at gmail.com
Thu Nov 3 00:27:56 CET 2016


2016-11-02 19:24 GMT-03:00 Michael W. Vogel via Lazarus <
lazarus at lists.lazarus-ide.org>:

> I have made a bug entry and added there a first patch (its not the final
> one, but its late here now). Can you check, if it fixes the speed on your
> OS too (I have tested only Windows 7 for now)?
>

Congratulations.

I looked into it but could not spot the issue.

The Control.Text is being queried for each item added

Can you try with TextHint <> ''?

Seems that will need to add an aditional check for lines UpdateCount

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20161102/f4b63ec5/attachment-0001.html>


More information about the Lazarus mailing list