fDocumentPartitioning= partitioning; initializeScanners();
	public JavaSourceViewerConfiguration(JavaTextTools tools, ITextEditor editor) {		super(createPreferenceStore(tools));		fJavaTextTools= tools;		fColorManager= tools.getColorManager();		fCodeScanner= (AbstractJavaScanner) fJavaTextTools.getCodeScanner();		fMultilineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getMultilineCommentScanner();		fSinglelineCommentScanner= (AbstractJavaScanner) fJavaTextTools.getSinglelineCommentScanner();		fStringScanner= (AbstractJavaScanner) fJavaTextTools.getStringScanner();		fJavaDocScanner= (AbstractJavaScanner) fJavaTextTools.getJavaDocScanner();		fTextEditor= editor;	}