On 26/06/2008, Kostas Michalopoulos <[EMAIL PROTECTED]> wrote: > for *most* cases, at least. The cases where a simple approach is not > efficient enough, can have a different implementation. But these are special > cases you don't see used often in a GUI (as also mentioned, in the whole > Lazarus IDE only SynEdit could benefit from it
I agree that a TLabel or TEdit using a Document Interface, might be overkill. I'll do performance tests with those when I get there... As for SynEdit being the only component that could benefit from it. I think not. :) SynEdit, TMemo, TRichView, THTMLView (or whatever it's called to display HTML like in the CHM Help Viewer), LazReport could also use it. ListBox, ComboBox could use it (though I personally think it's madness to have 100's or 1000's of items in those. StringGrid is another posibility. But in the end, it comes down to trying it out with a basic implementation like SimpleDocument and getting a feeling of how it works. Then later implement the StyledDocument if things go well. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
