src/eric7/QScintilla/Editor.py

branch
server
changeset 10573
c4f503f40caf
parent 10561
be23a662d709
parent 10570
ae53b96eedbb
child 10574
622e59b51640
equal deleted inserted replaced
10572:f044df7c4bfb 10573:c4f503f40caf
6493 ) 6493 )
6494 6494
6495 # now check ourselves 6495 # now check ourselves
6496 fn = self.getFileName() 6496 fn = self.getFileName()
6497 if fn is not None: 6497 if fn is not None:
6498 prEnable |= self.project.isPy3Project() and bool( 6498 prEnable |= self.isPyFile() and bool(Utilities.getProfileFileName(fn))
6499 Utilities.getProfileFileName(fn) 6499 coEnable |= self.isPyFile() and bool(Utilities.getCoverageFileName(fn))
6500 )
6501 coEnable |= self.project.isPy3Project() and bool(
6502 Utilities.getCoverageFileName(fn)
6503 )
6504 6500
6505 coEnable |= bool(self.__coverageFile) 6501 coEnable |= bool(self.__coverageFile)
6506 6502
6507 # now check for syntax errors 6503 # now check for syntax errors
6508 if self.hasSyntaxErrors(): 6504 if self.hasSyntaxErrors():

eric ide

mercurial