nano-devel
[Top][All Lists]
Advanced

[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



reply via email to

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