Package org.eclipse.cdt.internal.ui.text

Examples of org.eclipse.cdt.internal.ui.text.CTextTools


    IEditorInput input =
      new FileEditorInput(ProjectUtils.getFile(project, file));
    editor.init(new EclimEditorSite(), input);
    editor.setInput(input);

    CTextTools textTools = CUIPlugin.getDefault().getTextTools();
    IPreferenceStore store = CUIPlugin.getDefault().getCombinedPreferenceStore();
    CSourceViewerConfiguration config =
      new CSourceViewerConfiguration(
          textTools.getColorManager(),
          store,
          editor,
          textTools.getDocumentPartitioning());

    CSourceViewer viewer = new CSourceViewer(
        EclimPlugin.getShell(), null, null, false,
        SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI | SWT.FULL_SELECTION,
        CUIPlugin.getDefault().getPreferenceStore());
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.internal.ui.text.CTextTools

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.