import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.text.rules.SingleLineRule;
import org.eclipse.jface.text.rules.Token;
import org.eclipse.jface.text.rules.WhitespaceRule;
<BUG>import org.jboss.ide.eclipse.freemarker.Constants;

public class DirectiveScanner extends RuleBasedScanner {
public DirectiveScanner(ColorManager manager) {
IToken string =</BUG>
new Token(

import org.eclipse.jface.text.rules.IToken;
import org.eclipse.jface.text.rules.RuleBasedScanner;
import org.eclipse.jface.text.rules.SingleLineRule;
import org.eclipse.jface.text.rules.Token;
import org.eclipse.jface.text.rules.WhitespaceRule;
import org.jboss.ide.eclipse.freemarker.preferences.Preferences;
import org.jboss.ide.eclipse.freemarker.preferences.Preferences.PreferenceKey;
public class DirectiveScanner extends RuleBasedScanner {
public DirectiveScanner() {
IToken string =
new Token(
