On Fri, May 15, 2020 at 9:34 PM Brian Theado <[email protected]> wrote:
> Could you give some examples of various kinds of 'func' and the things they will do? I can think of two likely flavors. One which performs an actual action (insert-node, end-of-line, find-next, etc). Another which mainly just changes self.state. Am I on the right track? Yes, you're on the right track. Each func completely handles the incoming character. In some cases, as in alt-x, that involves changing state. Funcs themselves have always been straightforward. The new funcs should be simpler because they will be more specific. The hard problem is ensuring that the old and new funcs are equivalent, which involves an analysis of the old and new binding tables. I've mostly glossed over how Leo will create the new bindings tables at startup. That's next. Edward -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS34NQsRGkO6JnoieE%2B5EZWPkKsGe8cvdJWBaVc7XNhs6Q%40mail.gmail.com.
