From 4d23113f91598928c1951c37389a2a73065eb631 Mon Sep 17 00:00:00 2001 From: Alex Dima Date: Wed, 5 Apr 2017 15:43:07 +0200 Subject: [PATCH] Fixes #2023: De-indenting does not update visible workspace position to show cursor --- src/vs/editor/common/controller/cursor.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/vs/editor/common/controller/cursor.ts b/src/vs/editor/common/controller/cursor.ts index 590b431bf67d9..efe42dbb58479 100644 --- a/src/vs/editor/common/controller/cursor.ts +++ b/src/vs/editor/common/controller/cursor.ts @@ -1488,13 +1488,11 @@ export class Cursor extends EventEmitter { private _indent(ctx: IMultipleCursorOperationContext): boolean { this._applyEditForAll(ctx, (cursor) => TypeOperations.indent(this.context.config, this.context.model, cursor.modelState)); - ctx.shouldRevealHorizontal = false; return true; } private _outdent(ctx: IMultipleCursorOperationContext): boolean { this._applyEditForAll(ctx, (cursor) => TypeOperations.outdent(this.context.config, this.context.model, cursor.modelState)); - ctx.shouldRevealHorizontal = false; return true; }