01: package org.drools.eclipse.editors.scanners;
02:
03: import org.eclipse.jface.text.rules.IWhitespaceDetector;
04:
05: /**
06: * A rule aware white space detector.
07: */
08: public class WhitespaceDetector implements IWhitespaceDetector {
09:
10: /* (non-Javadoc)
11: * Method declared on IWhitespaceDetector
12: */
13: public boolean isWhitespace(char character) {
14: return Character.isWhitespace(character);
15: }
16: }
|