src/eric7/QScintilla/Editor.py

branch
eric7
changeset 10570
ae53b96eedbb
parent 10517
aecd5a8c958c
child 10573
c4f503f40caf
child 10616
4aa36fcd4a30
child 10621
f5631f40c4d9
equal deleted inserted replaced
10569:1f2bde269aa2 10570:ae53b96eedbb
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