Bug 495070

Summary: Color of the highlight of matches of the selected text
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: EpicTux123 <EpicTux123>
Component: themeAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: christoph, waqar.17a
Priority: NOR    
Version First Reported In: 6.7.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=494599
https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/667
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: highlight example on kate
highlight with more text selected

Description EpicTux123 2024-10-20 01:56:12 UTC
Created attachment 175043 [details]
highlight example on kate

An addition to https://bugs.kde.org/show_bug.cgi?id=494599.

One thing I noticed is that the green color that was used for highlighting is completely fine.

The problem is the same that I first mentioned in my other issue: the matches of the selected text turn blue instead of remaining white like the original selected text, therefore decreasing visibility. If this is fixed (for text not to change its color after being highlighted and only changing the background color instead), the problem is fixed and we can have the green color again.

I've attached an example using by modifying both "Selected Text" and "Search Highlight" to the previously-used green color, and you can see that it works fine with the white text after the equal sign, but isn't too good with blue text. It works fine when selection other elements, with the exception of matched highlights of the selected text.

See https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/667 for other screenshots.
Comment 1 EpicTux123 2024-10-20 01:58:49 UTC
Created attachment 175044 [details]
highlight with more text selected