Bug 294819 - KDevelop/kdevplatform: Bold font in syntax highlight not configurable
Summary: KDevelop/kdevplatform: Bold font in syntax highlight not configurable
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.2.3
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-25 19:14 UTC by Leonardo
Modified: 2015-02-26 14:38 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 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