nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [Request] allow deleting a marked region without affect


From: Benno Schulenberg
Subject: Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer
Date: Mon, 8 Oct 2018 18:02:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 07-10-18 om 15:13 schreef Liu Hao:
> I would like to know whether there is any plan for cutting marked text 
> without tamper with the cut buffer. (Personally I expect this to be the 
> behavior when a marked region is active and either Backspace or Delete 
> is pressed.)

I can see why you expect <Bsp> and <Del> to work that way, because that
is what they do in some other editors, like Gedit and Geany, and these
behave that way because... the whole desktop works that way.

But... do you ever consciously use <Bsp> or <Del> to delete a marked
region in another editor because you know you have something on the
clipboard that you want to use later?

And when we would make this, what would be the next request?  That nano
should use the desktop's clipboard instead of its own private cutbuffer?
And then that typing any character when a region is marked should delete
and overwrite the entire region?

The ^S and Shift+arrows could be added without changing any of the other
behaviors of nano.  But <Bsp> and <Del> affecting regions is a behavior
change, and would most likely have to be parked behind an option.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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