TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
Loading...
Searching...
No Matches
TextMateColorMap Struct Reference

Theme color map returned by textmate_registry_get_color_map() More...

#include </home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/c_api.h>

Public Attributes

char ** colors
 Array of hex color strings (e.g., "#RRGGBB" or "#RRGGBBAA")
 
int32_t colorCount
 Number of colors in the array.
 

Detailed Description

Theme color map returned by textmate_registry_get_color_map()

Contains the color palette used by encoded tokens. Foreground/background color IDs in encoded token metadata are indices into this map.

Memory Ownership: Caller must free this structure using textmate_free_color_map().

Definition at line 124 of file c_api.h.


The documentation for this struct was generated from the following file: