text

var text: @Nls CharSequence

The current text of the document. Reading registers a snapshot subscription to later edits; assigning diffs the new value against the current content and applies only the changed span through the document, leaving the surrounding text untouched.

See also