I've been using kwrite for a long time and love the way I can turn on/off line wrapping easily. Now I'm running Ubuntu with GNOME, trying to avoid any KDE at all on this particular machine. Gedit seems to always wrap lines with no way to turn it off. Am I missing some well-hidden option?
Edit > Preferences > View Tab > Text Wrapping options right there, front and center. Not "well hidden" by any means.
As of gedit 10.4, there is no preferences dialog anymore. Some of the options are now in the status bar, but not word-wrapping.
You can turn word wrapping off by tweaking the GSettings settings. To do so, run the following command in your terminal:
gsettings set org.gnome.gedit.preferences.editor wrap-mode none
none, you can also turn it back on with either
word-char word wrapping.
When running as root there is no Preferences menu
By default when you run
root there is no top level menu. The only alternative (in my version 3.18.3) is to click on the last drop down menu on the lower right corner:
Notice I have "unchecked" text wrap option to make
/var/log/syslog file more readable for debugging output.