I don't know how this happened but the full text of my document, including titles and everything, is shown as a column of one letter per line, aligned to the left, as shown in the picture. Also, the rulers disappeared, even though the option to show them is turned on, both in the view tab and in the advanced options.