line-head completion supported.

runCompletion -> cancel completion -> show completion works fine.