Table of Contents

Method GetAdjustedCaretPosition

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetAdjustedCaretPosition(long)

Gets the adjusted caret position.

long GetAdjustedCaretPosition(long caretPos)

Parameters

caretPos long

Returns

long

Remarks

The adjusted caret position is the character position adjusted to take into account whether we're at the start of a paragraph, in which case style information should be taken from the next position, not current one.