Plugins/ViewManagerPlugins/Listspace/Listspace.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3037
a417a0670a36
child 3080
6c0a430b19df
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
670 """ 670 """
671 Private method to close the other editors. 671 Private method to close the other editors.
672 """ 672 """
673 index = self.contextMenuIndex 673 index = self.contextMenuIndex
674 for i in list(range(self.viewlist.count() - 1, index, -1)) + \ 674 for i in list(range(self.viewlist.count() - 1, index, -1)) + \
675 list(range(index - 1, -1, -1)): 675 list(range(index - 1, -1, -1)):
676 editor = self.editors[i] 676 editor = self.editors[i]
677 self.closeEditorWindow(editor) 677 self.closeEditorWindow(editor)
678 678
679 def __contextMenuCloseAll(self): 679 def __contextMenuCloseAll(self):
680 """ 680 """

eric ide

mercurial