

def _cursor_position_changed(self):
    ' Updates the tip based on user cursor movement.\n        '
    cursor = self._text_edit.textCursor()
    if (cursor.position() <= self._start_position):
        self.hide()
    else:
        (position, commas) = self._find_parenthesis((self._start_position + 1))
        if (position != (- 1)):
            self.hide()

dataset/ETHPy150Open enthought/pyface/pyface/ui/qt4/console/call_tip_widget.py CallTipWidget._cursor_position_changed/original