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

Method _goBack

src/helpViewer/panel.ts:214–223  ·  view source on GitHub ↗
(currentScrollY = 0)

Source from the content-addressed store, hash-verified

212
213 }
214 private _goBack(currentScrollY = 0): void {
215 const entry = this.history.pop();
216 if (entry) {
217 if (this.currentEntry) { // should always be true
218 this.currentEntry.helpFile.scrollY = currentScrollY;
219 this.forwardHistory.push(this.currentEntry);
220 }
221 void this.showHistoryEntry(entry);
222 }
223 }
224 public async goForward(): Promise<void> {
225 const scrollY = await this.getScrollY();
226 this._goForward(scrollY);

Callers 2

goBackMethod · 0.95
handleMessageMethod · 0.95

Calls 1

showHistoryEntryMethod · 0.95

Tested by

no test coverage detected