blob: e65ff588cc355ebe5a955d62b2f9ec1d0d01e446 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2002, 2005 GEBIT Gesellschaft fuer EDV-Beratung
* und Informatik-Technologien mbH,
* Berlin, Duesseldorf, Frankfurt (Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* GEBIT Gesellschaft fuer EDV-Beratung und Informatik-Technologien mbH - initial API and implementation
* IBM Corporation - bug 29148
*******************************************************************************/
package org.eclipse.ant.internal.ui.editor.text;
/*
* This file originates from an internal package of Eclipse's
* Manifest Editor. It has been copied by GEBIT to here in order to
* permanently use those features. It has been renamed by GEBIT
* after copying.
*/
import org.eclipse.jface.text.rules.IWhitespaceDetector;
public class AntEditorWhitespaceDetector implements IWhitespaceDetector {
public boolean isWhitespace(char c) {
return (c == ' ' || c == '\t' || c == '\n' || c == '\r');
}
}