24
9
How can I reformat a paragraph in Notepad++?
In UltraEdit I can select one or more long lines and reformat the paragraph to the set right margin (e.g. 60 or 80) by menu command Format/Reformat Paragraph, keyboard shortcut Ctrl + T. Note that it is hard formatting (inserting line ends), not how the document is displayed in the editor.
How can the equivalent be done in Notepad++?
1The clipboard thing is impractical as I am constantly using this feature, but the hardcoded value of 72 is probably acceptable. I will see if I can figure out how to attach a keyboard shortcut to the ReWrap command. – Peter Mortensen – 2010-01-24T23:55:20.003
Note that TextFX is not supported with 64-bit Notepad++. You can, however, keep a 32-bit and a 64-bit version of the program on your machine, and use the 32-bit version to run TextFX. Alternatively, if all you want to do is wrap lines, you can use the methods described in the other answers to this question, which work in the 64-bit version (at least in v7.5.4). – Alan – 2018-01-22T17:00:22.163
1Good-However. It will 'join' my lines together. It does not respect the new-lines I have manually inserted. – Felipe Alvarez – 2010-09-17T11:12:06.910
This doesn't preserve indentation, either – endolith – 2012-10-16T15:44:51.103