Edit online

Spell Check Preferences

Oxygen XML Editor Eclipse plugin provides support for spell checking in the Text mode and Author mode. To configure the Spell Check options, open the Preferences dialog box and go to Editor > Spell Check.

The following options are available:

Automatic spell check

This option is not selected by default. When selected, Oxygen XML Editor Eclipse plugin automatically checks the spelling as you type and highlights misspelled words in the document.

Select editors
You can select which editors (and therefore which file types) will automatically be spell checked. File types such as CSS and DTD are excluded by default since automatic spell checking is not usually helpful in these types of files.
Language options section

This section includes the following language options:

Default language
The default language list allows you to choose the language used by the spell check engine when the language is not specified in the source file. You can add additional dictionaries to the spell check engines.
Use "lang" and "xml:lang" attributes
When this option is selected, the contents of an element with one of the @lang or @xml:lang attributes is checked in that language. Choose between the following two options for instances when these attributes are missing:
  • Use the default language - If the @lang and @xml:lang attributes are missing, the selection in the Default language list is used.
  • Do not check - If the @lang and @xml:lang attributes are missing, the element is not checked.
XML spell checking in section
You can choose to check the spelling inside the following XML items:
  • Comments
  • Processing instructions
  • Attribute values
  • Text
  • CDATA
Options section

This section includes the following other options:

Check capitalization
When selected, the spell checker reports detected capitalization errors.
Note: When such problems are reported, they cannot be learned and ignored by the application as words stored in dictionaries, term lists, and the list of learned words are not handled as case-sensitive.
Check punctuation
When selected, the spell checker checks punctuation. Misplaced white space and unusual sequences, such as a period following a comma, are highlighted as errors.
Ignore mixed case words
When selected, the spell checker does not check words containing mixed case characters (for example, SpellChecker).
Ignore acronyms
Available only for the Hunspell Spell Checker. When selected, acronyms are not reported as errors.
Ignore words with digits
When selected, the spell checker does not check words containing digits (for example, b2b).
Ignore duplicates
When selected, the spell checker does not signal two successive identical words as an error.
Ignore URL
When selected, the spell checker ignores words recognized as URLs or file names (for example, www.oxygenxml.com or c:\boot.ini).
Allow compounds words
When selected, all words formed by concatenating multiple legal words with hyphens or underscores are accepted.
Allow file extensions
When selected, the spell checker accepts any word ending with recognized file extensions (for example, myfile.txt or index.html).
Ignore elements section
You can use the Add and Remove buttons to configure a list of element names or XPath expressions to be ignored by the spell checker. The following restricted set of XPath expressions are supported:
  • '/' and '//' separators
  • '*' wildcard

An example of an allowed XPath expression is: /a/*/b.

AutoCorrect options link
Use this link to navigate to the AutoCorrect preferences page.

To change the color used by the spell check engine to highlight spelling errors, go to Window (Eclipse on macOSX) and choose Preferences. Then go to General > Editors > Text Editors > Annotations and change the color in the Spell Check Annotation option.