Copy Notepad++ text with formatting?
Here is an image from notepad++ when you select text to copy as html. and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports “Paste Special”):
Here is an image from notepad++ when you select text to copy as html. and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports “Paste Special”):
Add space characters to the end of the first line of file1 until it is longer than the longest line in file1. Do a column mode selection of the entire contents of file 2. Do this by holding the ALT key down while dragging the mouse across the file. As you drag you should see … Read more
That functionality is already built into Notepad++. From the “Edit” menu, select “EOL Conversion” -> “UNIX/OSX Format”. screenshot of the option for even quicker finding (or different language versions) You can also set the default EOL in notepad++ via “Settings” -> “Preferences” -> “New Document/Default Directory” then select “Unix/OSX” under the Format box.
Notepad++ v6.5 Search menu -> Find… -> Mark tab -> Find what: your search text, check Bookmark Line, then Mark All. This will bookmark all the lines with the search term, you’ll see the blue circles in the margin. Then Search menu -> Bookmark -> Remove Bookmarked Lines. This will delete all the bookmarked lines. … Read more
For any new document: Settings -> Preferences -> New Document (left pane) -> New Document (right pane) -> Format (Line ending) -> Windows (CR LF) / Unix (LF) / Macintosh (CR) And for an already-open document: Edit -> EOL Conversion
Notepad++ will only auto-insert subsequent indents if you manually indent the first line in a block; otherwise you can re-indent your code after the fact using TextFX > TextFX Edit > Reindent C++ code.
The Replace dialog can handle extended characters like EOL. Just change “Search Mode” to “Extended”, and you can work with EOL (\r\n in Windows or \n in Unix), tabs (\t), etc. You can also use the Find in Files tab of the dialog to do the replace across multiple files.
If you look in the same menu. Click “Convert to UTF-8.”
Try Plugins -> XML Tools -> Pretty Print (libXML) or (XML only – with line breaks Ctrl + Alt + Shift + B) You may need to install XML Tools using your plugin manager in order to get this option in your menu. In my experience, libXML gives nice output but only if the file … Read more
Try a regular expression replace of (good)|(great)|(fine) with (?1bad)(?2worse)(?3not). The search looks for either of three alternatives separated by the |. Each alternative has ist own capture brackets. The replace uses the conditional form ?Ntrue-expression:false-expression where N is decimal digit, the clause checks whether capture expression N matches. Tested in Notepad++ 6.3 Update: You can … Read more