caretPositionProperty
The caret is the vertical flashing bar between two characters, where text can be typed. When text is selected, caretPosition can be either end of the selection. See selectionStartProperty and selectionEndProperty.
The caret is invisible when there is a selection.