Skip to content

[Parchment] Invalidate line node offset cache when inserting it after or before in parent node - #532

Merged
amantoux merged 1 commit into
masterfrom
fix/corrupted_offset_cache
Aug 8, 2025
Merged

[Parchment] Invalidate line node offset cache when inserting it after or before in parent node#532
amantoux merged 1 commit into
masterfrom
fix/corrupted_offset_cache

Conversation

@amantoux

@amantoux amantoux commented Aug 5, 2025

Copy link
Copy Markdown
Member

Fixes #526

@codecov

codecov Bot commented Aug 5, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.99%. Comparing base (13ae617) to head (0c3394b).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #532      +/-   ##
==========================================
+ Coverage   88.93%   88.99%   +0.05%     
==========================================
  Files          63       63              
  Lines       10876    10891      +15     
==========================================
+ Hits         9673     9692      +19     
+ Misses       1203     1199       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@amantoux
amantoux marked this pull request as draft August 5, 2025 09:57
@amantoux amantoux changed the title Invalidate previous node offset cache when unlinking node Invalidate line node offset cache when unwrapping a line node Aug 5, 2025
@amantoux
amantoux force-pushed the fix/corrupted_offset_cache branch from 09690ba to 4789d46 Compare August 5, 2025 12:42
@amantoux amantoux changed the title Invalidate line node offset cache when unwrapping a line node Invalidate line node offset cache inserting it after or before in parent node Aug 5, 2025
@amantoux amantoux changed the title Invalidate line node offset cache inserting it after or before in parent node [Parchment] Invalidate line node offset cache inserting it after or before in parent node Aug 5, 2025
@amantoux
amantoux force-pushed the fix/corrupted_offset_cache branch from 4789d46 to 0c3394b Compare August 5, 2025 12:58
@amantoux
amantoux requested a review from Amir-P August 5, 2025 12:59
@amantoux
amantoux marked this pull request as ready for review August 5, 2025 12:59
@amantoux amantoux changed the title [Parchment] Invalidate line node offset cache inserting it after or before in parent node [Parchment] Invalidate line node offset cache when inserting it after or before in parent node Aug 5, 2025

@Amir-P Amir-P left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on the fix, Alan. LGTM!

@amantoux
amantoux merged commit 2f141bd into master Aug 8, 2025
4 checks passed
@amantoux
amantoux deleted the fix/corrupted_offset_cache branch August 8, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cursor Became 2 / Floating

2 participants