@on_trait_change('dim_lines, squiggle_lines')
    def _style_document(self):
        self.control.ClearDocumentStyle()
        self.control.Colourise(0, -1)
        self.control.Refresh()
Force the STC to fire a STC_STYLENEEDED event for the entire
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/code_editor.py/SourceEditor._style_document