X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9968ba85be146ad4f282cfdc6ce72b68897fbb10..b64a84736d45bd571b7f66a5f32269d577eba17e:/wxPython/demo/wxStyledTextCtrl_2.py diff --git a/wxPython/demo/wxStyledTextCtrl_2.py b/wxPython/demo/wxStyledTextCtrl_2.py index 54b83aa2d2..a06337b361 100644 --- a/wxPython/demo/wxStyledTextCtrl_2.py +++ b/wxPython/demo/wxStyledTextCtrl_2.py @@ -135,9 +135,21 @@ class PythonSTC(wxStyledTextCtrl): #st = string.join(lst) #print len(st) #self.AutoCompShow(0, st) + + kw = keyword.kwlist[:] + kw.append("zzzzzz") + kw.append("aaaaa") + kw.append("__init__") + kw.append("zzaaaaa") + kw.append("zZaaaaa") + kw.append("this_is_a_longer_value") + kw.append("this_is_a_much_much_much_much_much_much_much_longer_value") + + kw.reverse() + self.AutoCompSetIgnoreCase(true) - self.AutoCompShow(0, string.join(keyword.kwlist)) - self.AutoCompSelect('br') + self.AutoCompShow(0, string.join(kw)) + #self.AutoCompSelect('br') else: event.Skip()