You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@matthew-carroll
The cause for this and for #2241 as well as #2242 appears to be that _cancelComposingTag uses _composingTag as a reference, which can be outdated if _cancelComposingTag is called because tagAroundPosition is null.
Fixed it by directly using the actionTagComposingAttribution range(s) as a reference for now: coneno@e95e848
Could of course be more optimized, in case there can actually only be one range, even if inserting a space, etc.
Needs further testing, but so far this implementation appears to fix all three issues.
Package Version
super_editor, GitHub, main branch
User Info
coneno, QuikFlow
To Reproduce
Steps to reproduce the behavior:
Actual behavior
Expected behavior
A new action tag is being composed.
Platform
macOS
Flutter version
Flutter 3.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b0850beeb2 (4 weeks ago) • 2024-07-16 21:43:41 -0700
Engine • revision 235db911ba
Tools • Dart 3.4.4 • DevTools 2.34.3
Screenshots
The text was updated successfully, but these errors were encountered: