ide-assi 0.391.0 → 0.393.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
|
@@ -235086,6 +235086,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235086
235086
|
]
|
|
235087
235087
|
});
|
|
235088
235088
|
|
|
235089
|
+
console.log(this.#tobeEditorView.state.doc.length);
|
|
235089
235090
|
this.#tobeEditorView.dispatch({
|
|
235090
235091
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
235091
235092
|
effects: [
|
|
@@ -235097,10 +235098,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235097
235098
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
235098
235099
|
requestAnimationFrame(() => {
|
|
235099
235100
|
this.#asisEditorView.dispatch({
|
|
235100
|
-
effects: [asisEffect]
|
|
235101
|
+
//effects: [asisEffect]
|
|
235101
235102
|
});
|
|
235102
235103
|
this.#tobeEditorView.dispatch({
|
|
235103
|
-
effects: [tobeEffect]
|
|
235104
|
+
//effects: [tobeEffect]
|
|
235104
235105
|
});
|
|
235105
235106
|
|
|
235106
235107
|
// ⭐️ 3단계: 데코레이션까지 적용된 후 뷰가 다시 안정화될 시간을 한 번 더 줍니다.
|
package/dist/bundle.esm.js
CHANGED
|
@@ -235082,6 +235082,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235082
235082
|
]
|
|
235083
235083
|
});
|
|
235084
235084
|
|
|
235085
|
+
console.log(this.#tobeEditorView.state.doc.length);
|
|
235085
235086
|
this.#tobeEditorView.dispatch({
|
|
235086
235087
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
235087
235088
|
effects: [
|
|
@@ -235093,10 +235094,10 @@ class IdeDiff extends HTMLElement {
|
|
|
235093
235094
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
235094
235095
|
requestAnimationFrame(() => {
|
|
235095
235096
|
this.#asisEditorView.dispatch({
|
|
235096
|
-
effects: [asisEffect]
|
|
235097
|
+
//effects: [asisEffect]
|
|
235097
235098
|
});
|
|
235098
235099
|
this.#tobeEditorView.dispatch({
|
|
235099
|
-
effects: [tobeEffect]
|
|
235100
|
+
//effects: [tobeEffect]
|
|
235100
235101
|
});
|
|
235101
235102
|
|
|
235102
235103
|
// ⭐️ 3단계: 데코레이션까지 적용된 후 뷰가 다시 안정화될 시간을 한 번 더 줍니다.
|
|
@@ -334,6 +334,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
334
334
|
]
|
|
335
335
|
});
|
|
336
336
|
|
|
337
|
+
console.log(this.#tobeEditorView.state.doc.length);
|
|
337
338
|
this.#tobeEditorView.dispatch({
|
|
338
339
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
339
340
|
effects: [
|
|
@@ -345,10 +346,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
345
346
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
346
347
|
requestAnimationFrame(() => {
|
|
347
348
|
this.#asisEditorView.dispatch({
|
|
348
|
-
effects: [asisEffect]
|
|
349
|
+
//effects: [asisEffect]
|
|
349
350
|
});
|
|
350
351
|
this.#tobeEditorView.dispatch({
|
|
351
|
-
effects: [tobeEffect]
|
|
352
|
+
//effects: [tobeEffect]
|
|
352
353
|
});
|
|
353
354
|
|
|
354
355
|
// ⭐️ 3단계: 데코레이션까지 적용된 후 뷰가 다시 안정화될 시간을 한 번 더 줍니다.
|
package/package.json
CHANGED
|
@@ -334,6 +334,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
334
334
|
]
|
|
335
335
|
});
|
|
336
336
|
|
|
337
|
+
console.log(this.#tobeEditorView.state.doc.length);
|
|
337
338
|
this.#tobeEditorView.dispatch({
|
|
338
339
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
339
340
|
effects: [
|
|
@@ -345,10 +346,10 @@ export class IdeDiff extends HTMLElement {
|
|
|
345
346
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
346
347
|
requestAnimationFrame(() => {
|
|
347
348
|
this.#asisEditorView.dispatch({
|
|
348
|
-
effects: [asisEffect]
|
|
349
|
+
//effects: [asisEffect]
|
|
349
350
|
});
|
|
350
351
|
this.#tobeEditorView.dispatch({
|
|
351
|
-
effects: [tobeEffect]
|
|
352
|
+
//effects: [tobeEffect]
|
|
352
353
|
});
|
|
353
354
|
|
|
354
355
|
// ⭐️ 3단계: 데코레이션까지 적용된 후 뷰가 다시 안정화될 시간을 한 번 더 줍니다.
|