mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-19 10:12:50 +08:00
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:
parent
8da05bcc17
commit
d30b08201d
@ -4,7 +4,6 @@ namespace Spectre.Console;
|
||||
/// A paragraph of text where different parts
|
||||
/// of the paragraph can have individual styling.
|
||||
/// </summary>
|
||||
[DebuggerDisplay("{_text,nq}")]
|
||||
public sealed class Paragraph : Renderable, IHasJustification, IOverflowable
|
||||
{
|
||||
private readonly List<SegmentLine> _lines;
|
||||
@ -281,4 +280,4 @@ public sealed class Paragraph : Renderable, IHasJustification, IOverflowable
|
||||
|
||||
return lines;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user