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

Improve cursor position after deletion #10389

Closed
3 tasks done
heheda123123 opened this issue Feb 21, 2024 · 0 comments
Closed
3 tasks done

Improve cursor position after deletion #10389

heheda123123 opened this issue Feb 21, 2024 · 0 comments
Assignees
Milestone

Comments

@heheda123123
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

1 先随便写点内容,然后创建一个代码块,里面随便写点内容
image
2 光标从代码块最后开始删除,比如图中,按三次删除,会发现光标直接到了上一段的开头,应该是在末尾才对吧
image

Expected result

删光代码块内容后,光标到上一段的末尾

Screenshot or screen recording presentation

No response

Version environment

- Version: 3.0.0
- Operating System: windows 11
- Browser (if used):

Log file

应该不用log

More information

No response

@heheda123123 heheda123123 changed the title 从代码块中开始删除时光标位置不对 把代码块内容全部删除后光标位置不对 Feb 21, 2024
Vanessa219 added a commit that referenced this issue Feb 26, 2024
@Vanessa219 Vanessa219 added this to the 3.0.1 milestone Feb 26, 2024
@Vanessa219 Vanessa219 changed the title 把代码块内容全部删除后光标位置不对 Distinguish cut, delete, backspace, alt+D cursor position after deletion Feb 26, 2024
@88250 88250 changed the title Distinguish cut, delete, backspace, alt+D cursor position after deletion Distinguish cut, delete, backspace and Alt+D cursor position after deletion Feb 26, 2024
@88250 88250 changed the title Distinguish cut, delete, backspace and Alt+D cursor position after deletion Improve cursor position after deletion Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants