In Command menu click Remove Empty Lines menu item. From the current line or selected text will be removed the empty lines. When there is no empty lines in the current line or selection Remove Empty Lines menu item will be disabled.