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