Add cursorStyle to TextEditorOptions

This commit is contained in:
Alex Dima
2016-03-10 17:46:23 +01:00
parent 1fb7eb9c1b
commit 29976b03c1
4 changed files with 84 additions and 7 deletions

View File

@@ -86,6 +86,7 @@ export class ExtHostAPIImplementation {
OverviewRulerLane: typeof vscode.OverviewRulerLane;
TextEditorRevealType: typeof vscode.TextEditorRevealType;
EndOfLine: typeof vscode.EndOfLine;
TextEditorCursorStyle: typeof vscode.TextEditorCursorStyle;
commands: typeof vscode.commands;
window: typeof vscode.window;
workspace: typeof vscode.workspace;
@@ -132,6 +133,7 @@ export class ExtHostAPIImplementation {
this.OverviewRulerLane = EditorCommon.OverviewRulerLane;
this.TextEditorRevealType = TextEditorRevealType;
this.EndOfLine = extHostTypes.EndOfLine;
this.TextEditorCursorStyle = extHostTypes.TextEditorCursorStyle;
errors.setUnexpectedErrorHandler((err) => {
this._proxy.onUnexpectedExtHostError(errors.transformErrorForSerialization(err));