region.getLength()).trim());
}
} catch (BadLocationException e) {
}
JobSafeStructuredDocument newdocument = new JobSafeStructuredDocument(
new TwigSourceParser());
String start = "<?php";
newdocument.set(start + tempsb.toString());
TwigFormatter formatter = new TwigFormatter(0, newdocument.getLength());
formatter.format(newdocument.getFirstStructuredDocumentRegion());