MCPcopy Create free account
hub / github.com/breck7/scroll / setDirectionClass

Function setDirectionClass

external/.scrollLibs.js:6594–6596  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

6592 }
6593
6594 function setDirectionClass(cm) {
6595 ;(cm.doc.direction == "rtl" ? addClass : rmClass)(cm.display.lineDiv, "CodeMirror-rtl")
6596 }
6597
6598 function directionChanged(cm) {
6599 runInOp(cm, function () {

Callers 2

attachDocFunction · 0.85
directionChangedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected