def update_editor ( self ):
        text = self.str_value
        if self.factory.format_text:
            text = self.factory.parse_text( text )
        if self.base_url:
            url = self.base_url
            if not url.endswith("/"):
                url += "/"
            self.control.setHtml( text , QtCore.QUrl.fromLocalFile ( url ) )
        else:
            self.control.setHtml( text )

    #-- Event Handlers ---------------------------------------------------------
Updates the editor when the object trait changes external to the
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/html_editor.py/SimpleEditor.update_editor