Posted 19 years ago by Russell Mason

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.

Russell Mason

Comments (1)

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

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.