Summary: | Find/replace in Files escapes the "\" (0x5C) character when trying to insert it via the replace action | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Claus Christmann <hcc> |
Component: | QEditor | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | 4.3.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/b06486852b36688ab91d306d32e7975c8cca9ca4 | Version Fixed In: | |
Attachments: | The HelloWorld example mentioned/used in the bug report. |
Description
Claus Christmann
2012-06-07 14:24:48 UTC
Created attachment 71642 [details]
The HelloWorld example mentioned/used in the bug report.
Git commit b06486852b36688ab91d306d32e7975c8cca9ca4 by Kevin Funk. Committed on 19/03/2013 at 21:48. Pushed by kfunk into branch '1.5'. Fix issue in grepview plugin It was impossible to replace "\n" with "\n\n" before. I really don't know what the code path replacing '\\' by '\\\\' was supposed to do. It replaced characters in the replacement string in case the input regexp was marked with QRegExp::Wildcard. But I have no clue why the replacement string should depend on that. Add tests. REVIEW: 109554 M +1 -3 plugins/grepview/grepoutputmodel.cpp M +9 -1 plugins/grepview/tests/findreplacetest.cpp http://commits.kde.org/kdevplatform/b06486852b36688ab91d306d32e7975c8cca9ca4 |