Lisp HUG Maillist Archive

ensure-area-visible

According to the CAPI documentation, ensure-area-visible ”… works only for subclasses of simple-pane that do internal scrolling (such as editor-pane). An error is signalled if it is called with other classes.”

But what about output-panes? An error is certainly not signalled, and the function seems to work correctly *most of the time*. But is this actually supported, or is it just ”a coincidence”? Or is it dependent on whether the output-pane has ordinary or internal scrolling?

Regards
Erik


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Re: ensure-area-visible

>>>>> On Sat, 18 Nov 2017 02:22:25 +0100, Erik Ronström said:
> 
> According to the CAPI documentation, ensure-area-visible ”… works only for subclasses of simple-pane that do internal scrolling (such as editor-pane). An error is signalled if it is called with other classes.”
> 
> But what about output-panes? An error is certainly not signalled, and the function seems to work correctly *most of the time*. But is this actually supported, or is it just ”a coincidence”? Or is it dependent on whether the output-pane has ordinary or internal scrolling?

It can be used for any instances of output-pane or layout that have at least
one scroll bar.  We will correct the documentation.

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

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