Re: multiple line pastes


Subject: Re: multiple line pastes
From: Paul Rohr (paul@abisource.com)
Date: Tue Mar 28 2000 - 12:38:36 CST


At 10:17 AM 3/28/00 -0800, Matt Kraai wrote:
>Given the following sample:
>
>Paragraph 1.
>Paragraph 2.
>Paragraph 3.
>Paragraph 4.
>
>if we copy the hypothetical string "1.\nParagraph 2.\nParagraph 3.",
>then pasting this string will not include a trailing newline (as it
>was before). If we copy "1.\nParagraph 2.\nParagraph 3.\n", then the
>old behavior was to drop the last newline, whereas the new behavior
>inserts it.
>
>That is, if we pasted either string using the old code, or the first
>string using the new code, at the beginning of Paragraph 2, we would get
>
>Paragraph 1.
>1.
>Paragraph 2.
>Paragraph 3.Paragraph 2.
>Paragraph 3.
>Paragraph 4.
>
>Using the new code with the second copied string, we would instead get
>
>Paragraph 1.
>1.
>Paragraph 2.
>Paragraph 3.
>Paragraph 2.
>Paragraph 3.
>Paragraph 4.

Matt,

You've totally got me sold. However, Bob's a much more thorough, devious
tester than I am, so I'll let him finish beating on it. :-)

Paul

PS: No, I'm not dissing Bob. Those adjectives are intended to convey the
highest praise I can think of.



This archive was generated by hypermail 2b25 : Tue Mar 28 2000 - 12:33:01 CST