Remove debug logs

This commit is contained in:
Daniel Imms 2020-05-06 04:59:27 -07:00
parent 2feae028dd
commit d98cd9f1c1
4 changed files with 0 additions and 8 deletions

View file

@ -56,7 +56,6 @@ export class TerminalLink extends DisposableStore implements ILink {
}
hover(event: MouseEvent, text: string): void {
console.log('hover ' + this.range.end.y, new Error().stack);
// Listen for modifier before handing it off to the hover to handle so it gets disposed correctly
this.add(dom.addDisposableListener(document, 'keydown', e => {
if (this._isModifierDown(e)) {
@ -71,7 +70,6 @@ export class TerminalLink extends DisposableStore implements ILink {
const timeout = this._configurationService.getValue<number>('editor.hover.delay');
this._tooltipScheduler = new RunOnceScheduler(() => {
console.log('tooltip trigger ' + this.range.end.y);
this._tooltipCallback(
this,
convertBufferRangeToViewport(this.range, this._viewportY),
@ -81,7 +79,6 @@ export class TerminalLink extends DisposableStore implements ILink {
// Clear out scheduler until next hover event
this._tooltipScheduler?.dispose();
this._tooltipScheduler = undefined;
// this.dispose();
}, timeout);
this.add(this._tooltipScheduler);
this._tooltipScheduler.schedule();
@ -110,7 +107,6 @@ export class TerminalLink extends DisposableStore implements ILink {
this._hoverListeners = undefined;
this._tooltipScheduler?.dispose();
this._tooltipScheduler = undefined;
console.log('TerminalLink.onLeave fire (' + this.range.end.y + ')');
this._onLeave.fire();
}

View file

@ -173,7 +173,6 @@ export class HoverWidget extends Widget {
}
public dispose(): void {
console.log('HoverWidget.dispose');
if (!this._isDisposed) {
this._onDispose.fire();
this._containerDomNode.parentElement?.removeChild(this.domNode);
@ -226,7 +225,6 @@ class CompositeMouseTracker extends Widget {
private _fireIfMouseOutside(): void {
if (!this._isMouseIn) {
console.log('mouse tracker fire mouse out');
this._onMouseOut.fire();
}
}

View file

@ -35,7 +35,6 @@ export class TerminalHover extends Disposable implements ITerminalWidget {
}
dispose() {
console.log('TerminalHover.dispose');
super.dispose();
}

View file

@ -29,7 +29,6 @@ export class TerminalWidgetManager implements IDisposable {
if (!this._container) {
return;
}
console.log('attach new widget');
this._attached.get(widget.id)?.dispose();
widget.attach(this._container);
this._attached.set(widget.id, widget);