.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/CodeHighlighter.xml. .. _class_CodeHighlighter: CodeHighlighter =============== **Inherits:** :ref:`SyntaxHighlighter` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Dictionary` | :ref:`color_regions` | ``{}`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Color` | :ref:`function_color` | ``Color(0, 0, 0, 1)`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Dictionary` | :ref:`keyword_colors` | ``{}`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Dictionary` | :ref:`member_keyword_colors` | ``{}`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Color` | :ref:`member_variable_color` | ``Color(0, 0, 0, 1)`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Color` | :ref:`number_color` | ``Color(0, 0, 0, 1)`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ | :ref:`Color` | :ref:`symbol_color` | ``Color(0, 0, 0, 1)`` | +-------------------------------------+------------------------------------------------------------------------------------+-----------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_color_region` **(** :ref:`String` start_key, :ref:`String` end_key, :ref:`Color` color, :ref:`bool` line_only=false **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_keyword_color` **(** :ref:`String` keyword, :ref:`Color` color **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_member_keyword_color` **(** :ref:`String` member_keyword, :ref:`Color` color **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_color_regions` **(** **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_keyword_colors` **(** **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear_member_keyword_colors` **(** **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_keyword_color` **(** :ref:`String` keyword **)** |const| | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Color` | :ref:`get_member_keyword_color` **(** :ref:`String` member_keyword **)** |const| | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_color_region` **(** :ref:`String` start_key **)** |const| | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_keyword_color` **(** :ref:`String` keyword **)** |const| | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_member_keyword_color` **(** :ref:`String` member_keyword **)** |const| | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_color_region` **(** :ref:`String` start_key **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_keyword_color` **(** :ref:`String` keyword **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_member_keyword_color` **(** :ref:`String` member_keyword **)** | +---------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_CodeHighlighter_property_color_regions: .. rst-class:: classref-property :ref:`Dictionary` **color_regions** = ``{}`` .. rst-class:: classref-property-setget - void **set_color_regions** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_color_regions** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_function_color: .. rst-class:: classref-property :ref:`Color` **function_color** = ``Color(0, 0, 0, 1)`` .. rst-class:: classref-property-setget - void **set_function_color** **(** :ref:`Color` value **)** - :ref:`Color` **get_function_color** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_keyword_colors: .. rst-class:: classref-property :ref:`Dictionary` **keyword_colors** = ``{}`` .. rst-class:: classref-property-setget - void **set_keyword_colors** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_keyword_colors** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_member_keyword_colors: .. rst-class:: classref-property :ref:`Dictionary` **member_keyword_colors** = ``{}`` .. rst-class:: classref-property-setget - void **set_member_keyword_colors** **(** :ref:`Dictionary` value **)** - :ref:`Dictionary` **get_member_keyword_colors** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_member_variable_color: .. rst-class:: classref-property :ref:`Color` **member_variable_color** = ``Color(0, 0, 0, 1)`` .. rst-class:: classref-property-setget - void **set_member_variable_color** **(** :ref:`Color` value **)** - :ref:`Color` **get_member_variable_color** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_number_color: .. rst-class:: classref-property :ref:`Color` **number_color** = ``Color(0, 0, 0, 1)`` .. rst-class:: classref-property-setget - void **set_number_color** **(** :ref:`Color` value **)** - :ref:`Color` **get_number_color** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_property_symbol_color: .. rst-class:: classref-property :ref:`Color` **symbol_color** = ``Color(0, 0, 0, 1)`` .. rst-class:: classref-property-setget - void **set_symbol_color** **(** :ref:`Color` value **)** - :ref:`Color` **get_symbol_color** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_CodeHighlighter_method_add_color_region: .. rst-class:: classref-method void **add_color_region** **(** :ref:`String` start_key, :ref:`String` end_key, :ref:`Color` color, :ref:`bool` line_only=false **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_add_keyword_color: .. rst-class:: classref-method void **add_keyword_color** **(** :ref:`String` keyword, :ref:`Color` color **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_add_member_keyword_color: .. rst-class:: classref-method void **add_member_keyword_color** **(** :ref:`String` member_keyword, :ref:`Color` color **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_clear_color_regions: .. rst-class:: classref-method void **clear_color_regions** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_clear_keyword_colors: .. rst-class:: classref-method void **clear_keyword_colors** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_clear_member_keyword_colors: .. rst-class:: classref-method void **clear_member_keyword_colors** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_get_keyword_color: .. rst-class:: classref-method :ref:`Color` **get_keyword_color** **(** :ref:`String` keyword **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_get_member_keyword_color: .. rst-class:: classref-method :ref:`Color` **get_member_keyword_color** **(** :ref:`String` member_keyword **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_has_color_region: .. rst-class:: classref-method :ref:`bool` **has_color_region** **(** :ref:`String` start_key **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_has_keyword_color: .. rst-class:: classref-method :ref:`bool` **has_keyword_color** **(** :ref:`String` keyword **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_has_member_keyword_color: .. rst-class:: classref-method :ref:`bool` **has_member_keyword_color** **(** :ref:`String` member_keyword **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_remove_color_region: .. rst-class:: classref-method void **remove_color_region** **(** :ref:`String` start_key **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_remove_keyword_color: .. rst-class:: classref-method void **remove_keyword_color** **(** :ref:`String` keyword **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_CodeHighlighter_method_remove_member_keyword_color: .. rst-class:: classref-method void **remove_member_keyword_color** **(** :ref:`String` member_keyword **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`