From 36e08bc4bc0b2cd05458ba4bba72d9d35001d42e Mon Sep 17 00:00:00 2001 From: Tim Mok Date: Tue, 3 Sep 2024 14:26:43 -0400 Subject: [PATCH] Formatting --- .../common/languageRuntimePlotClient.ts | 4 +-- .../common/positronPlotCommProxy.ts | 26 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/vs/workbench/services/languageRuntime/common/languageRuntimePlotClient.ts b/src/vs/workbench/services/languageRuntime/common/languageRuntimePlotClient.ts index 115d2531339..474d2f5bed4 100644 --- a/src/vs/workbench/services/languageRuntime/common/languageRuntimePlotClient.ts +++ b/src/vs/workbench/services/languageRuntime/common/languageRuntimePlotClient.ts @@ -119,8 +119,8 @@ export class PlotClientInstance extends Disposable implements IPositronPlotClien private readonly _renderUpdateEmitter = new Emitter(); /** - * Event that fires when the plot wants to display itself. - */ + * Event that fires when the plot wants to display itself. + */ onDidShowPlot: Event; private readonly _didShowPlotEmitter = new Emitter(); diff --git a/src/vs/workbench/services/languageRuntime/common/positronPlotCommProxy.ts b/src/vs/workbench/services/languageRuntime/common/positronPlotCommProxy.ts index 47ab56e8878..e668dbaa42e 100644 --- a/src/vs/workbench/services/languageRuntime/common/positronPlotCommProxy.ts +++ b/src/vs/workbench/services/languageRuntime/common/positronPlotCommProxy.ts @@ -93,13 +93,13 @@ export class DeferredRender { export class PositronPlotCommProxy extends Disposable { /** - * The currently active render request, if any. - */ + * The currently active render request, if any. + */ private _currentRender?: DeferredRender; /** - * The underlying comm - */ + * The underlying comm + */ private _comm: PositronPlotComm; /** @@ -123,17 +123,17 @@ export class PositronPlotCommProxy extends Disposable { private _currentIntrinsicSize?: Promise; /** - * Event that fires when the plot is closed on the runtime side, typically - * because the runtime exited and doesn't preserve plot state. - */ + * Event that fires when the plot is closed on the runtime side, typically + * because the runtime exited and doesn't preserve plot state. + */ onDidClose: Event; private readonly _closeEmitter = new Emitter(); /** - * Event that fires when the plot has been updated by the runtime and - * re-rendered. Notifies clients so they can request a render update with their own - * render parameters. - */ + * Event that fires when the plot has been updated by the runtime and + * re-rendered. Notifies clients so they can request a render update with their own + * render parameters. + */ onDidRenderUpdate: Event; private readonly _renderUpdateEmitter = new Emitter(); @@ -190,8 +190,8 @@ export class PositronPlotCommProxy extends Disposable { } /** - * Returns a boolean indicating whether this plot has a known intrinsic size. - */ + * Returns a boolean indicating whether this plot has a known intrinsic size. + */ get receivedIntrinsicSize(): boolean { return this._receivedIntrinsicSize; }