Editing

Editing menuEditing menu with option key pressed

Select Container - Selects matching tags which include the current position or selection. Repeated, it expands the selection. Like the "Balance" item under the Edit menu. All tags without a corresponding closing tag are ignored.

Select Opening (option) - If the first tag to the left of the current position is a tag without a corresponding closing tag, it is selected. Repeated it jumps to the next one.

Select in Container - Same as 'Select Container' except that only the content of the container is selected, not the enclosing tags.

Untag - Removes a tag pair surrounding the current position or selection. All tags without a corresponding closing tag are ignored.

Untag and Select (option) - Same as Untag, but the text inside the container is selected. Use this if you want to change one container to another.

Remove Opening - If the first tag to the left of the current position is a tag without a corresponding closing tag, it is removed.

Change Container - To change the attributes of the element enclosing the current position or selection. A dialog box appears where the current values of all attributes are shown. Change the ones you want and a new tag will be inserted in the text.

If the element you want to change contains anything HTML mode does not understand, a warning message will first be shown. If you decide to insert a new tag, everything HTML mode does not understand will be removed.

If you are using JavaScript, the event handlers will only be shown in the dialog if you have checked 'Include event handlers in attribute dialog' in the settings dialog. Otherwise, the event handlers are left untouched in the document.

Change Opening (option) - Same as change container, but for an element with no closing tag. The tag must be the first one to the left of the current position to be found.

As you probably have noticed the logic for finding tags is the same for "Select" "Untag/Remove" and "Change".

It can be a good idea to first select the container or opening tag, before removing or changing them, to make sure you select the one you want.

Change Choice - To change an attribute with predefined choices, without bringing up a dialog window. Put the insertion point at an attribute with predefined choices. 'Change Choice' will then change the attribute to the next choice in the list of choices. Use 'Change Choice' several times to go through the list.

Reveal Color - If you move the current position to, or select any part of, a color attribute in the document and then choose "Reveal color", the number will be replaced with its name, and if you choose "Reveal color" again, the number appears again. For example "#0000FF" is changed to "blue" and back again. This is useful if you want to know what a cryptic color number stands for. Do not forget that the browser only understands the number so do not leave the name in the document.

   

Remove Marks - Remove tab marks, (). If some text is selected, the tab marks are removed within the selection, otherwise they are removed in the whole document.