Posted 18 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 18 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 (v23.1.3) was released 7 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.