Searched refs:oldLines (Results 1 – 9 of 9) sorted by relevance
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
D | merge.js | 47 oldLines = _calcOldNewLineCount.oldLines, 50 if (oldLines !== undefined) { 51 hunk.oldLines = oldLines; 53 delete hunk.oldLines; 114 theirsOffset += mineCurrent.newLines - mineCurrent.oldLines; 119 mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines; 124 oldLines: 0, property 198 return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart; 204 oldLines: hunk.oldLines, 576 var oldLines = 0; [all …]
|
D | parse.js | 92 oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], property 101 if (hunk.oldLines === 0) { 143 if (!removeCount && hunk.oldLines === 1) { 144 hunk.oldLines = 0; 153 if (removeCount !== hunk.oldLines) {
|
D | create.js | 183 oldLines: oldLine - oldRangeStart + contextSize, property 193 var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; 198 curRange.splice(hunk.oldLines, 0, '\\ No newline at end of file'); 250 if (hunk.oldLines === 0) { 258 …ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines…
|
D | apply.js | 105 maxLine = lines.length - hunk.oldLines, 135 minLine = hunk.offset + hunk.oldStart + hunk.oldLines; 145 diffOffset += _hunk.newLines - _hunk.oldLines;
|
/third_party/node/deps/npm/node_modules/diff/lib/ |
D | index.es6.js | 630 oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], property 639 if (hunk.oldLines === 0) { 681 if (!removeCount && hunk.oldLines === 1) { 682 hunk.oldLines = 0; 691 if (removeCount !== hunk.oldLines) { 809 maxLine = lines.length - hunk.oldLines, 827 minLine = hunk.offset + hunk.oldStart + hunk.oldLines; 837 diffOffset += _hunk.newLines - _hunk.oldLines; 1002 oldLines: oldLine - oldRangeStart + contextSize, property 1012 var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; [all …]
|
D | index.mjs | 630 oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], property 639 if (hunk.oldLines === 0) { 681 if (!removeCount && hunk.oldLines === 1) { 682 hunk.oldLines = 0; 691 if (removeCount !== hunk.oldLines) { 809 maxLine = lines.length - hunk.oldLines, 827 minLine = hunk.offset + hunk.oldStart + hunk.oldLines; 837 diffOffset += _hunk.newLines - _hunk.oldLines; 1002 oldLines: oldLine - oldRangeStart + contextSize, property 1012 var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; [all …]
|
/third_party/node/deps/npm/node_modules/diff/dist/ |
D | diff.js | 673 oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2], property 682 if (hunk.oldLines === 0) { 724 if (!removeCount && hunk.oldLines === 1) { 725 hunk.oldLines = 0; 734 if (removeCount !== hunk.oldLines) { 852 maxLine = lines.length - hunk.oldLines, 870 minLine = hunk.offset + hunk.oldStart + hunk.oldLines; 880 diffOffset += _hunk.newLines - _hunk.oldLines; 1045 oldLines: oldLine - oldRangeStart + contextSize, property 1055 var noNlBeforeAdds = lines.length == 0 && curRange.length > hunk.oldLines; [all …]
|
D | diff.min.js | 38 …oldLines:void 0===n[2]?1:+n[2],newStart:+n[3],newLines:void 0===n[4]?1:+n[4],lines:[],linedelimite… property
|
/third_party/node/deps/npm/node_modules/diff/ |
D | release-notes.md | 62 - count oldLines and newLines when there are conflicts - 53bf384
|