MCPcopy Create free account
hub / github.com/dropbox/hackpad / getDirtyRanges

Function getDirtyRanges

etherpad/src/static/js/ace2/ace.js:990–1195  ·  view source on GitHub ↗

* Based on observedChanges, return a list of ranges of original lines * that need to be removed or replaced with new user content to incorporate * the user's changes into the line representation. Ranges may be * zero-length, indicating inserted content. For example, [0,0] means * conte

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

incorporateUserChangesFunction · 0.85

Calls 7

PROFILERFunction · 0.85
isConsecutiveFunction · 0.85
splitRangeFunction · 0.85
detectChangesAroundLineFunction · 0.85
lengthMethod · 0.45
containsKeyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected