Package org.erlide.ui.editors.erl

Examples of org.erlide.ui.editors.erl.ErlangSourceViewerConfiguration


            composite.setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND));
        }

        // Source viewer
        fViewer = new SourceViewer(composite, null, style);
        fViewer.configure(new ErlangSourceViewerConfiguration(ErlangEditor
                .getErlangEditorPreferenceStore(), new ColorManager()));
        fViewer.setEditable(false);

        fText = fViewer.getTextWidget();
        gd = new GridData(GridData.BEGINNING | GridData.FILL_BOTH);
View Full Code Here


    ErlContentViewer(final Composite parent) {
        fSourceViewer = new SourceViewer(parent, null, SWT.LEFT_TO_RIGHT | SWT.H_SCROLL
                | SWT.V_SCROLL);
        final IPreferenceStore store = ErlideUIPlugin.getDefault().getPreferenceStore();
        fSourceViewer.configure(new ErlangSourceViewerConfiguration(store,
                new ColorManager()));
        fSourceViewer.setEditable(false);

        final String symbolicFontName = ErlMergeViewer.class.getName();
        final Font font = JFaceResources.getFont(symbolicFontName);
View Full Code Here

        setDocumentProvider(new TextFileDocumentProvider());

        final IPreferenceStore store = getErlangEditorPreferenceStore();
        setPreferenceStore(store);

        final ErlangSourceViewerConfiguration cfg = new ErlangScratchPadConfiguration(
                getPreferenceStore(), colorManager, this);
        setSourceViewerConfiguration(cfg);
    }
View Full Code Here

TOP

Related Classes of org.erlide.ui.editors.erl.ErlangSourceViewerConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.