Bug 451624

Summary: Kate does not highlight linefeeds when searched
Product: [Applications] kate Reporter: ornara
Component: searchAssignee: KWrite Developers <kwrite-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: lassi.vaatamoinen, ornara
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ornara 2022-03-17 13:22:25 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open a new document in Kate.
2. Write some text and press Enter.
3. Open the search and replace module.
5. Turn on regular expressions in the module by clicking the {} button.
6. In the search line enter \n (regex for line break).


OBSERVED RESULT
The search results area shows the occurrences as a list, but the occurrences are not highlighted in the text frame. In previous versions this was the case, but now his feature is gone. I could not find any setting to turn it on again.


EXPECTED RESULT
The search results area shows the occurrences, and the occurrences are highlighted in the text frame.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSUSE Tumbleweed 20220314
(available in About System)
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
On OpenSUSE Leap 15.3 this feature is available in Kate version 20.04.2
Comment 1 Lassi Väätämöinen 2024-06-29 23:30:12 UTC
Is this actually a bug in the Frameworks/KTextEditor side?