Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

changeset 94
05fffb713280
parent 90
6de42151f9e6
child 96
9624a110667d
--- 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