[hack] Expose is_incomplete from hh_server's autocomplete
[hack] Expose is_incomplete from hh_server's autocomplete

Summary:
The editor wants to know whether the autocomplete results from hh_server were exhaustive (from the current cursor position) or not. If they were exhaustive, then there's no need to re-compute autocomplete as the user types further characters -- we can do it purely by filtering the existing list.

Previously this was accomplished by hard-coding a magic number which was the limit of number of results. But I'd rather do this more explicitly.

Reviewed By: dabek

Differential Revision: D5368203

fbshipit-source-id: 119ff81e8eac392390b53bf144a7de29a24aebd1

facebook/flow,mroch/flow,MichaelDeBoey/flow,JonathanUsername/flow,nmote/flow,popham/flow,mroch/flow,TiddoLangerak/flow,MichaelDeBoey/flow,JonathanUsername/flow,ylu1317/flow,claudiopro/flow,nmote/flow,TiddoLangerak/flow,popham/flow,JonathanUsername/flow,samwgoldman/flow,samwgoldman/flow,facebook/flow,facebook/flow,facebook/flow,AgentME/flow,nmote/flow,AgentME/flow,jamesgpearce/flow,jamesgpearce/flow,gabelevi/flow,MichaelDeBoey/flow,gabelevi/flow,samwgoldman/flow,MichaelDeBoey/flow,gabelevi/flow,jamesgpearce/flow,JonathanUsername/flow,gabelevi/flow,mroch/flow,facebook/flow,popham/flow,jamesgpearce/flow,nmote/flow,popham/flow,popham/flow,facebook/flow,samwgoldman/flow,AgentME/flow,jamesgpearce/flow,claudiopro/flow,nmote/flow,TiddoLangerak/flow,MichaelDeBoey/flow,jamesgpearce/flow,nmote/flow,ylu1317/flow,popham/flow,jamesgpearce/flow,claudiopro/flow,claudiopro/flow,samwgoldman/flow,facebook/flow,ylu1317/flow,gabelevi/flow,AgentME/flow,gabelevi/flow,AgentME/flow,JonathanUsername/flow,mroch/flow,TiddoLangerak/flow,TiddoLangerak/flow,ylu1317/flow,claudiopro/flow,popham/flow,samwgoldman/flow,nmote/flow,ylu1317/flow,gabelevi/flow,JonathanUsername/flow,JonathanUsername/flow,samwgoldman/flow,mroch/flow,mroch/flow,mroch/flow