def _position_changed(self):
        control = self._widget
        self._locked = True
        self.line, self.column = control.get_line_column()
        self._locked = False
        self.selected_text = control.get_selected_text()
        if self.factory.auto_scroll:
            self._widget.centerCursor()

    #---------------------------------------------------------------------------
    #  Handles a key being pressed within the editor:
    #---------------------------------------------------------------------------
A convenience proxy for :meth:`Session.expunge` method.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/code_editor.py/SourceEditor._position_changed--crossover with--dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/session.py/Transaction.expunge