Releases: ChimeHQ/Neon
Releases · ChimeHQ/Neon
v0.6.0
What's Changed
- visibleTextRange made public by @kaunteya in #24
- Expose TextViewHighlighter to older macOS's by @DivineDominion in #25
- Focus TextViewHighlighter on character changes by @DivineDominion in #26
- Use tabs, not spaces, Xcode-project-wide by @DivineDominion in #27
- Store attributes in TextKit 1 text storage by @DivineDominion in #28
- Use local neon in sample project by @DivineDominion in #30
- Fix build for non-macOS platforms by @DivineDominion in #29
- Expand iOS sample app by @DivineDominion in #31
- Default attributes by @DivineDominion in #34
- Use DocC type links in documentation by @DivineDominion in #35
- Modify TreeSitterClient check to be safer and also forwards-compatible
- More specialized TextKit interfaces
- Use latest SwiftTreeSitter
Full Changelog: 0.5.1...0.6.0
v0.5.1
- Expose an invalidation API for
TextViewHighlighter
- Improve compatibility with older Swift versions
- Correctly check for stale document versions
- Ensure tree accessed only on main actor
TextViewHighlighter
wasn't using a UTF-16 based limit- currentTree accessors (thanks @kaunteya )
- Fix a bug with edit ordering (thanks @danielpunkass )
- Many documentation improvements
v0.5.0
- Better TextKit 2 support
TreeSitterClient
point transformer is now optionalTextContainerSystemInterface
- Better thread safety checking
TokenApplication
supports more flexible range requests- Basic tree-sitter injections support
v0.4.2
- Correct a rect calculation that could result in missing/incorrect invalidation calculations
- Make sure async methods are appropriately annotated
MainActor
- Migrate
TreeSitterClient
out into a dedicated target - Bump the SwiftTreeSitter requirement
Thanks to @danielpunkass and @krzyzanowskim for the help!
v0.4.1
- sort tokens to help resolve conflicts in queries
- move to SwiftTreeSitter 0.6.1 (with no tree-sitter-xcframework)
- remove platform limitations
v0.4.0
- More detailed docs for TokenProvider
- take the token ranges themselves into account when applying styles
- edited ranges should include adjacent characters
v0.3.4
- Clarify and simplify
didChangeContent(in:delta:)
- Add a simple test for
Highlighter
v0.3.3
- Move to
ExecutionMode
to better control async behavior
v0.3.2
- better invalidation control with
TextTarget
v0.3.1
- New
TokenApplication
API for merge/replace operations