namespace AIStudio.Tools.DocumentSegments;
///
/// Words with their formatting and with the key which tells that formatting apart from others, see FormatSpans.
///
/// How the format describes formatting, e.g., the properties of a run.
/// The words.
/// The formatting of the words.
/// What tells this formatting apart from others; empty for none.
public readonly record struct KeyedWords(string Text, TFormat Format, string FormatKey);