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 the operation of Backspace Delete Tab Shift+Tab after selecting a block or table cell #13027

Closed
TCOTC opened this issue Nov 4, 2024 · 5 comments
Assignees
Milestone

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Nov 4, 2024

改进选中块或表格单元格后 Backspace Delete Tab Shift+Tab 的操作

新方案:

选中块或选中单元格后,保留光标仅用于键入文本,但不应影响 Backspace Delete Tab Shift+Tab

  • 选中块的情况下 Backspace Delete Tab Shift+Tab 应该是对这个块的操作
  • 选中单元格的情况下 Backspace Delete 应该是对这个单元格的操作

旧方案:

  1. 多选块后不再保留光标
  2. 多选表格单元格后不再保留光标,然后实现按 Backspace 和 Delete 清空单元格

用户投票:https://ld246.com/article/1730715344779

image


关联 #10488

@88250
Copy link
Member

88250 commented Nov 17, 2024

不考虑了,单元格操作用菜单吧。

保留光标可以方便修改。

@88250 88250 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 17, 2024
@TCOTC TCOTC changed the title 多选块或多选单元格后不再保留光标 选中块或选中单元格后,保留光标仅用于键入文本,但不应影响 Backspace Delete Tab Shift+Tab Nov 30, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Nov 30, 2024

以光标位置优先的话操作会非常反直觉:

video.webm

关联 #13188

@Vanessa219
Copy link
Member

数据库的单元格和选中块的 Backspace, Delete 目前应该是按照新的方案进行的。因此总结如下:

  • 选中块的情况下 Tab, Shift+Tab 应该是对这个块的操作
  • 选中表格单元格的情况下 Backspace, Delete 应该是对这个单元格的操作

@Vanessa219 Vanessa219 reopened this Nov 30, 2024
@Vanessa219 Vanessa219 self-assigned this Nov 30, 2024
@Vanessa219 Vanessa219 changed the title 选中块或选中单元格后,保留光标仅用于键入文本,但不应影响 Backspace Delete Tab Shift+Tab 改进选中块或数据库单元格后 Backspace Delete Tab Shift+Tab 的操作 Dec 4, 2024
@Vanessa219 Vanessa219 added this to the 3.1.15 milestone Dec 4, 2024
@Vanessa219 Vanessa219 changed the title 改进选中块或数据库单元格后 Backspace Delete Tab Shift+Tab 的操作 改进选中块或表格单元格后 Backspace Delete Tab Shift+Tab 的操作 Dec 4, 2024
Vanessa219 added a commit that referenced this issue Dec 4, 2024
Vanessa219 added a commit that referenced this issue Dec 4, 2024
@Vanessa219
Copy link
Member

缩进和反向缩进选中的块需要为列表项,否则操作无效。

@88250 88250 changed the title 改进选中块或表格单元格后 Backspace Delete Tab Shift+Tab 的操作 Improve the operation of Backspace Delete Tab Shift+Tab after selecting a block or table cell Dec 4, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Dec 11, 2024

@Vanessa219 撤回之后光标能不能也回到原位(而不是开头):

video.webm

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

3 participants