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

Function wrappedLineExtentChar

external/.scrollLibs.js:4119–4125  ·  view source on GitHub ↗
(cm, lineObj, preparedMeasure, target)

Source from the content-addressed store, hash-verified

4117 }
4118
4119 function wrappedLineExtentChar(cm, lineObj, preparedMeasure, target) {
4120 if (!preparedMeasure) {
4121 preparedMeasure = prepareMeasureForLine(cm, lineObj)
4122 }
4123 var targetTop = intoCoordSystem(cm, lineObj, measureCharPrepared(cm, preparedMeasure, target), "line").top
4124 return wrappedLineExtent(cm, lineObj, preparedMeasure, targetTop)
4125 }
4126
4127 // Returns true if the given side of a box is after the given
4128 // coordinates, in top-to-bottom, left-to-right order.

Callers 2

wrapXFunction · 0.85
getWrappedLineExtentFunction · 0.85

Calls 4

prepareMeasureForLineFunction · 0.85
intoCoordSystemFunction · 0.85
measureCharPreparedFunction · 0.85
wrappedLineExtentFunction · 0.85

Tested by

no test coverage detected