src/eric7/Plugins/ViewManagerPlugins/Listspace/Listspace.py

branch
eric7
changeset 10394
056d1b2cd3c4
parent 10380
7c14ccd2a0e1
child 10439
21c28b0f9e41
equal deleted inserted replaced
10393:434e1b0bc49e 10394:056d1b2cd3c4
850 """ 850 """
851 Private method to close the other editors. 851 Private method to close the other editors.
852 """ 852 """
853 index = self.contextMenuIndex 853 index = self.contextMenuIndex
854 for i in itertools.chain( 854 for i in itertools.chain(
855 range(self.viewlist.count() - 1, index, -1), 855 range(self.viewlist.count() - 1, index, -1), range(index - 1, -1, -1)
856 range(index - 1, -1, -1)
857 ): 856 ):
858 editor = self.editors[i] 857 editor = self.editors[i]
859 self.closeEditorWindow(editor) 858 self.closeEditorWindow(editor)
860 859
861 def __contextMenuCloseAbove(self): 860 def __contextMenuCloseAbove(self):

eric ide

mercurial