25. diffSupport
Prev | Chapter 6. Commands written in the Java™ programming language | Next

## 25. diffSupport

    'on' | 'off' | 'toggle' | 'state'

Activate or deactivate change detection in the document being edited.

`on`

  Activate change detection in the document being edited. No effect if it is already activated.

`off`

  Deactivate change detection in the document being edited. No effect if it is already deactivated.

`toggle`

  Activate change detection in the document being edited if it is currently deactivated. Deactivate change detection in the document being edited if it is currently activated.

`state`

  Returns "`on`" if change detection is activated in the document being edited. Returns "`off`" otherwise.

Examples:

    diffSupport on
    diffSupport state

Prev | Up | Next
24. deleteWord | Home | 26. drag