MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getOrder

Function getOrder

lib/web/CodeMirror/src/util/bidi.js:211–215  ·  view source on GitHub ↗
(line, direction)

Source from the content-addressed store, hash-verified

209// false for lines that are fully left-to-right, and an array of
210// BidiSpan objects otherwise.
211export function getOrder(line, direction) {
212 let order = line.order
213 if (order == null) order = line.order = bidiOrdering(line.text, direction)
214 return order
215}

Callers 9

drawForLineFunction · 0.90
cursorCoordsFunction · 0.90
coordsCharInnerFunction · 0.90
posToDOMFunction · 0.90
endOfLineFunction · 0.90
moveVisuallyFunction · 0.90
buildLineContentFunction · 0.90
bidiSimplifyFunction · 0.90
lineStartSmartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected