Commit 6e2fd955 authored by jayherron's avatar jayherron

Now obeys general text editor settings, like tab size, whitespace, etc.

parent 4f1b7921
package org.jayherron.trioeditor.editors; package org.jayherron.trioeditor.editors;
import org.eclipse.jface.text.IDocument; import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextDoubleClickStrategy;
import org.eclipse.jface.text.TextAttribute; import org.eclipse.jface.text.TextAttribute;
import org.eclipse.jface.text.presentation.IPresentationReconciler; import org.eclipse.jface.text.presentation.IPresentationReconciler;
import org.eclipse.jface.text.presentation.PresentationReconciler; import org.eclipse.jface.text.presentation.PresentationReconciler;
import org.eclipse.jface.text.rules.DefaultDamagerRepairer; import org.eclipse.jface.text.rules.DefaultDamagerRepairer;
import org.eclipse.jface.text.rules.Token; import org.eclipse.jface.text.rules.Token;
import org.eclipse.jface.text.source.ISourceViewer; import org.eclipse.jface.text.source.ISourceViewer;
import org.eclipse.jface.text.source.SourceViewerConfiguration; import org.eclipse.ui.editors.text.TextSourceViewerConfiguration;
public class TrioConfiguration extends SourceViewerConfiguration { public class TrioConfiguration extends TextSourceViewerConfiguration {
private TrioScanner scanner; private TrioScanner scanner;
private ColorManager colorManager; private ColorManager colorManager;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment