Search in sources :

Example 1 with ErlangSourceViewerConfiguration

use of org.erlide.ui.editors.erl.ErlangSourceViewerConfiguration in project erlide_eclipse by erlang.

the class ErlangScratchPad method initializeEditor.

@Override
protected void initializeEditor() {
    colorManager = new ColorManager();
    setDocumentProvider(new TextFileDocumentProvider());
    final IPreferenceStore store = ErlangScratchPad.getErlangEditorPreferenceStore();
    setPreferenceStore(store);
    final ErlangSourceViewerConfiguration cfg = new ErlangScratchPadConfiguration(getPreferenceStore(), colorManager, this);
    setSourceViewerConfiguration(cfg);
}
Also used : ErlangSourceViewerConfiguration(org.erlide.ui.editors.erl.ErlangSourceViewerConfiguration) IPreferenceStore(org.eclipse.jface.preference.IPreferenceStore) ColorManager(org.erlide.ui.util.ColorManager) TextFileDocumentProvider(org.eclipse.ui.editors.text.TextFileDocumentProvider)

Aggregations

IPreferenceStore (org.eclipse.jface.preference.IPreferenceStore)1 TextFileDocumentProvider (org.eclipse.ui.editors.text.TextFileDocumentProvider)1 ErlangSourceViewerConfiguration (org.erlide.ui.editors.erl.ErlangSourceViewerConfiguration)1 ColorManager (org.erlide.ui.util.ColorManager)1