// Delete all blank lines in the active document (JavaScript for EmEditor)
Redraw = false;
nLines = document.GetLines();
for( i = 1; i < nLines; i++ ){
if( document.GetLine( i ) == "" ){
document.selection.SetActivePoint( eePosLogical, 1, i );
document.selection.Delete();
i--;
nLines--;
}
}
Redraw = true;