ide-assi 0.425.0 → 0.427.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
|
@@ -235071,7 +235071,11 @@ class IdeDiff extends HTMLElement {
|
|
|
235071
235071
|
switch (op) {
|
|
235072
235072
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235073
235073
|
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235074
|
-
|
|
235074
|
+
let tobeLines = text.split('\n');
|
|
235075
|
+
if (tobeLines[tobeLines.length - 1] === '\n') {
|
|
235076
|
+
tobeLines.slice(tobeLines.length - 1, 1);
|
|
235077
|
+
}
|
|
235078
|
+
|
|
235075
235079
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235076
235080
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
235077
235081
|
/**
|
package/dist/bundle.esm.js
CHANGED
|
@@ -235067,7 +235067,11 @@ class IdeDiff extends HTMLElement {
|
|
|
235067
235067
|
switch (op) {
|
|
235068
235068
|
case diffMatchPatchExports.diff_match_patch.DIFF_INSERT:
|
|
235069
235069
|
console.log(diffMatchPatchExports.diff_match_patch.DIFF_INSERT, text);
|
|
235070
|
-
|
|
235070
|
+
let tobeLines = text.split('\n');
|
|
235071
|
+
if (tobeLines[tobeLines.length - 1] === '\n') {
|
|
235072
|
+
tobeLines.slice(tobeLines.length - 1, 1);
|
|
235073
|
+
}
|
|
235074
|
+
|
|
235071
235075
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
235072
235076
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
235073
235077
|
/**
|
|
@@ -279,7 +279,11 @@ export class IdeDiff extends HTMLElement {
|
|
|
279
279
|
switch (op) {
|
|
280
280
|
case diff_match_patch.DIFF_INSERT:
|
|
281
281
|
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
282
|
-
|
|
282
|
+
let tobeLines = text.split('\n');
|
|
283
|
+
if (tobeLines[tobeLines.length - 1] === '\n') {
|
|
284
|
+
tobeLines.slice(tobeLines.length - 1, 1);
|
|
285
|
+
}
|
|
286
|
+
|
|
283
287
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
284
288
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
285
289
|
/**
|
package/package.json
CHANGED
|
@@ -279,7 +279,11 @@ export class IdeDiff extends HTMLElement {
|
|
|
279
279
|
switch (op) {
|
|
280
280
|
case diff_match_patch.DIFF_INSERT:
|
|
281
281
|
console.log(diff_match_patch.DIFF_INSERT, text);
|
|
282
|
-
|
|
282
|
+
let tobeLines = text.split('\n');
|
|
283
|
+
if (tobeLines[tobeLines.length - 1] === '\n') {
|
|
284
|
+
tobeLines.slice(tobeLines.length - 1, 1);
|
|
285
|
+
}
|
|
286
|
+
|
|
283
287
|
for (let i = 0; i < tobeLines.length; i++) {
|
|
284
288
|
// 빈 줄이 아니고, 마지막 줄이면서 줄바꿈이 없는 경우가 아니면 데코레이션
|
|
285
289
|
/**
|