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
protected ISavePolicy fSavePolicy;
	
	private JavaEditorErrorTickUpdater fJavaEditorErrorTickUpdater;
	
	private PaintManager fPaintManager;
	
	private BracketPainter fBracketPainter;
	
	private JavaPairMatcher fBracketMatcher;
	
	private LinePainter fLinePainter;
	
	private PrintMarginPainter fPrintMarginPainter;
	
	private ProblemPainter fProblemPainter;
	
	private TabConverter fTabConverter;
	
	private SelectionHistory fSelectionHistory;
	
	private IPropertyChangeListener fPropertyChangeListener= new PropertyChangeListener();
	
	private IJavaElement fRememberedElement;
	
	private ITextSelection fRememberedSelection;
	
	private int fRememberedElementOffset;
	
	private BracketInserter fBracketInserter= new BracketInserter();