Need to write some note about some program, such note contains source code copied from the source code of that program which need to prevent line wrap. The note also contains comments (not comments in the source code with need to prevent line wrap too) about the source code which need a text editor that can do line wrap like Office Word.
This is like Office Word plus "pasted without line wrap" which create a paragraph that have very long page width.
The note is mainly a note which can be formated like set font size/colors. It is not a source code with comments!
The platform is Windows 10.