protected ProjectionViewer createPreviewViewer(Composite parent, boolean showAnnotationsOverview,
int styles, IPreferenceStore store) {
ProjectionViewer sourceViewer = new ProjectionViewer(parent, null, null,
showAnnotationsOverview, styles);
AbstractLangSourceViewerConfiguration configuration = createSimpleSourceViewerConfiguration(store);
sourceViewer.configure(configuration);
sourceViewer.getTextWidget().setFont(JFaceResources.getFont(JFaceResources.TEXT_FONT));
configuration.setupViewerForTextPresentationPrefChanges(sourceViewer);
return sourceViewer;
}