Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.4 #30

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 24, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.Rosemoe.sora-editor:bom 0.22.0 -> 0.23.4 age adoption passing confidence

Release Notes

Rosemoe/sora-editor (io.github.Rosemoe.sora-editor:bom)

v0.23.4

Compare Source

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

Compare Source

Fixes
  • add static APIs in Span to SpanFactory to avoid NoSuchMethodError when app minSdk < 24
    Migrate to SpanFactory recommended.
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

Compare Source

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

Compare Source

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 PlainTextAnalyzeManager for 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 make Span an 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 EditorSpanInteractionHandler as 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+PgDn shortcuts
Language Textmate
  • merge TM4E update from upstream
  • enable symbol pairs by default
Language LSP
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.

  • moveSelection method: de-select any text and move the cursor based on given movement type
  • extendSelection method: 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 underlineColor because 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

Compare Source

v0.22.2

Compare Source

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 StaticColorSpan for dynamicly setting color from the analysis (#​485 by @​itsaky )
  • add null checks for CodeBlock list during rendering (#​498 by @​itsaky )
  • add switches to enable/disable soft keyboard (#​505 by @​itsaky )
  • update Numbers class to latest JDK implementation
  • dependency updates

TreeSitter

  • add API to create custom spans with TsSpanFactory (#​484, #​491 by @​itsaky )
  • fix invalid query on TSNode in TsBracketPairs
  • remove redundant checks in LineSpansGenerator
  • update android-tree-sitter to v4.0.0

v0.22.1

Compare Source

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 TSTree access 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.

@renovate renovate bot force-pushed the renovate/io.github.rosemoe.sora-editor-bom-0.x branch from 4be1071 to e638095 Compare February 9, 2024 02:57
@renovate renovate bot changed the title chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.22.2 chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.1 Feb 9, 2024
@renovate renovate bot force-pushed the renovate/io.github.rosemoe.sora-editor-bom-0.x branch from e638095 to 7367f01 Compare February 12, 2024 05:47
@renovate renovate bot changed the title chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.1 chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.2 Feb 12, 2024
@renovate renovate bot force-pushed the renovate/io.github.rosemoe.sora-editor-bom-0.x branch from 7367f01 to caaf234 Compare February 15, 2024 02:21
@renovate renovate bot changed the title chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.2 chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.3 Feb 15, 2024
@renovate renovate bot force-pushed the renovate/io.github.rosemoe.sora-editor-bom-0.x branch from caaf234 to d5f3caf Compare February 19, 2024 05:27
@renovate renovate bot changed the title chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.3 chore(deps): update dependency io.github.rosemoe.sora-editor:bom to v0.23.4 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants