Added automatic line wrapping to log console
authorLaurent Bessard
Wed, 27 Mar 2013 09:36:26 +0100
changeset 1007 025ac12cd0d2
parent 1006 0302f9ab7e9a
child 1008 1e5d285864f6
Added automatic line wrapping to log console
Beremiz.py
--- a/Beremiz.py	Wed Mar 27 09:35:25 2013 +0100
+++ b/Beremiz.py	Wed Mar 27 09:36:26 2013 +0100
@@ -400,6 +400,7 @@
         self.LogConsole = wx.stc.StyledTextCtrl(id=ID_BEREMIZLOGCONSOLE,
                   name='LogConsole', parent=self.BottomNoteBook, pos=wx.Point(0, 0),
                   size=wx.Size(0, 0))
+        self.LogConsole.SetWrapMode(wx.stc.STC_WRAP_CHAR)
         
         # Define Log Console styles
         self.LogConsole.StyleSetSpec(wx.stc.STC_STYLE_DEFAULT, "face:%(mono)s,size:%(size)d" % faces)