Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2006-09-07 15:06:26 +0000
committerDani Megert2006-09-07 15:06:26 +0000
commitada803925026d929b89f28bfc131e0c0a0560a84 (patch)
tree077c61c4d5f8dbff9aef2f58822f4b78bb910b1d /org.eclipse.jface.text.tests/src/org
parentabe055571fac6454a617cdd9b5579bf616a4fd91 (diff)
downloadeclipse.platform.text-ada803925026d929b89f28bfc131e0c0a0560a84.tar.gz
eclipse.platform.text-ada803925026d929b89f28bfc131e0c0a0560a84.tar.xz
eclipse.platform.text-ada803925026d929b89f28bfc131e0c0a0560a84.zip
Fixed bug 156426: [navigation] Sometimes braces matching not working in Eclipse
Diffstat (limited to 'org.eclipse.jface.text.tests/src/org')
-rw-r--r--org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractPairMatcherTest.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractPairMatcherTest.java b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractPairMatcherTest.java
index ecebc44ae..f2671d7cf 100644
--- a/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractPairMatcherTest.java
+++ b/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/AbstractPairMatcherTest.java
@@ -162,6 +162,15 @@ public abstract class AbstractPairMatcherTest extends TestCase {
matcher.dispose();
}
+ public void testBug156426() {
+ final ICharacterPairMatcher matcher= createMatcher("()[]{}<>");
+ performMatch(matcher, " #( a < b )% ");
+ performMatch(matcher, " (% a < b )# ");
+ performMatch(matcher, " #( a > b )% ");
+ performMatch(matcher, " (% a > b )# ");
+ matcher.dispose();
+ }
+
/* --- U t i l i t i e s --- */
/**

Back to the top