[lazarus] How to scroll TMemo control in code
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Apr 7 19:53:57 EDT 2003
On Tue, 8 Apr 2003 07:05:16 +0800
hernan.et at pg.com wrote:
> Can anyone apply this patch for TMemo? The purpose of this patch is to
> speed up inserting of text in TMemo control. The changes are basically on
> TMemoStrings. It baypasses sending the new text to FMemo, directly sending
> to the interface via a call to CNSendMessage. I also added LM_InsertText
> case switch in gtkObject.inc under IntSendMessage3.
Thanks. Applied in cvs.
Because it only appends text I renamed it to LM_APPENDTEXT.
What about TStringText? It would accelerate a lot. The append still uses
TStringList.
> Here is the patch.
> (See attached file: memostrings_patch.txt)(See attached file:
> gtkobject_inc_path.txt)
Next time, send cvs diffs with -u option please. Patching is then easier.
Mattias
More information about the Lazarus
mailing list