the document to update. Only documents created by TextDocument.create are valid inputs.
the changes to apply to the document.
the changes version for the document.
The updated TextDocument. Note: That's the same document instance passed in as first parameter.
Updates a TextDocument by modifying its content.