Bug 34195 Matching bracket not working
hi, I was trying to match a bracket in a core jdk class (BasicScrollBarUI) inside the method actionPerformed() for the curly brace at the end of the line: 1156. The short cut key is Ctrl+Shift+P (default). The first time that i performed this key combo, the cursor was moved to the beginning of line 1164, which is correct. At this location, when I tried the same keys, where previously I was taken back to the end of line 1156, now I just get a <ding> sound - as though there was an error. This was working in the latest integration build before RC2. I would really appreciate it if this could be fixed soon. Thanks
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
private Point getMaximumLocation(StyledText text, int offset, int length) {
			Point maxLocation= new Point(Integer.MIN_VALUE, Integer.MIN_VALUE);
	
			for (int i= 0; i <= length; i++) {
				Point location= text.getLocationAtOffset(offset + i);
				
				if (location.x > maxLocation.x)
					maxLocation.x= location.x;			
				if (location.y > maxLocation.y)
					maxLocation.y= location.y;			
			}	
			
			return maxLocation;
		}
	};
	
	/**
	 * This action dispatches into two behaviours: If there is no current text
	 * hover, the javadoc is displayed using information presenter. If there is
	 * a current text hover, it is converted into a information presenter in
	 * order to make it sticky.
	 */
	class InformationDispatchAction extends TextEditorAction {
		
		
		private final TextOperationAction fTextOperationAction;
		
		/**
		 * Creates a dispatch action.
		 */