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

Method toggleTheme

src/rmarkdown/preview.ts:257–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 }
256
257 public toggleTheme(): void {
258 this.useCodeTheme = !this.useCodeTheme;
259 for (const preview of this.previewStore) {
260 void preview[1].styleHtml(this.useCodeTheme);
261 }
262 }
263
264 // show the source uri for the current preview.
265 // has a few idiosyncracies with view columns due to some limitations with

Callers 1

activateFunction · 0.80

Calls 1

styleHtmlMethod · 0.80

Tested by

no test coverage detected