code: def _show_previous_blank_lines(block):
          
          # set previous blank lines visibles
          pblock = block.previous()
          while (pblock.text().strip() == '' and
                 pblock.blockNumber() >= 0):
              pblock.setVisible(True)
              pblock = pblock.previous()
docs: Show the block previous blank lines