Vertical scroll farther than the end of document

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Sébastien Hivon
Avatar
Hi

Maybe that's a miss understanding of the API, but it doesn't seems to have a way to scroll the vertical scroll bar farther than the end of document. When the page is filled and I want to append additionnal text, I can't move the view to the to type at the middle of the control.

Is there a way to set the maximun scroll bar value? (not the one herited by IScrollable, but the ScrollBar directly in the SE)

Comments (5)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Right now it doesn't let you scroll past the end. I can add that to the TODO list for you.


Actipro Software Support

Posted 14 years ago by Sébastien Hivon
Avatar
I think it could be interresting to be able set an offset of lines to be able to scroll after the end of the document.
I'm quite surprise. Am I the first one to report that?
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes we had it that way by design. We probably should add some sort of flag that indicates whether it uses the current behavior or lets you can scroll the last line up to the top of the editor, right? That way we could handle the vertical scrollbar max easier.


Actipro Software Support

Posted 14 years ago by Sébastien Hivon
Avatar
Exactly
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We've added a SyntaxEditor.ScrollPastEndOfDocument property that will control this functionality for the next maintenance release for you.


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.