File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 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
6565 public List < Block > Blocks { get ; set ; }
6666
6767 private bool hasIndentChanged ;
68- private bool isSubBlock ;
6968
7069 public Func < bool > CheckGenerate ;
7170
@@ -80,15 +79,14 @@ public Block(BlockKind kind)
8079 Blocks = new List < Block > ( ) ;
8180 Text = new TextGenerator ( ) ;
8281 hasIndentChanged = false ;
83- isSubBlock = false ;
8482 }
8583
8684 public void AddBlock ( Block block )
8785 {
8886 if ( Text . StringBuilder . Length != 0 || hasIndentChanged )
8987 {
9088 hasIndentChanged = false ;
91- var newBlock = new Block { Text = Text . Clone ( ) , isSubBlock = true } ;
89+ var newBlock = new Block { Text = Text . Clone ( ) } ;
9290 Text . StringBuilder . Clear ( ) ;
9391
9492 AddBlock ( newBlock ) ;
You can’t perform that action at this time.
0 commit comments