Files
qt-creator/share/qtcreator/styles/intellij.xml
Christian Kandeler 9cbe2439dd CppEditor: Do not highlight macros as preprocessor statements
Macros are used like identifiers; there is no reason why they should need
to have the same highlighting as a preprocessor directive.

Fixes: QTCREATORBUG-23548
Change-Id: I186befc06ccb36a00451fd707c41e3687a84af14
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
2022-06-29 09:08:27 +00:00

46 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="IntelliJ IDEA">
<style name="AddedLine" foreground="#00aa00"/>
<style name="Comment" foreground="#808080" italic="true"/>
<style name="CurrentLine" foreground="#000000" background="#ffffd7"/>
<style name="DiffFile" foreground="#000080"/>
<style name="DiffLocation" foreground="#0000ff"/>
<style name="Doxygen.Comment" foreground="#808080" italic="true"/>
<style name="Doxygen.Tag" foreground="#808080" bold="true" italic="true"/>
<style name="Field" foreground="#660e7a" bold="true"/>
<style name="Function" foreground="#000000"/>
<style name="Macro" foreground="#000000"/>
<style name="Keyword" foreground="#000080" bold="true"/>
<style name="PrimitiveType" foreground="#000080" bold="true"/>
<style name="Label" foreground="#800000" bold="true"/>
<style name="Local" foreground="#000000"/>
<style name="Parameter" foreground="#000000"/>
<style name="Number" foreground="#0000ff"/>
<style name="Operator" foreground="#000000"/>
<style name="Overloaded Operator" foreground="#000000"/>
<style name="Parentheses" foreground="#ff0000" background="#c3e1ff"/>
<style name="ParenthesesMismatch" background="#ff00ff"/>
<style name="AutoComplete" foreground="#ff0000" background="#c3e1ff"/>
<style name="Preprocessor" foreground="#000080" bold="true"/>
<style name="RemovedLine" foreground="#ff0000"/>
<style name="String" foreground="#008000" bold="true"/>
<style name="Text" foreground="#000000" background="#ffffff"/>
<style name="Type" foreground="#000000"/>
<!--
Relying on default colors for:
CurrentLineNumber
DisabledCode
LineNumber
Link
SearchResult
SearchScope
Selection
Occurrences
Occurrences.Rename
Occurrences.Unused
VisualWhitespace
-->
</style-scheme>