Free Download of the latest and old versions of EditPlus-the best text editor + tips

Source: Internet
Author: User
Tags html header perl script ultraedit nod32 antivirus

EditPlus is a powerful text editor with unlimited Undo/Redo (Undo), spell check, automatic line feed, column number tag, search replacement, multi-file editing at the same time, full screen browsing function. It also has a good function, that is, it has the function of monitoring the clipboard, which can be synchronized to the clipboard to automatically paste text into the EditPlus editing window, so that you do not need to do the pasting step. In addition to HTML, CSS, PHP, ASP, Perl, C/C ++, Java, JavaScript, VBScript, the complete HTML and CSS commands are also built in. For friends who are used to editing web pages with notepad, it can help you save more than half the time to create web pages. If you have installed IE 3.0 or later, it will also be integrated with IE browser in the EditPlus window, so that you can preview the edited webpage directly (if IE is not installed, you can also specify the browser path ).

The following is fromMomoComments on EditPlus: After comparison and use of various text editing software, I found that the best text editor in Windows is EditPlus.

Of course, I know that different users may depend on different functions provided by the text editor, but I still recommendEditplusBecause it has the following outstanding advantages: reference content 1.Fast startup. This is almost the most amazing feature. I know that UltraEdit is an extremely rich and powerful editor, but it is too slow to start, I have no reason to open a few lines of text files for several seconds.

2.Simple Interface. This is also a very pleasant feature, www.x-force.cn may be some more Geek users will be on the complex and plump Program Main Menu admiration, however, I do not want to sacrifice more space on the computer screen for some less commonly used functions. On the contrary, I like the "Keep it simple, stupid" interface design, which can be used, enough.

3.Complete code highlighting. I have been using EmEditor 6.0 recently, but when writing a Perl script, I found that the syntax highlighted by EmEditor isProblemIt cannot even correctly recognize Perl annotation statements such as = comment... = cut. In EditPlus, such annotations are well supported. Also, in EmEditor, multiple double quotation marks are often highlighted incorrectly. I thought I had written the wrong code ......

4.Code folding. This feature does not seem to be provided before EditPlus, but it is now available and works well, at least much better than EmEditor. After I became addicted to my blog, I often felt tired of analyzing the HTML/CSS template code, because I had to figure out the internal structure between the elements of the webpage to effectively control their display effect. I mentioned in a previous articleAnalyze the webpage source code with the built-in code folding function of notepad ++But to be honest, the open-source software does have a lot to be improved, especially for Chinese support, which is far inferior to commercial software such as EditPlus and EmEditor.

5.Multi-document editing interface. This is a more detailed feature. In EmEditor, if you close the last activity document, the main program will also be closed, which brings me some inconvenience. Especially when I want to create a new blank document, I have to restart the editor in the Start Menu. In EditPlus, as long as you do not click the close button in the top-right corner, the editor is always open. I personally think this is more convenient. In addition, EditPlus has many notable features in the interface design. I cannot describe this unique attribute well, but I can make a metaphor, if you think of all kinds of text editors as a pretty girl, EditPlus is a slim, slim, and elegant type. In contrast, EmEditor is a little rich, and UltraEdit is simply a fat girl.

Finally, if you haven't usedEditplusWe recommend you download the package and try it out. You may be pleasantly surprised.


EditPlus: reference contentEditplus tips

[1] apply a regular expression -- replace the specified content with the end of the row
The original text is shown in the following two lines
Abc aaaaa
123 abc 444

If you want to encounter "abc" each time, replace "abc" and the content from the end to the end of the line with "abc efg"
That is, the above text is replaced:
Abc efg
123 abc efg

Solution:
① In the replace dialog box, enter "abc. *" in the search content .*"
② Select the "Regular Expression" check box and click "replace all ".
The meaning of the symbol is as follows:
"." = Match any character
"*" = Matches 0 times or more

Note: It is actually a replacement of regular expressions. Here we just put some previously proposedProblemSort out the regular expressions, which can be used to create thousands of special cases.

[2] Regular Expression Application -- Digital replacement (Microshaoft @ CCF, jiuk2k @ CCF)
We hope
Asdadas123asdas456asdasd789asdasd
Replace:
Asdadas [1, 123] asdasdas [2, 456] asdasdasd [2, 789] asdasd

In the replace dialog box, select the regular expression check box;
Enter "[0-9] [0-9] [0-9] [0-9]" in the search content, without quotation marks
"Replace with:" And enter "[/0/1/2]" without quotation marks.
The range is the range for your operation, and then you can choose to replace it.

In fact, this is a special case for regular expressions. "[0-9]" indicates matching 0 ~ For any special case between 9, "[a-z]" indicates matching ~ Any special case between z
The preceding statement uses "[0-9]" to indicate three consecutive numbers.
"/0" indicates the prototype corresponding to the first "[0-9]", and "/1" indicates the prototype corresponding to the second "[0-9 ]".
"[", "]" Is a simple character, indicating that "[" or "]" is added. If "Other/0/1/2" is entered, the result is replaced:

Asdadas other 123 other asdasdas other 456 other asdasdasd other 789 other asdasd

Function enhancement (by jiuk2k @ CCF ):
If you change "[0-9] [0-9] [0-9]" to "[0-9] * [0-9]", corresponds to 1, 123, 12345, or...
Customized as needed

There are a lot of related content. You can refer to the regular expression syntax for a closer look.

[3] Regular Expression Application -- delete the specified character at the end of each row
These characters also appear in the row, so they cannot be simply replaced.
For example
12345 1265345
2345
Delete "345" at the end of each row"
This is also the usage of the regular expression. In fact, it should be relatively simple to look at the regular expression carefully.ProblemThe solution is as follows:
Solution:
In the replace dialog box, enable the regular expression check box.
Enter "345 $" in the search content"
"$" Indicates matching from the end of the line

If match from the beginning of the line, you can use "^" to implement it. However, editplus has another function that can easily Delete the string at the beginning of the line.
A. Select the row to be operated.
B. Edit-format-Delete row comment
C. In the pop-up dialog box, enter the first character of the row to be cleared. OK.

[4] Regular Expression Application -- replace multiple rows with parentheses
The following code is contained in hundreds of webpages:
<Script LANGUAGE = "JavaScript1.1">
<! --
HtmlAdWH ('123', '123', '90 ');
// -->
</SCRIPT>
I want to remove them all, but I have found a lot of search & replace software that can only operate on "One Line.

EditPlus can open hundreds of webpage files smoothly, so it is fully qualified for this job.
The specific solution is to use a regular expression in Editplus. Because "(", ")" is used as a flag of a preset expression (or subexpression ),
"<Script LANGUAGE =" JavaScript1.1 ">/n <! --/NhtmlAdWH ('20140901', '2016090'.);/n // -->/n </SCRIPT>/n"
The system will prompt that it cannot be found, so it cannot be replaced. In this case, you can replace "(", ")" with any character mark, that is, full stop: ".". Replace
<Script LANGUAGE = "JavaScript1.1">/n <! --/NhtmlAdWH. '20140901', '2016090'.;/n // -->/n </SCRIPT>/n
In the replace dialog box, enable the regular expression option.

Supplement: (lucida @ DRL)
Special symbols such as () should be expressed with/(/). This is also a very standard regexp syntax, which can be written
<Script language = "javascript1.1">/n <! --/Nhtmladwh/('20140901', '2016090'/);/N // -->/n </SCRIPT>/n

[5] Regular Expression Application -- delete empty rows
Start editplus to open a text file to be processed.
① Select the "replace" command in the "Search" menu to bring up the text replacement dialog box. Select the "Regular Expression" check box, indicating that we want to use a regular expression in search and replacement. Then, select "current file" in "replacement range" to operate the current file.
2. click the button on the right of the "search content" combo box. A drop-down menu is displayed.
③ The following Operation adds a regular expression, which represents the blank row to be searched. (Tip: A blank line only contains space characters, tabs, and carriage returns. It must start with one of the three symbols and end with a carriage return, the key to searching for empty rows is to construct a regular expression that represents empty rows ).
Enter the regular expression "^ [/T] */n" in "Search". Note that there is a space character before/t.
(1) Select "match from the beginning of the line", and the character "^" appears in the "search content" combo box, indicating that the string to be searched must appear at the beginning of the line in the text.
(2) If you select "character in the range", a pair of brackets "[]" will be added after "^". The current insertion point is in the brackets. In regular expressions, brackets indicate that any character in the text matches the matching conditions.
(3) press the Space key to add a space character. A space character is a component of a blank line.
(4) Select "tab" and add "/t" representing the tab ".
(5) move the cursor, move the current insertion point to "]", and select "Match 0 times or more". This operation adds the asterisk (*). Asterisk indicates the space character or Tab character in the brackets "[]" in front of it. There are 0 or more characters in a row.
(6) Select "linefeed" and insert "/N" to indicate a carriage return.
④ The "Replace with" combo box is left empty, indicating that the searched content is deleted. Click "replace" to delete empty rows one by one, or click "replace all" to delete all empty rows.ProblemMay be a program BUG. You need to press the button several more times ).

[6] software skills-Precautions for keynotes
EditplusThe keyboard record of is somewhat similar to the macro operation of UltraEdit, but the function is relatively simple, and the recording file editing is poor.
Because the recording file cannot be edited, we recommend that you use a keyboard to avoid recording failures during recording. The following are key keyboard combinations:
Ctrl + F = call up the Search dialog box
Ctrl + H = call out the replacement dialog box
Alt + F4 = disabled, for example, closing the Search dialog box, closing the replace dialog box, etc.
Other Keyboard Shortcuts can be easily found in "Help-Shortcut Keys list", which is not detailed here.

[7] software skills-a convenient way to disable document labels
Right-click the document tag toolbar, select "tag options" in the pop-up menu, and select "close with the button in the middle of the mouse", which includes the scroll wheel of the mouse.

[8] software skills-how to remove the suffix prompt when EditPlus saves text files?
If you use EditPlus for text editing, you can create a text file and save it after editing. Although the text file is displayed in the file type drop-down list, EditPlus still asks if you want to add it ". txt "suffix, isn't it annoying?
Solution:
① Create an empty file named template.txt in the program directory"
② Success ", then OK
③ "File-New-text", an empty text file can be created. When the file is saved, the file automatically has the extension ". txt", which avoids the headache of confirmation.
④ The file name set in the template is called "template. ini". If it is in the same path as the main program, you can use the relative path
It works.
To automatically create a file with a certain suffix, use the same method as above.

[9] software skills-the solution to the failure to find the syntax file *. stx
The reason is that the specified syntax file does not exist or the path is set incorrectly. This is because the EditPlus syntax sets an absolute path for the file, and after you set the syntax file, copy the program to another directory, so that EditPlus cannot find the syntax file.
Solution:
In the main program directory, find Setting. ini. This is the file where EditPlus stores the syntax.
Search for text content suffixed with ". stx" and "acp", or find rows with drive characters, such
Syntax file = C:/Program Files/EditPlus 2/cpp. stx
Then, replace "C:/Program Files/EditPlus 2/" with the path of your current software.
The solution for other prompts that the file cannot be found is the same as above.

[10] software skills-set editplus to support other texts, such as Korean
Open the file in editplus and open the file dialog box. Click the ellipsis next to the "converter". The custom converter dialog box is displayed. Select the encoding method on the right, add it to the left and click OK. Select the encoding method from the drop-down list and open the file.

[11] software skills-FTP upload settings
"File-> remote operation-> FTP upload", set the parameters on the "Settings" tab ("/" such as "/web/" should be added before "subdirectory /"), click "OK" to return to the "FTP upload" tab, and then click "Upload". The "batch upload" setting is similar.

[12] software skills-how to disable the backup file function?
On the "parameter selection" File Option page, disable the "automatically create backup file when saving" option

[13] software skills-add grammar files, automatically complete files, and clip library files
To add *. STX (syntax file) or *. ACP (Automatic completion file ):
1. Select "parameter selection> Syntax"
2. Click the "add" button and name it. In the "extension" section, enter the corresponding extension (without ".").
3. Browse/Enter STX (part of the syntax file) and ACP (part of the Automatic completion file ).
Add a clip library file (*. CTL)
Copy the corresponding *. CTL file to the software installation directory and restart editplus. The system automatically identifies the file.

On the author's homepage, many syntaxes are automatically used to download files.
Http://editplus.com/files.html

[14] tool integration-compiler integration examples (Java, Borland C ++, Visual C ++, Inno Setup, NSIs)
On the "Tools> Parameter Selection> User Tools" option page, set steps
① Set the group name. You can leave it unspecified here.
② Click "add tool> application" and make the following settings
③ Various parameters similar to "$ (filepath)" can be obtained from the arrow drop-down menu on the right of the text box. The specific meanings are as follows:
Parameter description
$ (Filepath) file path (full name of the file, including the Directory and file name)
$ (Filedir) file directory (without file name)
$ (Filename) file name (without directory)
$ (FileNameNoExt) file name without extension (without directory)
$ (FileExt) Extension (current file)
$ (ProjectName) project name (current project name)
$ (CurLine) current row number (the row number at the cursor position)
$ (CurCol) Current column number (column number at the cursor position)
$ (CurSel) Current text (insert selected text)
$ (CurWord) current word (insert current word)
$ (WindowList) display the current window list and select a specific file

Example 1. Java compiler

Menu text: Java compiler
Command: c:/java/bin/javac.exe
Parameter: "$ (FilePath )"
Initial Directory: $ (FileDir)
Capture output: Enabled

To run compiled Java class files, you can perform the following settings:
Menu text: Java
Command: c:/java/bin/java.exe
Parameter: $ (FileNameNoExt)
Initial Directory: $ (FileDir)
The "command" part should be replaced with the actual Java interpreter path.

Example 2. Borland C ++

Menu text: Borland C
Command: c:/bc/bin/bcc32.exe
Parameter:-Ic:/bc/include-Lc:/bc/lib-n $ (FileDir) $ (FilePath)
Initial Directory: c:/bc/bin
Capture output: Enabled

Example 3. Visual C ++

Menu text: Visual C ++
Command: c:/msdev/vc98/bin/cl.exe
Parameter: "$ (FilePath )"
Initial Directory: $ (FileDir)
Capture output: Enabled

Example 4. Inno Setup
Menu text: Compile Inno
Command: C:/Program Files/Inno Setup 4/Compil32.exe"
Parameter:/cc $ (FileName)
Initial Directory: $ (FileDir)
Capture output: Enabled

Example 5. nsis
Menu text: Compile nsis
Command: C:/NSIS/makensis.exe
Parameter: $ (FileName)
Initial Directory: $ (FileDir)
Capture output: Enabled

Example 6. C #
Menu text: compile C #
Command: C:/WINDOWS/Microsoft. NET/Framework/v1.0.3705/csc.exe
Parameter: $ (FileName)
Initial Directory: $ (FileDir)
Capture output: Enabled

In the preceding settings, the absolute path of the compiler must be used in the command section.

After setting, you can run the corresponding tool in the "Tools" menu. The running result is displayed in the output window at the bottom. You can also run the tool by pressing the shortcut key (CTRL + 0-9, or you can use the shortcut button in the "user toolbar.

To run the compiled *. EXE file, you can make the following settings (the executable file must have the same name as the compiled file ):
Menu text: Run
Command: $ (filenamenoext)
Parameters:
Initial Directory: $ (filedir)

[15] tool integration-enable editplus to debug PHP programs
1: Open editplus and select "tools-> Configure user tools.
2: In the pop-up window, select "add tool-> application" to give the new program a memorable name. For example, we use "Debug PHP ", enter "Debug PHP" in "menu text ". Click the button on the right of "command line" to find the path of your php.exe, for example, "C:/PHP/php.exe ". Click the drop-down button on the right of "parameter" and select "file path". Then, select the check box before "Capture output.
3: test it now. Create a PHP file. Press the CTRL + 1 shortcut key to activate the tool we just set. (If you set multiple tools, the shortcut keys may be different ), now you can see that it is working properly. However, it is not ideal: If your PHP program fails, the output window will prompt you For the first line of error. If you click this line of prompt, editplus will always prompt you that you cannot find the XX file, whether to create. Next, we need to modify this function.
4: Open the user Tool Setting window and find the "Debug PHP" tool you just set. Click the "output mode" button next to the "Capture output" check box to display a form that defines the output mode. Remove the check box before "use default output mode, enter "^. + in (. +) line ([0-9] +) "(excluding quotation marks), careful friends may find that the regular expression syntax is also used here. Then, select "default expression 1" from the "file name" drop-down menu, that is, the first parameter in the above regular expression, and select "default expression 2" from the "row" drop-down menu ", the drop-down list of "column" remains empty. Save the settings.
5: Okay. Now let's try again. Double-click the number of wrong lines. Editplus will automatically activate the error file and position the cursor to the wrong line. Is it especially convenient ?!
Now, Editplus has gone through our "transformation" to debug PHP files in real time. Although it is not a "visualized" interface, it is very useful for common small programs to find errors.EditplusIt's really a rare tool. If you have any tips, don't forget to share it with everyone. ^ O ^

If you cannot switch the wrong line number, make the following changes: (by aukw @ CCF)
1. Open html_errors = Off in php. ini
// If you do not open it, the expression in 3. must be modified.
2. Change the parameter to-q-f "$ (FilePath )"
// If there is no space in the file name, debugging fails ..
//-Q does not output html header information. You can also remove it, But you generally do not use the header information during debugging.
3. "^. + in (. +) line ([0-9] +) "changed to" ^. + in (. +) on line ([0-9] +) $"
// If the problem persists, pay attention to the debugging result and modify the expression to retrieve the file name and row number.

[16] tool integration-Build a PHP debugging environment (2)
1. Locate the editing library on PHP4 Functions and use the [insert]-> [Match editing] command during editing, you can automatically enter the complete PHP function at the end (or press the F2 key directly)
2: similar to the above, you can also automatically complete the selection of some text. (Same as F2)
3: In [Parameter Selection]-> [settings and syntax]-> PHP-> Automatic completion, select the php. acp file under the directory, and you can customize your own Automatic completion method.
4: to preview files in real time, you can add a local directory to the [Parameter Selection]-> [tools]-> WEB Server (note not to addHttp ://, Should be a valid site ).
For example, host-> localhost/php | root directory-> D:/php
Host-> localhost/asp | www.x-force.cn root directory-> D:/asp
Host-> localhost/cgi | root directory-> D:/cgi
After the settings are complete, as long as the script file is located in these directories (not any subdirectories)Problem.
5: various syntax and template files can be found inHttp://editplus.com/files.htmlAnd can be selected and edited as needed.
6. Press Ctrl + F11 to display the function list in the current file.
7. add various user tools, such:
Start the MYSQL server management tool-> C:/mysql/bin/winmysqladmin.exe
Start Apache server-> C:/Apache/bin/Apache.exe-k start
Start Apache server-> C:/Apache/bin/Apache.exe-k stop (shutdown)
8: DBG comes with a prof_results.php file that analyzes the performance of the PHP program.
Although it is not a real debugger, It is enough.
OK! After the transformation, is it a bit like an IDE? Almost, no immediate help... view me, come back:
9: Add php_manual_en.chm (preferably the extended help manual) to the user tool. When you encounter a keyword that needs to be referenced, move the cursor to it and press the shortcut key Ctrl + 1. Have you seen it.
When you enter a function name that cannot be thought of, call up the function according to the first 1st methods. Then... how?

Some of the above are the settings for debugging tools. Because there are many such tools, you can refer to the above for more basic settings, so there is no more list.

[17] integrated EDITPLUS in WINPE
WINPE can be made based on the current bartpe, And the menu is made using nu2menu

Default location:/programs/editplus/
The default system location is the i386 directory of the disc.

Add shell integration in autorun. bat of i386/system32 (right-click the system)
Regedit/s % SystemDrive %/programs/editplus/REG. REG
Regsvr32/s/programs/editplus/EPPSHELL. DLL
(Reg. reg saves the epp toolbar information. Of course, registered users can also place registration information)

Copy the files in the editplus installation package to programs/editplus/. Note that if there is setting. ini, delete the file, and add the following sentence to nu2menu (you can arrange it under a specific menu entry as needed)
<Mitem type = "ITEM" DISABLED = "@ Not (@ FileExists (@ GetProgramDrive ()/Programs/EditPlus/editplus.exe)" CMD = "RUN"
FUNC = "@ GetProgramDrive ()/Programs/EditPlus/editplus.exe"> EditPlus text editing </MITEM>

[18] support file Lei @ DRL proposed and tested with/without UTF-8 mark
Here Byte order Mark is translated as Mark/File Header/label

Parameter Selection-file-set "Support for UTF-8 files without UTF-8 file headers", I translate the label here as the UTF-8 file header, if checked, it should be saved as a Utf-8 without tags, if not checked, it should be saved as a UTF-8 with BOM.
This way you can open the UTF-8 file with signature, and can be edited normally, but can not open without signature, want to open without signature also need to change back... however, it is a little troublesome, but it can be used.

Download editplus:Reference content file details: EditPlus
File version: v3.0.0.524 Beta Chinese Version/v2.30.429 Chinese green version
File Format: RAR compressed file
Updated on: 2007.1.8
File Size: 1.39 MB/826 KB
Unzip password: www.x-force.cn
Official Website:Www.editplus.com
File publishing:Heterogeneous worlds

Disclaimer:
All files provided on this page are non-toxic by using genuine NOD32 antivirus software (virus database Date: 2008.1.8). Please feel free to use it, but please check the virus again after downloading it to ensure file security, this document is not responsible for any harm to your computer.
The content published on this site is collected and organized on the Internet for the purpose of computer technology research and exchange, for your reference only, and there is no commercial use. We do not recommend that you act directly as technical advice or operational guidance. If you need technical services, you shall officially entrust a professional company to protect your legitimate rights and interests. This information may not be the latest or official information, or it may be used to study a certain technology.ProblemHowever, if it is quoted elsewhere, it can be changed without notice. If your copyright is accidentally infringed on the content of this website, contact usContact, We will promptly process and remove the relevant content !.

Editplus (v2.30.429 Chinese Green Edition ):(Earlier version) download page-1
Editplus (v3.0.0.524 beta Chinese version ):Download X-Force.CNChangyi downloadNano disk download

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.