--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/8572044a-9fc4-4254-ba7e-6c0bdcba5f5d%40googlegroups.com.
w = c.frame.body.wrapper
p = w.getSelectedText()
message = p.replace('"', "'")
command = '/usr/bin/wn %s -over' % message
c.controlCommands.executeSubprocess(
event=None,
command=command,
)
Transformations can be executed as minibuffer command or by default on every save.
HTH Vitalije