def clear(self):
        """
        Removes all text decoration from the editor.

        """
        self._decorations[:] = []
        try:
            self.editor.setExtraSelections(self._decorations)
        except __HOLE__:
            pass
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/managers/decorations.py/TextDecorationsManager.clear