Function EditWidgetBase.updateSelectionAfterCursorMovement

void updateSelectionAfterCursorMovement(
  TextPosition oldCaretPos,
  bool selecting
);