environment/lib/python2.7/site-packages/IPython/frontend/qt/console/bracket_matcher.py
def _selection_for_character(self, position):
        """ Convenience method for selecting a character.
        """
        selection = QtGui.QTextEdit.ExtraSelection()
        cursor = self._text_edit.textCursor()
        cursor.setPosition(position)
        cursor.movePosition(QtGui.QTextCursor.NextCharacter,
                            QtGui.QTextCursor.KeepAnchor)
        selection.cursor = cursor
        selection.format = self.format
        return selection
def _selection_for_character(self, position):
        selection = QtGui.QTextEdit.ExtraSelection()
        cursor = self._text_edit.textCursor()
        cursor.setPosition(position)
        cursor.movePosition(QtGui.QTextCursor.NextCharacter,
                            QtGui.QTextCursor.KeepAnchor)
        selection.cursor = cursor
        selection.format = self.format
        return selection
def _selection_for_character ( self , position ) : selection = QtGui . QTextEdit . ExtraSelection ( ) cursor = self . _text_edit . textCursor ( ) cursor . setPosition ( position ) cursor . movePosition ( QtGui . QTextCursor . NextCharacter , QtGui . QTextCursor . KeepAnchor ) selection . cursor = cursor selection . format = self . format return selection
Convenience method for selecting a character.
Convenience method for selecting a character .