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
fPrintMarginPainter.setMarginRulerColor(getColor(PRINT_MARGIN_COLOR));
					return;
				}
				
				if (PRINT_MARGIN_COLUMN.equals(p)) {
					if (fPrintMarginPainter != null)
						fPrintMarginPainter.setMarginRulerColumn(getPreferenceStore().getInt(PRINT_MARGIN_COLUMN));
					return;
				}
				
				if (OVERVIEW_RULER.equals(p))  {
					if (isOverviewRulerVisible())
						showOverviewRuler();
					else
						hideOverviewRuler();
					return;
				}
				
				AnnotationType type= getAnnotationType(p);
				if (type != null) {
					
					AnnotationInfo info= (AnnotationInfo) ANNOTATION_MAP.get(type);
					if (info.fColorPreference.equals(p)) {
						Color color= getColor(type);
						if (fProblemPainter != null) {
							fProblemPainter.setColor(type, color);
							fProblemPainter.paint(IPainter.CONFIGURATION);
						}
						setColorInOverviewRuler(type, color);
						return;