- Errors now get a nice colour

This commit is contained in:
ccremers
2007-01-31 15:45:05 +00:00
parent c63b87c750
commit 6e82d585be
5 changed files with 64 additions and 3 deletions

View File

@@ -208,8 +208,11 @@ class MainWindow(wx.Frame):
os.chdir(self.dirname)
def RunScyther(self, mode):
# Clear errors before verification
self.editor.SetErrors(None)
# Verify spdl
spdl = self.editor.GetText()
s = Scytherthread.ScytherRun(self,mode,spdl)
s = Scytherthread.ScytherRun(self,mode,spdl,self.editor.SetErrors)
def OnVerify(self, event):
self.RunScyther("verify")