Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-demos-tree-sitter-codemirror.md,AUTO-COMMIT-src-components-widgets-lively-code-mirror.js,
  • Loading branch information
JensLincke committed Dec 19, 2023
1 parent 30fb40c commit c18fce4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/tree-sitter/codemirror.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- [X] hide line numbers
- [X] hide scrollbars
- [ ] update RegExp match while editing

- [ ] Stefan's hide indentation/whitespace issue in shards

## Probe Example

Expand Down
2 changes: 1 addition & 1 deletion src/components/widgets/lively-code-mirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default class LivelyCodeMirror extends HTMLElement {
// editor.setOption("showTrailingSpace", true)
// editor.setOption("matchTags", true)

);editor.on("change", evt => this.dispatchEvent(new CustomEvent("change", { detail: evt })));
);editor.on("change", (doc, evt) => this.dispatchEvent(new CustomEvent("change", { detail: evt })));
editor.on("change", (() => this.checkSyntax()).debounce(500));
editor.on("change", (() => this.astCapabilities.codeChanged()).debounce(200));

Expand Down

0 comments on commit c18fce4

Please sign in to comment.