Re: Re: feature request #1055954: respect newlines in description

Greg Ward <[email protected]> Mon, 14 Mar 2005 21:17:34 -0500
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
On 10 March 2005, Tomi Mickelsson said:
> However, how could I provide the kind of usage I posted earlier? What if 
> there are regular paragraphs and then a special paragraph like the test 
> case list in my usage? Shall I then provide multiple paragraphs in a list 
> *and* override the formatting method? In the formatting method, I would 
> call parent implementation for all but the last paragraph?

Yes, if you want anything fancier than list-of-paragraphs, you'll have
to do it yourself.  I absolutely refuse to consider inventing a tiny
markup language for Optik help text!

And to those who want Optik to automatically split multiline text into
paragraphs: sorry, my time machine isn't that good.  Doing that would
break scripts written since 'description' was added in Optik 1.4.
You'll just have to turn your long 'description' text into a list of
paragraphs.

        Greg
-- 
Greg Ward <[email protected]>                         http://www.gerg.ca/
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click