If you are on Linux or Mac, try eclipse --launcher.GTK_version 2
It could be a GTK 3 bug.
In any case, you can edit the .metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.wst.xml.core.prefs file and put indentationSize = 4 there. It's better to do this when Eclipse is closed.
source share