ide-assi 0.377.0 → 0.378.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.
@@ -234435,7 +234435,7 @@ function requireDiffMatchPatch () {
234435
234435
  var diffMatchPatchExports = requireDiffMatchPatch();
234436
234436
 
234437
234437
  // Diff 데코레이션을 위한 StateField 정의 (변동 없음)
234438
- const asisDiffDecorations = StateField.define({
234438
+ StateField.define({
234439
234439
  create() { return Decoration.none; },
234440
234440
  update(decorations, tr) {
234441
234441
  return tr.effects.reduce((currentDecos, effect) => {
@@ -234448,7 +234448,7 @@ const asisDiffDecorations = StateField.define({
234448
234448
  provide: f => EditorView.decorations.from(f)
234449
234449
  });
234450
234450
 
234451
- const tobeDiffDecorations = StateField.define({
234451
+ StateField.define({
234452
234452
  create() { return Decoration.none; },
234453
234453
  update(decorations, tr) {
234454
234454
  return tr.effects.reduce((currentDecos, effect) => {
@@ -234545,7 +234545,7 @@ class IdeDiff extends HTMLElement {
234545
234545
  javascript(),
234546
234546
  EditorState.readOnly.of(true),
234547
234547
  this.#languageCompartment.of(javascript()),
234548
- asisDiffDecorations,
234548
+ //asisDiffDecorations,
234549
234549
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
234550
234550
  EditorView.updateListener.of((update) => {
234551
234551
  if (update.view.contentDOM.firstChild && !update.view._initialAsisContentLoaded) {
@@ -234567,7 +234567,7 @@ class IdeDiff extends HTMLElement {
234567
234567
  javascript(),
234568
234568
  EditorState.readOnly.of(true),
234569
234569
  this.#languageCompartment.of(javascript()),
234570
- tobeDiffDecorations,
234570
+ //tobeDiffDecorations,
234571
234571
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
234572
234572
  EditorView.updateListener.of((update) => {
234573
234573
  if (update.view.contentDOM.firstChild && !update.view._initialTobeContentLoaded) {
@@ -234756,7 +234756,7 @@ class IdeDiff extends HTMLElement {
234756
234756
  }
234757
234757
 
234758
234758
  // 데코레이션 효과는 미리 계산해 둡니다.
234759
- const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
234759
+ //const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
234760
234760
 
234761
234761
  // 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
234762
234762
  // 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
@@ -234774,6 +234774,7 @@ class IdeDiff extends HTMLElement {
234774
234774
  ]
234775
234775
  });
234776
234776
 
234777
+ /**
234777
234778
  // ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
234778
234779
  // 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
234779
234780
  requestAnimationFrame(() => {
@@ -234792,7 +234793,7 @@ class IdeDiff extends HTMLElement {
234792
234793
  // this.#asisEditorView.scrollDOM.scrollTop = 0;
234793
234794
  // this.#tobeEditorView.scrollDOM.scrollTop = 0;
234794
234795
  });
234795
- });
234796
+ }); */
234796
234797
  };
234797
234798
 
234798
234799
  disconnectedCallback() {
@@ -234431,7 +234431,7 @@ function requireDiffMatchPatch () {
234431
234431
  var diffMatchPatchExports = requireDiffMatchPatch();
234432
234432
 
234433
234433
  // Diff 데코레이션을 위한 StateField 정의 (변동 없음)
234434
- const asisDiffDecorations = StateField.define({
234434
+ StateField.define({
234435
234435
  create() { return Decoration.none; },
234436
234436
  update(decorations, tr) {
234437
234437
  return tr.effects.reduce((currentDecos, effect) => {
@@ -234444,7 +234444,7 @@ const asisDiffDecorations = StateField.define({
234444
234444
  provide: f => EditorView.decorations.from(f)
234445
234445
  });
234446
234446
 
234447
- const tobeDiffDecorations = StateField.define({
234447
+ StateField.define({
234448
234448
  create() { return Decoration.none; },
234449
234449
  update(decorations, tr) {
234450
234450
  return tr.effects.reduce((currentDecos, effect) => {
@@ -234541,7 +234541,7 @@ class IdeDiff extends HTMLElement {
234541
234541
  javascript(),
234542
234542
  EditorState.readOnly.of(true),
234543
234543
  this.#languageCompartment.of(javascript()),
234544
- asisDiffDecorations,
234544
+ //asisDiffDecorations,
234545
234545
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
234546
234546
  EditorView.updateListener.of((update) => {
234547
234547
  if (update.view.contentDOM.firstChild && !update.view._initialAsisContentLoaded) {
@@ -234563,7 +234563,7 @@ class IdeDiff extends HTMLElement {
234563
234563
  javascript(),
234564
234564
  EditorState.readOnly.of(true),
234565
234565
  this.#languageCompartment.of(javascript()),
234566
- tobeDiffDecorations,
234566
+ //tobeDiffDecorations,
234567
234567
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
234568
234568
  EditorView.updateListener.of((update) => {
234569
234569
  if (update.view.contentDOM.firstChild && !update.view._initialTobeContentLoaded) {
@@ -234752,7 +234752,7 @@ class IdeDiff extends HTMLElement {
234752
234752
  }
234753
234753
 
234754
234754
  // 데코레이션 효과는 미리 계산해 둡니다.
234755
- const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
234755
+ //const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
234756
234756
 
234757
234757
  // 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
234758
234758
  // 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
@@ -234770,6 +234770,7 @@ class IdeDiff extends HTMLElement {
234770
234770
  ]
234771
234771
  });
234772
234772
 
234773
+ /**
234773
234774
  // ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
234774
234775
  // 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
234775
234776
  requestAnimationFrame(() => {
@@ -234788,7 +234789,7 @@ class IdeDiff extends HTMLElement {
234788
234789
  // this.#asisEditorView.scrollDOM.scrollTop = 0;
234789
234790
  // this.#tobeEditorView.scrollDOM.scrollTop = 0;
234790
234791
  });
234791
- });
234792
+ }); */
234792
234793
  };
234793
234794
 
234794
234795
  disconnectedCallback() {
@@ -135,7 +135,7 @@ export class IdeDiff extends HTMLElement {
135
135
  javascript(),
136
136
  EditorState.readOnly.of(true),
137
137
  this.#languageCompartment.of(javascript()),
138
- asisDiffDecorations,
138
+ //asisDiffDecorations,
139
139
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
140
140
  EditorView.updateListener.of((update) => {
141
141
  if (update.view.contentDOM.firstChild && !update.view._initialAsisContentLoaded) {
@@ -157,7 +157,7 @@ export class IdeDiff extends HTMLElement {
157
157
  javascript(),
158
158
  EditorState.readOnly.of(true),
159
159
  this.#languageCompartment.of(javascript()),
160
- tobeDiffDecorations,
160
+ //tobeDiffDecorations,
161
161
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
162
162
  EditorView.updateListener.of((update) => {
163
163
  if (update.view.contentDOM.firstChild && !update.view._initialTobeContentLoaded) {
@@ -346,7 +346,7 @@ export class IdeDiff extends HTMLElement {
346
346
  }
347
347
 
348
348
  // 데코레이션 효과는 미리 계산해 둡니다.
349
- const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
349
+ //const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
350
350
 
351
351
  // 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
352
352
  // 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
@@ -364,6 +364,7 @@ export class IdeDiff extends HTMLElement {
364
364
  ]
365
365
  });
366
366
 
367
+ /**
367
368
  // ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
368
369
  // 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
369
370
  requestAnimationFrame(() => {
@@ -382,7 +383,7 @@ export class IdeDiff extends HTMLElement {
382
383
  // this.#asisEditorView.scrollDOM.scrollTop = 0;
383
384
  // this.#tobeEditorView.scrollDOM.scrollTop = 0;
384
385
  });
385
- });
386
+ }); */
386
387
  };
387
388
 
388
389
  disconnectedCallback() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.377.0",
4
+ "version": "0.378.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -135,7 +135,7 @@ export class IdeDiff extends HTMLElement {
135
135
  javascript(),
136
136
  EditorState.readOnly.of(true),
137
137
  this.#languageCompartment.of(javascript()),
138
- asisDiffDecorations,
138
+ //asisDiffDecorations,
139
139
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
140
140
  EditorView.updateListener.of((update) => {
141
141
  if (update.view.contentDOM.firstChild && !update.view._initialAsisContentLoaded) {
@@ -157,7 +157,7 @@ export class IdeDiff extends HTMLElement {
157
157
  javascript(),
158
158
  EditorState.readOnly.of(true),
159
159
  this.#languageCompartment.of(javascript()),
160
- tobeDiffDecorations,
160
+ //tobeDiffDecorations,
161
161
  // ⭐️ updateListener는 유지: 뷰가 DOM에 완전히 렌더링될 때까지 기다림
162
162
  EditorView.updateListener.of((update) => {
163
163
  if (update.view.contentDOM.firstChild && !update.view._initialTobeContentLoaded) {
@@ -346,7 +346,7 @@ export class IdeDiff extends HTMLElement {
346
346
  }
347
347
 
348
348
  // 데코레이션 효과는 미리 계산해 둡니다.
349
- const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
349
+ //const { asisEffect, tobeEffect } = this.#applyDiffDecorations(src1, src2);
350
350
 
351
351
  // 1단계: 텍스트 내용 변경과 언어 확장을 먼저 디스패치합니다.
352
352
  // 'to' 값을 현재 문서 길이 전체로 지정하여 정확한 교체를 보장합니다.
@@ -364,6 +364,7 @@ export class IdeDiff extends HTMLElement {
364
364
  ]
365
365
  });
366
366
 
367
+ /**
367
368
  // ⭐️ 2단계: 텍스트 및 언어 변경이 완전히 적용되고 뷰가 안정화될 시간을 줍니다.
368
369
  // 다음 프레임에서 데코레이션 효과만 별도로 디스패치합니다.
369
370
  requestAnimationFrame(() => {
@@ -382,7 +383,7 @@ export class IdeDiff extends HTMLElement {
382
383
  // this.#asisEditorView.scrollDOM.scrollTop = 0;
383
384
  // this.#tobeEditorView.scrollDOM.scrollTop = 0;
384
385
  });
385
- });
386
+ }); */
386
387
  };
387
388
 
388
389
  disconnectedCallback() {