[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] undoing replacings in a marked region goes wrong
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] undoing replacings in a marked region goes wrong |
Date: |
Wed, 1 Apr 2015 10:41:47 -0700 |
On 4/1/15, Benno Schulenberg <address@hidden> wrote:
>
> Hi Mark,
>
> On Wed, Apr 1, 2015, at 17:52, Mark Majeres wrote:
>> On 4/1/15, Benno Schulenberg <address@hidden> wrote:
>> >> On 4/1/15, Benno Schulenberg <address@hidden> wrote:
>> >> > However, when the selection is upside down, it does a replace
>> >> > in the whole file. To reproduce: 'src/nano +99 README', and:
>> >> >
>> >> > M-A <Up> <Up> <Up>
>> >> > M-R the <Enter> XXX <Enter> A
>> >> >
>> >> > It has replaced 28 occurrences instead of just one.
>>
>> I put the check at the bottom of the loop too, a new patch is attached
>> for you to compare.
>
> Makes no difference. Still 28 occurrences replaced. :|
>
I assume it doesn’t stop and wraps to the top of the file when
replacing one a time? This doesn't happen just when option 'A' is
used?
Can you exam the conditional statement in a debugger and make any
sense of why it isn't working?
--Mark
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/01
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Mark Majeres, 2015/04/01
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/01
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/01
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/01
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/02
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/02
- Re: [Nano-devel] undoing replacings in a marked region goes wrong, Benno Schulenberg, 2015/04/02
- [Nano-devel] [patch v7] properly undoing replacements in a marked region, Benno Schulenberg, 2015/04/08
- Re: [Nano-devel] [patch v7] properly undoing replacements in a marked region, Benno Schulenberg, 2015/04/16