_selectionIsStartOfElement
selectionPositionOnElement refactor
add is caret function