From d30b08201d46ab34dafa007d681c2dbf9b399133 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Thu, 22 Feb 2024 20:45:22 +0000 Subject: [PATCH] Remove [DebuggerDisplay] from Paragraph The `_text` field no longer exists, so hovering over instances in the debugger just shows an error message. --- src/Spectre.Console/Widgets/Paragraph.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Spectre.Console/Widgets/Paragraph.cs b/src/Spectre.Console/Widgets/Paragraph.cs index 5b884b349..f06d6c17c 100644 --- a/src/Spectre.Console/Widgets/Paragraph.cs +++ b/src/Spectre.Console/Widgets/Paragraph.cs @@ -4,7 +4,6 @@ namespace Spectre.Console; /// A paragraph of text where different parts /// of the paragraph can have individual styling. /// -[DebuggerDisplay("{_text,nq}")] public sealed class Paragraph : Renderable, IHasJustification, IOverflowable { private readonly List _lines; @@ -281,4 +280,4 @@ private List SplitLines(int maxWidth) return lines; } -} \ No newline at end of file +}