Package org.eclipse.ui.texteditor.spelling

Examples of org.eclipse.ui.texteditor.spelling.SpellingContext


  public SpellcheckStrategy(ISourceViewer viewer, String contentTypeId) {
    super(viewer);
    fContentTypeId = contentTypeId;

    fSpellingContext = new SpellingContext();
    IContentType contentType = Platform.getContentTypeManager().getContentType(fContentTypeId);
    fSpellingContext.setContentType(contentType);
    fReconcileAnnotationKey = new ReconcileAnnotationKey(fSpellingStep, KEY_CONTENT_TYPE, ReconcileAnnotationKey.PARTIAL);

    /**
 
View Full Code Here


  public SpellcheckStrategy(ISourceViewer viewer, String contentTypeId) {
    super(viewer);
    fContentTypeId = contentTypeId;

    fSpellingContext = new SpellingContext();
    IContentType contentType = Platform.getContentTypeManager().getContentType(fContentTypeId);
    fSpellingContext.setContentType(contentType);
    fReconcileAnnotationKey = new ReconcileAnnotationKey(fSpellingStep, KEY_CONTENT_TYPE, ReconcileAnnotationKey.PARTIAL);

    /**
 
View Full Code Here

    public PyReconciler(ISourceViewer viewer, SpellingService spellingService) {
        Assert.isNotNull(viewer);
        Assert.isNotNull(spellingService);
        fViewer = viewer;
        fSpellingService = spellingService;
        fSpellingContext = new SpellingContext();
        fSpellingContext.setContentType(getContentType());
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.texteditor.spelling.SpellingContext

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.