kab/kab/static/js/monaco-yaml/yamlWorker.js
/**
     * Updates a TextDocument by modifing its content.
     *
     * @param document the document to update. Only documents created by TextDocument.create are valid inputs.
     * @param changes the changes to apply to the document.
     * @returns The updated TextDocument. Note: That's the same document instance passed in as first parameter.
     *
     */
Updates a TextDocument by modifing its content.
@param document the document to update. Only documents created by TextDocument.create are valid inputs.
@param changes the changes to apply to the document.
@returns The updated TextDocument. Note: That's the same document instance passed in as first parameter.
Updates a TextDocument by modifing its content . @param document the document to update . Only documents created by TextDocument . create are valid inputs . @param changes the changes to apply to the document . @returns The updated TextDocument . Note : That ' s the same document instance passed in as first parameter .
function update(document, changes, version) {
      if (document instanceof FullTextDocument) {
        document.update(changes, version);
        return document;
      }
      else {
        throw new Error('TextDocument.update: document must be created by TextDocument.create');
      }
    }
function update ( document , changes , version ) { if ( document instanceof FullTextDocument ) { document . update ( changes , version ) ; return document ; } else { throw new Error ( 'TextDocument.update: document must be created by TextDocument.create' ) ; } }
Updates a TextDocument by modifing its content.
Updates a TextDocument by modifing its content .