'Removes the highlight from the view.
If the view None, then the highlight of the active view will be
removed.'

def _remove_highlight(self, view=None):

    if (not view):
        view = self.window.active_view()
    view.erase_regions('temp_highlight_command')
