cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
db4192047f
commit
54a816a683
@ -141,15 +141,14 @@ class PythonSTC(wxStyledTextCtrl):
|
|||||||
kw.append("aaaaa")
|
kw.append("aaaaa")
|
||||||
kw.append("__init__")
|
kw.append("__init__")
|
||||||
kw.append("zzaaaaa")
|
kw.append("zzaaaaa")
|
||||||
kw.append("zZaaaaa")
|
kw.append("zzbaaaa")
|
||||||
kw.append("this_is_a_longer_value")
|
kw.append("this_is_a_longer_value")
|
||||||
kw.append("this_is_a_much_much_much_much_much_much_much_longer_value")
|
kw.append("this_is_a_much_much_much_much_much_much_much_longer_value")
|
||||||
|
|
||||||
#kw.sort()
|
kw.sort() # Python sorts are case sensitive
|
||||||
|
self.AutoCompSetIgnoreCase(false) # so this needs to match
|
||||||
|
|
||||||
self.AutoCompSetIgnoreCase(true)
|
|
||||||
self.AutoCompShow(0, string.join(kw))
|
self.AutoCompShow(0, string.join(kw))
|
||||||
#self.AutoCompSelect('br')
|
|
||||||
else:
|
else:
|
||||||
event.Skip()
|
event.Skip()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user