MCPcopy
hub / github.com/witheve/Eve / resetView

Function resetView

src/codemirror.js:3341–3345  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

3339
3340 // Clear the view.
3341 function resetView(cm) {
3342 cm.display.viewFrom = cm.display.viewTo = cm.doc.first;
3343 cm.display.view = [];
3344 cm.display.viewOffset = 0;
3345 }
3346
3347 // Find the view element corresponding to a given line. Return null
3348 // when the line isn't visible.

Callers 2

updateDisplayIfNeededFunction · 0.85
regChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected