On Mon, 3 Feb 2014 08:18:27 -0600 Kent Tenney <[email protected]> wrote:
> Does Leo require the @xxx sentinels to appear in the body? > > I would prefer to not see Leo housekeeping notes, would like to be able > to <select all>, <copy>, <paste> and not need to remove Leo-added content. > > If they must remain, workaround functions for > use by scripts would be very welcome. They are very much the approach Leo has been using. I agree it's annoying to paste the content of a node that's all SQL into a SQL command line and have it bail because `@language plsql` isn't SQL. `-- @language plsql` is SQL, but not recognized by Leo... A copy-text-without-sentinels command would be somewhat helpful, although you'd have to remember to use it. I find them intrusive in headers too, and have been threatening for years to add a tree node rendering layer to hide them / represent them with icons or other formatting until you edit the headline. Must try it some time. Cheers -Terry > Thanks, > Kent > > On Mon, Feb 3, 2014 at 7:49 AM, Edward K. Ream <[email protected]> wrote: > > On Sun, Feb 2, 2014 at 11:02 AM, Fidel N <[email protected]> wrote: > >> > >> Kent, perhaphs you could be getting your nodes text through this command: > >> > >> g.getScript(c,p) > > > > > > Yes. I often do this, and it looks like a better suggestion than mine ;-) > > > > > >> Perhaps there could be a more accessible way of getting a node's true text > >> and auto clean, such as c.p.truebody or something like that. > > > > > > Another good idea. As you imply, it must be a (getter only) property of > > positions. However, the name should indicate that a traversal is being > > made: something like p.script. > > > > 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 http://groups.google.com/group/leo-editor. > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
