src/eric7/QScintilla/Editor.py

branch
eric7-maintenance
changeset 10616
4aa36fcd4a30
parent 10534
783d835d7fe4
parent 10570
ae53b96eedbb
child 10659
43ead32943ca
equal deleted inserted replaced
10558:e3381757d40d 10616:4aa36fcd4a30
6419 ) 6419 )
6420 6420
6421 # now check ourselves 6421 # now check ourselves
6422 fn = self.getFileName() 6422 fn = self.getFileName()
6423 if fn is not None: 6423 if fn is not None:
6424 prEnable |= self.project.isPy3Project() and bool( 6424 prEnable |= self.isPyFile() and bool(Utilities.getProfileFileName(fn))
6425 Utilities.getProfileFileName(fn) 6425 coEnable |= self.isPyFile() and bool(Utilities.getCoverageFileName(fn))
6426 )
6427 coEnable |= self.project.isPy3Project() and bool(
6428 Utilities.getCoverageFileName(fn)
6429 )
6430 6426
6431 coEnable |= bool(self.__coverageFile) 6427 coEnable |= bool(self.__coverageFile)
6432 6428
6433 # now check for syntax errors 6429 # now check for syntax errors
6434 if self.hasSyntaxErrors(): 6430 if self.hasSyntaxErrors():

eric ide

mercurial