mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +01:00
refactor ExtHostDocumentModel to ready for node_module consumption
This commit is contained in:
@@ -508,7 +508,7 @@ class SuggestAdapter implements modes.ISuggestSupport {
|
||||
|
||||
let defaultSuggestions: modes.ISuggestResult = {
|
||||
suggestions: [],
|
||||
currentWord: ran ? doc.getText(new Range(ran.start, pos)) : '',
|
||||
currentWord: ran ? doc.getText(new Range(ran.start.line, ran.start.character, pos.line, pos.character)) : '',
|
||||
};
|
||||
let allSuggestions: modes.ISuggestResult[] = [defaultSuggestions];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user