ide-assi 0.420.0 → 0.421.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
|
@@ -235068,6 +235068,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235068
235068
|
|
|
235069
235069
|
switch (op) {
|
|
235070
235070
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235071
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235071
235072
|
const tobeLines = text.split('\n');
|
|
235072
235073
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235073
235074
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235079,6 +235080,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235079
235080
|
break;
|
|
235080
235081
|
|
|
235081
235082
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235083
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235082
235084
|
const asisLines = text.split('\n');
|
|
235083
235085
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235084
235086
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235092,6 +235094,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235092
235094
|
asisCursor += len;
|
|
235093
235095
|
tobeCursor += len;
|
|
235094
235096
|
break;
|
|
235097
|
+
|
|
235098
|
+
default:
|
|
235099
|
+
console.log(op);
|
|
235100
|
+
break;
|
|
235095
235101
|
}
|
|
235096
235102
|
}
|
|
235097
235103
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -235064,6 +235064,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235064
235064
|
|
|
235065
235065
|
switch (op) {
|
|
235066
235066
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235067
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235067
235068
|
const tobeLines = text.split('\n');
|
|
235068
235069
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235069
235070
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -235075,6 +235076,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235075
235076
|
break;
|
|
235076
235077
|
|
|
235077
235078
|
case diffMatchPatchExports.diff_match_patch.DIFF_DELETE:
|
|
235079
|
+
console.log(diffMatchPatchExports.diff_match_patch.DIFF_DELETE, text);
|
|
235078
235080
|
const asisLines = text.split('\n');
|
|
235079
235081
|
for (let i = 0; i < asisLines.length; i++) {
|
|
235080
235082
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -235088,6 +235090,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235088
235090
|
asisCursor += len;
|
|
235089
235091
|
tobeCursor += len;
|
|
235090
235092
|
break;
|
|
235093
|
+
|
|
235094
|
+
default:
|
|
235095
|
+
console.log(op);
|
|
235096
|
+
break;
|
|
235091
235097
|
}
|
|
235092
235098
|
}
|
|
235093
235099
|
|
|
@@ -276,6 +276,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
276
|
|
|
277
277
|
switch (op) {
|
|
278
278
|
case diff_match_patch.DIFF_INSERT:
|
|
279
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
280
|
const tobeLines = text.split('\n');
|
|
280
281
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
282
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +288,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
288
|
break;
|
|
288
289
|
|
|
289
290
|
case diff_match_patch.DIFF_DELETE:
|
|
291
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
292
|
const asisLines = text.split('\n');
|
|
291
293
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
294
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +302,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
302
|
asisCursor += len;
|
|
301
303
|
tobeCursor += len;
|
|
302
304
|
break;
|
|
305
|
+
|
|
306
|
+
default:
|
|
307
|
+
console.log(op);
|
|
308
|
+
break;
|
|
303
309
|
}
|
|
304
310
|
}
|
|
305
311
|
|
package/package.json
CHANGED
|
@@ -276,6 +276,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
276
276
|
|
|
277
277
|
switch (op) {
|
|
278
278
|
case diff_match_patch.DIFF_INSERT:
|
|
279
|
+
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
279
280
|
const tobeLines = text.split('\n');
|
|
280
281
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
281
282
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
@@ -287,6 +288,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
287
288
|
break;
|
|
288
289
|
|
|
289
290
|
case diff_match_patch.DIFF_DELETE:
|
|
291
|
+
console.log(diff_match_patch.DIFF_DELETE, text);
|
|
290
292
|
const asisLines = text.split('\n');
|
|
291
293
|
for (let i = 0; i < asisLines.length; i++) {
|
|
292
294
|
if (!(i === asisLines.length - 1 && asisLines[i] === '' && !text.endsWith('\n'))) {
|
|
@@ -300,6 +302,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
300
302
|
asisCursor += len;
|
|
301
303
|
tobeCursor += len;
|
|
302
304
|
break;
|
|
305
|
+
|
|
306
|
+
default:
|
|
307
|
+
console.log(op);
|
|
308
|
+
break;
|
|
303
309
|
}
|
|
304
310
|
}
|
|
305
311
|
|