Module syntect::util [] [src]

Convenient utility methods, mostly for printing syntect data structures prettily to the terminal.

Functions

as_24_bit_terminal_escaped

Formats the styled fragments using 24-bit colour terminal escape codes. Meant for debugging and testing. It's currently fairly inefficient in its use of escape codes.

debug_print_ops

Print out the various push and pop operations in a vector with visual alignment to the line. Obviously for debugging.