[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: |
Tue, 9 Oct 2018 21:25:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Op 09-10-18 om 04:44 schreef Liu Hao:
> 在 2018-10-09 00:02, Benno Schulenberg 写道:
>> 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.
>
> This is partially correct. A more important reason is that all Windows editors
> work that way,
That is not an important reason. Nano is not meant for Windows.
>> But <Bsp> and <Del> affecting regions is a behavior
>> change, and would most likely have to be parked behind an option.
>
> The current behavior AFAICT is useless. If a person wants to delete the
> character
> preceding or following the caret she/he should turn the mark off before
> proceeding - this is true almost everywhere else, either on Windows or
> non-Windows.
It may be true in all other editors, it is not true in Pico. And
nano follows what Pico does. If nano wants to stray from that, it
needs an option.
> If a selection region is active it is deleted (or overwritten).
Typing a character when a region is marked will never overwrite the
region, not in nano, because it shouldn't be that way. If the user
wants the marked region gone, they should type <Del> first (when
<Del> has been made to annihilate a marked region).
Benno
signature.asc
Description: OpenPGP digital signature
- [Nano-devel] [FEATURE-REQUEST] Deleting marked region?, Liu Hao, 2018/10/07
- Re: [Nano-devel] [FEATURE-REQUEST] Deleting marked region?, markweston, 2018/10/08
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Benno Schulenberg, 2018/10/08
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Liu Hao, 2018/10/08
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Brand Huntsman, 2018/10/09
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Liu Hao, 2018/10/09
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Benno Schulenberg, 2018/10/09
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Brand Huntsman, 2018/10/09
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Benno Schulenberg, 2018/10/11
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Brand Huntsman, 2018/10/11
- Re: [Nano-devel] [Request] allow deleting a marked region without affecting the cutbuffer, Benno Schulenberg, 2018/10/11