Bug 495070 - Color of the highlight of matches of the selected text
Summary: Color of the highlight of matches of the selected text
Status: REPORTED
Alias: None
Product: frameworks-syntax-highlighting
Classification: Frameworks and Libraries
Component: theme (other bugs)
Version First Reported In: 6.7.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-20 01:56 UTC by EpicTux123
Modified: 2024-10-20 01:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
highlight example on kate (14.59 KB, image/png)
2024-10-20 01:56 UTC, EpicTux123
Details
highlight with more text selected (15.70 KB, image/png)
2024-10-20 01:58 UTC, EpicTux123
Details

Note You need to log in before you can comment on or make changes to this bug.
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