Skip to content

Conversation

@koljonen
Copy link

cursor_position says how far from the end of the completion the cursor should be placed, so that we can have completions such as e.g. <html[cursor] -> <html>[cursor]</html>.

@jonathanslenders
Copy link
Member

Thanks @koljonen for this.

This is definitely useful. I think there are a few situations that are not correctly handled in the pull request which I'll have to check later on. And also, I'm not entirely sure that I want to expand WordCompleter (In a way, I'd like to keep WordCompleter to be an example of a completer that is almost as simple as possible.)
Right now, I have some other priorities, but I come back to this issue.

`cursor_position` says how far from the end of the completion the cursor should be placed, so that we can have completions such as e.g. `<html[cursor]` -> `<html>[cursor]</html>`.
@koljonen koljonen force-pushed the completion_cursor_position branch from 328ca39 to 4bfc18d Compare June 17, 2016 20:49
@koljonen
Copy link
Author

I've squashed away the changes to WordCompleter.

@decentral1se
Copy link
Contributor

Can you rebase @koljonen?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants