01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package org.terracotta.dso.editors.xml;
05:
06: import org.eclipse.jface.text.rules.IWhitespaceDetector;
07:
08: public class XMLWhitespaceDetector implements IWhitespaceDetector {
09:
10: public boolean isWhitespace(char c) {
11: return (c == ' ' || c == '\t' || c == '\n' || c == '\r');
12: }
13: }
|