@@ -151,6 +151,20 @@ public EndOfLineCommentStyle EndOfLineCommentStyle
151151            } 
152152        } 
153153
154+         private  EmptyLineHandling  _emptyLineHandlingMethod ; 
155+         public  EmptyLineHandling  EmptyLineHandlingMethod 
156+         { 
157+             get  =>  _emptyLineHandlingMethod ; 
158+             set 
159+             { 
160+                 if  ( _emptyLineHandlingMethod  !=  value ) 
161+                 { 
162+                     _emptyLineHandlingMethod  =  value ; 
163+                     OnPropertyChanged ( ) ; 
164+                 } 
165+             } 
166+         } 
167+ 
154168        private  bool  _forceCompilerDirectivesInColumn1 ; 
155169        public  bool  ForceCompilerDirectivesInColumn1 
156170        { 
@@ -398,6 +412,7 @@ private IIndenterSettings GetCurrentSettings()
398412                AlignDims  =  AlignDims , 
399413                EndOfLineCommentColumnSpaceAlignment  =  EndOfLineCommentColumnSpaceAlignment , 
400414                EndOfLineCommentStyle  =  EndOfLineCommentStyle , 
415+                 EmptyLineHandlingMethod  =  EmptyLineHandlingMethod , 
401416                ForceCompilerDirectivesInColumn1  =  ForceCompilerDirectivesInColumn1 , 
402417                ForceDebugStatementsInColumn1  =  ForceDebugStatementsInColumn1 , 
403418                ForceDebugPrintInColumn1  =  ForceDebugPrintInColumn1 , 
@@ -427,6 +442,7 @@ public void UpdateConfig(Configuration config)
427442            config . UserSettings . IndenterSettings . AlignDims  =  AlignDims ; 
428443            config . UserSettings . IndenterSettings . EndOfLineCommentColumnSpaceAlignment  =  EndOfLineCommentColumnSpaceAlignment ; 
429444            config . UserSettings . IndenterSettings . EndOfLineCommentStyle  =  EndOfLineCommentStyle ; 
445+             config . UserSettings . IndenterSettings . EmptyLineHandlingMethod  =  EmptyLineHandlingMethod ; 
430446            config . UserSettings . IndenterSettings . ForceCompilerDirectivesInColumn1  =  ForceCompilerDirectivesInColumn1 ; 
431447            config . UserSettings . IndenterSettings . ForceDebugStatementsInColumn1  =  ForceDebugStatementsInColumn1 ; 
432448            config . UserSettings . IndenterSettings . ForceDebugPrintInColumn1  =  ForceDebugPrintInColumn1 ; 
@@ -458,6 +474,7 @@ private void TransferSettingsToView(IIndenterSettings toLoad)
458474            AlignDims  =  toLoad . AlignDims ; 
459475            EndOfLineCommentColumnSpaceAlignment  =  toLoad . EndOfLineCommentColumnSpaceAlignment ; 
460476            EndOfLineCommentStyle  =  toLoad . EndOfLineCommentStyle ; 
477+             EmptyLineHandlingMethod  =  toLoad . EmptyLineHandlingMethod ; 
461478            ForceCompilerDirectivesInColumn1  =  toLoad . ForceCompilerDirectivesInColumn1 ; 
462479            ForceDebugStatementsInColumn1  =  toLoad . ForceDebugStatementsInColumn1 ; 
463480            ForceDebugPrintInColumn1  =  toLoad . ForceDebugPrintInColumn1 ; 
0 commit comments