Home
last modified time | relevance | path

Searched refs:oldLines (Results 1 – 9 of 9) sorted by relevance

/third_party/node/deps/npm/node_modules/diff/lib/patch/
Dmerge.js47 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 …]
Dparse.js92 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) {
Dcreate.js183 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…
Dapply.js105 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/
Dindex.es6.js630 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 …]
Dindex.mjs630 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/
Ddiff.js673 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 …]
Ddiff.min.js38oldLines: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/
Drelease-notes.md62 - count oldLines and newLines when there are conflicts - 53bf384