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

Split Event::Text into Text and Paste #1058

Merged
merged 4 commits into from Jan 10, 2022
Merged

Split Event::Text into Text and Paste #1058

merged 4 commits into from Jan 10, 2022

Conversation

psiphi75
Copy link
Contributor

@psiphi75 psiphi75 commented Jan 9, 2022

As lightly discussed on Discord. Here is the draft PR for separating a Paste event and Text input event. The purpose is such that we can paste text into the window, without needing to be in a text box, and then we know that it's paste event, and not just keyboard input.

Note: This will likely break some applications which rely on the Text input event for a paste.

Closes #1057.

@emilk
Copy link
Owner

emilk commented Jan 9, 2022

Looks good! Please add it to the main CHANGELOG.md

@psiphi75
Copy link
Contributor Author

Thanks. I've updated the main CHANGELOG.md.

@psiphi75 psiphi75 marked this pull request as ready for review January 10, 2022 09:00
CHANGELOG.md Outdated Show resolved Hide resolved
@emilk emilk merged commit 225d2b5 into emilk:master Jan 10, 2022
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.

Seperate egui::Event::Paste from egui::Event::Text
2 participants