>I'll keep this one short: I've updated both of the usertalk-based
>string wrapping functions today. Thomas Creedon found a bug which
>affected both versions, so I had to update them both.
Not sure if the following is a bug or a feature but I note that BBEdit
(and Mailsmith) and your wrap functions give different results as
follows:
BBEdit's wrap to a line length of 72:
Jryy, perqvg jurer perqvg'f qhr Naqerj...gung vf n tbbq znexvat fpurzr
naq V sbe bar jbhyqag pbzcynva vs gung bar jrer vzcyrzragrq (be bar
gung vf fvzvyne).
stringWrapQuoted wrap to a line length of 72:
Jryy, perqvg jurer perqvg'f qhr Naqerj...gung vf n tbbq znexvat fpurzr
naq V sbe bar jbhyqag pbzcynva vs gung bar jrer vzcyrzragrq (be bar gung
vf fvzvyne).
stringWrap wrap to a line length of 72:
Jryy, perqvg jurer perqvg'f qhr Naqerj...gung vf n tbbq znexvat fpurzr
naq V sbe bar jbhyqag pbzcynva vs gung bar jrer vzcyrzragrq (be bar gung
vf fvzvyne).
Mailsmith's wrap to a line length of 72:
Jryy, perqvg jurer perqvg'f qhr Naqerj...gung vf n tbbq znexvat fpurzr
naq V sbe bar jbhyqag pbzcynva vs gung bar jrer vzcyrzragrq (be bar
gung vf fvzvyne).
>
>If no more bugs are found, then these are the versions which I'll
>based the kernel code on in a couple of weeks.
>
>(Oh, they're here: future replacement for string.wrap
><
http://www.truerwords.net/articles/ut/wrapping_quoted_text.html> and
>the brand new string.wrapQuoted
><
http://www.truerwords.net/articles/ut/wrapping_quoted_text.html>.)
Those URLs are the same ;-)
Cheers,
Duncan