code: func (model *Model) SetUseAutocomplete(val bool) {
  	model.Lock()
  	old := model.UseAutocomplete
  	model.Unlock()
  	model.UseAutocomplete = val
  	if !old && val {
  		model.updateSuffixArr()
  	}
  }
docs: // Optionally disabled suffixarray based autocomplete support