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