nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] the difficulties of behaving similar


From: Benno Schulenberg
Subject: Re: [Nano-devel] the difficulties of behaving similar
Date: Sat, 21 Jun 2014 22:34:10 +0200

On Sat, Jun 21, 2014, at 17:30, Mark Majeres wrote:
> When the comparison is made, u is pointing to the last undo object
> that was created.  This would be the undo from a prior ^K, not the
> just issued ^K.  So if line5 is cut in the first ^K,
> u->mark_begin_lineno=line5 and line6 becomes line5, the next ^K  calls
> add_undo and checks if the current line is line5.

Precisely.  You use different words and perspectives, but we
are saying the same thing.  :)

> > Maybe the x coordinate needs to be
> > added to the above condition as well?
> 
> Yeah, that may be a good check to add.

Looking forward to a patch.

> Another thought is to have a
> shortcut that specifically resets the cutbuffer, instead of the adhoc
> method of moving the cursor around.

You may want to send a different message to the list proposing
this.  Or poke a feature request into Savannah.

https://savannah.gnu.org/bugs/?group=nano

Benno

-- 
http://www.fastmail.fm - The way an email service should be




reply via email to

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