Bug 368458 - Can't change highlight color used when hovering identifier
Summary: Can't change highlight color used when hovering identifier
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: All editors (show other bugs)
Version: 5.0.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-08 15:03 UTC by Elvis Stansvik
Modified: 2016-09-08 20:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.0.1


Attachments
Hovering an identifier in the editor (246.92 KB, image/png)
2016-09-08 15:04 UTC, Elvis Stansvik
Details

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