2 * Copyright (c) 2003-2004 Christopher Lenz and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * Christopher Lenz - initial API and implementation
11 * $Id: CssCommentScanner.java,v 1.1 2004-09-02 18:11:48 jsurfer Exp $
14 package net.sourceforge.phpeclipse.css.ui.internal.text;
16 import net.sourceforge.phpeclipse.css.ui.internal.CssUIPreferences;
17 import net.sourceforge.phpeclipse.css.ui.text.IColorManager;
19 import org.eclipse.jface.preference.IPreferenceStore;
20 import org.eclipse.jface.text.rules.IToken;
25 public class CssCommentScanner extends AbstractCssScanner {
27 // Constructors ------------------------------------------------------------
32 * @param store The preference store
34 public CssCommentScanner(IPreferenceStore store, IColorManager manager) {
35 super(store, manager);
37 IToken commentToken = createToken(
38 CssUIPreferences.EDITOR_COMMENT_COLOR,
39 CssUIPreferences.EDITOR_COMMENT_BOLD);
41 setDefaultReturnToken(commentToken);