align names of CompletionItem and ISuggestion

This commit is contained in:
Johannes Rieken
2016-08-16 09:55:42 +02:00
parent cafe4a992b
commit d0b77851a5
12 changed files with 46 additions and 46 deletions

View File

@@ -554,7 +554,7 @@ class SuggestAdapter {
// insert the text of the edit and create a dedicated
// suggestion-container with overwrite[Before|After]
suggestion.codeSnippet = item.textEdit.newText;
suggestion.insertText = item.textEdit.newText;
suggestion.overwriteBefore = pos.character - editRange.start.character;
suggestion.overwriteAfter = editRange.end.character - pos.character;