caretAt
Where a selection that starts at the flattened char index begins, or where one that ends at it ends when after is true: the char's logical edge, as a caret across its line. Lines keep their own direction, so the start of a right-to-left run is its right edge, and a caret in a vertical line runs across the column. Null for an index with no char.