Chapter 16. Text editor specific actions

Table of Contents

Finding and replacing text in the current file
The Find All Elements/Attributes dialog
Using Check Spelling
Adding a spell dictionary
Adding a Hunspell dictionary
Adding an AZ Check dictionary
Learning words
Ignoring words
Spell checking as you type
Check Spelling in Files

<oXygen/> XML Author provides user actions common in any text editor:

Finding and replacing text in the current file

The Find All Elements/Attributes dialog

This dialog is dialog opened with the menu entry EditFind All Elements... and assists you in defining "search for XML elements and/or attributes" operations on the current document.

Figure 16.1. Find All Elements/Attributes dialog

Find All Elements/Attributes dialog

As a result, the dialog can perform the following:

  • Find all the elements with a specified name

  • Find all the elements which contain or not a specified string in their text

  • Find all the elements which have a specified attribute

  • Find all the elements which have an attribute with or without a specified value

All these search criteria can be combined to fine filter your results.

The results of all the operations in the Find All Elements/Attributes dialog will be presented as a list in the Message Panel.

The dialog fields are described as follows:

Element name

The target element name to search for. Only the elements with this exact name are returned. For any element name just leave the field empty.

Element text

The target element text to search for. The combo box beside this field allows you to specify that you are looking for an exact or partial match of the element text. For any element text, select contains in the combo box and leave the field empty.

If you leave the field empty but select equals in the combo box, only elements with no text will be found. Select not contains to select all elements which do not have the specified text inside.

Attribute name

The name of the attribute which needs to be present in the elements. Only the elements which have an attribute with this name will be returned. For any/no attribute name just leave the field empty.

Attribute value

The attribute value The combo box beside this field allows you to specify that you are looking for an exact or partial match of the attribute value. For any/no attribute value select contains in the combo box and leave the field empty.

If you leave the field empty but select equals in the combo box, only elements that have at least an attribute with an empty value will be found.

Select not contains to select all elements which have attributes without a specified value.

Case sensitive

When this option is checked, operations are case sensitive.