5. autoSpellChecker

Parameter syntax:

toggle|on|off|isOn|popupMenu

Allows to activate and deactivate the automatic spell checker.

Options:

toggle

if the automatic spell checker is active, the command deactivates it. If the automatic spell checker is not active, the command activates it.

on

Ensures that the automatic spell checker is active.

off

Ensures that the automatic spell checker is not active.

isOn

Returns Boolean.TRUE if the automatic spell checker is active; otherwise returns Boolean.FALSE.

popupMenu

"autoSpellChecker popupMenu" cannot be bound to a keystroke, only to a mouse click. When the mouse is clicked on a misspelled word (that is, underlined in red), "autoSpellChecker popupMenu" displays a popup menu which allows to correct its spelling.

When the toggle, on, off or isOn option has been specified, this command returns a Boolean indicating whether the automatic spell checker is active.