org.sintef.mofscript.editor
Class WordDetector

java.lang.Object
  extended by org.sintef.mofscript.editor.WordDetector
All Implemented Interfaces:
org.eclipse.jface.text.rules.IWordDetector

public class WordDetector
extends java.lang.Object
implements org.eclipse.jface.text.rules.IWordDetector

A word detector based on Java identifiers


Constructor Summary
WordDetector()
           
 
Method Summary
 boolean isWordPart(char character)
           
 boolean isWordStart(char character)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WordDetector

public WordDetector()
Method Detail

isWordPart

public boolean isWordPart(char character)
Specified by:
isWordPart in interface org.eclipse.jface.text.rules.IWordDetector

isWordStart

public boolean isWordStart(char character)
Specified by:
isWordStart in interface org.eclipse.jface.text.rules.IWordDetector