The diff editor is supported as well. MonacoEditor is fully updateable via AJAX as you can see with the select options below. It also keeps its scroll position during an AJAX update.
${showcase:getFileContent('/sections/monacoEditor/example-basicUsageDiff.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/MonacoEditorController.java')}