Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2008 itemis AG ( and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at /
 package org.eclipse.xtext.ui.editor.syntaxcoloring;
import  org.eclipse.jface.text.TextAttribute;
import  org.eclipse.jface.text.rules.ITokenScanner;

Jan K�hnlein - Initial contribution and API
Dennis H�bner - Initial contribution and API
public abstract class AbstractTokenScanner implements ITokenScanner {
	public void setTextAttributeProvider(ITextAttributeProvider textAttributeProvider) {
		this. = textAttributeProvider;
	protected TextAttribute getAttribute(String id) {
New to GrepCode? Check out our FAQ X