From 1c81cf3e657320a015e911ceee3fd07b0a6dda4c Mon Sep 17 00:00:00 2001 From: Horace He Date: Mon, 23 Apr 2018 15:15:20 -0400 Subject: [PATCH] Removed viewcolumn from editoridentity information --- src/editorIdentity.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/editorIdentity.ts b/src/editorIdentity.ts index 51999774254..59970669736 100644 --- a/src/editorIdentity.ts +++ b/src/editorIdentity.ts @@ -2,30 +2,25 @@ import * as vscode from 'vscode'; export class EditorIdentity { private _fileName: string; - private _viewColumn: vscode.ViewColumn; constructor(textEditor?: vscode.TextEditor) { this._fileName = (textEditor && textEditor.document && textEditor.document.fileName) || ''; - this._viewColumn = (textEditor && textEditor.viewColumn) || vscode.ViewColumn.One; } get fileName() { return this._fileName; } - get viewColumn() { - return this._viewColumn; - } public hasSameBuffer(identity: EditorIdentity): boolean { return this.fileName === identity.fileName; } public isEqual(other: EditorIdentity): boolean { - return this.fileName === other.fileName && this.viewColumn === other.viewColumn; + return this.fileName === other.fileName; } public toString() { - return this.fileName + this.viewColumn; + return this.fileName; } }