What Is a Document Editor?
A text editor (or text editor) is an application software used to write ordinary text. It differs from a document editor (or word processor) in that it is not used as a desktop typesetting (such as document formatting). It Often used to write the source code of a program.
- name of software
- text editor
- Software language
- C #, Java, etc.
- A text editor (or text editor) is an application software used to write ordinary text. It differs from a document editor (or word processor) in that it is not used as a desktop typesetting (such as document formatting). It Often used to write the source code of a program.
Text editor introduction
- A text editor is one of computer software. It is mainly used to write and view text files. There are special text editors that support adding their own format to enrich the presentation of the document. The operating system or integrated development environment usually comes with an editor that can view and edit plain text. A text editor that can add format is usually used by individual users or companies in making files that require the format. Because programs and their configuration files are usually stored in plain text, programmers also need to use a plain text editor to edit programs and configuration files.
- Text editor for common systems
- Common notepads under Windows, text editing under Mac OS X, vi, emacs, gedit under Linux, edit under DOS, etc.
- Use under each system
- 1. Windows start / run enter edit command to enter text editor to edit text; you can also enter edit under cmd to enter text editor. The text editor is similar to the C language interface. Is a very useful text editing software.
- 2. Mac OS X find the text editor .app (source name: TextEdit.app) in the application folder or Launchpad (Mac OS X Lion 10.7 or above) under the disk. After opening, you can create a new document and implement editing. Text editing supports rich text format (.rtf), rich text format with attachments (.rtfd), (.html), web archive (.webarchive), OpenDocument text (.odt), Word 2007 format (.docx) Production of Word 2003 format (.xml), Word 1997 format (.doc) and plain text (.txt) files, and export of the portable document format (.pdf) of the above files. Text editing can open almost any document format compatible with Mac OS X.
- 3. Enter the terminal under Linux, enter the name of the text editor, and press Enter to run.
- Mac OS X Lion text editing creates formatting
Text editor type
- Some text editors are short and powerful, and some text editors provide rich and complex functions. For example, both the Unix and Unix-like operating systems provide the vi editor (or its variant), but some operating systems also provide the Emacs editor. Windows provides a very simple notepad, but many people, especially those programmers, prefer other editors with richer features under Windows. In Apple Macintosh's classic Mac OS, SimpleText was included, and later, TextEdit replaced it. Some editors support two modes of operation, both as text editors and word processors. WordStar is an example.
- Text editors used by professional computer users often do not limit the size of open files. Such editors still start quickly when editing large files, and they can also edit files that exceed the memory size. A simple text editor usually reads the file directly into memory. This is slower when processing larger files, and cannot be processed at all for larger files.
- Professional computers need the ability to handle large files. For example, system administrators need to read long log files; programmers need to modify large source code files, or check for unusually large files, such as files used to store entire dictionaries.
- Some text editors include a special computer language with which you can customize this (programmable editor). For example, Limac programs can be used to customize Emacs. With this method, the user can usually simulate the shortcut key combination of some editor and other features to look like another editor, so that the user does not need to learn the command combination of this editor.
- There are also programmable editors that use REXX as their scripting language. These editors support the direct input of commands or REXX statements at the bottom of the screen. People generally think of these editors as orthodox editors. Among the editors, the most representative is Xedit's successor, and Xedit is IBM's editor in VM / CMS. Some vi follow-up products, such as Vim, also support folding and macros, and there are command lines at the bottom. They are considered to be another type of orthodox editor.
- Many text editors for developing software support syntax highlighting and auto-completion of source code, which can make programs easier to read and write. The program editor usually also allows you to select a subroutine or variable, then jump to its definition section, and then jump back to the original location. Additional tools like ctags are used to locate definitions.
- With the development of computer networks, a text editor capable of collaborative editing by multiple people, such as Netpad under the Windows operating system, has been created to allow multiple people to edit or read the same text file at the same time.
- There are also some good open source text editors, such as NotePad ++, PSPad, Komodo, Coda, etc. [1]
Text editor typical features
Text editor find and replace
- Find a word or a string in a text file and replace one string with another. Various methods can be adopted: global search and replace, conditional search and replace, and unconditional search and replace.
Text editor cut, copy, paste
- Most text editors support copying or moving within or between files.
Text editor text layout
- Text editors usually support basic typography functions such as scrolling, auto-indentation, line number layout, comment layout, and more.
Text editor undo and redo
- Like word processors, text editors also support undo and redo. Usually, especially the old text editor, only supports a level of editing history, and can only undo or revert to the last change. Modern and sophisticated text editors support multiple levels of editing history, so that they can be undone or restored to any historical state. The number of changes that can be recorded varies from editor to editor and is usually configurable.
Text editor import
- Read or merge the contents of another text file into the file currently being edited. Some text editors support the output of inserting operating system commands.
Text editor filtering
- Some advanced text editors allow you to send the file you are editing to another tool and read back the filtered results to this file. For example, you can use this method to sort rows or perform mathematical calculations.
Text editor history
- A box of punched cards containing several programs.
- Before the advent of text editors, people used punchers to punch computer text onto punched cards. The text is stored in a box containing such a thin card, which can be read with a card reader.
- The first text editor is a line editor, which runs on the terminal of a typewriter. This editor does not have the function of displaying in windows and screens. It contains some very short commands (to reduce typing). One of these commands prints a specified portion of a file using a typewriter. The edit cursor is an imaginary insertion point. With special commands, you can move it to the line where the specific content string is located. Subsequently, the content string was expanded into a regular expression. If you want to see the changes in the file, you need to print it out. This line-based text editor is considered a revolutionary improvement over punchers. Without it, users would need to make special cards for text-processing commands and use those cards when editing files.
- When computer terminals with display screens appeared, display-based text editors became popular. One of the earliest full-screen editors was called O26, which was made in 1967 for the operating console of CDC 6000 series machines. Another early full-screen editor was vi. Vi was born in the 1970s and is still the standard editor for Unix and Linux. The full-screen editor has promoted the sales of video terminals.
Text editor comparison
- This table compares the general information of each editor:
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NeoeEdit | neoedmund |
| r220 | free | BSD license |
Siphonink | BGLL | 2011 | 2.5.1.0 | free | Proprietary |
|
|
|
|
|
- [3]