SelectedView.GoToLine is missing in Editor

SyntaxEditor for WPF Forum

Posted 15 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 15 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 (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.