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 = [] |