* Modifications history
*========================================================================
* $Log: not supported by cvs2svn $
+ * Revision 1.2 2004/11/02 19:51:53 axelcl
+ * delete finally
+ *
+ * Revision 1.2 2004/09/15 06:52:15 agfitzp
+ * added finally keyword... finally
+ *
* Revision 1.1 2004/02/26 02:25:42 agfitzp
* renamed packages to match xml & css
*
* Outline the document, not the file.
*
* Revision 1.1 2003/05/28 15:17:12 agfitzp
- * net.sourceforge.phpeclipse.js.core 0.0.1 code base
+ * net.sf.wdte.js.core 0.0.1 code base
*
*========================================================================
*/
import java.util.ArrayList;
import java.util.List;
-//import org.eclipse.jface.text.IDocument;
-import org.eclipse.jface.text.rules.*;
+
+import org.eclipse.jface.text.rules.IPredicateRule;
+import org.eclipse.jface.text.rules.IToken;
+import org.eclipse.jface.text.rules.MultiLineRule;
+import org.eclipse.jface.text.rules.RuleBasedPartitionScanner;
+import org.eclipse.jface.text.rules.SingleLineRule;
+import org.eclipse.jface.text.rules.Token;
/**
*
*
- * @author $Author: jsurfer $, $Date: 2004-09-02 18:14:38 $
+ * @author $Author: stefanbjarni $, $Date: 2005-05-06 00:58:28 $
*
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.3 $
*/
public class JSPartitionScanner extends RuleBasedPartitionScanner {
public final static String JS_DEFAULT = "__js_default";
"case", "catch", "continue",
"default", "do",
"else",
- "for", "function",
+ "finally", "for", "function",
"goto",
"if", "in",
"new",