Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /StyleSetter.py [e14689] .. [b96301] Maximize Restore

  Switch to side-by-side view

--- a/StyleSetter.py
+++ b/StyleSetter.py
@@ -124,7 +124,8 @@
     stc.StyleResetDefault()
     stc.ClearDocumentStyle()
     stc.SetLexer(lexer)
-    stc.SetKeyWords(0, extra.get('keywords', ''))
+    stc.kw = extra.get('keywords', '')
+    stc.SetKeyWords(0, stc.kw)
     stc.StyleSetSpec(wx.stc.STC_STYLE_DEFAULT, _base)
     stc.StyleClearAll()