Skip to content

Releases: ChimeHQ/Neon

v0.6.0

13 Jan 14:26
7df7d08
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.5.1...0.6.0

v0.5.1

24 Jul 11:16
4bc0fe4
Compare
Choose a tag to compare
  • 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

02 Dec 15:12
9933b2e
Compare
Choose a tag to compare
  • Better TextKit 2 support
  • TreeSitterClient point transformer is now optional
  • TextContainerSystemInterface
  • Better thread safety checking
  • TokenApplication supports more flexible range requests
  • Basic tree-sitter injections support

v0.4.2

23 Aug 17:28
884cd21
Compare
Choose a tag to compare
  • 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

25 May 11:41
a3cb071
Compare
Choose a tag to compare
  • 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

10 May 18:54
197cb8e
Compare
Choose a tag to compare
  • More detailed docs for TokenProvider
  • take the token ranges themselves into account when applying styles
  • edited ranges should include adjacent characters

v0.3.4

06 May 12:50
ca1c369
Compare
Choose a tag to compare
  • Clarify and simplify didChangeContent(in:delta:)
  • Add a simple test for Highlighter

v0.3.3

03 May 15:20
126ece2
Compare
Choose a tag to compare
  • Move to ExecutionMode to better control async behavior

v0.3.2

25 Apr 18:38
0ab3dd3
Compare
Choose a tag to compare
  • better invalidation control with TextTarget

v0.3.1

22 Apr 10:18
086fc6e
Compare
Choose a tag to compare
  • New TokenApplication API for merge/replace operations