Fix #3100: New lines always create white spaces

This is a possible fix for #3100. The idea is that now changing Spaces and Tabs both also change the indent unit option of all the open editors, since Indent Unit is used for both and not just for Spaces.