@on_trait_change('dim_lines, squiggle_lines')
    def _style_document(self):
        self.control.ClearDocumentStyle()
        self.control.Colourise(0, -1)
        self.control.Refresh()
Conducts Cleanup and new line.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/code_editor.py/SourceEditor._style_document--crossover with--dataset/ETHPy150Open bolme/pyvision/src/pyvision/analysis/progress_bar.py/ProgressBar.finish