Represents a single token in tokenized text.
More...
#include </home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/c_api.h>
|
|
int32_t | startIndex |
| | Start position in the line (0-based)
|
| |
|
int32_t | endIndex |
| | End position (exclusive)
|
| |
|
int32_t | scopeDepth |
| | Number of scopes in the scope hierarchy.
|
| |
|
char ** | scopes |
| | Array of scope strings (e.g., "keyword.control", "string.quoted.double")
|
| |
Represents a single token in tokenized text.
A token maps a range of text to a scope hierarchy (list of scopes). The scopes determine styling through theme matching.
Definition at line 58 of file c_api.h.
The documentation for this struct was generated from the following files:
- /home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/c_api.h
- /home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/session.cpp