SWT LPEX
v3.0.5

com.ibm.lpex.core
Class LpexMatch

java.lang.Object
  extended bycom.ibm.lpex.core.LpexMatch

public final class LpexMatch
extends Object

Match parentheses, braces, square brackets, angle brackets.


Method Summary
static LpexDocumentLocation match(LpexView lpexView, LpexDocumentLocation loc)
          Match a paranthesis / brace / square bracket / angle bracket.
static LpexDocumentLocation match(LpexView lpexView, LpexDocumentLocation loc, boolean noisy)
          Match a paranthesis / brace / square bracket / angle bracket.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

match

public static LpexDocumentLocation match(LpexView lpexView,
                                         LpexDocumentLocation loc)
Match a paranthesis / brace / square bracket / angle bracket. No error messages are issued. This method is intended primarily for use by other classes.

Parameters:
lpexView - document view
loc - document location of the character to match
Returns:
the matching document location, or
null if none for the parameters specified

match

public static LpexDocumentLocation match(LpexView lpexView,
                                         LpexDocumentLocation loc,
                                         boolean noisy)
Match a paranthesis / brace / square bracket / angle bracket. See also the match and findMatch default editor actions, and LpexCommonParser.matchToken(com.ibm.lpex.core.LpexDocumentLocation).

Parameters:
lpexView - document view
loc - document location of the character to match
noisy - true = issue a message for certain errors
Returns:
the matching document location, or
null if none for the parameters specified

SWT LPEX
v3.0.5

(C) Copyright IBM Corporation 1998, 2005.  All Rights Reserved.