Repository navigation
v0.6.7
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@importdirectives) are immediately queryable without re-parsing the tree.