MCPcopy Index your code
hub / github.com/csev/py4e / themeChanged

Function themeChanged

tools/pythonauto/static/codemirrorepl/codemirror.js:305–309  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

303 }
304
305 function themeChanged(cm) {
306 cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") +
307 cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-");
308 clearCaches(cm);
309 }
310
311 function guttersChanged(cm) {
312 updateGutters(cm);

Callers 2

CodeMirrorFunction · 0.70
codemirror.jsFile · 0.70

Calls 1

clearCachesFunction · 0.70

Tested by

no test coverage detected