diff --git a/gui/Gui/Editor.py b/gui/Gui/Editor.py index b3e093f..d5aeb0a 100644 --- a/gui/Gui/Editor.py +++ b/gui/Gui/Editor.py @@ -176,7 +176,7 @@ class EditorStc(Editor): line = line - 1 # Start at 0 in stc, but on screen count is 1 pos = self.control.GetLineIndentPosition(line) last = self.control.GetLineEndPosition(line) - self.control.StartStyling(pos,31) + self.control.StartStyling(pos) self.control.SetStyling(last-pos,self.errorstyle) def ClearErrors(self): diff --git a/gui/Gui/Scytherthread.py b/gui/Gui/Scytherthread.py index 9db1391..22bc681 100644 --- a/gui/Gui/Scytherthread.py +++ b/gui/Gui/Scytherthread.py @@ -217,7 +217,7 @@ class ErrorWindow(wx.Dialog): sizer.Add(label, 0, wx.ALIGN_LEFT|wx.ALL, 5) line = wx.StaticLine(self, -1, size=(20,-1), style=wx.LI_HORIZONTAL) - sizer.Add(line, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP, 5) + sizer.Add(line, 0, wx.GROW|wx.RIGHT|wx.TOP, 5) etxt = "" prefix = "error: " @@ -230,7 +230,7 @@ class ErrorWindow(wx.Dialog): sizer.Add(label, 0, wx.ALIGN_LEFT|wx.ALL, 5) line = wx.StaticLine(self, -1, size=(20,-1), style=wx.LI_HORIZONTAL) - sizer.Add(line, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP, 5) + sizer.Add(line, 0, wx.GROW|wx.RIGHT|wx.TOP, 5) btnsizer = wx.StdDialogButtonSizer()