(self, moveToTop=False)
Reset selection.
        If moveToTop is True - move cursor to the top position
Reset selection.
        If moveToTop is True - move cursor to the top position
Reset selection . If moveToTop is True - move cursor to the top position
def _resetSelection(self, moveToTop=False):
        """ Reset selection.
        If moveToTop is True - move cursor to the top position
        """
        ancor, pos = self._qpart.selectedPosition
        dst = min(ancor, pos) if moveToTop else pos
        self._qpart.cursorPosition = dst
def _resetSelection ( self , moveToTop = False ) : ancor , pos = self . _qpart . selectedPosition dst = min ( ancor , pos ) if moveToTop else pos self . _qpart . cursorPosition = dst