RichTextKit v0.4

CaretPosition Struct

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit

Stores state information about a caret position

public struct CaretPosition

Inheritance

CaretPosition → ValueTypeobject

Remarks

The caret position is defined primarily by it's code point index however there are other attributes that can affect where it's displayed and how it moves. This structure encapsulates all the information about the caret required to position and move it correctly.

Constructors

CaretPosition(int, bool)

Initializes a CaretPosition

Fields

AltPosition

True to display the caret at the end of the previous line rather than the start of the following line when the code point index is exactly on a line break.

CodePointIndex

The code point index of the caret insertion point