Skip to content

Commit

Permalink
Merge branch 'master' into better-declarations
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/edit_session.js
#	types/ace-modules.d.ts
  • Loading branch information
mkslanc committed Dec 17, 2024
2 parents a2cedcb + fcf6384 commit c51407e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/test_package/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ function createPopup() {
}

const acePopup = createPopup();

const activeCommand = acePopup.getData(acePopup.getRow());
if (activeCommand && activeCommand.command && activeCommand.command.name) {
acePopup.setData([]);
}
acePopup.destroy();

const filter = new FilteredList([]);
filter.setFilter("test");
Expand Down
2 changes: 1 addition & 1 deletion src/edit_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class EditSession {
}

$initOperationListeners() {
/**@type {import("../interfaces").Operation | null}*/
this.curOp = null;
this.on("change", () => {
if (!this.curOp) {
Expand Down Expand Up @@ -127,7 +128,6 @@ class EditSession {
}

this.$operationResetTimer.schedule();
/**@type {import("../interfaces").Operation | null}*/
this.curOp = {
command: commandEvent.command || {},
args: commandEvent.args
Expand Down

0 comments on commit c51407e

Please sign in to comment.