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

Add cut/copy/paste functionality #170

Open
sspanak opened this issue Feb 1, 2023 · 0 comments · May be fixed by #566
Open

Add cut/copy/paste functionality #170

sspanak opened this issue Feb 1, 2023 · 0 comments · May be fixed by #566
Labels
enhancement New feature or request

Comments

@sspanak
Copy link
Owner

sspanak commented Feb 1, 2023

After #157, when it becomes possible to move the cursor with the arrow keys, it would be convenient to select the text using the keypad. Then after #263, the command palette will allow adding new functions easier.

Here is how to do it:

  • Add 5-key/"Copy/Cut Text" entry to the main command palette. This is disabled when the On-screen keyboard is active, because there would be no room to display both a keyboard and a command palette.
  • Add 9-key/Paste entry to the main command palette. This is disabled when the On-screen keyboard is active.
  • Entering text selection mode, activates a new "Select Text" command palette
    • 1-key: select the left text selection border. Once selected it can be moved in both directions with Left/Right or 4-key/6-key
    • 2-key: Select None
    • 3-key: select the right text selection border. Once selected it can be moved in both directions with Left/Right or 4-key/6-key
    • 4-key: Move the current selection border to the left.
    • 5-key: Select all
    • 6-key: Move the current selection border to the right.
    • 7-key: Cut
    • 8-key: Copy
    • 9-key: Paste
    • 0-key: Exit text selection mode

After #157 and #263. Otherwise, this feature makes no sense.

@sspanak sspanak added the enhancement New feature or request label Feb 1, 2023
@github-actions github-actions bot added the stale label May 15, 2023
@sspanak sspanak removed the stale label May 26, 2023
@sspanak sspanak added this to the Next Generation milestone Jun 8, 2023
Repository owner deleted a comment from github-actions bot Jan 4, 2024
@sspanak sspanak changed the title Add an option to select text Add cut/copy/paste functionality Mar 4, 2024
@sspanak sspanak linked a pull request Jul 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant