/* * 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: CssStringScanner.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 CssStringScanner extends AbstractCssScanner { // Constructors ------------------------------------------------------------ /** * Constructor. * * @param store The preference store */ public CssStringScanner(IPreferenceStore store, IColorManager manager) { super(store, manager); IToken stringToken = createToken( CssUIPreferences.EDITOR_STRING_COLOR, CssUIPreferences.EDITOR_STRING_BOLD); setDefaultReturnToken(stringToken); } }