Table of Contents

Interface INavigate

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

Represents properties and methods allowing to navigate within the Edit control's text content.

public interface INavigate

Properties

NavigateOptions

When implemented by a class, gets or sets navigating options.

Position

When implemented by a class, gets or the sets current position within the control's text content.

PrevPosition

When implemented by a class, gets previous position within the control's text content.

Methods

DisablePositionUpdate()

When implemented by a class, prevents notification of changing of caret position until calling EnablePositionUpdate method.

EnablePositionUpdate()

When implemented by a class, re-enables notification of changing of caret position that was turn of by calling DisablePositionUpdate method.

MoveTo(Point)

When implemented by a class, moves the current position to the given position.

MoveTo(int, int)

When implemented by a class, moves the current position to the given position.

MoveToChar(int)

When implemented by a class, moves the current position to the specified character in the current line.

MoveToLine(int)

When implemented by a class, moves the current position to the specified line.

MoveToLine(int, int)

When implemented by a class, moves the current position to the specified line.

Navigate(int, int)

When implemented by a class, moves current position by the given offset value.

ResetNavigateOptions()

When implemented by a class, resets the NavigateOptions to the default value.

RestorePosition(int)

When implemented by a class, restores position from stored position list by given index.

RestorePositionWithUndo(int)

When implemented by a class, restores position from stored position list by given index.

SetNavigateOptions(NavigateOptions)

When implemented by a class, sets navigating options without validating position.

StorePosition(Point)

When implemented by a class, stores given position to stored position list.

StorePosition(Point, bool)

When implemented by a class, stores given position to stored position list.

StorePositionWithUndo(Point)

When implemented by a class, stores given position to stored position list preserving it for undo.

ValidatePosition(ref Point)

When implemented by a class, validates given position within control's text content.