Style extraction and reconstruction utilities for MAGIC schema. These functions enable parsing styled text and reconstructing it from MAGIC log entries.
Validates that style ranges don't exceed message bounds.
Plain text message
Optional
Array of style ranges
True if all ranges are valid
Style extraction and reconstruction utilities for MAGIC schema. These functions enable parsing styled text and reconstructing it from MAGIC log entries.