chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| io.github.Rosemoe.sora-editor:bom | 0.22.0 -> 0.23.4 |
Release Notes
Rosemoe/sora-editor (io.github.Rosemoe.sora-editor:bom)
v0.23.4
Fixes and Enhancements
- add logic for typing dead chars and avoid crashing for some keyboard (#547)
- cancel selection handle animation when mouse is connected
- fix view scrolling not being cancelled after mouse button is released
- fix input sometimes unexpectedly entering inactive mode
- fix inconsistent scroll position after scaling in wordwrap mode
- fix a compatibility issue in textmate after upstream sync (devices under API 34 are affected)
- update dependencies
Documentation Site
Previous pages in sora-editor main repository are removed and unpublished. Introduction part of sora-editor is available at here, including a brief overview of editor and basic usage/knowledge for getting started.
v0.23.3
Fixes
- add static APIs in
SpantoSpanFactoryto avoidNoSuchMethodErrorwhen app minSdk < 24 Migrate toSpanFactoryrecommended.
Documentation
We are adding documentation for sora-editor now! Currently, you can visit here to explore the documentation, though it's incomplete.
v0.23.2
Fixes and Enhancements
- fix editor cursor animation
- fix wrong keyboard meta states used when printing key is pressed
- fix editor is not focused when soft keyboard is disabled
- add context-click, hover, and context menu events
-
add mouse support for editor (#472)
- select text
- drag and drop text in editor
- drag text into editor from other widgets (like TextView)
- diagnostic tooltip on hover
- built-in context menu
- strengthened mouse wheel function
v0.23.1
Hello, 2024! Here's the first major update of sora-editor in 2024.
Release Notes for 0.23.0
Fixes and Enhancements
Editor Core
- add more XML attributes
- optionally report cursor anchor position on screen to input method
- fix failure in fetching scroll factor (#532 by @dingyi222666 )
- fix completion window being cut (#420 by @dingyi222666 )
- fix fuzzyScore sort for completion items (#538 by @dingyi222666 )
- fix that text styles are still used after editor is released
- add
PlainTextAnalyzeManagerfor plain text that requires completion - fix incorrect rendering order of sticky lines and pinned line numbers (#539 )
- fix stack overflow when cutting line on last editor line
- fix thread-safety issues in
Content - add extended attributes objects for
Span, and makeSpanan interface - add span and span range in editor's motion events (click, double-click and long-click) (#540 )
- add more editor state events for implementing user-side features
- fix diagnostic tooltip is not dismissed on focus lost
- add
EditorSpanInteractionHandleras base implementation for clickable spans - cut line forward or backward (#508)
- fix scroll position auto-adjust
- add
Ctrl+PgUp,Ctrl+PgDn,Ctrl+Shift+PgUp,Ctrl+Shift+PgDnshortcuts
Language Textmate
- merge TM4E update from upstream
- enable symbol pairs by default
Language LSP
- refactor LSP library by Kotlin (#457 by @dingyi222666 )
- add Java sample for language-lsp usage
Language Tree-sitter
- fix access violation to tree-sitter native objects and thread-safety issues (#497 )
Language Java
- add detection for links
Sample App
- open links in code editor by double-click on it
Breaking Changes and Migration
Editor Selection API
The legacy moveSelectionUp, moveSelectionDown and other methods for moving/extending selection are removed.
Now selection moving and extending are seperated.
-
moveSelectionmethod: de-select any text and move the cursor based on given movement type -
extendSelectionmethod: update selected range, based on the movement type passed and anchor for current text selecting - selection anchor is updated as selection changes and text updates
For selection movement types, please see SelectionMovement enum.
Span API (for custom languages)
Span is now interface class. To migrate to new API, note:
- replace your field access with setters and getters
- do not use builder-like calls to set properties of
Span - you can not directly get
underlineColorbecause it is resolved when the span is rendered
Release Notes for 0.23.1
Apply a minor fix to selection anchor updating.
v0.23.0
v0.22.2
Note: the version is already released on Nov 26, 2023, not now. v0.23.0 will be published recently
Fixes and Enhancements
Editor Core
- pointer icon for mouse input
- single direction fling for better scrolling experience (enabled by default)
- indent selected text on TAB key event (#482 by @itsaky )
- add
StaticColorSpanfor dynamicly setting color from the analysis (#485 by @itsaky ) - add null checks for
CodeBlocklist during rendering (#498 by @itsaky ) - add switches to enable/disable soft keyboard (#505 by @itsaky )
- update
Numbersclass to latest JDK implementation - dependency updates
TreeSitter
- add API to create custom spans with
TsSpanFactory(#484, #491 by @itsaky ) - fix invalid query on
TSNodeinTsBracketPairs - remove redundant checks in
LineSpansGenerator - update android-tree-sitter to v4.0.0
v0.22.1
Fixes and Enhancements
- add more textmate colors for tooltip (#467 by @PranavPurwar )
- collapse sticky scroll lines automatically when text is selected for better reading (#468)
- memorize cursor position in undo (#471, originally posted in AndroidIDE#1206)
- ability to select text between two points. This avoids dragging on screen for long time. (originally posted in AndroidIDE#1215)
- update tree-sitter version and replace deprecated usages with new ones
- fix
TSTreeaccess violation when fetching bracket pairs - remove for-removal outdated class
ContentCreator
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.