Tweak autocomplete/caret_position logic to not exclude the index 0 case
Merge pull request #235 from tms/autocomplete-right-away

Tweak autocomplete/caret_position logic to not exclude the index 0 case