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 """ |