Bug 451749

Summary: Replace strings separated by space(s) doesn't work in block mode
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: Piotr Mierzwinski <piotr.mierzwinski>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: normal CC: piotr.mierzwinski
Priority: NOR    
Version First Reported In: 5.71.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Piotr Mierzwinski 2022-03-21 00:29:44 UTC
In one document I switched into "block mode" and I tried replace  couple strings separated by space. In result I got 0 changes.

STEPS TO REPRODUCE
1.  open any text document
2.  switch into "block mode"
3. invoke replace
4. in "Find" field enter two words separated by space
5. In Replace enter whatever you want or left empty

OBSERVED RESULT
"0 replacements made"

EXPECTED RESULT
"X replacements made"
where "X" is number of occurrences for given string

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version:  5.92
Qt Version: 5.15.3 with recent KDE patches

ADDITIONAL INFORMATION
Note please we could avoid this issue when "block mode" was available only in moment some keys combination holding, i.e.: Alt+Shift like it happens in Notepad++ (or Alt+Left Mouse Button).
IMO or looking on my experience with Notepad++, this is much more useful invoking this function than switching on/of by Ctrl+Shift+B.