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

Desktop, Mobile: Fixes #10439: Maintain cursor position when changing list indentation #10441

Conversation

personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented May 17, 2024

Summary

This pull request partially resolves #10439 by maintaining the cursor location toggling lists/headers/line-start indentation.

Screen recording

indent-bug-fix.mp4

Note: Removing tabs in the middle of a paragraph was done with backspace, not shift-tab.

Remaining issues

  • Issue with cursor positioning when indenting numbered lists.
  • Pressing tab when the cursor is in the middle of a list item should insert a tab character, not indent.
    • Indentation should only occur when at the start or end of a line?

@laurent22 laurent22 merged commit c5e3672 into laurent22:dev May 21, 2024
10 checks passed
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.

CodeMirror 6 quirk list
2 participants