ide-assi 0.395.0 → 0.397.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
|
@@ -235079,6 +235079,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235079
235079
|
|
|
235080
235080
|
// 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
|
|
235081
235081
|
// 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
|
|
235082
|
+
|
|
235082
235083
|
this.#asisEditorView.dispatch({
|
|
235083
235084
|
changes: { from: 0, to: this.#asisEditorView.state.doc.length, insert: src1 },
|
|
235084
235085
|
effects: [
|
|
@@ -235086,7 +235087,6 @@ class IdeDiff extends HTMLElement {
|
|
|
235086
235087
|
]
|
|
235087
235088
|
});
|
|
235088
235089
|
|
|
235089
|
-
console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
235090
235090
|
this.#tobeEditorView.dispatch({
|
|
235091
235091
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
235092
235092
|
effects: [
|
|
@@ -235094,6 +235094,8 @@ console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
|
235094
235094
|
]
|
|
235095
235095
|
});
|
|
235096
235096
|
|
|
235097
|
+
console.log(asisEffect, tobeEffect);
|
|
235098
|
+
|
|
235097
235099
|
// ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
|
|
235098
235100
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
235099
235101
|
requestAnimationFrame(() => {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -235075,6 +235075,7 @@ class IdeDiff extends HTMLElement {
|
|
|
235075
235075
|
|
|
235076
235076
|
// 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
|
|
235077
235077
|
// 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
|
|
235078
|
+
|
|
235078
235079
|
this.#asisEditorView.dispatch({
|
|
235079
235080
|
changes: { from: 0, to: this.#asisEditorView.state.doc.length, insert: src1 },
|
|
235080
235081
|
effects: [
|
|
@@ -235082,7 +235083,6 @@ class IdeDiff extends HTMLElement {
|
|
|
235082
235083
|
]
|
|
235083
235084
|
});
|
|
235084
235085
|
|
|
235085
|
-
console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
235086
235086
|
this.#tobeEditorView.dispatch({
|
|
235087
235087
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
235088
235088
|
effects: [
|
|
@@ -235090,6 +235090,8 @@ console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
|
235090
235090
|
]
|
|
235091
235091
|
});
|
|
235092
235092
|
|
|
235093
|
+
console.log(asisEffect, tobeEffect);
|
|
235094
|
+
|
|
235093
235095
|
// ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
|
|
235094
235096
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
235095
235097
|
requestAnimationFrame(() => {
|
|
@@ -327,6 +327,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
327
327
|
|
|
328
328
|
// 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
|
|
329
329
|
// 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
|
|
330
|
+
|
|
330
331
|
this.#asisEditorView.dispatch({
|
|
331
332
|
changes: { from: 0, to: this.#asisEditorView.state.doc.length, insert: src1 },
|
|
332
333
|
effects: [
|
|
@@ -334,7 +335,6 @@ export class IdeDiff extends HTMLElement {
|
|
|
334
335
|
]
|
|
335
336
|
});
|
|
336
337
|
|
|
337
|
-
console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
338
338
|
this.#tobeEditorView.dispatch({
|
|
339
339
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
340
340
|
effects: [
|
|
@@ -342,6 +342,8 @@ console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
|
342
342
|
]
|
|
343
343
|
});
|
|
344
344
|
|
|
345
|
+
console.log(asisEffect, tobeEffect);
|
|
346
|
+
|
|
345
347
|
// ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
|
|
346
348
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
347
349
|
requestAnimationFrame(() => {
|
package/package.json
CHANGED
|
@@ -327,6 +327,7 @@ export class IdeDiff extends HTMLElement {
|
|
|
327
327
|
|
|
328
328
|
// 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
|
|
329
329
|
// 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
|
|
330
|
+
|
|
330
331
|
this.#asisEditorView.dispatch({
|
|
331
332
|
changes: { from: 0, to: this.#asisEditorView.state.doc.length, insert: src1 },
|
|
332
333
|
effects: [
|
|
@@ -334,7 +335,6 @@ export class IdeDiff extends HTMLElement {
|
|
|
334
335
|
]
|
|
335
336
|
});
|
|
336
337
|
|
|
337
|
-
console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
338
338
|
this.#tobeEditorView.dispatch({
|
|
339
339
|
changes: { from: 0, to: this.#tobeEditorView.state.doc.length, insert: src2 },
|
|
340
340
|
effects: [
|
|
@@ -342,6 +342,8 @@ console.log(this.#asisEditorView, this.#asisEditorView.state.doc.length);
|
|
|
342
342
|
]
|
|
343
343
|
});
|
|
344
344
|
|
|
345
|
+
console.log(asisEffect, tobeEffect);
|
|
346
|
+
|
|
345
347
|
// ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
|
|
346
348
|
// 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
|
|
347
349
|
requestAnimationFrame(() => {
|