ide-assi 0.357.0 → 0.358.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.
@@ -234947,39 +234947,7 @@ class IdeDiff extends HTMLElement {
234947
234947
 
234948
234948
  // ⭐️ 스크롤 리스너를 제어할 수 있도록 플래그 및 클래스 메서드 사용
234949
234949
  #setupScrollSync = () => {
234950
- // 기존 리스너가 있다면 제거 (중복 방지 및 disconnectedCallback에서 제거 용이)
234951
- if (this._asisScrollHandler) { // 핸들러가 이미 할당되어 있다면
234952
- this.#asisEditorView.scrollDOM.removeEventListener('scroll', this._asisScrollHandler);
234953
- this.#tobeEditorView.scrollDOM.removeEventListener('scroll', this._tobeScrollHandler);
234954
- }
234955
-
234956
- let scrollingA = false;
234957
- let scrollingB = false;
234958
-
234959
- this._asisScrollHandler = () => {
234960
- if (!this.#isScrollSyncActive) return; // 활성화되지 않았으면 스킵
234961
-
234962
- if (!scrollingB) {
234963
- scrollingA = true;
234964
- this.#tobeEditorView.scrollDOM.scrollTop = this.#asisEditorView.scrollDOM.scrollTop;
234965
- this.#tobeEditorView.scrollDOM.scrollLeft = this.#asisEditorView.scrollDOM.scrollLeft;
234966
- }
234967
- scrollingB = false;
234968
- };
234969
-
234970
- this._tobeScrollHandler = () => {
234971
- if (!this.#isScrollSyncActive) return; // 활성화되지 않았으면 스킵
234972
-
234973
- if (!scrollingA) {
234974
- scrollingB = true;
234975
- this.#asisEditorView.scrollDOM.scrollTop = this.#tobeEditorView.scrollDOM.scrollTop;
234976
- this.#asisEditorView.scrollDOM.scrollLeft = this.#tobeEditorView.scrollDOM.scrollLeft;
234977
- }
234978
- scrollingA = false;
234979
- };
234980
-
234981
- this.#asisEditorView.scrollDOM.addEventListener('scroll', this._asisScrollHandler);
234982
- this.#tobeEditorView.scrollDOM.addEventListener('scroll', this._tobeScrollHandler);
234950
+ return;
234983
234951
  };
234984
234952
 
234985
234953
  // #applyDiffDecorations 함수 (이전 수정본과 동일, Text.of 사용)
@@ -234943,39 +234943,7 @@ class IdeDiff extends HTMLElement {
234943
234943
 
234944
234944
  // ⭐️ 스크롤 리스너를 제어할 수 있도록 플래그 및 클래스 메서드 사용
234945
234945
  #setupScrollSync = () => {
234946
- // 기존 리스너가 있다면 제거 (중복 방지 및 disconnectedCallback에서 제거 용이)
234947
- if (this._asisScrollHandler) { // 핸들러가 이미 할당되어 있다면
234948
- this.#asisEditorView.scrollDOM.removeEventListener('scroll', this._asisScrollHandler);
234949
- this.#tobeEditorView.scrollDOM.removeEventListener('scroll', this._tobeScrollHandler);
234950
- }
234951
-
234952
- let scrollingA = false;
234953
- let scrollingB = false;
234954
-
234955
- this._asisScrollHandler = () => {
234956
- if (!this.#isScrollSyncActive) return; // 활성화되지 않았으면 스킵
234957
-
234958
- if (!scrollingB) {
234959
- scrollingA = true;
234960
- this.#tobeEditorView.scrollDOM.scrollTop = this.#asisEditorView.scrollDOM.scrollTop;
234961
- this.#tobeEditorView.scrollDOM.scrollLeft = this.#asisEditorView.scrollDOM.scrollLeft;
234962
- }
234963
- scrollingB = false;
234964
- };
234965
-
234966
- this._tobeScrollHandler = () => {
234967
- if (!this.#isScrollSyncActive) return; // 활성화되지 않았으면 스킵
234968
-
234969
- if (!scrollingA) {
234970
- scrollingB = true;
234971
- this.#asisEditorView.scrollDOM.scrollTop = this.#tobeEditorView.scrollDOM.scrollTop;
234972
- this.#asisEditorView.scrollDOM.scrollLeft = this.#tobeEditorView.scrollDOM.scrollLeft;
234973
- }
234974
- scrollingA = false;
234975
- };
234976
-
234977
- this.#asisEditorView.scrollDOM.addEventListener('scroll', this._asisScrollHandler);
234978
- this.#tobeEditorView.scrollDOM.addEventListener('scroll', this._tobeScrollHandler);
234946
+ return;
234979
234947
  };
234980
234948
 
234981
234949
  // #applyDiffDecorations 함수 (이전 수정본과 동일, Text.of 사용)
@@ -195,6 +195,7 @@ export class IdeDiff extends HTMLElement {
195
195
 
196
196
  // ⭐️ 스크롤 리스너를 제어할 수 있도록 플래그 및 클래스 메서드 사용
197
197
  #setupScrollSync = () => {
198
+ return;
198
199
  // 기존 리스너가 있다면 제거 (중복 방지 및 disconnectedCallback에서 제거 용이)
199
200
  if (this._asisScrollHandler) { // 핸들러가 이미 할당되어 있다면
200
201
  this.#asisEditorView.scrollDOM.removeEventListener('scroll', this._asisScrollHandler);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.357.0",
4
+ "version": "0.358.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -195,6 +195,7 @@ export class IdeDiff extends HTMLElement {
195
195
 
196
196
  // ⭐️ 스크롤 리스너를 제어할 수 있도록 플래그 및 클래스 메서드 사용
197
197
  #setupScrollSync = () => {
198
+ return;
198
199
  // 기존 리스너가 있다면 제거 (중복 방지 및 disconnectedCallback에서 제거 용이)
199
200
  if (this._asisScrollHandler) { // 핸들러가 이미 할당되어 있다면
200
201
  this.#asisEditorView.scrollDOM.removeEventListener('scroll', this._asisScrollHandler);