Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py

changeset 3558
7f2bc8910d28
parent 3549
96ebf42cd960
child 3591
2f2a4a76dd22
--- a/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Mon May 05 19:27:30 2014 +0200
+++ b/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.py	Wed May 07 19:51:24 2014 +0200
@@ -135,7 +135,7 @@
         itm = QTreeWidgetItem(
             self.__lastFileItem,
             ["{0:6}".format(line), code, message])
-        if code.startswith("W"):
+        if code.startswith(("W", "-")):
             itm.setIcon(1, UI.PixmapCache.getIcon("warning.png"))
         elif code.startswith("N"):
             itm.setIcon(1, UI.PixmapCache.getIcon("namingError.png"))
@@ -370,6 +370,7 @@
         Start a style check for one file.
         
         The results are reported to the __processResult slot.
+        
         @keyparam codestring optional sourcestring (str)
         @keyparam onlyFixes dict which violations should be fixed (dict)
         """

eric ide

mercurial