[Top][All Lists]

[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.


New patch is attached that implements the behaviors as you desire.

--Mark Majeres

Attachment: wrap.5003.patch
Description: Text Data

reply via email to

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