Remove [DebuggerDisplay] from Paragraph

The `_text` field no longer exists, so hovering over instances in the debugger just shows an error message.
This commit is contained in:
Martin Costello 2024-02-22 20:45:22 +00:00 committed by Patrik Svensson
parent 8da05bcc17
commit d30b08201d

View File

@ -4,7 +4,6 @@ namespace Spectre.Console;
/// A paragraph of text where different parts /// A paragraph of text where different parts
/// of the paragraph can have individual styling. /// of the paragraph can have individual styling.
/// </summary> /// </summary>
[DebuggerDisplay("{_text,nq}")]
public sealed class Paragraph : Renderable, IHasJustification, IOverflowable public sealed class Paragraph : Renderable, IHasJustification, IOverflowable
{ {
private readonly List<SegmentLine> _lines; private readonly List<SegmentLine> _lines;
@ -281,4 +280,4 @@ public sealed class Paragraph : Renderable, IHasJustification, IOverflowable
return lines; return lines;
} }
} }