Skip to content

Implementation Ctrl-C, Ctrl-X, and Ctrl-V #35

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

Open
Kully opened this issue Sep 12, 2024 · 6 comments
Open

Implementation Ctrl-C, Ctrl-X, and Ctrl-V #35

Kully opened this issue Sep 12, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@Kully
Copy link
Owner

Kully commented Sep 12, 2024

Requirement

Upon selection, it would be useful to be able to use some of the more familiar operations that we have grown accustomed to.

  • Ctrl-C: Copy the selection.
  • Ctrl-X: Cut the selection: copy and then delete the pixels in the selection
  • Ctrl-V: Paste a previously copied selection.

Thoughts on Implementation

This will probably need some kind of temporary list that holds the copied pixels, and a way to safely ensure there is no cross-pollenation between other parts of the state machine.

@Kully Kully added the enhancement New feature or request label Sep 12, 2024
@Kully Kully changed the title Allow Ctrl-C, Ctrl-X, and Ctrl-V Implementation Ctrl-C, Ctrl-X, and Ctrl-V Sep 12, 2024
@scriptorluminary
Copy link

Yes, for these operations implement in most programs, though I seldom hit the second. I type this to test.

@Morka951
Copy link

hello I am a student in Paris 8 and I need to develop an issue to validate. Can I work on it?

@Kully
Copy link
Owner Author

Kully commented Feb 21, 2025

hello I am a student in Paris 8 and I need to develop an issue to validate. Can I work on it?

Yes go for it. Please open a Pull Request and request a review when it is ready.

@Morka951
Copy link

No , problem i gonna do that this week ! Please can you add the Licence in the readme

@Kully
Copy link
Owner Author

Kully commented Feb 21, 2025

No , problem i gonna do that this week ! Please can you add the Licence in the readme

Done. See this commit.

Just make sure to pull from the master branch.

@Morka951
Copy link

👋 Hey!
I've opened a pull request to add support for the Ctrl+C, Ctrl+X, and Ctrl+V shortcuts for selection handling.
Could you please take a look and let me know if it follows the project's code conventions?
Feel free to share any suggestions or feedback. Thanks in advance! 😊

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

No branches or pull requests

3 participants