use of com.amalto.workbench.widgets.xmlviewer.format.XMLFormattingStrategy in project tmdm-studio-se by Talend.
the class XMLConfiguration method getContentFormatter.
@Override
public IContentFormatter getContentFormatter(ISourceViewer sourceViewer) {
ContentFormatter formatter = new ContentFormatter();
formatter.enablePartitionAwareFormatting(false);
formatter.setFormattingStrategy(new XMLFormattingStrategy(sourceViewer), IDocument.DEFAULT_CONTENT_TYPE);
return formatter;
}
Aggregations