Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
### Added
- serialization for public models
- XCFramework output
- `getHighlightsAsync()` with handy `DefaultHighlightsResultListener` adapter
- `getByName()` function for `SyntaxThemes`

### Changed
- Kotlin version to 2.0.20
- direct snapshot field access to `getSnapshot()` function

## [0.9.3]

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ highlights.getHighlightsAsync(
// onStart
// onError
// onCancel
override fun onComplete(highlights: List<CodeHighlight>) {
override fun onSuccess(result: List<CodeHighlight>) {
emitResult(highlights)
}
}
Expand Down
4 changes: 2 additions & 2 deletions sample/src/main/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ fun runAsync(
// onStart
// onError
// onCancel
override fun onComplete(highlights: List<CodeHighlight>) {
emitResult(highlights)
override fun onSuccess(result: List<CodeHighlight>) {
emitResult(result)
}
}
)
Expand Down