Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java')
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java
index f5c114b0bfa..1c03e232317 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/source/ICharacterPairMatcherExtension.java
@@ -28,11 +28,10 @@ public interface ICharacterPairMatcherExtension {
* Starting at the given offset, the matcher searches for a pair of enclosing peer characters
* and if it finds one, returns the minimal region of the document that contains the pair.
*
- * It returns <code>null</code> if there is no enclosing pair.
- *
- * @param iDocument the document to work on
- * @param i the start offset
- * @return the minimal region containing the peer characters
+ * @param document the document to work on
+ * @param offset the start offset
+ * @return the minimal region containing the peer characters or <code>null</code> if there is no
+ * enclosing pair
*/
- IRegion findEnclosingPeerCharacters(IDocument iDocument, int i);
+ IRegion findEnclosingPeerCharacters(IDocument document, int offset);
}

Back to the top