Package org.eclipse.ui.texteditor.spelling

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


   * @return the spelling service
   * @since 3.1
   */
  public SpellingService getSpellingService() {
    if (fSpellingService == null)
      fSpellingService= new SpellingService(getPreferenceStore());
    return fSpellingService;
  }
View Full Code Here


   */
  public IReconciler getReconciler(ISourceViewer sourceViewer) {
    if (fPreferenceStore == null || !fPreferenceStore.getBoolean(SpellingService.PREFERENCE_SPELLING_ENABLED))
      return null;

    SpellingService spellingService= EditorsUI.getSpellingService();
    if (spellingService.getActiveSpellingEngineDescriptor(fPreferenceStore) == null)
      return null;
   
    IReconcilingStrategy strategy= new SpellingReconcileStrategy(sourceViewer, spellingService);
    MonoReconciler reconciler= new MonoReconciler(strategy, false);
    reconciler.setIsIncrementalReconciler(false);
View Full Code Here

    @Override
    public IReconciler getReconciler(ISourceViewer sourceViewer) {
        if (fPreferenceStore == null || !fPreferenceStore.getBoolean(SpellingService.PREFERENCE_SPELLING_ENABLED))
            return null;

        SpellingService spellingService = EditorsUI.getSpellingService();
        if (spellingService.getActiveSpellingEngineDescriptor(fPreferenceStore) == null)
            return null;

        //Overridden (just) to return a PyReconciler!
        IReconcilingStrategy strategy = new PyReconciler(sourceViewer, spellingService);
View Full Code Here

TOP

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

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.