On Mon, Jan 23, 2012 at 11:24 AM, Edward K. Ream <[email protected]> wrote:
[...]
>
> One solution might be to hack Leo's key-binding code so that page
> up/down keys get passed back to scrolling text widgets.  But this will
> not be easy, because of the complexity of Leo's key-handling code.

I looked at the QT C++ source code and found the functionality which
takes care of the paging.  It looked to be a private(!) method so it
can't be called, I guess.  However, the method was pretty
straightforward and only called public methods.  So I ported the code
to python and replaced Leo's hard-coded 15 line scrolling with it.

I checked the code in and pushed to launchpad.

Brian

-- 
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.

Reply via email to