def dispose ( self ):
        # Make sure that the editor does not try to update as the control is
        # being destroyed:
        QtCore.QObject.disconnect(self._widget, QtCore.SIGNAL('lostFocus'),
                                  self.update_object)

        super( SourceEditor, self ).dispose()

    #---------------------------------------------------------------------------
    #  Handles the user entering input data in the edit control:
    #---------------------------------------------------------------------------
Disposes of the contents of an editor.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/code_editor.py/SourceEditor.dispose