How to determine if pane is scrolled
Is there a simple capi way to determine if a pane is scrolled? Or do I use something like: (defun pane-is-scrolled-p (pane orientation) "t if the pane is scrolled. Orientation is :horizontal or :vertical" (multiple-value-bind (min-range max-range slug-size) (if (eql orientation :horizontal) (capi:get-horizontal-scroll-parameters pane :min-range :max-range :slug-size) (capi:get-vertical-scroll-parameters pane :min-range :max-range :slug-size)) (/= (- max-range min-range) slug-size))) Mitch