Bug 5418 bracket marker stays in editor
private void showDebugSourcePage(String typeName) { if (dialog.open() == dialog.OK) { } 1. set the cursor after the opening bracket (after dialog.OK) 2. press enter 3. The bracket box includes all characters insterted by the auto indenter
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
private static String[] fgKeywords= { 
		"abstract", 
		"break", 
		"case", "catch", "class", "const", "continue", 
		"default", "do", 
		"else", "extends", 
		"final", "finally", "for", 
		"goto", 
		"if", "implements", "import", "instanceof", "interface", 
		"native", "new", 
		"package", "private", "protected", "public", 
		"return", 
		"static", "super", "switch", "synchronized", 
		"this", "throw", "throws", "transient", "try", 
		"volatile", 
		"while" 
	};
	
	private static String[] fgTypes= { "void", "boolean", "char", "byte", "short", "strictfp", "int", "long", "float", "double" }; 
	
	private static String[] fgConstants= { "false", "null", "true" }; 
	
	private Token fKeyword;
	private Token fType;
	private Token fString;
	private Token fComment;
	
	private IColorManager fColorManager;