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.
Created attachment 175044 [details] highlight with more text selected