|
TextMateLib 1.0
Modern C++ implementation of the TextMate syntax highlighting engine
|
Result from tokenizing a single line with encoded tokens. More...
#include </home/runner/work/TextMateLib/TextMateLib/packages/tml-cpp/src/c_api.h>
Public Attributes | |
| uint32_t * | tokens |
| Array of encoded tokens. | |
| int32_t | tokenCount |
| Number of tokens in the array. | |
| TextMateStateStack | ruleStack |
| State at end of line (pass to next line's tokenization) | |
| int32_t | stoppedEarly |
| Non-zero if tokenization stopped before end (time limit hit) | |
Result from tokenizing a single line with encoded tokens.
Alternative to TextMateTokenizeResult that uses compact 32-bit token encoding rather than decoded scopes. Used by textmate_tokenize_line2() for performance.
Memory Ownership: Caller must free this structure using textmate_free_tokenize_result2().