mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-01 01:25:27 +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:
		 Martin Costello
					Martin Costello
				
			
				
					committed by
					
						 Patrik Svensson
						Patrik Svensson
					
				
			
			
				
	
			
			
			 Patrik Svensson
						Patrik Svensson
					
				
			
						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; | ||||
|     } | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user