There is no perfect solution for #90, but this makes it a bit better.

This commit is contained in:
daid 2012-05-04 11:47:55 +02:00
parent c1dc9f4354
commit 79ef4ac2b6

View file

@ -19,6 +19,8 @@ class GcodeTextArea(wx.stc.StyledTextCtrl):
self.IndicatorSetForeground(0, "#0000FF")
self.IndicatorSetStyle(1, wx.stc.STC_INDIC_SQUIGGLE)
self.IndicatorSetForeground(1, "#FF0000")
self.SetWrapMode(wx.stc.STC_WRAP_NONE)
self.SetScrollWidth(1000)
#GCodes and MCodes as supported by Marlin
#GCode 21 is not really supported by Marlin, but we still do not report it as error as it's often used.