This is the restriction on the `.setCaretBefore`. Just like described in the API documentation. Should be enough for the next merges. Could be expanded for more selection freedom in the future (if necessary).