[Bug 247965] New: Replace all can't work when the found text is \n\n
jfvelez at teleline.es
jfvelez at teleline.es
Sun Aug 15 16:23:38 BST 2010
https://bugs.kde.org/show_bug.cgi?id=247965
Summary: Replace all can't work when the found text is \n\n
Product: kde
Version: 3.5
Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: jfvelez at teleline.es
Version: 3.5 (using KDE 4.5.0)
OS: Linux
Frequently, I need to erase empty lines in a text document. In order to do that
I search for \n\n and replace all by nothing. Kate accept \n when you mark the
mode "escape sequences".
Now, this functionality is impossible. The problem is due an automatism
included in an earlier version. Kate mark "selection only" option automatically
when several paragraphs are selected. And several paragraphs are selected when
the first string is found. So, kate can't replace in all document, because only
find the first selection.
Reproducible: Didn't try
Steps to Reproduce:
Write all this text in kate, maintaining the empty lines.
Find \n\n and replace by nothing using mode "escape sequences".
You will find that the first empty line are deleted.
Now, pulse next buttom. You will notice that nothing is selected because
"selection only" option has been automatically marked.
If you try "replace all" occurs random actions over the text.
Actual Results:
Only the first empty line is deleted or occur random actions.
Expected Results:
The empty lines are deleted.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list