MCPcopy Index your code
hub / github.com/DHTMLX/gantt / isWholeLineUpdate

Function isWholeLineUpdate

samples/common/codehighlight/codemirror.js:4708–4711  ·  view source on GitHub ↗
(doc, change)

Source from the content-addressed store, hash-verified

4706 // are treated specially, in order to make the association of line
4707 // widgets and marker elements with the text behave more intuitive.
4708 function isWholeLineUpdate(doc, change) {
4709 return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == "" &&
4710 (!doc.cm || doc.cm.options.wholeLineUpdateBefore)
4711 }
4712
4713 // Perform a change on the document data structure.
4714 function updateDoc(doc, change, markedSpans, estimateHeight) {

Callers 2

updateDocFunction · 0.85

Calls 1

lstFunction · 0.85

Tested by

no test coverage detected