Re: multiple line pastes


Subject: Re: multiple line pastes
From: Robert Sievers (bob@abisource.com)
Date: Tue Mar 28 2000 - 11:51:58 CST


At 09:48 AM 3/28/00 -0800, Paul Rohr wrote:
>I'm not clear on all the details here, but as you've noticed, we need to
>make sure that everything works properly in both situations:
>
> - importing an entire document from a file
> - reading a selection off the clipboard
>
>I'd be willing to bet that the behavior you're seeing is related to the
>latter case. Consider what should happen when any of the following get
>copied to the clipboard:
>
>1. a few words inside a single paragraph
>2. the tail end of one paragraph and the beginning of the next
>3. just like #2, but with an empty paragraph in the middle
>4. the tail end, plus two full paragraphs
>5. etc.
>
>The original implementation had one too many paragraph breaks (especially in
>case #1 above). I'm not familiar with the current logic, but there may be
>cases where we wind up with one paragraph too few.
>
>If your fix properly handles screw cases like 1-4 above, then we're all set.

I am taking a look at this now. I am only about 1/2 way through it though
and I have to leave for a bit. I will either have this committed, or a very
good reason why it shouldn't be within a few hours.

Robert Sievers
Open Source Evangelist



This archive was generated by hypermail 2b25 : Tue Mar 28 2000 - 11:50:40 CST