Spell Check

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

 

Figure 18.29. 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 check highlight color

Use this option to set the color of the spell check errors.

Apply spell checking on whole document

When checked, a spell check action will be performed on entire document, highlighting all encountered errors.

[Note]Note

On large documents, spell checking the entire content may take a lot of time.

Default language

The default language combo allows you to choose the language used by default.

XML language attributes

Options in this subsection control the way the attributes lang and xml:lang change the language used for check spelling.

  • Obey "lang" and "xml:lang" attributes - when checked the value of these attributes is used as check spelling language inside the content of the element where they are present.

  • 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, operations ignore capitalization errors.

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.

Enable auto replace

Enables the "Replace Always" feature.

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.).

Suggestion

This option indicates the type of spell checker accuracy, which may be: "Favour speed over quality", "Normal" and "Favour quality over speed".