The text editor mode uses many of the features of the Source Editor. It can be used to edit an XML document or a Document Type Definition (DTD) file. It supports standard Source Editor behavior, such as syntax coloring, indentation, and standard clipboard commands for all three kinds of files.
The text editor mode also provides basic code completion for elements such as end tags and standard entity references. If your XML file has an associated DTD file, you can also use code completion to automatically add the names of any supported element, attribute, and entity. As you type, a pop-up combo box displays all matching elements in the DTD. You can press Enter to enter only the element name or press Shift + Enter to enter a start and end tag for the element.
The editor provides the following special features for XML files:
See also | |
---|---|
The XML Module Creating an XML Document Editing an XML Document Editing a DTD file |