capturedCursor property

int get capturedCursor

Number of cursor positions that can be captured within this node.

By definition, capturedCursor = editingWidth - 1. By definition, TextRange.end - TextRange.start = capturedCursor - 1.

Implementation

int get capturedCursor => editingWidth - 1;