On Sat, Aug 21, 2010 at 7:20 PM, Sam Hartsfield <[email protected]> wrote:
> Do you know if there's some fundamental difference that prevents > simulateCommand from working in the headline edit control, or is it > something that might be fixable? It might be fixable. However, outline code is inherently much more difficult than other code, because each headline is a separate widget that, alas, has a very brief lifetime. Moreover, for reasons that can not be helped, the corresponding headline code in Leo's core is incredibly fragile. Please *do not* ever try to "improve" code such as c.selectPosition or c.frame.tree.select or c.frame.tree.onHeadChanged or c.frame.body.onBodyChanged or any of their helpers. I guarantee that unit tests will break if you do. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. 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.
