Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheckerDialog.py

branch
5_0_x
changeset 503
3f841c622b96
parent 468
ad6cfaeb558e
child 792
a13346916170
equal deleted inserted replaced
497:a529427b15ed 503:3f841c622b96
84 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png")) 84 itm.setIcon(0, UI.PixmapCache.getIcon("warning.png"))
85 else: 85 else:
86 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png")) 86 itm.setIcon(0, UI.PixmapCache.getIcon("syntaxError.png"))
87 ## itm.setToolTip(0, file) 87 ## itm.setToolTip(0, file)
88 itm.setData(0, self.filenameRole, file) 88 itm.setData(0, self.filenameRole, file)
89 itm.setData(0, self.lineRole, line) 89 itm.setData(0, self.lineRole, int(line))
90 itm.setData(0, self.errorRole, error) 90 itm.setData(0, self.errorRole, error)
91 itm.setData(0, self.warningRole, isWarning) 91 itm.setData(0, self.warningRole, isWarning)
92 92
93 def start(self, fn, codestring = ""): 93 def start(self, fn, codestring = ""):
94 """ 94 """

eric ide

mercurial