[Python-Dev] Re: Where to put wrap_text()?

François Pinard pinard@iro.umontreal.ca
04 Jun 2002 09:29:51 -0400


Hi, people.

For this incoming text wrapper facility, there is a feature that appears
really essential to me, and many others: the protection of full stops[1].

In a previous message, I spoke of Knuth's algorithm as a nice possibility,
but this is merely whipped cream and cherry over the ice cream.  Protection
of full stops does not fall in that decoration category, it is essential.
I mean, for those who care, a wrapper without full stop protection would
be rather unusable when there is more than one sentence to refill.

----------
[1] Full stops are punctuation ending sentences with two spaces guaranteed.
Full stops are defined that way for typography based on fixed width fonts,
like when we say "this many characters to a line".

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard