RichTextKit v0.3

RichString.GetCaretInfo Method

Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: RichString

Calculates useful information for displaying a caret

public CaretInfo GetCaretInfo(int codePointIndex);

Parameters

int codePointIndex

The code point index of the caret

Returns

CaretInfo

A CaretInfo struct, or CaretInfo.None

Subscribe for more like this. No spam, just fun tech stuff :)

Or, find me on Twitter: @toptensoftware.