Change the box from a listbox to a rich edit box. That way, all of the emphasis on the spaces will be saved, ie: indentations.