[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] the wrapping of long insertions
From: |
Mark Majeres |
Subject: |
Re: [Nano-devel] the wrapping of long insertions |
Date: |
Sat, 21 Jun 2014 16:56:09 -0700 |
>> I could move the cursor back to the location where the paste was
>> issued and then call do_wrap, I suppose,
>
> Yes, that would be the right thing to do, in my opinion. Pasting
> a piece of text should behave exactly as if this text had been typed
> in by the user (or by a fantastically fast copying smurf).
>
>> but this will also have side
>> effects. What should happen if the cutbuffer has multiple lines?
>
> If the cutbuffer contains multiple lines, then do_wrap() should
> iterate though all of them, and at the end put the cursor back at
> the end of the insertion.
Benno,
New patch is attached that implements the behaviors as you desire.
--Mark Majeres
wrap.5003.patch
Description: Text Data
- Re: [Nano-devel] GNU nano 2.3.4, (continued)
- Re: [Nano-devel] GNU nano 2.3.4, Benno Schulenberg, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Mark Majeres, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Benno Schulenberg, 2014/06/05
- Re: [Nano-devel] GNU nano 2.3.4, Mark Majeres, 2014/06/07
- [Nano-devel] undoings of do_wrap(), Benno Schulenberg, 2014/06/08
- Re: [Nano-devel] undoings of do_wrap(), Benno Schulenberg, 2014/06/09
- Re: [Nano-devel] undoings of do_wrap(), Mark Majeres, 2014/06/14
- [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions, Mark Majeres, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/15
- Re: [Nano-devel] the wrapping of long insertions,
Mark Majeres <=
- Re: [Nano-devel] the wrapping of long insertions, Benno Schulenberg, 2014/06/22