Bug fix #504 : Provide auto completion for % and fix issue when auto completing using a drop down window