[Lazarus] SynMemo crash after "Undo"

Martin lazarus at mfriebe.de
Sat Sep 10 19:49:16 CEST 2011


On 10/09/2011 18:47, Flávio Etrusco wrote:
> On Sat, Sep 10, 2011 at 11:00 AM, Martin<lazarus at mfriebe.de>  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





More information about the Lazarus mailing list