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.
SVN commit 1176897 by pletourn: Revert r1099555 BUG:247965 M +2 -0 katesearchbar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1176897
SVN commit 1176898 by pletourn: Revert r1099555 CCBUG:247965 M +2 -0 katesearchbar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1176898