/*
 * Created on 2004-11-08
 *
 * Part of the Symbian development plug-in for Eclipse
 * Copyright (C) Mikołaj Zalewski, 2004
 */
package pl.zalewski.mikolaj.symbdev.ui.mmpedit;

import org.eclipse.jface.text.rules.IPredicateRule;
import org.eclipse.jface.text.rules.RuleBasedPartitionScanner;

/**
 * @author mikolaj
 *
 * The partition scanner divides the document into comments and the
 * rest of the file
 */
public class MMPPartitionScanner extends RuleBasedPartitionScanner {

    public static String PARTITION_DEFAULT="__mmp_default";
//    public static String PARTITION_COMMENT="__mmp_comment";
    public static String[] PARTITION_TYPES=
        new String[]{PARTITION_DEFAULT/*, PARTITION_COMMENT*/};
    
    /**
     * Create the partition scanners
     */
    public MMPPartitionScanner() {
        super();
//		IToken mmpComment = new Token(PARTITION_COMMENT);
        
    	IPredicateRule[] rules=new IPredicateRule[0];
//    	rules[0]=new EndOfLineRule("//", mmpComment);
    	setPredicateRules(rules);        
    }

}
