mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 13:43:07 +00:00
Remove debug logs
This commit is contained in:
parent
2feae028dd
commit
d98cd9f1c1
4 changed files with 0 additions and 8 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ export class TerminalHover extends Disposable implements ITerminalWidget {
|
|||
}
|
||||
|
||||
dispose() {
|
||||
console.log('TerminalHover.dispose');
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue