MCPcopy
hub / github.com/DHTMLX/gantt / wrappedLineExtentChar

Function wrappedLineExtentChar

samples/common/codehighlight/codemirror.js:2731–2735  ·  view source on GitHub ↗
(cm, lineObj, preparedMeasure, target)

Source from the content-addressed store, hash-verified

2729 }
2730
2731 function wrappedLineExtentChar(cm, lineObj, preparedMeasure, target) {
2732 if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); }
2733 var targetTop = intoCoordSystem(cm, lineObj, measureCharPrepared(cm, preparedMeasure, target), "line").top;
2734 return wrappedLineExtent(cm, lineObj, preparedMeasure, targetTop)
2735 }
2736
2737 // Returns true if the given side of a box is after the given
2738 // 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