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

Update clipboard behavior in editor #706

Merged
merged 4 commits into from
Nov 29, 2024
Merged

Update clipboard behavior in editor #706

merged 4 commits into from
Nov 29, 2024

Conversation

vinc
Copy link
Owner

@vinc vinc commented Nov 28, 2024

The clipboard in the editor was a stack, leading to unexpected behavior. It will now be a single line buffer acting like the usual cut/copy/paste features. For example it will now be possible to copy a line and paste it multiple times.

@vinc
Copy link
Owner Author

vinc commented Nov 28, 2024

We could maybe move the cursor down after pasting a line to be on the new line, using exactly the same behavior as pushing the down key.

@vinc vinc marked this pull request as ready for review November 29, 2024 10:39
@vinc vinc merged commit 21641d1 into trunk Nov 29, 2024
1 check passed
@vinc vinc deleted the feature/clipboard branch November 29, 2024 10:40
@vinc vinc mentioned this pull request Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant