src/eric7/Project/ProjectBrowser.py

branch
eric7-maintenance
changeset 10694
f46c1e224e8a
parent 10659
43ead32943ca
parent 10683
779cda568acb
child 11118
967a88a16a21
--- a/src/eric7/Project/ProjectBrowser.py	Tue Apr 02 10:13:41 2024 +0200
+++ b/src/eric7/Project/ProjectBrowser.py	Wed Apr 24 10:14:16 2024 +0200
@@ -61,6 +61,8 @@
         at a line giving an explicit file type (str, int, str)
     @signal sourceFile(filename, linenos) emitted to open a Python file giving
         a list of lines(str, list)
+    @signal sourceFile(filename, lineno, col_offset) emitted to open a Python file at a
+        line and column (str, int, int)
     @signal svgFile(filename) emitted to open a SVG file (str)
     @signal testFile(filename) emitted to open a Python file for a
         unit test (str)
@@ -85,7 +87,9 @@
     pixmapEditFile = pyqtSignal(str)
     pixmapFile = pyqtSignal(str)
     preferencesChanged = pyqtSignal()
-    sourceFile = pyqtSignal((str,), (str, int), (str, list), (str, int, str))
+    sourceFile = pyqtSignal(
+        (str,), (str, int), (str, int, int), (str, list), (str, int, str)
+    )
     svgFile = pyqtSignal(str)
     testFile = pyqtSignal(str)
     trpreview = pyqtSignal((list,), (list, bool))
@@ -468,11 +472,11 @@
         else:
             self.vcsStatusIndicator.setToolTip(self.vcsStatusText[state])
 
-    def __vcsStatusIndicatorClicked(self, pos):  # noqa: U100
+    def __vcsStatusIndicatorClicked(self, _pos):
         """
         Private slot to react upon clicks on the VCS indicator LED.
 
-        @param pos position of the click
+        @param _pos position of the click (unused)
         @type QPoint
         """
         vcs = self.project.getVcs()

eric ide

mercurial