Thanks Thomas, I'll try it later Another thought: is it a good idea to take UNL as a system level schema? I can record somewhere like markdown `[something](unl://xxxxxxx)` or even pass parameter to that schema if the unl is a script... `unl://xxxxx?para1=leo`
On Sun, Jun 25, 2023 at 9:07 PM Thomas Passin <tbp100...@gmail.com> wrote: > On Sunday, June 25, 2023 at 9:05:20 AM UTC-4 Thomas Passin wrote: > > On Sunday, June 25, 2023 at 8:43:25 AM UTC-4 iamap...@gmail.com wrote: > > For now, my UNL points to a position of the current outline. Could we have > a quick way to get it? > > > Assuming that these commands will continue to work after the PR: > > c0, p0 = c, c.p > c2 = g.handleUnl(unl, c) > content = c2.p.b # <---- here is the content of the UNL's body > c0.selectPosition(p) > > Oops, typo! The last line should read > > c0.selectPosition(p0) > > -- > You received this message because you are subscribed to a topic in the > Google Groups "leo-editor" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/leo-editor/_TqPXKhD-rs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > leo-editor+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/leo-editor/246ebac0-0439-4592-91bd-9f40bebd3e23n%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/246ebac0-0439-4592-91bd-9f40bebd3e23n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- Sincerely, HaveF -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CA%2BUQrQwbGUtOxAC3VQCc0UZXki-%3DQw4Sr5qLE%3DyH_LFgORJ0_g%40mail.gmail.com.