public interface ICharacterPairMatcher
Modifier and Type | Field and Description |
---|---|
static int |
LEFT
Indicates the anchor value "left".
|
static int |
RIGHT
Indicates the anchor value "right".
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears this pair matcher.
|
void |
dispose()
Disposes this pair matcher.
|
int |
getAnchor()
Returns the anchor for the region of the matching peer characters.
|
IRegion |
match(IDocument iDocument,
int i)
Starting at the given offset, the matcher chooses a character close to this offset.
|
static final int RIGHT
static final int LEFT
void dispose()
void clear()
match
method.IRegion match(IDocument iDocument, int i)
null
if there is no peer character.iDocument
- the document to work oni
- the start offsetint getAnchor()
RIGHT
or LEFT
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.