Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

changeset 3046
c481f2a33b16
parent 3036
30c81c9e88b8
child 3060
5883ce99ee12
child 3062
9de9373da5bb
equal deleted inserted replaced
3044:a6cee59c80a4 3046:c481f2a33b16
683 editor.clearFlakesWarnings() 683 editor.clearFlakesWarnings()
684 for cindex in range(itm.childCount()): 684 for cindex in range(itm.childCount()):
685 citm = itm.child(cindex) 685 citm = itm.child(cindex)
686 lineno = citm.data(0, self.lineRole) 686 lineno = citm.data(0, self.lineRole)
687 message = citm.data(0, self.messageRole) 687 message = citm.data(0, self.messageRole)
688 editor.toggleFlakesWarning(lineno, True, message) 688 editor.toggleFlakesWarning(
689 lineno, True, message, warningType=editor.WarningStyle)
689 690
690 # go through the list again to clear warning markers for files, 691 # go through the list again to clear warning markers for files,
691 # that are ok 692 # that are ok
692 openFiles = vm.getOpenFilenames() 693 openFiles = vm.getOpenFilenames()
693 errorFiles = [] 694 errorFiles = []

eric ide

mercurial