Bug 74505 Indent Line removes tabs inside switch statement
I200409212000 Indent Line removes tabs inside switch statement. Test Case: 1. open ResourceFileBuffer rev. 1.16 2. select line 119 - 169 3. Indent Line ==> break and other statements get alligned to "switch"
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
if (indent == null)
			return null;
		
		
		indent.append(createIndent(fIndent));
		if (fIndent < 0)
			unindent(indent);
		
		return indent;
	}
	/**
	 * Returns the indentation of the line at <code>offset</code> as a
	 * <code>StringBuffer</code>. If the offset is not valid, the empty string
	 * is returned.
	 * 
	 * @param offset the offset in the document
	 * @return the indentation (leading whitespace) of the line in which
	 * 		   <code>offset</code> is located
	 */
	private StringBuffer getLeadingWhitespace(int offset) {
		StringBuffer indent= new StringBuffer();
		try {
			IRegion line= fDocument.getLineInformationOfOffset(offset);
			int lineOffset= line.getOffset();
			int nonWS= fScanner.findNonWhitespaceForwardInAnyPartition(lineOffset, lineOffset + line.getLength());
			indent.append(fDocument.get(lineOffset, nonWS - lineOffset));
			return indent;
		} catch (BadLocationException e) {
			return indent;
		}