On Sat, Dec 13, 2008 at 06:26, Flávio Etrusco <flavio.etru...@gmail.com> wrote: > My vision deviates a bit from this in the sense that TAbstractSynEdit > would just be an abstraction (or dedicated implementation) of a > cleaner text manipulation interface (as TStrings won't cut it), which > would also implement transparent/automatic/implicit 'undo' handling. > Then each command would be a class, probably inheriting from TAction.
It is not a deviation as much as detalization ;-) However, it is also important not to overdo abstractions -- perhaps a separate class for every command is too much. Anyway, I am glad that you (and Martin) agree with the general concept. -- Alexander S. Klenin Insight Experts Ltd. _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus