fix(deps): update dependency io.github.rosemoe.sora-editor:editor to v0.23.6#44
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency io.github.rosemoe.sora-editor:editor to v0.23.6#44renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
69718f0 to
7bf2a28
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.11.4→0.23.6Release Notes
Rosemoe/sora-editor (io.github.Rosemoe.sora-editor:editor)
v0.23.6Compare Source
Enhancements
SideIconClickEvent(#680 by @itsaky )EditorMotionEvent(#682 by @itsaky )Bugs Fixed
ClipData.Item {...}editor.foregroundnot working for textmate color scheme (#656)wrap_contentis used on editor (#658 by @StarkZhidian )v0.23.5Compare Source
Fixes and Enhancements
Languageinterface:.in some fontssetText(#561, #562)SearchThread(#568)v0.23.4Compare Source
Fixes and Enhancements
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.3Compare Source
Fixes
SpantoSpanFactoryto avoidNoSuchMethodErrorwhen app minSdk < 24Migrate to
SpanFactoryrecommended.Documentation
We are adding documentation for sora-editor now!
Currently, you can visit here to explore the documentation, though it's incomplete.
v0.23.2Compare Source
Fixes and Enhancements
v0.23.1Compare 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
PlainTextAnalyzeManagerfor plain text that requires completionContentSpan, and makeSpanan interfaceEditorSpanInteractionHandleras base implementation for clickable spansCtrl+PgUp,Ctrl+PgDn,Ctrl+Shift+PgUp,Ctrl+Shift+PgDnshortcutsLanguage Textmate
Language LSP
Language Tree-sitter
Language Java
Sample App
Breaking Changes and Migration
Editor Selection API
The legacy
moveSelectionUp,moveSelectionDownand 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 typeextendSelectionmethod: update selected range, based on the movement type passed and anchor for current text selectingFor selection movement types, please see
SelectionMovementenum.Span API (for custom languages)
Spanis now interface class. To migrate to new API, note:SpanunderlineColorbecause it is resolved when the span is renderedRelease Notes for 0.23.1
Apply a minor fix to selection anchor updating.
v0.23.0Compare Source
v0.22.2Compare 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
StaticColorSpanfor dynamicly setting color from the analysis (#485 by @itsaky )CodeBlocklist during rendering (#498 by @itsaky )Numbersclass to latest JDK implementationTreeSitter
TsSpanFactory(#484, #491 by @itsaky )TSNodeinTsBracketPairsLineSpansGeneratorv0.22.1Compare Source
Fixes and Enhancements
TSTreeaccess violation when fetching bracket pairsContentCreatorv0.22.0Compare Source
This is a major update of editor.
Bugs Fixed
editor core
TypedArray#closecalled on unsupported devicesMutableIntis usedStyles#finishBuildingcall is missing in languageslanguage-java
editor-lsp
LspLanguage#getFormattermay return null valueslanguage-textmate
New Features and Enhancements
build and CI
editor core
LineGutterBackground(#361 )ALTkey is pressedlanguage-textmate
tree-sitter
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 policyandmax 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
v0.21.1Compare Source
This release includes minor bug fixes and new features.
Bugs Fixed
CharArrayWrapper#subSequencerefers to wrong text startGraphicTextRowImprovements
EditorReleaseEventis added, allowing you to do some cleanup on destructionContentIOfor creating/savingContenttextsThemeModel#isDarkfor lsp (by @dingyi222666 )Notes
ContentReadershould be migrated toContentIO.ContentReaderwill be removed in future.v0.21.0Compare Source
This release includes bug fixes and little improvement as well as minor API changes.
Bugs fixed
renderFunctionCharacteris onTSQueryis not verified before making access to itInputConnection#getSurroundingTextgets invalid position description whenmaxIPCTextLengthis exceededEditorInputConnection#setComposingRegionStringIndex OutOfBoundsExceptioninTextMateNewlineHandler(by @dingyi222666 )CodeEditor#releasedoes not detachEditorColorSchemeAsyncIncrementalAnalyzeManagerTextMateLanguage#updateLanguageReplaceActioncan be added without itsDeleteActionJavaTextTokenizerdoes not take down current token (#349)AsyncIncrementalAnalyzeManagerdoes not update the spans of last line being affected by insertion (#350)Styles#eraseAllLineStylesraises npe when no line style is thereImprovments
CodeEditor#ensurePositionVisibleI18nConfigfor application provided replacement string resourcesDirectAccessProps#clipboardTextLengthLimitand add tip when text is unable to be copied due to limit orTransactionTooLargeExceptionDirectAccessProps#disallowSuggestions(tested on newest Gboard and Sogou Input for MIUI)Updated API
Content#substringPublishSearchResultEvent, which is called when search result is available in main thread or searching is stoppedI18nConfigclass for replacing string resourcesadd CodeEditor#isAntiWordBreakingEditorColorSchemefor global default theme. All newly-created editors use the global default theme. Your modifications to global default theme will reflect in those editors.CodeEditor#getScrollernow has return typeEditorScroller. Get the originalOverScrollerbyEditorScroller#getImplScrollerAsyncIncrementalAnalyzeManagerandTsAnalyzeManagerwill receive thread interruption on exitv0.20.4Compare Source
Bugs Fixed
EditorDiagnosticTootipWindowcan not be got from editor componentsEventManagercan not be disabledNew Features
CodeEditor#createSubEventManager()v0.20.3Compare Source
v0.20.2Compare Source
Fixed Bugs
TSTreein main threadIndexOutOfBoundsExceptionwhen appending text if tree-sitter is usedNew features
Content.getDocumentVersion()is added for checking document modificationsDiagnosticDetailfor describing diagnostics and builtinEditorDiagnosticTooltipWindow(#314 )QuickfixitemLocalsCaptureSpecfor more information) and improve speed in finding definitionsLineNumberTipTextProviderv0.20.1Compare Source
Fixed a critical bug of tree-sitter code blocks in previous release of 0.20.0
v0.20.0Compare Source
Use 0.20.1 instead
Bugs fixed
LanguageServerWrapperEditorSearcher.gotoPrevious()always jumps to the first item when regex is enabledSimpleAnalyzeManagerignores line separatorsOnigRegExpreturns corrupted cache in multi-threaded access (#315 by @xyzxqs )TextReference.toString()does not return string of backed sequencecorePoolSizeexceedsmaximumPoolSizeon 1-core devices (#320 )New Features
wrap_contentin view measuring (not recommended, be cautious)IdentifierAutoCompletenow does not add item that is the same as prefixSpecial Thanks
@itsaky for android-tree-sitter
v0.19.0Compare Source
Bugs fixed
New features
EditorRendererfor better extensiontree-sitter[RIP]v0.18.1Compare Source
A major update of editor. This release note covers the updates of 0.18.0 and 0.18.1
Improvements
BuildEditorInfoEventandImePrivateCommandEventFixed Bugs
MatchHelper#startsWithnot working correctlyCodeEditor#commitTabignores language settingsEditorKeyEventcan not be interceptedMigration
NewlineHandlershould get textBefore and textAfter by manually slicing given text with the text positionv0.18.0Compare Source
v0.17.2Compare Source
Bugs Fixed
CodeEdditor#updateStyleis calledNewlineHandlernot triggered when completion window is shownImprovements
StyleUpdateRangefor performance when highlight is updatedAdvancedSpanfromSpanhighlightedDelimetersForegroundcolor property in textmate (#247 by @PranavPurwar )verticalExtraSpaceFactorfor extra space size in vertical viewportDependency
v0.17.1Compare Source
Bugs Fixed
JavaTextTokenizerthat causes the completion stopImprovements
\uand interpolated shell codeCompletionCancelledExceptioninCompletionThreadSnippetEventfor code snippet eventsSnippetControllerQuickQuoteHandler(separated fromSymbolPairMatch)StylesUtils#checkNoCompletionNewlineHandlerinterfacev0.17.0Compare Source
Fixed bugs
copyLine()(by @itsaky )New features and Improvements
Breaking changes
tm4e upstream code is changed significantly. You are expected to refer to our sample app for migrating old code.
v0.16.5Compare Source
v0.16.4Compare Source
Updates
Note
Users who rely on using internal fields should check their reflection targets.
v0.16.3Compare Source
Updates
IdentifierAutoCompleterv0.16.2Compare Source
Updates
ContentBidiandCachedIndexerv0.16.1Compare Source
Updates
trackComposingTextis enabledv0.16.0Compare Source
Performance Enhancements
This release is mainly focused on performance and display correctness. We optimized the speed of highlighting delimiters and the time cost when text is editted. We also add a new mode called "Basic Display Mode", which provides basic display of text and fast measuring speed. However, some features such as RTL and ligatures are disabled when this is enabled.
New Features
Content(Note that CodeEditor#setLineSeparator is not complete yet. editor still uses LF for newlines when you edit text in editor)Bugs fixed
TextRegionIteratorv0.15.1Compare Source
0.15.1
This is a major update of sora-editor
New features
editor-lspfor LSP users, provided by @dingyi222666Improvements
EdgeEffectDirectAccessPropsFixed bugs
AsyncIncrementalAnalyzeManagerInsertTextHelper(critical)Notice
From next version of sora-editor, the min SDK version will rise to Android API 24 due to better maintainence.
v0.15.0Compare Source
v0.14.0Compare Source
Bug fix
Contentobject is detachedImprovements
IndexerandContentshare a lockContenthas 8x faster speed when insertingContentnow recoginzes newline correctly: CR, LF, CRLF are all considered '\n'New Features
v0.13.1Compare Source
Fix some issues in composing text
Fix incorrect sticky selection
v0.13.0Compare Source
Improvements
LayoutChores
Breaking changes
UIThreadIncrementalAnalyzeManageris removedIdentifierAutoCompleteis updated so that it can be used incrementallyIncrementalAnalyzeManagernow have integer for line index passed intokenizeLinev0.12.0Compare Source
Bug fix
invalidate()call insetFontFeatureSettings()EditorKeyEventNew & Improvements
MagnifierUndoManager#setMergeTimeLimit(long))KeyBindingEventand some new built-in keybindings (@itsaky )ScaleCursorAnimation)DiagnosticIndicatorStyle)Breaking changes
Span#problemFlags,MappedSpans#markProblemRegionandMappedSpans.Builder#markProblemRegionare removed. Instead, you are expected to replace them with Diagnostic APIsMigration Guide
->Mainly, your work will be miragting your problem marking logic to the new diagnostic API.
Now, the diagnostics are sent by calling
StyleReceiver#setDiagnostics(DiagnosticContainer). You are expected to add yourDiagnosticRegionobjects to theDiagnosticContainer. The container will maintain the positions of those added regions. And also,DiagnosticRegionis described by the start index and end index of the diagnostic item, but not by (line, column) pairs. So you need to compute the index by shadowed Content.Note that it is not recommended to add new regions to a container that is already being used by editor though the class is thread-safe.
See package
io.github.rosemoe.sora.lang.diagnostic.->package
io.github.rosemoe.langs.textmate.coreandio.github.rosemoe.langs.textmate.languageconfigurationare moved toorg.eclipse.tm4e.coreandorg.eclipse.tm4e.languageconfigurationMore information
Now editor will show diagnostics with zero length. The editor will show the indicator with a width of the character 'a'.
Note
Maven artifact language-textmate 0.12.0 is broken. Use 0.12.0-1 instead.
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.
This PR was generated by Mend Renovate. View the repository job log.