NotePad + + is a small and powerful installation package that can support many languages. Here is a brief description of the next two functions:
First, add the number of lines before the code:
1, with Notepad + + open a file, general Notepad + + will automatically recognize what the language of the file, the keyword will generally have a special color logo. If you can't tell the language, you can set it up automatically. Such as:
2, the left mouse button to select the number of lines to add code, or the mouse is positioned at the beginning of the code to add (default to the document plus), and then "edit"-"column editing":
Open the following dialog box and click OK after setting the following:
The software automatically completes the line additions. Such as:
3, if the situation occurs, it is because the code from the beginning of the input, you can add the code before adding, press the "tab" key, and then add just fine.
Second, how to copy the code, and make the code format unchanged, the keyword color is unchanged:
1. Select the part of the code you want to paste, then click on the "plugins" option in the menu bar, select "nppexport", and then select "copy HTML Toclipboard" as shown in:
Then paste into Word:
Ok!
Reference documents:
Http://bbs.elecfans.com/jishu_467739_1_1.html
NotePad + +: Add code lines and format invariant copy code