Refined the flakes integration code.

Sun, 31 Jan 2010 12:15:27 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 31 Jan 2010 12:15:27 +0000
changeset 94
05fffb713280
parent 93
2ce52f1cbaa1
child 95
261bc03812fd

Refined the flakes integration code.

Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py file | annotate | diff | comparison | revisions
diff -r 2ce52f1cbaa1 -r 05fffb713280 Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Sun Jan 31 12:15:00 2010 +0000
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py	Sun Jan 31 12:15:27 2010 +0000
@@ -81,7 +81,7 @@
             self.__lastFileItem.setData(0, self.filenameRole, file)
         
         itm = QTreeWidgetItem(self.__lastFileItem, 
-                              [str(line), error, sourcecode])
+                              ["{0:6}".format(line), error, sourcecode])
         if isWarning:
             itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
         else:

eric ide

mercurial