Merge pull request #65441 from MewPurPur/annoying-whitespaces-trimming-fix

Prevent stripping the edges of strings when using Find in Files
This commit is contained in:
Rémi Verschelde 2022-11-06 11:11:59 +01:00 committed by GitHub
commit 9580769e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -422,8 +422,7 @@ void FindInFilesDialog::set_find_in_files_mode(FindInFilesMode p_mode) {
}
String FindInFilesDialog::get_search_text() const {
String text = _search_text_line_edit->get_text();
return text.strip_edges();
return _search_text_line_edit->get_text();
}
String FindInFilesDialog::get_replace_text() const {