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: Benno Schulenberg
Subject: Re: [Nano-devel] undoing replacings in a marked region goes wrong
Date: Thu, 02 Apr 2015 16:07:27 +0200

On Thu, Apr 2, 2015, at 14:14, Benno Schulenberg wrote:
>         if (old_mark_set && openfile->current == bot && openfile->current_x > 
> bot_x)  
>                 break;  

Small correction for when the last line of the selected region gets
shorter or longer:

   if (old_mark_set && openfile->current == bot && openfile->current_x > 
*real_current_x)  
                break; 

The naming is confusing, but it seems to do the right thing.

Benno

-- 
http://www.fastmail.com - Access your email from home and the web

Attachment: exit-when-outside-region.2.patch
Description: Text Data


reply via email to

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