Skip to content

Fix text_editor syntax highlighting on paste#2947

Merged
hecrj merged 1 commit intoiced-rs:masterfrom
Atreyagaurav:master
Nov 25, 2025
Merged

Fix text_editor syntax highlighting on paste#2947
hecrj merged 1 commit intoiced-rs:masterfrom
Atreyagaurav:master

Conversation

@Atreyagaurav
Copy link
Contributor

Fixes #2946

@Atreyagaurav
Copy link
Contributor Author

It didn't fix it, wait a moment. Might need more investigating

@Atreyagaurav Atreyagaurav force-pushed the master branch 2 times, most recently from 1018c0c to e988704 Compare May 16, 2025 22:09
@Atreyagaurav
Copy link
Contributor Author

It works on my local installation now.

@hecrj hecrj changed the title Redraw the text_editor on text paste Fix text_editor syntax highlighting on paste Nov 25, 2025
@hecrj hecrj added this to the 0.14 milestone Nov 25, 2025
@hecrj hecrj added bug Something isn't working text widget fix labels Nov 25, 2025
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

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

Thanks!

@hecrj hecrj enabled auto-merge November 25, 2025 23:13
@hecrj hecrj merged commit 992cf0a into iced-rs:master Nov 25, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fix text widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

text_editor::Edit::Paste doesn't trigger syntax highlight like other Edit variants in case of custom highlight rules

2 participants