src/eric7/Plugins/ViewManagerPlugins/Tabview/Tabview.py

branch
eric7
changeset 10394
056d1b2cd3c4
parent 10380
7c14ccd2a0e1
child 10437
2f70ca07f0af
equal deleted inserted replaced
10393:434e1b0bc49e 10394:056d1b2cd3c4
682 """ 682 """
683 Private method to close the other tabs. 683 Private method to close the other tabs.
684 """ 684 """
685 index = self.contextMenuIndex 685 index = self.contextMenuIndex
686 for i in itertools.chain( 686 for i in itertools.chain(
687 range(self.count() - 1, index, -1), 687 range(self.count() - 1, index, -1), range(index - 1, -1, -1)
688 range(index - 1, -1, -1)
689 ): 688 ):
690 editor = self.widget(i).getEditor() 689 editor = self.widget(i).getEditor()
691 self.vm.closeEditorWindow(editor) 690 self.vm.closeEditorWindow(editor)
692 691
693 def __contextMenuCloseLeft(self): 692 def __contextMenuCloseLeft(self):

eric ide

mercurial