|
From: | Mike Scalora |
Subject: | Re: [Nano-devel] Comment/Uncomment feature patch |
Date: | Wed, 20 Apr 2016 06:36:18 -0600 |
...
> Uncomment right after comment will almost always return the document to the
> prior state but uncomment by itself can be irreversible.
Then undo /must/ work for this.
...
> It appears that indent/unindent is not undoable, neither is
> comment/uncomment. I looked into making both undoable but didn't get very
> far. I would have to spend a lot of time to deeply understand how the undo
> mechanism is designed.
It's complicated. There was some discussion about this two years ago,
and a partial patch for the unindent case. See
https://lists.gnu.org/archive/html/nano-devel/2014-10/msg00045.html.
....
Benno
--
http://www.fastmail.com - The professional email service
[Prev in Thread] | Current Thread | [Next in Thread] |