Skip to content

0.24.7

Pre-release
Pre-release

Choose a tag to compare

@Rosemoe Rosemoe released this 17 Oct 11:02
· 16 commits to main since this release
ab9f2cb

Editor Core

  • add FormatterProvider and ExtraStylesProvider for custom formatting and styling (#871 by @KonerDev)
  • support multiple providers for diagnostics, inlay hints, highlighted text and extra styles (#871 by @KonerDev)
  • improve text measurement cache reuse when line content is unchanged
  • fix wordwrap layout hanging due to incorrect character iterator boundaries (#889 by @jrvaghela72)
  • fix backgrounds of matched and highlighted text not being drawn when only one line is visible (#882)
  • fix control character rendering and positioning (#863)
  • fix scrollbar drawing interfering with the line info panel (#859 by @jeeneo)
  • avoid crashes when invalid span lists are received (#872)
  • fix index out of bounds during symbol pair matching when text is empty (#861)

Editor LSP

  • support custom request timeouts per language server definition (#867 by @KonerDev)
  • add LspEditor helpers for definition, references, prepare-rename and rename requests (#879 by @KonerDev)
  • support progress reporting, progress cancellation and trace control (#879 by @KonerDev, #893 by @dingyi222666)
  • support custom JSON-RPC requests and notifications through the endpoint and event listener APIs (#879 by @KonerDev)
  • support explicit language IDs for server selection and document opening (#881 by @RohitKushvaha01, #885 by @KonerDev)
  • fix diagnostic publishing and add bulk diagnostic updates (#869 by @KonerDev)
  • fix incorrect file URI conversion (#865)
  • improve cleanup of TCP and local socket connections (#893 by @dingyi222666)

TextMate

  • fix text background colors not being rendered (#864)
  • fix unformatted scope names in tm4e logs and lower missing grammar/include and removed rule logs to debug level (#898)

Oniguruma Native

  • update Unicode data to 18.0.0

Demo App

  • replace the Java-based Lua language server with native EmmyLua Language Server 0.25.1, bundled for all four Android ABIs (#893 by @dingyi222666)
  • update Lua grammar and language configuration (#893 by @dingyi222666)
  • update JavaScript language configuration

Compatibility Changes

  • The minimum supported Android API level is raised from 21 to 23 (Android 6.0). editor-lsp continues to require API 26.
  • CodeEditor.setDiagnostics(), setInlayHints() and setHighlightTexts() are replaced by the corresponding provider registration APIs. Register providers with registerDiagnosticProvider(), registerInlayHintProvider() and registerHighlightTextProvider(), and call the corresponding invalidate...() methods when their data changes.
  • Kotlin is updated to 2.4.10, with Kotlin language version 2.4.