mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
fix compilos and adopt proposed api usage, #10266
This commit is contained in:
@@ -28,7 +28,7 @@ class JsDocCompletionItem extends vscode.CompletionItem {
|
||||
const suffix = line.slice(position.character).match(/^\s*\**\//);
|
||||
const start = position.translate(0, prefix ? -prefix[0].length : 0);
|
||||
const range = new vscode.Range(start, position.translate(0, suffix ? suffix[0].length : 0));
|
||||
this.range2 = { inserting: range, replacing: range };
|
||||
this.range = <any>{ inserting: range, replacing: range };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user