Posted 14 years ago by Russell Mason
Avatar
Hi

It is possible to get/set the editor's scroll position. I am doing some text replacement/formatting and then replace the whole document's text (after selecting all so I get Undo). The editor ends up scrolled to the bottom of the document. I would to set it back to where it was.

Thanks
Russell Mason

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes use this:
editor.SelectedView.FirstVisibleDisplayLineIndex = 0;


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.