Your PDF is a product of the original file. Check your original file for page sizes and margins. It may be that although your text editor does not wrap the test during editing, that it performs this fuction to match a default paper size when you print. If you can change the paper size to the output that you want that may solve your problem.
good luck
Aloha,
cg