X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/WhitespaceDetector.java b/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/WhitespaceDetector.java deleted file mode 100644 index 3efcc3e..0000000 --- a/net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/WhitespaceDetector.java +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2002-2004 Widespace, OU and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * - * Contributors: - * Igor Malinin - initial contribution - * - * $Id: WhitespaceDetector.java,v 1.2 2006-10-21 23:14:13 pombredanne Exp $ - */ - -package net.sourceforge.phpeclipse.xml.ui.internal.text; - -import org.eclipse.jface.text.rules.IWhitespaceDetector; - -/** - * XML white-space detector. - * - * @author Igor Malinin - */ -public class WhitespaceDetector implements IWhitespaceDetector { - - /** - * @see IWhitespaceDetector#isWhitespace(char) - */ - public boolean isWhitespace(char ch) { - switch (ch) { - case 0x09: - case 0x0A: - case 0x0D: - case 0x20: - return true; - - default: - return false; - } - } -}