Bug 35867 [navigation] "//" breaks backwarsds bracket matching
Clicking on the opening bracket will mark the closing one but it won't work the other way round when the block contains a string declaration initialized with a XPath expression: public void demo() { String query = "//input[@name='blah']/@value"; }
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/PairMatcherTest.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.text.tests;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.eclipse.jface.text.Document;
import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jdt.internal.ui.text.JavaPairMatcher;
public class PairMatcherTest extends TestCase {