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

branch
eric7
changeset 10683
779cda568acb
parent 10439
21c28b0f9e41
child 10690
fab36645aa7d
equal deleted inserted replaced
10682:47be220abdaf 10683:779cda568acb
483 @param fn filename of this editor 483 @param fn filename of this editor
484 @type str 484 @type str
485 @param noName name to be used for an unnamed editor 485 @param noName name to be used for an unnamed editor
486 @type str 486 @type str
487 @param addNext flag indicating to add the view next to the current 487 @param addNext flag indicating to add the view next to the current
488 view 488 view (unused)
489 @type bool 489 @type bool
490 @param indexes of the editor, first the split view index, second the 490 @param indexes of the editor, first the split view index, second the
491 index within the view 491 index within the view
492 @type tuple of two int 492 @type tuple of two int
493 """ 493 """
528 self.editorLineChanged.emit(fn, editor.getCursorPosition()[0] + 1) 528 self.editorLineChanged.emit(fn, editor.getCursorPosition()[0] + 1)
529 else: 529 else:
530 self.changeCaption.emit("") 530 self.changeCaption.emit("")
531 self.editorChangedEd.emit(editor) 531 self.editorChangedEd.emit(editor)
532 532
533 def __captionChange(self, cap, editor): # noqa: U100 533 def __captionChange(self, _cap, editor):
534 """ 534 """
535 Private method to handle caption change signals from the editor. 535 Private method to handle caption change signals from the editor.
536 536
537 Updates the listwidget text to reflect the new caption information. 537 Updates the listwidget text to reflect the new caption information.
538 538
539 @param cap Caption for the editor 539 @param _cap caption for the editor (unused)
540 @type str 540 @type str
541 @param editor Editor to update the caption for 541 @param editor Editor to update the caption for
542 @type Editor 542 @type Editor
543 """ 543 """
544 fn = editor.getFileName() 544 fn = editor.getFileName()

eric ide

mercurial