Bug 97921 [typing] CompilationUnitEditor.TabConvertor should use project dependent formatter settings
with 3.1 RC1, In the code formatter I set tab policy to spaces only, indentation size = 2, and tab size = 8. when I hit the tab key, 2 spaces are added to the line instead of going to an 8 space (tab) boundary.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
private boolean fCloseBrackets= true;
		private boolean fCloseStrings= true;
		private boolean fCloseAngularBrackets= true;
		private final String CATEGORY= toString();
		private IPositionUpdater fUpdater= new ExclusivePositionUpdater(CATEGORY);
		private Stack fBracketLevelStack= new Stack();
		public void setCloseBracketsEnabled(boolean enabled) {
			fCloseBrackets= enabled;
		}
		public void setCloseStringsEnabled(boolean enabled) {
			fCloseStrings= enabled;
		}
		public void setCloseAngularBracketsEnabled(boolean enabled) {
			fCloseAngularBrackets= enabled;
		}
		private boolean isAngularIntroducer(String identifier) {
			return identifier.length() > 0
					&& (Character.isUpperCase(identifier.charAt(0))
							|| identifier.startsWith("final") 
							|| identifier.startsWith("public") 
							|| identifier.startsWith("public") 
							|| identifier.startsWith("protected") 
							|| identifier.startsWith("private")); 
		}
		/*
		 * @see org.eclipse.swt.custom.VerifyKeyListener#verifyKey(org.eclipse.swt.events.VerifyEvent)
		 */