* Wire up the main viewer after it's created.
* @param viewer The main viewer that was just created.
* @return The main viewer.
*/
public Object createSourceViewer(PySourceViewer newViewer) {
newViewer.addViewportListener(new IViewportListener() {
/**
* Update the scroll bar of the display viewer when the main
* viewer is scrolled.
* @param viewer The main viewer.