On Sat, Jul 1, 2017 at 11:12 AM, Lang Hurst <[email protected]> wrote:
> I am looking to wrap lines I looked through the documentation and also > found this discussion <https://github.com/leo-editor/leo-editor/issues/14> > from a few years ago. > > > I don't code much anymore. This is all just prose. For my purposes I need > a node that wraps at 35 characters, and a second one at 45 characters. What > I currently do is vim-open-node on both, lock scrolling between the two > windows and get to work. It is acceptable. It is a bit of a pain when I > need to make a minor change. OK, it's very minor. But it would be nice to > be able to just do a quick edit and have the paragraph reformatted > correctly without opening another program. Is it possible to put some > directives at the top of the node or something that will accomplish this? > Use @pagewidth 35 Then reformat-paragraph (Ctrl-Shift-P) will insert newlines. Changing to @pagewidth 45, followed by reformat-paragraph will insert newlines in new locations. @pagewidth applies to sub-trees until over-ridden. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
