New to Telerik UI for WinFormsStart a free 30-day trial

Class SyntaxEditorHistoryState.

Definition

Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class SyntaxEditorHistoryState

Inheritance: objectSyntaxEditorHistoryState

Constructors

Initializes a new instance of the SyntaxEditorHistoryState class.

C#
public SyntaxEditorHistoryState(RadSyntaxEditorElement editor)
Parameters:editorRadSyntaxEditorElement

The editor.

Properties

Gets the index of the caret position.

C#
public int CaretPositionIndex { get; }
Property Value:

The index of the caret position.

Gets a value indicating whether this instance is layout invalidation suspended.

C#
public bool IsLayoutInvalidationSuspended { get; }
Property Value:

true if this instance is layout invalidation suspended; otherwise, false.

Gets a value indicating whether this instance is selection reversed.

C#
public bool IsSelectionReversed { get; }
Property Value:

true if this instance is selection reversed; otherwise, false.

Gets the end index of the selection.

C#
public int SelectionEndIndex { get; }
Property Value:

The end index of the selection.

Gets the selection mode.

C#
public TextSelectionMode SelectionMode { get; }
Property Value:

The selection mode.

Gets the start index of the selection.

C#
public int SelectionStartIndex { get; }
Property Value:

The start index of the selection.