An addition to the vs-* commands, vs-eval-replace, replaces the selected body text with its evaluated form.
365 * 24 * 60 * 60 becomes 31536000 "all these words here in a list please".split() becomes ['all', 'these', 'words', 'here', 'in', 'a', 'list', 'please'] import time time.asctime() (on two lines) becomes 'Fri Dec 22 14:50:24 2017' although the abbreviation date;;={|{x=time.asctime()}|} is a better choice for that. Text is evaluated in the vs namespace so you can reference variables in that namespace. Cheers -Terry -- 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 post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.