Skip to content

v0.6.7

Choose a tag to compare

@dsisco11 dsisco11 released this 02 Jan 02:10
· 26 commits to master since this release
4cb575f

Release Notes

Bug Fixes

  • Fixed comment and whitespace insertion via SyntaxEditor - Inserting content that consists only of comments or whitespace (e.g., "// comment\n") now works correctly. Previously, such content was silently discarded when the tree was parsed with a schema that recognizes comment styles.

Improvements

  • SyntaxEditor now respects schema tokenizer options - When creating an editor on a tree with an attached schema, inserted text is automatically lexed using the schema's tokenizer options. This ensures consistent parsing of tag prefixes (@import, #define), operators, and comment styles.

  • Automatic incremental rebinding after edits - SyntaxEditor.Commit() now automatically performs incremental syntax rebinding, so newly inserted syntax nodes (like @import directives) are immediately queryable without re-parsing the tree.