mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
type converters, use namespace for Selection
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user