class HtmlCtrl(CodeEditor.CodeCtrl):
- def __init__(self, parent, ID = -1, style = wx.NO_FULL_REPAINT_ON_RESIZE):
- CodeEditor.CodeCtrl.__init__(self, parent, ID, style)
+ def __init__(self, parent, id=-1, style=wx.NO_FULL_REPAINT_ON_RESIZE):
+ CodeEditor.CodeCtrl.__init__(self, parent, id, style)
self.SetLexer(wx.stc.STC_LEX_HTML)
self.SetProperty("fold.html", "1")
+
def GetMatchingBraces(self):
return "<>[]{}()"
+
def CanWordWrap(self):
return True