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

Function getOrder

external/.scrollLibs.js:1921–1927  ·  view source on GitHub ↗
(line, direction)

Source from the content-addressed store, hash-verified

1919 // false for lines that are fully left-to-right, and an array of
1920 // BidiSpan objects otherwise.
1921 function getOrder(line, direction) {
1922 var order = line.order
1923 if (order == null) {
1924 order = line.order = bidiOrdering(line.text, direction)
1925 }
1926 return order
1927 }
1928
1929 // EVENT HANDLING
1930

Callers 9

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

Calls

no outgoing calls

Tested by

no test coverage detected