We recently got Stata 16 installed on our server (a shared Linux box running Red Hat 7), and the new line-wrapping feature in the do-file editor is driving me crazy. There is almost no circumstance when I would want a code-editor to automatically wrap lines--even with very long commands, I'd much rather create manual line breaks (either with /// or #delimit so that I can manage white-space and keep the code readable.

The problem is that I can't get line wrapping to stay turned off. I can uncheck "Wrap lines" under the View menu, but then something will trigger the lines to wrap again. Oddly, opening up the Edit menu causes it to toggle back again. I've gone into the preferences menu (Edit>Preferences) and unchecked word wrapping there, but it doesn't seem to stick from one Stata session to the next (and even with line wrapping unchecked in preferences and the View menu, still sometimes it will toggle on briefly).

Is there any way to set this behavior permanently off, perhaps in my user profile?