1 11 12 package org.eclipse.jdt.internal.ui.text.spelling; 13 14 import java.net.URL ; 15 import java.util.Locale ; 16 17 import org.eclipse.jdt.internal.ui.text.spelling.engine.LocaleSensitiveSpellDictionary; 18 19 import org.eclipse.jdt.internal.ui.text.javadoc.IHtmlTagConstants; 20 import org.eclipse.jdt.internal.ui.text.javadoc.IJavaDocTagConstants; 21 22 27 public class SpellReconcileDictionary extends LocaleSensitiveSpellDictionary implements IJavaDocTagConstants, IHtmlTagConstants { 28 29 37 public SpellReconcileDictionary(final Locale locale, final URL location) { 38 super(locale, location); 39 } 40 41 44 public boolean isCorrect(final String word) { 45 46 final char character= word.charAt(0); 47 if (character != JAVADOC_TAG_PREFIX && character != HTML_TAG_PREFIX) 48 return super.isCorrect(word); 49 50 return false; 51 } 52 } 53 | Popular Tags |