QScintilla/Editor.py

changeset 30
9513afbd57f1
parent 15
f6ccc31d6e72
child 45
9a18f4dbb493
equal deleted inserted replaced
29:391dc0bc4ae5 30:9513afbd57f1
3865 os.path.isfile("%s.profile" % tbasename) 3865 os.path.isfile("%s.profile" % tbasename)
3866 coEnable = coEnable or \ 3866 coEnable = coEnable or \
3867 os.path.isfile("%s.coverage" % basename) or \ 3867 os.path.isfile("%s.coverage" % basename) or \
3868 os.path.isfile("%s.coverage" % tbasename) 3868 os.path.isfile("%s.coverage" % tbasename)
3869 3869
3870 # now check for syntax errors
3871 if self.hasSyntaxErrors():
3872 coEnable = False
3873
3870 self.profileMenuAct.setEnabled(prEnable) 3874 self.profileMenuAct.setEnabled(prEnable)
3871 self.coverageMenuAct.setEnabled(coEnable) 3875 self.coverageMenuAct.setEnabled(coEnable)
3872 self.coverageShowAnnotationMenuAct.setEnabled(\ 3876 self.coverageShowAnnotationMenuAct.setEnabled(\
3873 coEnable and not self.coverageMarkersShown) 3877 coEnable and not self.coverageMarkersShown)
3874 self.coverageHideAnnotationMenuAct.setEnabled(\ 3878 self.coverageHideAnnotationMenuAct.setEnabled(\

eric ide

mercurial