src/eric7/UI/Browser.py

branch
eric7
changeset 9612
93b496cc3c88
parent 9609
c2f9c10c47cc
child 9615
fbb3616f6bd3
equal deleted inserted replaced
9611:af03537d56b2 9612:93b496cc3c88
515 515
516 if not self._activating: 516 if not self._activating:
517 self._activating = True 517 self._activating = True
518 for itm in itmList: 518 for itm in itmList:
519 if isinstance(itm, BrowserFileItem): 519 if isinstance(itm, BrowserFileItem):
520 if ( 520 if itm.isPython3File() or itm.isResourcesFile() or itm.isParsable():
521 itm.isPython3File()
522 or itm.isResourcesFile()
523 # TODO: delegate to the plugin
524 or itm.isIdlFile()
525 # TODO: delegate to the plugin
526 or itm.isProtobufFile()
527 ):
528 self.sourceFile[str].emit(itm.fileName()) 521 self.sourceFile[str].emit(itm.fileName())
529 elif itm.isRubyFile(): 522 elif itm.isRubyFile():
530 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby") 523 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "Ruby")
531 elif itm.isDFile(): 524 elif itm.isDFile():
532 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "D") 525 self.sourceFile[str, int, str].emit(itm.fileName(), -1, "D")

eric ide

mercurial