[sylpheed:32925] Re: Undo/redo functionality

Hiroyuki Yamamoto hiro-y at kcn.ne.jp
Mon Apr 6 10:57:36 JST 2009


Hello,

On Sat, 4 Apr 2009 18:43:25 +0200
Petr Kovar <pknbe at volny.cz> wrote:

> > So, when I'm composing quite a long message with lots of editing
> > and - now this is important - cut and/or paste a portion of text,
> > then execute the undo/redo command, Sylpheed starts to behave way
> > too long from what the user might expect, that is, it doesn't
> > remove or re-add the text as intended, rather it wrongly modify the
> > text of the message here and there, regardless of the cursor
> > position, or the text selected, or it does nothing at all. Now, if
> > I execute the said commands like for four or five times
> > consecutively, Sylpheed crashes.
> 
> A relevant content I dug from the sylpheed.log file follows:
> 
> [18:33:19] ** Sylpheed-WARNING: This should not happen.
> UNDO_REPLACE_DELETE [18:33:19] ** Sylpheed-CRITICAL: undo_undo:
> assertion `undoinfo->action == UNDO_ACTION_REPLACE_DELETE' failed
> [18:33:29] ** Sylpheed-WARNING: This should not happen. Redo:
> UNDO_REPLACE_INSERT

Hmm, I'll check into the code (I might have broken it at some point).

-- 
Hiroyuki Yamamoto <hiro-y at kcn.ne.jp>


More information about the Sylpheed mailing list