Skip to content

0.22.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Rosemoe Rosemoe released this 31 Jul 05:14
· 311 commits to main since this release
4bf5e37

This is a major update of editor.

Bugs Fixed

editor core

  • text action tool window causes some bugs in Gboard (#401 )
  • editor string resource ids can be shadowed easily (#406 by @summerain0 )
  • clipboard text inserted is wrong when using code snippets (#409 by @itsaky )
  • text regions is sometimes wrongly patched by highlighted delimiters
  • error on old Android device because of un-desugared classes (#417 by @MuntashirAkon )
  • platform API TypedArray#close called on unsupported devices
  • null reference in code block list causes crash (#433 by @itsaky )
  • inactive tab stops in code snippets mode are wrongly computed (#438 by @yuruxuan )
  • platform deprecated class MutableInt is used
  • scaling is still possible when any selection handle is hold (#452 by @summerain0 )
  • Styles#finishBuilding call is missing in languages
  • selection handle is not taken into account when editor tries to intercept parent from handling motion events (#456 )

language-java

  • keyword completion has mis-positioned words (#453 by @yuruxuan )

editor-lsp

  • LspLanguage#getFormatter may return null values

language-textmate

  • illegal argument is not recognized but NPE is thrown when loading textmate grammar files

New Features and Enhancements

build and CI

  • snapshot builds are automatically published to maven central (#410 by @itsaky )
  • update to AGP v8

editor core

  • code snippets: nested placeholder support (#409 by @itsaky )
  • better selection handle experience with expanded region for touch detection (#358 )
  • add sticky scroll for better code reading (#376, experimental)
  • specific line number background can be modified by applying LineGutterBackground (#361 )
  • scroll fast when ALT key is pressed

language-textmate

tree-sitter

  • update to newest tree-sitter version (#439 by @itsaky )

docs

About Sticky Scroll Preview

This is the first preview of sticky scroll feature and the feature is disabled by default. Please provide feedbacks if you have any.
Sticky Scroll helps you stay oriented in your code as you scroll, which is also introduced in Visual Studio and Visual Studio Code. Refer to this post of Visual Studio for animated preview of the original feature.
In sora-editor, it's now experimentally supported, including the sticky line display and options like scope-keeping policy and max sticky line count. We also added support for click navigation - jumping to the sticky line when clicked.
Hope this feature help you enjoy a better coding experience.

Preview Image in sora-editor

image