def setCursorPosition(self, pos):
        self.setSelectionRange(pos, 0)
        self._lastKnownCursorPosition = pos
Sets the cursor position in the field. As a side effect the
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/abstract_text_field.py/AbstractTextField.setCursorPosition