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

Method prevPlot

src/plotViewer/index.ts:439–442  ·  view source on GitHub ↗
(first?: boolean)

Source from the content-addressed store, hash-verified

437 await this.focusPlot();
438 }
439 public async prevPlot(first?: boolean): Promise<void> {
440 this.activeIndex = first ? 0 : this.activeIndex - 1;
441 await this.focusPlot();
442 }
443
444 // restore closed plots, reset zoom, redraw html
445 public resetPlots(): void {

Callers 1

handleCommandMethod · 0.80

Calls 1

focusPlotMethod · 0.95

Tested by

no test coverage detected