Table of Contents

Method MoveToLineAndCenterIt

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v10.dll

MoveToLineAndCenterIt(SyntaxEdit, int, int)

Changes the current position

public static void MoveToLineAndCenterIt(SyntaxEdit edit, int line, int charPos = 0)

Parameters

edit SyntaxEdit

Editor control.

line int

Index of line to move to.

charPos int

Index of character in the line to move to. Optional. Default is 0.