why do you want to do this?
must to do this?
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/Dju7HUU_yXEJ.
To post to this group, send email to leo-e...@googlegroups.com.
To unsubscribe from this group, send email to leo-editor+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
why do you want to do this?
must to do this?
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
--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
Running the code below (in a @script node or whatever) seems to make
Leo wrap headlines. Please TEST THOROUGHLY ON A BACKUP of your working
file, once run this code causes Leo to wrap every headline as you
unselect it (move to another headline), and that can be quite
destructive on an outline not intended for wrapping.
For very long lines, the behavior depends on the Qt QLineEdit widget.
This widget: http://doc.qt.nokia.com/4.7-snapshot/qlineedit.html
This is a one-line text editor, so the notion of line wrapping does not apply.