/* * $RCSfile: JSWhitespaceDetector.java,v $ * * Copyright 2002 * CH-1700 Fribourg, Switzerland * All rights reserved. * *======================================================================== * Modifications history *======================================================================== * $Log: not supported by cvs2svn $ * Revision 1.1 2004/02/26 02:25:42 agfitzp * renamed packages to match xml & css * * Revision 1.1 2004/02/05 03:10:08 agfitzp * Initial Submission * * Revision 1.1.2.1 2003/12/12 21:37:24 agfitzp * Experimental work for Classes view * * Revision 1.1 2003/05/28 15:17:12 agfitzp * net.sourceforge.phpeclipse.js.core 0.0.1 code base * *======================================================================== */ package net.sourceforge.phpeclipse.js.core.parser; import org.eclipse.jface.text.rules.IWhitespaceDetector; /** * * * @author $Author: jsurfer $, $Date: 2004-09-02 18:14:38 $ * * @version $Revision: 1.1 $ */ public class JSWhitespaceDetector implements IWhitespaceDetector { /** * * * @param c * * @return */ public boolean isWhitespace(char c) { return (c == ' ' || c == '\t' || c == '\n' || c == '\r'); } }