tweaked some tests a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user