wxpython TextCtrl with smart autocompletion (Edited Version)