-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Added 'Replace in files' functionality to text editors #36044
Added 'Replace in files' functionality to text editors #36044
Conversation
412763b
to
25821cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay, just one question below.
25821cc
to
4c80bea
Compare
@@ -886,7 +951,7 @@ void FindInFilesPanel::apply_replaces_in_file(String fpath, const Vector<Result> | |||
} | |||
|
|||
String FindInFilesPanel::get_replace_text() { | |||
return _replace_line_edit->get_text().strip_edges(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That bit was there since forever - now, replacement text is fully set (even with border spaces)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thanks! |
Hoorayy! Thank you, sir :) |
Reuses same 'find_in_files' dialog as for regular search in files.
Sets
Ctrl + Shift + R
as shortcut for bringing up 'Replace in Files' dialog.Fixes issue #31146