Stores state information about a caret position
public struct CaretPosition
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.
Initializes a CaretPosition
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.
The code point index of the caret insertion point