(self, pos)
Start cursor range selection if it was not started
Start cursor range selection if it was not started
Start cursor range selection if it was not started
def begin_cursor_sel(self, pos):
        """Start cursor range selection if it was not started"""

        if self.has_mark():
            return

        if self._is_cursor_started():
            return

        self._linewise = False
        self._rectangular = False
        self._set_cursor_start(pos)
        self._set_end(pos)
def begin_cursor_sel ( self , pos ) : if self . has_mark ( ) : return if self . _is_cursor_started ( ) : return self . _linewise = False self . _rectangular = False self . _set_cursor_start ( pos ) self . _set_end ( pos )