Bug 294819

Summary: KDevelop/kdevplatform: Bold font in syntax highlight not configurable
Product: [Applications] kdevelop Reporter: Leonardo <leonardo.guilherme>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: patrick.peronny
Priority: NOR    
Version: 4.2.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Leonardo 2012-02-25 19:14:21 UTC
Version:           4.2.3 (using KDE 4.8.0) 
OS:                Linux

The part that makes functions/method names and variables appear bold in c++ syntax highlight is hardcoded (language/highlighting/codehighlighting.cpp:113), thus, we are not able to completely remove bold style in syntax highlight.

Please, would be possible to add a configuration for that, or use katepart syntax definition instead?

Reproducible: Always

Steps to Reproduce:
Enable syntax highlighting for C++ files

Actual Results:  
Bold style for function names and variable names are always on, despite any configuration.

Expected Results:  
Turn on or off bold style
Comment 1 Leonardo 2012-02-25 19:17:05 UTC
language/highlighting/codehighlighting.cpp:113 in kdevplatform code.
Comment 2 Milian Wolff 2012-02-25 19:21:42 UTC
related to 234898
Comment 3 Lê Hoàng Phương 2013-08-16 02:07:13 UTC
*** This bug has been confirmed by popular vote. ***
Comment 4 Miquel Sabaté 2015-02-26 14:38:10 UTC
Git commit 2d10f874048343172591e9cb15927f8d45abff49 by Miquel Sabaté.
Committed on 26/02/2015 at 14:36.
Pushed by mssola into branch 'master'.

Added option to enable/disable bold style from declarations.

REVIEW: 122727
Related: bug 234898

M  +1    -0    interfaces/icompletionsettings.h
M  +3    -1    language/highlighting/codehighlighting.cpp
M  +6    -1    language/highlighting/colorcache.cpp
M  +3    -0    language/highlighting/colorcache.h
M  +7    -2    shell/completionsettings.cpp
M  +7    -1    shell/completionsettings.h
M  +3    -0    shell/settings/ccconfig.kcfg
M  +44   -29   shell/settings/ccpreferences.ui

http://commits.kde.org/kdevplatform/2d10f874048343172591e9cb15927f8d45abff49