Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: slice attribute from next position if index is 0 #911

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LucasXu0
Copy link
Collaborator

@LucasXu0 LucasXu0 commented Oct 4, 2024

  1. Slice attributes from the next position only if the cursor index is 0.
  2. Slice attributes from the previous position if the cursor is not 0.
showcase.mp4

Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.94%. Comparing base (98356fa) to head (1781087).

Files with missing lines Patch % Lines
lib/src/core/document/text_delta.dart 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #911      +/-   ##
==========================================
- Coverage   71.94%   71.94%   -0.01%     
==========================================
  Files         318      318              
  Lines       14980    14984       +4     
==========================================
+ Hits        10778    10780       +2     
- Misses       4202     4204       +2     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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.

1 participant