sourcegraph / emacs-cody

Sourcegraph Cody in Emacs
Apache License 2.0
55 stars 6 forks source link

Displaying completion needs to honor :range parameter #13

Open steveyegge opened 11 months ago

steveyegge commented 11 months ago

Currently we're ignoring the range parameter, which offsets the completion incorrectly and makes the whole thing look jank. Needs fixing immediately.

Note that accepting a completion is now respecting the range parameter. But displaying completions is more complicated, because you have to hide some text, handle typing, etc.