using System; namespace MApplication { internal class DisplayLineChunk { public DisplayLineChunk(ReadOnlyMemory text, Style style) { Text = text; Style = style; } public ReadOnlyMemory Text { get; } public Style Style { get; } public int Width => Text.Length; } }