Phil, what you are seeing might be an end-of-line issue. Try opening the file in WordPad.
Notepad doesn’t handle Unix type text files properly.
Might try Word using UTF-8 Unicode translation. Should fix the issue.
I just downloaded some generated gcode and it has linebreaks like normal:
Like @LarryM said, it could be an “end of the line” issue.
Use Notepad ++
there are LF’s that notepad can’t see
Basically in hex its 10 and 13
Line feed and carrage return
My guess that the g-code only has Line feeds and thats why Notepad makes it one long line.
Notepad ++ is a programming editor and is free. I use it all the time.
I use a program called brackets http://brackets.io/ it also comes with fusion 360
Notepad ++ has tons of features not just any editor. It can do hex and more.