668 """ |
668 """ |
669 Private method to close the other editors. |
669 Private method to close the other editors. |
670 """ |
670 """ |
671 index = self.contextMenuIndex |
671 index = self.contextMenuIndex |
672 for i in list(range(self.viewlist.count() - 1, index, -1)) + \ |
672 for i in list(range(self.viewlist.count() - 1, index, -1)) + \ |
673 list(range(index - 1, -1, -1)): |
673 list(range(index - 1, -1, -1)): |
674 editor = self.editors[i] |
674 editor = self.editors[i] |
675 self.closeEditorWindow(editor) |
675 self.closeEditorWindow(editor) |
676 |
676 |
677 def __contextMenuCloseAll(self): |
677 def __contextMenuCloseAll(self): |
678 """ |
678 """ |