@QtCore.Slot()
    def delete(self):
        self.textCursor().removeSelectedText()
Deletes the selected text
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/pyqode/core/api/code_edit.py/CodeEdit.delete