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
case Symbols.TokenLBRACE: 
						if (fScanner.isBracelessBlockStart(prevPos, JavaHeuristicScanner.UNBOUND))
							unindent= true;
						if (prevToken == Symbols.TokenCOLON || prevToken == Symbols.TokenEQUAL || prevToken == Symbols.TokenRBRACKET)
							unindent= true;
						break;
					case Symbols.TokenRBRACE: 
						if (isFirstTokenOnLine)
							matchBrace= true;
						break;
					case Symbols.TokenRPAREN:
						if (isFirstTokenOnLine)
							matchParen= true;
						break;
					}
			} catch (BadLocationException e) {
			}
		} else {
			
			danglingElse= true; 
		}
		
		int ref= findReferencePosition(offset, danglingElse, matchBrace, matchParen, matchCase);
		if (unindent)
			fIndent--;
		return ref;
	}
	
	/**
	 * Returns the reference position regarding to indentation for <code>position</code>,