I will venture a guess, that your "text editor" is probably more a word processing document editor, like Word. When you copy and paste from that type of editor, you are also copying the embedded formats, e.g. point sizes and styles.
If you want straight text, use a pure text editor like Notepad.
Danno