From 049eee4086c4a6bc6aeb7c5420db4a584caa10bb Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 4 Sep 2019 11:23:54 -0400 Subject: [PATCH] Fixes doc tracking to avoid clearing on output --- src/views/nodes/fileHistoryTrackerNode.ts | 4 ++-- src/views/nodes/lineHistoryTrackerNode.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/nodes/fileHistoryTrackerNode.ts b/src/views/nodes/fileHistoryTrackerNode.ts index 749f405..086afb3 100644 --- a/src/views/nodes/fileHistoryTrackerNode.ts +++ b/src/views/nodes/fileHistoryTrackerNode.ts @@ -102,7 +102,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode e.document && UriComparer.equals(e.document.uri, this.uri))) + window.visibleTextEditors.some(e => e.document && e.document.uri.path === this.uri.path)) ) { return true; } @@ -116,7 +116,7 @@ export class FileHistoryTrackerNode extends SubscribeableViewNode e.document && UriComparer.equals(e.document.uri, this.uri))) + window.visibleTextEditors.some(e => e.document && e.document.uri.path === this.uri.path)) ) { return true; } @@ -126,7 +126,7 @@ export class LineHistoryTrackerNode extends SubscribeableViewNode