ide-assi 0.420.0 → 0.422.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.cjs.js
CHANGED
|
@@ -235052,6 +235052,8 @@ class IdeDiff extends HTMLElement {
|
|
|
235052
235052
|
// 다시 문자열로 변환
|
|
235053
235053
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
235054
235054
|
|
|
235055
|
+
console.log(diffs);
|
|
235056
|
+
|
|
235055
235057
|
const asisLineBuilder = new RangeSetBuilder();
|
|
235056
235058
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
235057
235059
|
|
|
@@ -235068,6 +235070,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235068
235070
|
|
|
235069
235071
|
switch (op) {
|
|
235070
235072
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235073
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235071
235074
|
const tobeLines = text.split('\n');
|
|
235072
235075
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235073
235076
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235079,6 +235082,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235079
235082
|
break;
|
|
235080
235083
|
|
|
235081
235084
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235085
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235082
235086
|
const asisLines = text.split('\n');
|
|
235083
235087
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235084
235088
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235092,6 +235096,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235092
235096
|
asisCursor += len;
|
|
235093
235097
|
tobeCursor += len;
|
|
235094
235098
|
break;
|
|
235099
|
+
|
|
235100
|
+
default:
|
|
235101
|
+
console.log(op);
|
|
235102
|
+
break;
|
|
235095
235103
|
}
|
|
235096
235104
|
}
|
|
235097
235105
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -235048,6 +235048,8 @@ class IdeDiff extends HTMLElement {
|
|
|
235048
235048
|
// 다시 문자열로 변환
|
|
235049
235049
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
235050
235050
|
|
|
235051
|
+
console.log(diffs);
|
|
235052
|
+
|
|
235051
235053
|
const asisLineBuilder = new RangeSetBuilder();
|
|
235052
235054
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
235053
235055
|
|
|
@@ -235064,6 +235066,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235064
235066
|
|
|
235065
235067
|
switch (op) {
|
|
235066
235068
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235069
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235067
235070
|
const tobeLines = text.split('\n');
|
|
235068
235071
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235069
235072
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235075,6 +235078,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235075
235078
|
break;
|
|
235076
235079
|
|
|
235077
235080
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235081
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235078
235082
|
const asisLines = text.split('\n');
|
|
235079
235083
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235080
235084
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235088,6 +235092,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235088
235092
|
asisCursor += len;
|
|
235089
235093
|
tobeCursor += len;
|
|
235090
235094
|
break;
|
|
235095
|
+
|
|
235096
|
+
default:
|
|
235097
|
+
console.log(op);
|
|
235098
|
+
break;
|
|
235091
235099
|
}
|
|
235092
235100
|
}
|
|
235093
235101
|
|
|
@@ -260,6 +260,8 @@ export class IdeDiff extends HTMLElement {
|
|
|
260
260
|
// 다시 문자열로 변환
|
|
261
261
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
262
262
|
|
|
263
|
+
console.log(diffs);
|
|
264
|
+
|
|
263
265
|
const asisLineBuilder = new RangeSetBuilder();
|
|
264
266
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
265
267
|
|
|
@@ -276,6 +278,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
278
|
|
|
277
279
|
switch (op) {
|
|
278
280
|
case diff_match_patch.DIFF_INSERT:
|
|
281
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
282
|
const tobeLines = text.split('\n');
|
|
280
283
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
284
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +290,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
290
|
break;
|
|
288
291
|
|
|
289
292
|
case diff_match_patch.DIFF_DELETE:
|
|
293
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
294
|
const asisLines = text.split('\n');
|
|
291
295
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
296
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +304,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
304
|
asisCursor += len;
|
|
301
305
|
tobeCursor += len;
|
|
302
306
|
break;
|
|
307
|
+
|
|
308
|
+
default:
|
|
309
|
+
console.log(op);
|
|
310
|
+
break;
|
|
303
311
|
}
|
|
304
312
|
}
|
|
305
313
|
|
package/package.json
CHANGED
|
@@ -260,6 +260,8 @@ export class IdeDiff extends HTMLElement {
|
|
|
260
260
|
// 다시 문자열로 변환
|
|
261
261
|
dmp.diff_charsToLines_(diffs, lineArray);
|
|
262
262
|
|
|
263
|
+
console.log(diffs);
|
|
264
|
+
|
|
263
265
|
const asisLineBuilder = new RangeSetBuilder();
|
|
264
266
|
const tobeLineBuilder = new RangeSetBuilder();
|
|
265
267
|
|
|
@@ -276,6 +278,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
278
|
|
|
277
279
|
switch (op) {
|
|
278
280
|
case diff_match_patch.DIFF_INSERT:
|
|
281
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
282
|
const tobeLines = text.split('\n');
|
|
280
283
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
284
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +290,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
290
|
break;
|
|
288
291
|
|
|
289
292
|
case diff_match_patch.DIFF_DELETE:
|
|
293
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
294
|
const asisLines = text.split('\n');
|
|
291
295
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
296
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +304,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
304
|
asisCursor += len;
|
|
301
305
|
tobeCursor += len;
|
|
302
306
|
break;
|
|
307
|
+
|
|
308
|
+
default:
|
|
309
|
+
console.log(op);
|
|
310
|
+
break;
|
|
303
311
|
}
|
|
304
312
|
}
|
|
305
313
|
|