Spell Check

The Spell Check preferences panel is opened from menu WindowPreferencesAuthor+Editor+Spell Check

Figure 17.27. Spell check preferences panel

Spell check preferences panel

Automatic Spell Check

When checked, the spell checker is activated. Spell errors will be highlighted as you type.

Spell checking engine

The engines available are Hunspell and AZ Check. Each engine has a specific format of spelling dictionaries. The languages of the built-in dictionaries of the selected engine are listed in the Default language combo box.

Default language

The default language combo allows you to choose the language used by default. If the language of your documents is not listed in this combo box you can add a spelling dictionary for your language which will be added to this list.

Delete learned words

Press this button to reset the list of words that were added to the known words using the Learn feature.

Obey "lang" and "xml:lang" attributes

If selected the contents of any element with such an attribute will be checked using a dictionary for the language specified in the attribute value if this dictionary is available. When these attributes are missing the language used is controlled by the two radio buttons. The two options are to Use the default language or Do not check the spelling.

XML spell checking in

These options allow the user to specify if the spell checker will be enabled inside Comments, Attribute values, Text and CDATA sections.

Case sensitive

When checked, spell checking reports capitalization errors, for example a word that starts with lowercase after etc. or i.e..

Ignore mixed case words

When checked, operations do not check words containing case mixing (e.g. "SpellChecker").

Ignore words with digits

When checked, the Spell Checker does not check words containing digits (e.g. "b2b").

Ignore Duplicates

When checked, the Spell Checker does not signal two successive identical words as an error.

Ignore URL

When checked, ignores words looking like URL or file names (e.g. "www.oxygenxml.com" or "c:\boot.ini") .

Check punctuation

When checked, punctuation checking is enabled: misplaced white space and wrong sequences, like a dot following a comma, are detected.

Allow compounds words

When checked, all words formed by concatenating two legal words with an hyphen are accepted. If the language allows it, two words concatenated without hyphen are also accepted.

Allow general prefixes

When checked, a word formed by concatenating a registered prefix and a legal word is accepted. For example if "mini-" is a registered prefix, accepts "mini-computer".

Allow file extensions

When checked, accepts any word ending with registered file extensions (e.g. "myfile.txt", "index.html" etc.).

Ignore acronyms

When checked the acronyms are not reported as errors when checking the document.

Ignore elements

A list of XPath expressions for the elements that will be ignored by spell checking. Only a small subset of XPath expressions are supported, that is only the '/' and '//' separators and the '*' wildcard. An example of XPath expression: /a/*/b.