type converters, use namespace for Selection

This commit is contained in:
Johannes Rieken
2018-05-04 18:17:34 +02:00
parent 6b4f88991b
commit 069bbd81e4
4 changed files with 20 additions and 18 deletions

View File

@@ -474,7 +474,7 @@ export class ExtHostTextEditor implements vscode.TextEditor {
}
private _trySetSelection(): TPromise<vscode.TextEditor> {
let selection = this._selections.map(TypeConverters.fromSelection);
let selection = this._selections.map(TypeConverters.Selection.from);
return this._runOnProxy(() => this._proxy.$trySetSelections(this._id, selection));
}