fix(web): Fix "Ranges must be added sorted by from position and startSide" by having codemirror sort for us#743
Conversation
|
You have run out of free Bugbot PR reviews for this billing cycle. This will reset on February 14. To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial. |
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This is a suspected fix for #732. I wasn't able to repro, however I'm pretty certain the issue is related to codemirror decoration sets. You can have the library sort the decorations for you, so this PR modifies all calls to
Decoration.setto do so.Fixes #732