On Jan 9, 8:45 am, "Edward K. Ream" <[email protected]> wrote:
> > I'm afraid that there isn't a way to do this at the moment. But there > > will be very soon. Edward's current work on keybindings (see the > > "design notes about key bindings" thread) will fix it. > > I've just finished the prototype for this using @button nodes: Done at the trunk at rev 2644. This approach was a big success: the new code is almost *much* simpler than the old. Both the Tk and Qt text widget now have a leoMoveCursorHelper method that does all the heavy lifting for Leo's cursor-movement commands. The new leoMoveCursorHelper methods are the kind of solution I dream about. They replace impossible-to-understand code with simple, easy code. As a result, the following bugs should be fixed for both Tk and Qt: - 421957 When body_pane_wraps is set to true, Previous-Line and Next- Line do not work as expected. - 489917 Cursor placement defect All unit tests pass now, they caught an error in the new code. I ran the unit tests for both Tk and Qt. Please report any problems immediately. 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.
