def update_editor ( self ):
        control   = self.control
        new_value = self.str_value

        if hasattr(self.factory, 'password') and self.factory.password:
            new_value = '*' * len( new_value )

        if (self.item.resizable is True) or (self.item.height != -1.0):
            if control.GetValue() != new_value:
                control.SetValue( new_value )
                control.SetInsertionPointEnd()

        elif control.GetLabel() != new_value:
            control.SetLabel( new_value )

    #---------------------------------------------------------------------------
    #  Disposes of the contents of an editor:
    #---------------------------------------------------------------------------
Return a 405 "Not Allowed" if the request's client major version
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/text_editor.py/ReadonlyEditor.update_editor--crossover with--dataset/ETHPy150Open deis/deis/controller/api/middleware.py/APIVersionMiddleware.process_request