Otherwise we rebuild entire chunk upon any input event.
Created attachment 176570 [details] Patch
Comment on attachment 176570 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=176570&action=review > Source/WebCore/inspector/front-end/DefaultTextEditor.js:2424 > + var lastUndamagedLineRow = lastDamagedChunk.expandedLineRow(oldRange.startLine - 1); s/lastDamagedChunk/firstDamagedChunk/ for consistency > Source/WebCore/inspector/front-end/DefaultTextEditor.js:2434 > + firstDamagedChunk.updateCollapsedLineRow(); This could be done lazily, do you intend change that later?
> This could be done lazily, do you intend change that later? Yep
Comment on attachment 176570 [details] Patch Clearing flags on attachment: 176570 Committed r136145: <http://trac.webkit.org/changeset/136145>
All reviewed patches have been landed. Closing bug.
Re-opened since this is blocked by bug 103762