MCPcopy Create free account
hub / github.com/ajaxorg/ace / $detachEventHandlers

Method $detachEventHandlers

src/ext/diff/split_diff_view.js:199–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197 }
198
199 $detachEventHandlers() {
200 this.$detachSessionsEventHandlers();
201 this.clearSelectionMarkers();
202 this.editorA.renderer.off("themeChange", this.onChangeTheme);
203 this.editorB.renderer.off("themeChange", this.onChangeTheme);
204 this.$detachEditorEventHandlers(this.editorA);
205 this.$detachEditorEventHandlers(this.editorB);
206 }
207
208 $detachEditorEventHandlers(editor) {
209 editor.off("mousewheel", this.onMouseWheel);

Callers

nothing calls this directly

Tested by

no test coverage detected