MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / _focusPlot

Method _focusPlot

src/plotViewer/index.ts:421–432  ·  view source on GitHub ↗
(plotId?: HttpgdPlotId)

Source from the content-addressed store, hash-verified

419 }
420 }
421 protected _focusPlot(plotId?: HttpgdPlotId): void {
422 plotId ??= this.activePlot;
423 if(!plotId){
424 return;
425 }
426 const msg: FocusPlotMessage = {
427 message: 'focusPlot',
428 plotId: plotId
429 };
430 this.postWebviewMessage(msg);
431 void this.setContextValues();
432 }
433
434 // navigate through plots (supply `true` to go to end/beginning of list)
435 public async nextPlot(last?: boolean): Promise<void> {

Callers 3

focusPlotMethod · 0.95
hidePlotMethod · 0.95
refreshPlotsMethod · 0.95

Calls 2

postWebviewMessageMethod · 0.95
setContextValuesMethod · 0.95

Tested by

no test coverage detected