Bug 401784 - C function syntax highlightning ignoring schema color
Summary: C function syntax highlightning ignoring schema color
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 5.3.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-05 17:33 UTC by Aulos Plautius
Modified: 2018-12-05 17:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aulos Plautius 2018-12-05 17:33:12 UTC
SUMMARY
Syntax highlighting for functions in C sources defaults to a purple color regardless of selected color schema.

STEPS TO REPRODUCE
1. On Fonts & Colors settings tab
2. Switching color schema or editing current schema to change text, function or built-in colors.

OBSERVED RESULT
Highlighting color for functions defaults to purple.

EXPECTED RESULT
Highlighting color for functions should match the ones defined in the schema.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.3.0
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Not tested for other languages.
Syntax highlights functions with the schema's text color in Kate
Comment 1 Francis Herne 2018-12-05 17:47:20 UTC
This is expected behaviour for the semantic highlighting; it shows names in different colours depending on their type and context in addition to the basic KTextEditor highlighting.

You can disable the feature if you don't like it: go to "Settings -> Configure KDevelop -> Language Support" and set the two "colorization intensity" sliders to 0.


That the semantic highlighting colours are hardcoded and not themselves adjustable in the colour configuration is itself a missing feature, see

https://bugs.kde.org/show_bug.cgi?id=395856