private void updatePreviewContent() {
if (_editorInteraction == null) {
return;
}
IHtmlDocumentProvider documentProvider = _editorInteraction.getHtmlDocumentProvider();
if (documentProvider == null) {
return;
}
IDocument editDocument = documentProvider.getHtmlEditDocument();
String documentContents = editDocument.get();
try {
WodParserCache cache = ((TemplateEditor) _editorInteraction.getHtmlDocumentProvider()).getSourceEditor().getParserCache();
FuzzyXMLDocument htmlDocument = cache.getHtmlEntry().getModel();