chiark / gitweb /
There is no perfect solution for #90, but this makes it a bit better.
authordaid <daid303@gmail.com>
Fri, 4 May 2012 09:47:55 +0000 (11:47 +0200)
committerdaid <daid303@gmail.com>
Fri, 4 May 2012 09:47:55 +0000 (11:47 +0200)
Cura/gui/gcodeTextArea.py

index 3c0233253640ad4f8efe1147aabf31003c991d93..68d05249ecb2999515664efbde49e7220884729b 100644 (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.