nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] one more undo failure


From: Mark Majeres
Subject: Re: [Nano-devel] one more undo failure
Date: Sat, 21 Jun 2014 08:52:14 -0700

Benno,

> Hm.  I don't like how it always switches of the mark when
> undoing something.
>
> For example, set the mark, go down a few lines, go right
> a few words, do a couple of backspace or deletes, then
> think better of it and hit M-U...  Bah, it undid the mark;
> I didn't want that, I just wanted the few characters back.
>
> So, if I drop that part of the patch, things look fine to me.
> Anything I'm overlooking?

Yes, undoing/redoing some actions, such as cut/paste/file insert will
mark a selection prior to calling do_cut.  IMO, editing the file while
an area is marked/selected is a strange thing to do.  I don't think
anyone will expect anything less.  Unmarking before undo/redo only
some of the time would be inconsistent.

-Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]