Adding a "command" via a plug-in?

What's the polite way of adding a command to Leo, i.e. a command like
insertBodyTime.  I have some code to close the XML element open at the
cursor in the body pane.  I was going to just duplicate insertBodyTime
and modify that, but then I realized it comes with a dependency on
xml.sax, so maybe I shouldn't do that, it should probably stay in a
plugin.

The goal would be to allow a @shortcut setting like

  close-xml-element ! body = Ctrl-C

to activate the command.

Cheers -Terry

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to