On Thu, 1 Nov 2012 10:12:25 -0700 (PDT)
Stefan Fruehwirth <[email protected]> wrote:

> A short question: Is it possible to have linewrap in headlines? Or maybe 
> with a few lines of code?

It would be easy to write a tiny script that copied the body to the
headline with linebreaks.  This test

p.h = 'test\nthis'

which creates a two line headline, shows that the tree can handle
multiline headlines.

In fact I guess the tiny script would be 

p.h = p.b

:-) with the only challenge being how to most conveniently get it bound
to a key etc.

Ok, why does software always have to get more complex :-), a better
version would be

p.h = p.b.strip()

Let me know if you want pointers on binding to keys / making buttons.

Cheers -Terry

> Thanks,
> Stefan
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to