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

Function themeChanged

tools/pythonauto/static/codemirror/codemirror.js:258–262  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

256 }
257
258 function themeChanged(cm) {
259 cm.display.wrapper.className = cm.display.wrapper.className.replace(/\s*cm-s-\S+/g, "") +
260 cm.options.theme.replace(/(^|\s)\s*/g, " cm-s-");
261 clearCaches(cm);
262 }
263
264 function guttersChanged(cm) {
265 updateGutters(cm);

Callers 2

CodeMirrorFunction · 0.70
codemirror.jsFile · 0.70

Calls 1

clearCachesFunction · 0.70

Tested by

no test coverage detected