public class DirectiveScanner extends RuleBasedScanner {
public DirectiveScanner(ColorManager manager) {
IToken string =</BUG>
new Token(
new TextAttribute(
<BUG>manager.getColor(Constants.COLOR_STRING)));
IRule[] result = new IRule[3];</BUG>
int i = 0;
result[i++] = new SingleLineRule("\"", "\"", string,'\\'); //$NON-NLS-1$ //$NON-NLS-2$
result[i++] = new SingleLineRule("'", "'", string,'\\'); //$NON-NLS-1$ //$NON-NLS-2$

public class DirectiveScanner extends RuleBasedScanner {
public DirectiveScanner() {
IToken string =
new Token(
new TextAttribute(
Preferences.getInstance().getColor(PreferenceKey.COLOR_STRING)));
IRule[] result = new IRule[3];
int i = 0;
result[i++] = new SingleLineRule("\"", "\"", string,'\\'); //$NON-NLS-1$ //$NON-NLS-2$
result[i++] = new SingleLineRule("'", "'", string,'\\'); //$NON-NLS-1$ //$NON-NLS-2$
