A few years ago the page up/down functionality was a fixed number of
lines. I looked into the QT cpp code and translated it to python and
checked it in:

https://github.com/leo-editor/leo-editor/commit/9401804f956c0eef31d2068450a21436e9939268

since then the page up/down has always been exactly a page for me. So
my two questions are:

1) What behavior are you seeing?
2) Where did the c.frame.body.bodyCtrl.linesPerPage() function come
from? Did I just miss it when I made my change a few years ago?

Brian

On Tue, Aug 19, 2014 at 5:52 AM, Fidel N <fidelpe...@gmail.com> wrote:
> Tried to do myself, but cant fin any binding for pgup or pgdn in either
> leosettings or leopyref.
> Also, found out that this wont work if the user wants to select the whole
> page (shift + script) wont select the whole page, just jump.
> But its good enough for reading as is.
>
>
> On Tue, Aug 19, 2014 at 10:48 AM, Edward K. Ream <edream...@gmail.com>
> wrote:
>>
>> On Tue, Aug 19, 2014 at 3:36 AM, Fidel N <fidelpe...@gmail.com> wrote:
>>
>> > for number in range(c.frame.body.bodyCtrl.linesPerPage()):
>> >     c.executeMinibufferCommand("next-line")
>>
>> Excellent.  This should be the default binding of the PageDn key.
>>
>> 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 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.
>
>
> --
> 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.

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

Reply via email to