namespace AIStudio.Tools.DocumentSegments;
///
/// Words of a document which follow each other in the same formatting.
///
/// How the format describes formatting, e.g., the properties of a run.
/// What tells this formatting apart from others; empty for none.
/// The formatting, as the first of these words had it.
/// The words.
public sealed record FormatSpan(string FormatKey, TFormat Format, string Text);