Editors are used to edit or create a resource. Generally, in any language development perspective, a large space is reserved for documents opened in an editor. In this book, we will encounter three editors — the PHP editor, the Quantum SQL editor, and the generic text editor featured in the Resource perspective.
The differences between the three are subtle because the former two leverage and extend the generic editor. Even JDT’s Java editor operates in the same way. This makes the appearance of each editor fairly similar to the end user — all three appear to be simple text editors. The only real differences are features that need to be customized for each language, like syntax highlighting and keyword alerts.
Editors are invoked when you open a document either by double-clicking on the file or selecting an external file to open using the File | Open File... option. The Workbench chooses the appropriate editor based on a particular order:
- The editor that last opened...