/* * Created on Nov 24, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ package aspectEditor.editors; import org.eclipse.jface.text.rules.IWordDetector; /** * @author pclab * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class InputWordDetector implements IWordDetector { /* (non-Javadoc) * @see org.eclipse.jface.text.rules.IWordDetector#isWordStart(char) */ public boolean isWordStart(char c) { return (Character.isLetterOrDigit(c) || (c == '|') || (c == '>') ||(c == '-') || (c == '&') || (c == '!') || (c == '=') || (c == ';') || (c == '{') || (c == '}') || (c == '.') || (c == ':') || (c == '(') || (c == ')') || (c == ',')); } /* (non-Javadoc) * @see org.eclipse.jface.text.rules.IWordDetector#isWordPart(char) */ public boolean isWordPart(char c) { return (Character.isLetterOrDigit(c) || (c == '|') || (c == '>') || (c == '-') || (c == '&') || (c == '!') || (c == '{')); } }