InvalidateVisualCaretOrder

Forms, interaction, unicode

Description

Internal helper of TPDFlibFormSession that drops the cached visual caret slot order

It clears the cached slot array, the cached edit value and direction and marks the cache invalid

The current visual slot position resets to -1 so the next visual move re-derives its slot from the logical caret

The helper runs whenever the edit value, the Unicode boundary tables or the configured text direction change, forcing EnsureVisualCaretOrder to rebuild the order on the next query or movement

Declaration

procedure InvalidateVisualCaretOrder;

See also

EnsureVisualCaretOrder, GetVisualCaretOrder, MoveVisualCaret, InvalidateSelectionBoundaries, SetTextDirection, TPDFlibFormSession