Package org.erlide.ui.editors.erl.completion

Examples of org.erlide.ui.editors.erl.completion.ErlContentAssistProcessor


        contentAssistant
                .setDocumentPartitioning(getConfiguredDocumentPartitioning(sourceViewer));

        final IErlModule module = getModule();
        final IErlProject project = getProject();
        contentAssistProcessor = new ErlContentAssistProcessor(sourceViewer, module,
                project, contentAssistant);
        contentAssistProcessorForStrings = new ErlStringContentAssistProcessor(
                sourceViewer, module, project, contentAssistant);

        contentAssistProcessor.setToPrefs();
View Full Code Here


        final IErlModule module = createModule(project, name, text);
        module.open(null);

        final MockSourceViewer sourceViewer = new MockSourceViewer(document, offset);
        final IContentAssistProcessor p = inStrings ? new ErlStringContentAssistProcessor(
                sourceViewer, module, project, null) : new ErlContentAssistProcessor(
                sourceViewer, module, project, null);
        final ICompletionProposal[] completionProposals = p.computeCompletionProposals(
                sourceViewer, offset);

        MatcherAssert.assertThat(ListExtensions.map(
View Full Code Here

TOP

Related Classes of org.erlide.ui.editors.erl.completion.ErlContentAssistProcessor

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.