Lisp HUG Maillist Archive

editor-pane's scrollbar behavior?

Hi,

Is there something wrong with scrollbar behavior when using CAPI  
editor-pane? Even in LW5.0.2 on MacOSX environment when editing the  
code I have the following observations :
- trackpad's roller function (two fingers on the trackpad, simulates  
the roller in the mouse) is making the text jump when it reaches the  
end.
- the size of the scrollbar seems to change depending on the amount  
of text displayed in the window

Do you have the same observations?

best regards
Krzysztof Kielak


Re: editor-pane's scrollbar behavior?


On Nov 21, 2007, at 5:19 PM, Krzysztof Kielak wrote:

> - the size of the scrollbar seems to change depending on the amount  
> of text displayed in the window

I reported this as a bug a while back, but was told this is actually  
intended behavior.

LWM uses emacs style scroll thumbs:
(= (/ scroll-thumb-height scroll-bar-height)  (/ lines-of-displayed- 
text total-document-lines)

Mac OS X standard scroll thumbs:
(= (/ scroll-thumb-height scroll-bar-height) (/ visible-window-height  
total-document-height)).

The result is that when you scroll to the end of a file in LWM the  
amount of displayed text gets very small, and the scroll thumb gets  
tiny too. Aquamacs shows the same behavior btw.


regards,

Ralph

Raffael Cavallaro, Ph.D.
raffaelcavallaro@mac.com


Updated at: 2020-12-10 08:44 UTC