You could use "nano -w" instead of plain nano. If I remember correctly, default installation doesn't bring that as an alias. That way lines won't get messed up. If you want to tweak xorg.conf using a graphical text editor, remember to replace sudo with gksudo (GNOME) or kdesu (in KDE).