Fixed crash when trying to auto complete an empty word after a define.