lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev [PATCH 2.8.3.dev4] Scrollbar support


From: Klaus Weide
Subject: Re: lynx-dev [PATCH 2.8.3.dev4] Scrollbar support
Date: Mon, 9 Aug 1999 22:22:14 -0500 (CDT)

On Mon, 9 Aug 1999, Ilya Zakharevich wrote:
> >> The reason to not put it into the first implementation is that there
> >> is no "position at line 735" lynx-keyaction.  After adding this
> >> keyaction (with 735 kept in a global variable) such a change is
> >> trivial.
> >
> > Seems that variable LYMainLoop.c:Newline is responsible for it - just assign
> >required value to it and lynx will go to that line.
> 
> a) This works if you want the mouse click to move you to line 7.
>    However, I know no global variable which keeps the total amount of
>    lines, thus setting Newline does not help if you want to go to 7%
>    of the buffer.

Try HText_getNumOfLines().

Everything doesn't have to become a global variable, there are already
too many.


   Klaus


reply via email to

[Prev in Thread] Current Thread [Next in Thread]