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

Method _goForward

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

Source from the content-addressed store, hash-verified

227
228 }
229 private _goForward(currentScrollY = 0): void {
230 const entry = this.forwardHistory.pop();
231 if (entry) {
232 if (this.currentEntry) { // should always be true
233 this.currentEntry.helpFile.scrollY = currentScrollY;
234 this.history.push(this.currentEntry);
235 }
236 void this.showHistoryEntry(entry);
237 }
238 }
239 private async showHistoryEntry(entry: HistoryEntry) {
240 let helpFile: HelpFile;
241 if (entry.isStale) {

Callers 2

goForwardMethod · 0.95
handleMessageMethod · 0.95

Calls 1

showHistoryEntryMethod · 0.95

Tested by

no test coverage detected