Commit 302565d 1 parent 7fedac2 commit 302565d Copy full SHA for 302565d
File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ public class Block : ITextGenerator
65
65
public List < Block > Blocks { get ; set ; }
66
66
67
67
private bool hasIndentChanged ;
68
- private bool isSubBlock ;
69
68
70
69
public Func < bool > CheckGenerate ;
71
70
@@ -80,15 +79,14 @@ public Block(BlockKind kind)
80
79
Blocks = new List < Block > ( ) ;
81
80
Text = new TextGenerator ( ) ;
82
81
hasIndentChanged = false ;
83
- isSubBlock = false ;
84
82
}
85
83
86
84
public void AddBlock ( Block block )
87
85
{
88
86
if ( Text . StringBuilder . Length != 0 || hasIndentChanged )
89
87
{
90
88
hasIndentChanged = false ;
91
- var newBlock = new Block { Text = Text . Clone ( ) , isSubBlock = true } ;
89
+ var newBlock = new Block { Text = Text . Clone ( ) } ;
92
90
Text . StringBuilder . Clear ( ) ;
93
91
94
92
AddBlock ( newBlock ) ;
You can’t perform that action at this time.
0 commit comments