Bug 368458

Summary: Can't change highlight color used when hovering identifier
Product: [Applications] kdevelop Reporter: Elvis Stansvik <elvstone>
Component: All editorsAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.1
Sentry Crash Report:
Attachments: Hovering an identifier in the editor

Description Elvis Stansvik 2016-09-08 15:03:22 UTC
When hovering an identifier in the editor (such as QString) with the mouse, all occurances of this identifier are highlighted with a pale yellow background (see attached screenshot). I can't find a way to configure the color used for this highlighting in the KDevelop configuration.

Is it hardcoded somewhere? It would be nice to be able to change it, as it doesn't play too well with some editor color schemes.

Reproducible: Always
Comment 1 Elvis Stansvik 2016-09-08 15:04:24 UTC
Created attachment 100986 [details]
Hovering an identifier in the editor
Comment 2 Milian Wolff 2016-09-08 16:57:21 UTC
true
Comment 3 Milian Wolff 2016-09-08 17:03:34 UTC
I think the proper way to implement that would be to add a plugin hook into the ktexteditor fonts&colors config page, then add our stuff there into a custom group. this would also allow us to add configurations for the other syntax highlighting colors
Comment 4 Sven Brauch 2016-09-08 20:51:27 UTC
Git commit f871ad77943e4d584fc051309d83c6d493fa51b4 by Sven Brauch.
Committed on 08/09/2016 at 20:49.
Pushed by brauch into branch '5.0'.

Use search background color for highlighting in the view.

So far it was always a hard-coded bright yellow.
REVIEW:128862

M  +19   -18   plugins/contextbrowser/contextbrowser.cpp

http://commits.kde.org/kdevplatform/f871ad77943e4d584fc051309d83c6d493fa51b4