459 self.editorLineChanged.emit(fn, aw.getCursorPosition()[0] + 1) |
459 self.editorLineChanged.emit(fn, aw.getCursorPosition()[0] + 1) |
460 else: |
460 else: |
461 self.changeCaption.emit("") |
461 self.changeCaption.emit("") |
462 self.editorChangedEd.emit(aw) |
462 self.editorChangedEd.emit(aw) |
463 |
463 |
464 def _addView(self, win, fn=None, noName="", addNext=False, indexes=None): |
464 def _addView( |
|
465 self, win, fn=None, noName="", addNext=False, indexes=None # noqa: U100 |
|
466 ): |
465 """ |
467 """ |
466 Protected method to add a view (i.e. window). |
468 Protected method to add a view (i.e. window). |
467 |
469 |
468 @param win editor assembly to be added |
470 @param win editor assembly to be added |
469 @type EditorAssembly |
471 @type EditorAssembly |
515 self.editorLineChanged.emit(fn, editor.getCursorPosition()[0] + 1) |
517 self.editorLineChanged.emit(fn, editor.getCursorPosition()[0] + 1) |
516 else: |
518 else: |
517 self.changeCaption.emit("") |
519 self.changeCaption.emit("") |
518 self.editorChangedEd.emit(editor) |
520 self.editorChangedEd.emit(editor) |
519 |
521 |
520 def __captionChange(self, cap, editor): |
522 def __captionChange(self, cap, editor): # noqa: U100 |
521 """ |
523 """ |
522 Private method to handle caption change signals from the editor. |
524 Private method to handle caption change signals from the editor. |
523 |
525 |
524 Updates the listwidget text to reflect the new caption information. |
526 Updates the listwidget text to reflect the new caption information. |
525 |
527 |