--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Wed Nov 13 23:30:59 2013 +0100 +++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py Sat Nov 16 10:06:28 2013 +0100 @@ -324,6 +324,7 @@ QApplication.processEvents() self.__resetStatistics() + self.__clearErrors() if save: self.__fileOrFileList = fn @@ -654,7 +655,7 @@ if code == "E901": editor.toggleSyntaxError(lineno, 0, True, message, True) else: - editor.toggleFlakesWarning( + editor.toggleWarning( lineno, True, message, warningType=editor.WarningStyle) @pyqtSlot() @@ -682,12 +683,12 @@ fn = Utilities.normabspath(itm.data(0, self.filenameRole)) vm.openSourceFile(fn, 1) editor = vm.getOpenEditor(fn) - editor.clearFlakesWarnings() + editor.clearStyleWarnings() for cindex in range(itm.childCount()): citm = itm.child(cindex) lineno = citm.data(0, self.lineRole) message = citm.data(0, self.messageRole) - editor.toggleFlakesWarning( + editor.toggleWarning( lineno, True, message, warningType=editor.WarningStyle) # go through the list again to clear warning markers for files, @@ -701,7 +702,7 @@ for file in openFiles: if not file in errorFiles: editor = vm.getOpenEditor(file) - editor.clearFlakesWarnings() + editor.clearStyleWarnings() @pyqtSlot() def on_statisticsButton_clicked(self): @@ -808,7 +809,7 @@ openFiles = vm.getOpenFilenames() for file in openFiles: editor = vm.getOpenEditor(file) - editor.clearFlakesWarnings() + editor.clearStyleWarnings() @pyqtSlot() def on_fixButton_clicked(self):