Permalink
Browse files

enable linewrapping in speceditor

  • Loading branch information...
1 parent 60be2f9 commit 257f34d576292ee5196c6ec6a631b1b336b1129e @cfinucane cfinucane committed May 10, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/specEditor.py
View
@@ -315,6 +315,8 @@ def __init__(self, *args, **kwds):
self.text_ctrl_spec.StyleSetFont(wx.stc.STC_P_WORD, wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD, False, u'Consolas'))
self.text_ctrl_spec.StyleSetForeground(wx.stc.STC_P_WORD, wx.BLUE)
+ self.text_ctrl_spec.SetWrapMode(wx.stc.STC_WRAP_WORD)
+
# Listen for changes to the text
self.Bind(wx.stc.EVT_STC_CHANGE, self.onSpecTextChange, self.text_ctrl_spec)

0 comments on commit 257f34d

Please sign in to comment.