options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE, "4");
options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_LENGTH, "4"); options.put(DefaultCodeFormatterConstants.FORMATTER_INDENTATION_SIZE, "4");
	protected void setUp() {		if (JavaCore.getPlugin() != null) {			Hashtable options= JavaCore.getDefaultOptions();			options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_CHAR, JavaCore.TAB);			options.put(DefaultCodeFormatterConstants.FORMATTER_TAB_SIZE, "4");			final String indentOnColumn= DefaultCodeFormatterConstants.createAlignmentValue(false, DefaultCodeFormatterConstants.WRAP_NO_SPLIT, DefaultCodeFormatterConstants.INDENT_ON_COLUMN);			options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_PARAMETERS_IN_METHOD_DECLARATION, indentOnColumn);			options.put(DefaultCodeFormatterConstants.FORMATTER_ALIGNMENT_FOR_EXPRESSIONS_IN_ARRAY_INITIALIZER, indentOnColumn);			options.put(DefaultCodeFormatterConstants.FORMATTER_CONTINUATION_INDENTATION, "1");			JavaCore.setOptions(options);		}		fDocument= new Document();		String[] types= new String[] {			IJavaPartitions.JAVA_DOC,			IJavaPartitions.JAVA_MULTI_LINE_COMMENT,			IJavaPartitions.JAVA_SINGLE_LINE_COMMENT,			IJavaPartitions.JAVA_STRING,			IJavaPartitions.JAVA_CHARACTER,			IDocument.DEFAULT_CONTENT_TYPE		};		fPartitioner= new FastPartitioner(new FastJavaPartitionScanner(), types);		fPartitioner.connect(fDocument); 		fDocument.setDocumentPartitioner(IJavaPartitions.JAVA_PARTITIONING, fPartitioner);				JavaHeuristicScanner hScanner= new JavaHeuristicScanner(fDocument);		fScanner= new JavaIndenter(fDocument, hScanner);	}