Bug 76087 [navigation] Initial Quick Outline size too small
20041012 When you use the quick outline with 'Rememeber size and location' turned off, the initial size is of the dialog is too small and not usable as is. Note that I had to turn off 'Rememeber size and location' for multi monitor problems
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
IJavaPartitions.JAVA_STRING,
			IJavaPartitions.JAVA_CHARACTER
		};
	}
	
	/*
	 * @see org.eclipse.jface.text.source.SourceViewerConfiguration#getConfiguredDocumentPartitioning(org.eclipse.jface.text.source.ISourceViewer)
	 * @since 3.0
	 */
	public String getConfiguredDocumentPartitioning(ISourceViewer sourceViewer) {
		if (fDocumentPartitioning != null)
			return fDocumentPartitioning;
		return super.getConfiguredDocumentPartitioning(sourceViewer);
	}
	
	/*
	 * @see SourceViewerConfiguration#getContentFormatter(ISourceViewer)
	 */
	public IContentFormatter getContentFormatter(ISourceViewer sourceViewer) {
		final MultiPassContentFormatter formatter= new MultiPassContentFormatter(getConfiguredDocumentPartitioning(sourceViewer), IDocument.DEFAULT_CONTENT_TYPE);
		
		formatter.setMasterStrategy(new JavaFormattingStrategy());
		DefaultTextMeasurement textMeasurement= new DefaultTextMeasurement(sourceViewer.getTextWidget());
		formatter.setSlaveStrategy(new CommentFormattingStrategy(textMeasurement), IJavaPartitions.JAVA_DOC);
		formatter.setSlaveStrategy(new CommentFormattingStrategy(textMeasurement), IJavaPartitions.JAVA_SINGLE_LINE_COMMENT);
		formatter.setSlaveStrategy(new CommentFormattingStrategy(textMeasurement), IJavaPartitions.JAVA_MULTI_LINE_COMMENT);		
		
		return formatter;
	}