this.fViewer.setError(fLeg, ex.getMessage());
}
// newDoc= new Document(s != null ? s : ""); //$NON-NLS-1$
newDoc = StructuredDocumentFactory
.getNewStructuredDocumentInstance(new PhpSourceParser());
newDoc.set(s != null ? s : ""); //$NON-NLS-1$
// newDoc= new Document(s != null ? s : ""); //$NON-NLS-1$
IDocumentPartitioner partitioner = getDocumentPartitioner();
if (partitioner != null) {
if (newDoc instanceof JobSafeStructuredDocument) {