editorLayout.marginWidth = 0;
editorComposite.setLayout(editorLayout);
super.createPartControl(editorComposite);
ProjectionViewer viewer = (ProjectionViewer) getSourceViewer();
fProjectionSupport = new ProjectionSupport(viewer, getAnnotationAccess(), getSharedColors());
fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.error"); //$NON-NLS-1$
fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.warning"); //$NON-NLS-1$
fProjectionSupport.install();
viewer.doOperation(ProjectionViewer.TOGGLE);
// MultiPassContentFormatter formatter=
// new MultiPassContentFormatter(
// getConfiguredDocumentPartitioning(viewer),
// IDocument.DEFAULT_CONTENT_TYPE);
//
// formatter.setMasterStrategy(
// new JavaFormattingStrategy());
// formatter.setSlaveStrategy(
// new CommentFormattingStrategy(...),
// IJavaPartitions.JAVA_DOC);
//
final IDragAndDropService dndService = (IDragAndDropService) this.getSite().getService(IDragAndDropService.class);
StyledText st = viewer.getTextWidget();
textTransfer = TextTransfer.getInstance();
fileTransfer = FileTransfer.getInstance();
urlTransfer = URLTransfer.getInstance();
udigTransfer = UDigByteAndLocalTransfer.getInstance();
Transfer[] types = new Transfer[]{fileTransfer, textTransfer, urlTransfer, udigTransfer};