Bug 50386 Autoindent/Smart Tab in case statement
1: case SWT.TRAVERSE_ESCAPE : 2: fTableViewer.cancelEditing(); 3: e.doit= true; Pressing Tab at beginning of line 3 removes one tab character from line 3. It shouldn't. Same indentation error for Smart Return, Correct Indentation, ... for all lines which are 2+ lines after the case keyword.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
private int prefMethodDeclIndent() {
		Plugin plugin= JavaCore.getPlugin();
		if (plugin != null) {
			String option= JavaCore.getOption(DefaultCodeFormatterConstants.FORMATTER_METHOD_DECLARATION_ARGUMENTS_ALIGNMENT);
			try {
				if ((Integer.parseInt(option) & Integer.parseInt(DefaultCodeFormatterConstants.FORMATTER_INDENT_BY_ONE)) != 0)
					return 1;
				else
					return prefContinuationIndent();
			} catch (NumberFormatException e) {
				
			}
		}
		
		return 1;
	}
	private boolean prefMethodCallDeepIndent() {
		Plugin plugin= JavaCore.getPlugin();
		if (plugin != null) {
			String option= JavaCore.getOption(DefaultCodeFormatterConstants.FORMATTER_MESSAGE_SEND_ARGUMENTS_ALIGNMENT);
			try {
				if ((Integer.parseInt(option) & Integer.parseInt(DefaultCodeFormatterConstants.FORMATTER_INDENT_ON_COLUMN)) != 0)
					return true;
				else
					return false;
			} catch (NumberFormatException e) {
				
			}
		}