I have just added to the repo (but not yet on the web site) the following addition to the FAQ entry called::
Modifying the body pane directly QQQ **Important**: The changes you make below **will not persist** unless your script calls c.frame.body.onBodyChanged after making those changes. This method has the following signature:: def onBodyChanged (self,undoType,oldSel=None,oldText=None,oldYview=None): QQQ For examples, look for calls to onBodyChanged throughout Leo's core. Edward P.S. There was a discussion about how to do this a long time ago. I made a note of it, but just today got around to it. EKR -- 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.