Bug 26314 Goto Matching Bracket bug with selection
20021113 1. In this code action.setChecked(elements[i].equals(fHierarchyView.getInputElement())); select the last bracket with a selection of length 1. 2. press ctrl + shift + P 3. wrong bracket is matched
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
IPreferenceStore store= getPreferenceStore();
		return store.getBoolean(PRINT_MARGIN);
	}
	
	private void startAnnotationIndication(AnnotationType annotationType) {
		if (fProblemPainter == null) {
			fProblemPainter= new ProblemPainter(this, getSourceViewer());
			fPaintManager.addPainter(fProblemPainter);
		}
		fProblemPainter.setColor(annotationType, getColor(annotationType));
		fProblemPainter.paintAnnotations(annotationType, true);
		fProblemPainter.paint(IPainter.CONFIGURATION);
	}
	
	private void shutdownAnnotationIndication() {
		if (fProblemPainter != null) {
			
			if (!fProblemPainter.isPaintingAnnotations()) {
				fPaintManager.removePainter(fProblemPainter);
				fProblemPainter.deactivate(true);
				fProblemPainter.dispose();
				fProblemPainter= null;
			} else {
				fProblemPainter.paint(IPainter.CONFIGURATION);
			}
		}
	}
	private void stopAnnotationIndication(AnnotationType annotationType) {
		if (fProblemPainter != null) {
			fProblemPainter.paintAnnotations(annotationType, false);