Project/ProjectBrowser.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2525
8b507a9a2d40
parent 2769
8cbebde7a984
child 3057
10516539f238
equal deleted inserted replaced
2790:6686a3326df8 2791:a9577f248f04
302 elif self.project.isProjectForm(fn): 302 elif self.project.isProjectForm(fn):
303 self.pfBrowser.selectFile(fn) 303 self.pfBrowser.selectFile(fn)
304 elif self.project.isProjectInterface(fn): 304 elif self.project.isProjectInterface(fn):
305 self.piBrowser.selectFile(fn) 305 self.piBrowser.selectFile(fn)
306 306
307 def handleEditorLineChanged(self, fn, lineno):
308 """
309 Public slot to handle the editorLineChanged signal.
310
311 @param fn filename of the changed file (string)
312 @param lineno one based line number of the item (integer)
313 """
314 if Preferences.getProject("FollowEditor") and \
315 Preferences.getProject("FollowCursorLine"):
316 if self.project.isProjectSource(fn):
317 self.psBrowser.selectFileLine(fn, lineno)
318
307 def getProjectBrowsers(self): 319 def getProjectBrowsers(self):
308 """ 320 """
309 Public method to get references to the individual project browsers. 321 Public method to get references to the individual project browsers.
310 322
311 @return list of references to project browsers 323 @return list of references to project browsers

eric ide

mercurial