Not as if anyone is actually interested but I implemented
goto-next-N-visible in a much faster way:
@language python
N=5
def getVisNextN(n):
current = c.p
for ind in range(n):
forward = current.getVisNext(c)
if forward != None:
current = forward
return current
NAhead = getVisNextN(N)
c.setCurrentPosition(NAhead)
c.redraw()
I find this extremely useful (when bound to a key shortcut) for quickly
navigating an outline when lots of nodes are expanded. Can be easily
modified for goto-prev-N-visible.
On Thursday, May 21, 2015 at 6:22:35 AM UTC-4, Edward K. Ream wrote:
>
> On Wed, May 20, 2015 at 11:40 AM, john lunzer <[email protected]
> <javascript:>> wrote:
>
>> Thanks for the report. Edward what is your setup? Are you on windows or
>> linux?
>>
>
> ​Both. I do most of my work on Windows because the fonts are clearer and
> sharper on that machine. Soon after a commit I'll rerun all unit tests on
> the Linux machine.
>
> 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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.