// create source editor
sourceEditor = new SourceViewer( this, null, null, false, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL );
sourceEditor.getControl().setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
// setup basic configuration
configuration = new ACISourceViewerConfiguration();
sourceEditor.configure( configuration );
// set text font
Font font = JFaceResources.getFont( JFaceResources.TEXT_FONT );
sourceEditor.getTextWidget().setFont( font );