derickc / Fountainhead

Contextual Sublime Text screenwriting environment using the Fountain screenplay syntax.
http://classicblunders.com/fountainhead/
Other
72 stars 13 forks source link

Support for character with whitespaces tab key autocompletion #22

Open noquierouser opened 7 years ago

noquierouser commented 7 years ago

When checking the Ctrl+Space list of autocompletions, characters and scenes are fine; but when autocompleting a character name with Tab key, it only completes the word in question, but not the character's full name.

To reproduce set a character as CAPTAIN AMERICA and write a dialog. Then try to write another dialog by starting with CAPT and press Tab. It will autocomplete CAPTAIN but won't add AMERICA after it (note the space before AMERICA). Pressing Tab again will cycle among words that are similar to the written one that are present in the script (eg: CAPTAINCapablecapybara).

derickc commented 7 years ago

Thanks. I'll look into it. Hopefully it'll be easier to fix than the Winter Soldier.