[lazarus] Patch for TMemo

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Apr 16 02:33:10 EDT 2003


On Wed, 16 Apr 2003 08:38:16 +0800
hernan.et at pg.com wrote:

> To Mattias,
> 
> I have discovered that due to the LM_AppendText message, we have bypassed
> the normal processing of the text in Memo component thereby all text
> appears only into say Memo1.Lines[0]. I have just finished doing cvs and
> noticed that we disabled LM_AppendText. 

This was my fault. Sorry.
I have fixed it, and added some code to add needed line ends.


> Also for normal programs where we are not inserting long
> lines of text into TMemo control this is not a problem but as my
> application needs to write possibly thousands of lines into TMemo I am
> back again with my previous problem. Do I need to create a TMemo
> descendant just satisfy my needs or are we going to try to improve TMemo
> so that inserting text can be made faster?

The current TMemo should be improved.


> Okay, I remember that we need to use TStringText instead of TMemoStrings.
> I will try to implement it.

Great.


Mattias






More information about the Lazarus mailing list