Bug 225376 - Syntax Highlight does not apply to the name of functions
Summary: Syntax Highlight does not apply to the name of functions
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: VLO wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-02-03 13:09 UTC by Maxi Combina
Modified: 2018-10-27 04:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxi Combina 2010-02-03 13:09:07 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839]
 
OS:                Linux
Installed from:    openSUSE RPMs

The color of the function's name is always blue. I can not change it, even though I went to Settings -> Configure Editor -> Font & Colors -> Normal Text Styles and change the "Function" context.
C and C++ do not have a color for function neither.

BTW, I am using kdevelop-3.9.95, shipped with OpenSuse 11.2
Comment 1 Milian Wolff 2010-02-03 13:11:41 UTC
Should be possible by using the (in 4.4 new) HighlightInterface and get the defaultAttribute() for the functions.

Low Priority though, as the current color "works".
Comment 2 Maxi Combina 2010-02-03 13:15:41 UTC
(In reply to comment #1)
> Low Priority though, as the current color "works".
A pity... for all of us who don't like bright interfaces, and use dark colors :(
Comment 3 Andreas Pakulat 2010-02-03 16:34:47 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Low Priority though, as the current color "works".
> A pity... for all of us who don't like bright interfaces, and use dark colors
> :(

AFAIK dark color schemes work reasonably well even now. In fact Milian uses a dark color scheme for KDE. There's just no interface to configure all the additional highlighting thats done by kdevelop when it knows the source structure.
Comment 4 Maxi Combina 2010-02-03 16:40:59 UTC
That's great news. Will have to update...
Comment 5 Davydov Vladimir 2010-05-07 15:20:19 UTC
Still reproducible in the 4.0.0 with KDE 4.4.3.
I have voted for this bug, because I am using use mc'like syntax color scheme.
Comment 6 Milian Wolff 2010-05-07 15:39:05 UTC
can you please show me a screenshot if something is _not_ working? Here's how it looks for me:

http://imagebin.org/95979

if there is only the fact that you cannot change the colors to your liking, pleaes bear with us until this is eventually implemented. Or better yet: write us patches since this is _very_ low priority as I said already. It works after all...
Comment 7 Davydov Vladimir 2010-05-07 17:26:19 UTC
Thank you Milian, 
Your scheme is looking fine.
As I understand, some colors are not configurable now. 
Are they generated or hardcoded?

I have created two screenshots.
There is default color scheme for kdevelop4
http://imagebin.org/95986

There is my custom color scheme, which I'm trying to stylize to mcedit default colors.
http://imagebin.org/95990

As you can see, a lot of colors are bad visible on blue background.
I have underlined some (not all) elements with color, that I cannot change.

I have  C++ experience and will try to fix it. Unfortunately I don't have experience in KDE programming  :-(

Maybe you hint me about which part of code I need to see?

Thanks
Comment 8 Andreas Pakulat 2010-05-07 17:36:20 UTC
(In reply to comment #7)
> Thank you Milian, 
> Your scheme is looking fine.
> As I understand, some colors are not configurable now. 
> Are they generated or hardcoded?

They are generated hence they work with both light and dark schemes. However...

> I have created two screenshots.
> There is default color scheme for kdevelop4
> http://imagebin.org/95986
> 
> There is my custom color scheme, which I'm trying to stylize to mcedit default
> colors.
> http://imagebin.org/95990

We do not support (AFAIK) mixing KDE's global color scheme with a kate-specific totally different one. That is if you want a light kate color scheme then your KDE color scheme also needs to use light colors and if you want darker ones then both global KDE and kate color scheme need to be dark.

@Milian: Feel free to correct me when I'm wrong.
Comment 9 Milian Wolff 2010-05-07 17:46:50 UTC
starting with KDE 4.4 we actually use the colors reported by Kate

@ Davydov: please send me your kateschemarc file from ~/.kde/share/config or at least the definition of that blue scheme. I never tried it with such fancy stuff, only with white or dark grey...
Comment 10 Davydov Vladimir 2010-05-07 18:08:43 UTC
(In reply to comment #9)
> 
> @ Davydov: please send me your kateschemarc file from ~/.kde/share/config...

Done, please check your mailbox.
Comment 11 Kevin Funk 2012-12-22 23:10:03 UTC
Is this still an issue?
Comment 12 Davydov Vladimir 2013-01-03 11:47:10 UTC
(In reply to comment #11)
> Is this still an issue?

Yes, it's reproducible on Kdevelop 4.3.1 with KDE 4.8.5 at least.
Comment 13 Andrew Crouthamel 2018-09-24 02:22:20 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Andrew Crouthamel 2018-10-27 04:02:22 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!