# HG changeset patch # User Laurent Bessard # Date 1364373386 -3600 # Node ID 025ac12cd0d2bfd62f8ddb9f51823a3349fdf83d # Parent 0302f9ab7e9abe095ca5988262148b3d898d68b6 Added automatic line wrapping to log console diff -r 0302f9ab7e9a -r 025ac12cd0d2 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)