rules.add(new WhitespacePredicateRule(key));
rules.add(new LeadingWhitespacePredicateRule(key, "\t")); rules.add(new LeadingWhitespacePredicateRule(key, " "));
	public PropertiesFilePartitionScanner() {		super();				IToken comment= new Token(COMMENT);		IToken propertyValue= new Token(PROPERTY_VALUE);		IToken key= new Token(IDocument.DEFAULT_CONTENT_TYPE);		List rules= new ArrayList();		// Add rule for leading white space.		rules.add(new WhitespacePredicateRule(key));		// Add rules for comments.		rules.add(new EndOfLineRule("#", comment, (char) 0, true)); //$NON-NLS-1$		rules.add(new EndOfLineRule("!", comment, (char) 0, true)); //$NON-NLS-1$		// Add rules for property values.		rules.add(new SingleLineRule("=", null, propertyValue, '\\', true, true)); //$NON-NLS-1$		rules.add(new SingleLineRule(":", null, propertyValue, '\\', true, true)); //$NON-NLS-1$		rules.add(new SingleLineRule(" ", null, propertyValue, '\\', true, true)); //$NON-NLS-1$		rules.add(new SingleLineRule("\t", null, propertyValue, '\\', true, true)); //$NON-NLS-1$				// Add special case word rule.		EmptyCommentRule wordRule= new EmptyCommentRule(comment);		rules.add(wordRule);		IPredicateRule[] result= new IPredicateRule[rules.size()];		rules.toArray(result);		setPredicateRules(result);	}