(self, highlight_type)
Removes all highlights with given type
Removes all highlights with given type
Removes all highlights with given type
def remove_highlights(self, highlight_type):
        """ Removes all highlights with given type
        """
        self._highlights = [
            x for x in self._highlights if x.what != highlight_type
        ]
        self.viewChanged.emit()
        self.viewport().update()
def remove_highlights ( self , highlight_type ) : self . _highlights = [ x for x in self . _highlights if x . what != highlight_type ] self . viewChanged . emit ( ) self . viewport ( ) . update ( )