environment/lib/python2.7/site-packages/IPython/frontend/qt/console/completion_html.py
def current(self, value):
        """set current cursor position"""
        current = min(max(self._min, value), self._max)

        self._current = current

        if current > self._stop : 
            self._stop = current
            self._start = current-self._width
        elif current < self._start : 
            self._start = current
            self._stop = current + self._width

        if abs(self._start - self._min) <= self._sticky_lenght :
            self._start = self._min
        
        if abs(self._stop - self._max) <= self._sticky_lenght :
            self._stop = self._max
def current(self, value):
        current = min(max(self._min, value), self._max)

        self._current = current

        if current > self._stop : 
            self._stop = current
            self._start = current-self._width
        elif current < self._start : 
            self._start = current
            self._stop = current + self._width

        if abs(self._start - self._min) <= self._sticky_lenght :
            self._start = self._min
        
        if abs(self._stop - self._max) <= self._sticky_lenght :
            self._stop = self._max
def current ( self , value ) : current = min ( max ( self . _min , value ) , self . _max ) self . _current = current if current > self . _stop : self . _stop = current self . _start = current - self . _width elif current < self . _start : self . _start = current self . _stop = current + self . _width if abs ( self . _start - self . _min ) <= self . _sticky_lenght : self . _start = self . _min if abs ( self . _stop - self . _max ) <= self . _sticky_lenght : self . _stop = self . _max
set current cursor position
set current cursor position