Allow setting spaces to zero.

This fixes #9899 by allowing users to set indentation to zero and still can delete or navigate the existing white spaces in the page.

cc @redmunds Can you review this?