novident_editor_selection 1.0.5
novident_editor_selection: ^1.0.5 copied to clipboard
Selection rendering layer for Novident Editor — cursor, block selection, remote collaboration indicators. Reusable independently.
Changelog #
1.0.5 #
- fix: cursor never blinks even when is forced to.
1.0.4 #
- fix: head for cursor is never being computed correctly by using
prevCursorRectwhen the renderer shouldn't use it. - feat: added
headColorandheadheadRectIndexproperties to paint heads (only works we add that head manually, likeVimSelectionRenderer) - feat: added new method
headWrapsCharacterto allow any rendering to telling to theNovidentRichTextwidget, that needs to paint the current text with the constrast color. - fix:
MobileSelectionDragModeis not subtype ofstring?. - chore:
MobileSelectionDragModefrom the editor to this package. - chore(breaking changes): moved
selectionNotifierandremoteSelectionsfromRichTextEditorConfigtoBlockSelectionHost. - chore: moved
SelectionUpdateReasonandSelectionTypeto this package. - chore: deprecated from
SelectionRendererthese methods:buildExpandedHeadCursor,paintExpandedHeadCursor(replaced byshouldPaintHeadRect) andexpandedHeadPositionsince we recommend computing the head and injecting it directly to the rects intoonSelectionRectsMeasured(like I did withVimSelectionRenderer) - chore: updated dependencies to their latest versions.
1.0.3 #
- chore: bumped
novident_editor_documentdependency to ^1.0.4 after TextDocument revert.
1.0.2 #
- fix: changelog has missing version changes
1.0.1 #
- feat: use TextDocument instead Delta in some required parts
- chore: minimal changes to the API
1.0.0 #
- First release.