protected ISourceViewer createSourceViewer(Composite parent,
IVerticalRuler ruler, int styles) {
ProjectionViewer viewer = new ProjectionViewerWithOutline(parent,
ruler, getOverviewRuler(), isOverviewRulerVisible(), styles);
fProjectionSupport = new ProjectionSupport(viewer,
getAnnotationAccess(), getSharedColors());
// summarize errors and warnings in a collapsed region.
fProjectionSupport
.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.error"); //$NON-NLS-1$
fProjectionSupport