SelectedView.GoToLine is missing in Editor

SyntaxEditor for WPF Forum

Posted 13 years ago by Joseph Feser
Version: 9.1.0505
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

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v22.1.3) was released 21 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.