def update_object ( self, event ):
        if (not self._no_update) and (self.control is not None):
            try:
                self.value = self._get_user_value()

                if self._error is not None:
                    self._error     = None
                    self.ui.errors -= 1

                self.set_error_state( False )

            except TraitError as excp:
                pass

    #---------------------------------------------------------------------------
    #  Updates the editor when the object trait changes external to the editor:
    #---------------------------------------------------------------------------
Handles the user entering input data in the edit control.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py/SimpleEditor.update_object