>
> 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)
>
Hi, Thomas,
It works, thank you!

It's a useful snippet, we should write it down. But where should we save
it? Do you know the right place?
https://github.com/leo-editor/snippets seems like a good place, but it
doesn't update for a long time.


-- 
--
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%2BUQrQw%3Dkv1QB586k_wAEvSHFo7FBxMF7bJCQsh%3DNHSseCvfow%40mail.gmail.com.

Reply via email to