Skip to content

Remove line breaks when pasting into single line TextEdit#7441

Merged
lucasmerlin merged 2 commits intoemilk:mainfrom
YgorSouza:paste-in-singleline-text-edit
Sep 4, 2025
Merged

Remove line breaks when pasting into single line TextEdit#7441
lucasmerlin merged 2 commits intoemilk:mainfrom
YgorSouza:paste-in-singleline-text-edit

Conversation

@YgorSouza
Copy link
Copy Markdown
Contributor

The line breaks are now replaced by spaces, matching the usual behavior of text fields in HTML.

The line breaks are now removed by spaces, matching the usual behavior
of text fields in HTML.
@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 9, 2025

Preview available at https://egui-pr-preview.github.io/pr/7441-paste-in-singleline-text-edit
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

@lucasmerlin lucasmerlin added bug Something is broken egui labels Sep 4, 2025
Copy link
Copy Markdown
Collaborator

@lucasmerlin lucasmerlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lucasmerlin lucasmerlin merged commit 669cdc1 into emilk:main Sep 4, 2025
26 checks passed
lucasmerlin added a commit that referenced this pull request Sep 4, 2025
The line breaks are now replaced by spaces, matching the usual behavior
of text fields in HTML.

* Closes <#7389>
* [x] I have followed the instructions in the PR template

Co-authored-by: Lucas Meurer <[email protected]>
Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
The line breaks are now replaced by spaces, matching the usual behavior
of text fields in HTML.

* Closes <emilk#7389>
* [x] I have followed the instructions in the PR template

Co-authored-by: Lucas Meurer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something is broken egui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Singleline allows \n if the user copies it

3 participants