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/javaeditor/CompilationUnitEditor.java
private HighlightBrackets fHighlightBrackets;
		public BracketHighlighter(ISourceViewer sourceViewer) {
			fSourceViewer= sourceViewer;
			fHighlightBrackets= new HighlightBrackets();
		}
		
		public void install() {
			
			fManager.install();
			
			StyledText text= fSourceViewer.getTextWidget();
			text.addKeyListener(this);
			text.addMouseListener(this);
		}
		
		public void dispose() {
			
			if (fManager != null) {
				fManager.dispose();
				fManager= null;
			}
			
			if (fHighlightBrackets != null) {
				fHighlightBrackets.dispose();
				fHighlightBrackets= null;
			}
			
			if (fSourceViewer != null && fBracketHighlighter != null) {
				
				StyledText text= fSourceViewer.getTextWidget();