c.setBackground(getDisplay().getSystemColor(SWT.COLOR_WHITE));
return c;
}
private ProjectionViewer createSourceViewer(Composite parent, AnnotationModel annotationModel) {
final CompositeRuler ruler = new CompositeRuler();
final ProjectionViewer sv = new ProjectionViewer(parent, ruler, null, false, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
final TextViewerUndoManager undoManager = new TextViewerUndoManager(8);
undoManager.connect(sv);
final GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
sv.getControl().setLayoutData(gd);