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

fix: move cursor up/down issus #657

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

LucasXu0
Copy link
Collaborator

@LucasXu0 LucasXu0 commented Jan 9, 2024

closes #656
closes #589

cursor.mp4

Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (c8ba248) 76.56% compared to head (94c3d7e) 76.48%.
Report is 1 commits behind head on main.

Files Patch % Lines
lib/src/extensions/position_extension.dart 30.00% 14 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #657      +/-   ##
==========================================
- Coverage   76.56%   76.48%   -0.08%     
==========================================
  Files         295      295              
  Lines       13022    13041      +19     
==========================================
+ Hits         9970     9975       +5     
- Misses       3052     3066      +14     

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

@LucasXu0 LucasXu0 merged commit 87eabfb into AppFlowy-IO:main Jan 9, 2024
9 of 11 checks passed
q200892907 added a commit to q200892907/appflowy-editor that referenced this pull request Jan 10, 2024
* main:
  fix: move cursor up/down issue (AppFlowy-IO#657)
  fix: chinese IME
  feat: add markdown divider encoder parser (AppFlowy-IO#639)
  feat: support updating cursor position via spacebar (AppFlowy-IO#655)
  feat: support customizing cursor width (AppFlowy-IO#654)
Jei-sKappa added a commit to Jei-sKappa/appflowy-editor that referenced this pull request Mar 21, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
Jei-sKappa added a commit to Jei-sKappa/appflowy-editor that referenced this pull request Mar 28, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
Jei-sKappa added a commit to Jei-sKappa/appflowy-editor that referenced this pull request Apr 13, 2024
Previously the `moveVertical` function only moved the cursor 'node to node' without thaking into consideration multiline nodes or some portion of a line with different fontSize (ex: a paragraph with size 16 but with a bolded word with size 32). This was caused by the PR AppFlowy-IO#657 that closes AppFlowy-IO#656 and AppFlowy-IO#589.
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.

[Bug] Heading level specific padding stops cursor [Bug] Up and down arrow problem
1 participant