Bug 74504 Close parenthesis option does no longer work
Using build I200409212000. Although "Close brackets and parenthesis" option is not checked, when I type "if(" in Java editor, it add automatically the closing parenthesis and then I get "if ()" I've tried to set/unset it to see whether it could be a wrong initialization after build update but it did not change anything... Problem does not happen with brackets: when I type "char[" it does not close it automatically...
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* Return offset recomputed from stored visual properties.  
		 * 
		 * @return Offset in the document
		 */
		public int getOffset() {
			IJavaElement newElement= getElement();
			
			int offset= getRememberedOffset(newElement);
			
			if (offset != -1 && !containsOffset(newElement, offset) && (offset == 0 || !containsOffset(newElement, offset - 1)))
				return -1;
			
			return offset;
		}
		
		/**
		 * Return offset recomputed from stored visual properties.  
		 * 
		 * @param newElement Enclosing element
		 * @return Offset in the document
		 */
		public int getRememberedOffset(IJavaElement newElement) {
			try {
				if (newElement == null)
					return -1;
				
				IDocument document= getSourceViewer().getDocument();
				int newElementLine= -1;
				if (newElement instanceof IMember) {
					ISourceRange range= ((IMember) newElement).getNameRange();