For this case one of the nice features of UE is:
Format --> Tabs to Spaces
Format --> Trim trailing spaces
That will remove any funky formatting and then you can create your own formatting.
Maybe you just have WORD WRAP enabled on Notepad. Take a look and make sure you turn it off.
If you're editing a text file created on Linux then the formatting will be wrong for Windows. UE has something for that too
File --> Conversions --> Unix/Mac to Dos
Without getting back into a Text Editor thread - this one here is pretty capable and free
Notepad++ http://notepad-plus.sourceforge.net/uk/site.htm{okay all you others can input your favorite free editor now}