464 if emptyIndex > -1: |
464 if emptyIndex > -1: |
465 self.removeTab(emptyIndex) |
465 self.removeTab(emptyIndex) |
466 |
466 |
467 return newIndex |
467 return newIndex |
468 |
468 |
469 def __captionChange(self, cap, editor): |
469 def __captionChange(self, cap, editor): # noqa: U100 |
470 """ |
470 """ |
471 Private slot to handle Caption change signals from the editor. |
471 Private slot to handle Caption change signals from the editor. |
472 |
472 |
473 Updates the tab text and tooltip text to reflect the new caption |
473 Updates the tab text and tooltip text to reflect the new caption |
474 information. |
474 information. |
1123 self.editorChangedEd.emit(editor) |
1123 self.editorChangedEd.emit(editor) |
1124 |
1124 |
1125 self._modificationStatusChanged(editor.isModified(), editor) |
1125 self._modificationStatusChanged(editor.isModified(), editor) |
1126 self._checkActions(editor) |
1126 self._checkActions(editor) |
1127 |
1127 |
1128 def _showView(self, win, fn=None): |
1128 def _showView(self, win, fn=None): # noqa: U100 |
1129 """ |
1129 """ |
1130 Protected method to show a view (i.e. window). |
1130 Protected method to show a view (i.e. window). |
1131 |
1131 |
1132 @param win editor assembly to be shown |
1132 @param win editor assembly to be shown |
1133 @type EditorAssembly |
1133 @type EditorAssembly |