SelectedView.GoToLine is missing in Editor

SyntaxEditor for WPF Forum

Posted 10 years ago by Joseph Feser
Version: 9.1.0505
Avatar
We are converting from the Winforms Syntax Editor to the WPF Editor.

We perform a lot of actions where we move to a line and perform actions against that line.

We used the method called GoToLine.

It does not appear to exist in the WPF version.

Is there a work around?

Thank you

Joe Feser
NCover

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Joseph,

This line effectively does go to line functionality:
editor.Caret.Position = new TextPosition(lineIndex, 0);

We'll add a QuickStart to the next build to show it too.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.