On 10/09/2011 18:47, Flávio Etrusco wrote:
On Sat, Sep 10, 2011 at 11:00 AM, Martin<[email protected]>  wrote:
Not at all

If foo is TSynEdit // pretty much doesn't work for TSynMemo =>  they both
come from TCustomSynEdit

Only now, when I was going to report the bug I realized what you meant :-/
That's exactly the problem.
TSynEditUndoCaret.PerformUndo and TSynEditUndoSelCaret.PerformUndo
check for TSynEdit.
TSynEditPlugin.GetEditor and TSynBaseCompletion.Execute should also be updated.
I can make a patch (and/or report a bug in mantis) if you wish.
And regardless of these bugs there's no reason for TSynMemo not to
inherit from TSynEdit.



did I miss some? I fixed several files


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to