How do I wrap lines in Notepad++ after N symbols?
I would like to have my lines in plain text in Notepad++ wrapped (soft wrapping for display, not insertion of line ends) after a reasonable amount of symbols (like 65 or 80). Is it possible?
The only option I came across is wrapping at window width, which gives ridiculous results provided one uses high resolution, non-gigantic fonts and maximized windows.
Solution 1:
According to this source you can somewhat mimic such behavior at least since Notepad++ 5.7
- Select “View” from menu bar.
- From the dropdown menu that appears click on “Word wrap” option.
- either open another editor in other view and move the divider (or alternatively resize editor window) until text wraps at the desired number of characters
Solution 2:
First Install the TextFX
plugin from the plugin menu. Note: it available only for 32-bit version of Notepad++.
You can split long lines with this menu command: TextFX -> TextFX Edit -> ReWrap Text to (Clipboard or 72) width
which means if you want to rewrap to something other than 72 characters you should type and copy that number (without any spaces) to clipboard and then use this option.
It works in my Notepad++ v6.9 and you have to select the lines you want to split.