Releases: Rosemoe/sora-editor
Releases · Rosemoe/sora-editor
0.11.3
Fix
- Fix comosing text not removed
- Fix position of editor windows
Improvements
- Longer duration for some cursor animators
- Magnifier scale factor is set to be Android default
Note
Version 0.11.2's maven repo is broken. Use 0.11.3 instead.
0.11.2
New Features
- Multiple cursor animation available (by @massivemadness )
- Optional sticky selection while selecting text (by @massivemadness )
- Perform haptic feedback on long press
- Option to create scaled image within editor itself in
Magnifier
[1]
Bug fix
- Fix unexpected cursor animation when composing text changes
- Fix NPE when cursor animation is disabled
- Fix potential unchanged empty text in
SimpleAnalyzeManager
- Incorrect color for Java's import statements in textmate language (by @PranavPurwar )
- Fix potential NPE while moving selection handles
- Replace
showAtLocation()
withshowAsDropdown()
to avoid window type violations when displaying editor windows
[1]This should be enabled if the editor is not added to the activity window itself. Otherwise, wrong image will be created on Android O or above.
0.11.1
Improvements
- Reduce waiting time to for span map lock while drawing
- Reduce acquisitions of locks while drawing
- Invalidate only corrupted cache in hardware-accelerated renderer
- Reuse
Paint
objects while rendering - Use
Collections#swap
to swap value in List
New
- Add letter spacing and text scale settings
0.11.0
Bug fix
- Fix
deleteEmptyLineFast
anddeleteMultiSpaces
when using Gboard (#170) - Fix crash while performing 'Replace all' (by @itsaky )
- Unset receiver field in analyzers when released
- Fix crash/ANR when deleting chars in wordwrap mode (#168)
- Fix memory leak in sample app
Improvements
- Optimize auto-scrolling when editing at the end of text
- Add method to format code partially
- Migrate code to new Android Gradle Plugin DSL
Tip
After upgrading to the new version, you may need to re-compile your project (clean & build) if you get an AbstractMethodError
because a method with default implementation is added to Language
class.
0.10.11
Bug fix
- Fix non-threadsafe access to spans in IncrementalAnalyzeManager
- Fix measure cache based position computing
Improvement
- Add some functions in editor-kt (by @dingyi222666 )
0.10.10
0.10.9
0.10.8
0.10.7
Bug fix
- Fix wrong text object used in AsyncIncremntalAnalyzeManager#initialize
- Fix occasional failed java highlighting due to concurrently accessed tokenizer
- Fix occasional failed textmate highlighting due to concurrently accessed grammar
- Dismiss editor windows in
release()
to avoid window leak - Fix overflowed problem indicator region
Improvement
- Adjust defualt width of problem indicator