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

Enhance Block Selection behavior #348

Open
PropGit opened this issue Aug 8, 2022 · 0 comments
Open

Enhance Block Selection behavior #348

PropGit opened this issue Aug 8, 2022 · 0 comments
Assignees

Comments

@PropGit
Copy link
Contributor

PropGit commented Aug 8, 2022

Enhance editor so that any multi-line Alt-Block selection will be treated differently as follows:

  • Instead of replacing the whole block with what is typed or pasted next, pressing any character or whitespace key simply inserts the character ahead of the block (in a single column that is as high as the block).
  • If it's the Backspace key that is pressed, it deletes one column of characters from just before the left of the block.
  • If it's the Ctrl+Backspace key combination that is pressed, it deletes all whitespace to the left of the block. This has the effect of moving the whole block (as a single item) left, as far as possible to bump up against the rightmost visible text left of the block.
  • If it's the Delete key that is pressed, it deletes one column of characters from just after the right of the block.
  • If it's the Ctrl+Delete key combination that is pressed, it deletes all whitespace to the right of the block. This has the effect of moving the visible text to the right of the block (as a single item) left as far as possible to bump up against the right edge of the selected block.
  • CONSIDERATION If it's the Alt+Delete key combination that is pressed, it deletes all whitespace to the right of the block on a per-line basis. This has the effect of left-justifying (against the right edge of the selected block) any visible text that is to the right of the block.
@PropGit PropGit self-assigned this Aug 8, 2022
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

1 participant