Eclipse Platform
2.1

org.eclipse.jface.text.source
Interface ICharacterPairMatcher


public interface ICharacterPairMatcher

ICharacterPairMatcher.java


Field Summary
static int LEFT
           
static int RIGHT
           
 
Method Summary
 void clear()
          Clears this pair matcher.
 void dispose()
          Disposes this pair matcher.
 int getAnchor()
          Method getAnchor.
 IRegion match(IDocument iDocument, int i)
          Method match.
 

Field Detail

RIGHT

public static final int RIGHT
See Also:
Constant Field Values

LEFT

public static final int LEFT
See Also:
Constant Field Values
Method Detail

dispose

public void dispose()
Disposes this pair matcher.


clear

public void clear()
Clears this pair matcher. I.e. the matcher throws away all state it might remember and prepares itself for a new call of the match method.


match

public IRegion match(IDocument iDocument,
                     int i)
Method match.

Parameters:
iDocument -
i -
Returns:
IRegion

getAnchor

public int getAnchor()
Method getAnchor.

Returns:
int

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.