Commit 0165eb5b authored by Christian Hergert's avatar Christian Hergert
Browse files

style: make clang semantic highlighter style agnostic

This tries to use more generic style names that are more common across
style schemes.
parent d97a2612
......@@ -100,14 +100,13 @@
<style name="c:type" foreground="#669900" bold="true"/>
<style name="c:macro-name" foreground="#677685" bold="false"/>
<style name="c:enum-name" foreground="pink1" bold="false"/>
<style name="c:function-name" foreground="#4186A8" bold="false"/>
<style name="def:comment" foreground="blue1"/>
<style name="def:constant" foreground="blue2"/>
<style name="def:constant" foreground="pink1"/>
<style name="def:doc-comment-element" italic="true"/>
<style name="def:error" line-background="#rgba(235,202,210,.4)" />
<style name="def:floating-point" foreground="blue2"/>
<style name="def:function" foreground="pink1"/>
<style name="def:function" foreground="#4186A8"/>
<style name="def:decimal" foreground="purple1"/>
<style name="def:base-n-integer" foreground="blue2"/>
<style name="def:boolean" foreground="pink1"/>
......@@ -135,6 +134,7 @@
<style name="python:builtin-object" foreground="og1"/>
<style name="python:keyword" foreground="green1" bold="false"/>
<style name="python:module-handler" foreground="purple1" bold="false"/>
<style name="python:function-name" foreground="pink1"/>
<style name="xml:tags" foreground="chameleon3"/>
<style name="xml:namespace" bold="true"/>
......
......@@ -26,8 +26,8 @@ G_BEGIN_DECLS
#define IDE_TYPE_CLANG_HIGHLIGHTER (ide_clang_highlighter_get_type())
#define IDE_CLANG_HIGHLIGHTER_TYPE "c:type"
#define IDE_CLANG_HIGHLIGHTER_FUNCTION_NAME "c:function-name"
#define IDE_CLANG_HIGHLIGHTER_ENUM_NAME "c:enum-name"
#define IDE_CLANG_HIGHLIGHTER_FUNCTION_NAME "def:function"
#define IDE_CLANG_HIGHLIGHTER_ENUM_NAME "def:constant"
#define IDE_CLANG_HIGHLIGHTER_MACRO_NAME "c:macro-name"
G_DECLARE_FINAL_TYPE (IdeClangHighlighter, ide_clang_highlighter,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment