X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/spelling/engine/ISpellChecker.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/spelling/engine/ISpellChecker.java index decb9b5..13a9a92 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/spelling/engine/ISpellChecker.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/spelling/engine/ISpellChecker.java @@ -24,7 +24,7 @@ public interface ISpellChecker { * Adds a dictionary to the list of active dictionaries. * * @param dictionary - * The dictionary to add + * The dictionary to add */ public void addDictionary(ISpellDictionary dictionary); @@ -32,14 +32,15 @@ public interface ISpellChecker { * Adds a spell event listener to the active listeners. * * @param listener - * The listener to add + * The listener to add */ public void addListener(ISpellEventListener listener); - + /** * Returns whether this spell checker accepts word additions. * - * @return true if word additions are accepted, false otherwise + * @return true if word additions are accepted, + * false otherwise */ public boolean acceptsWords(); @@ -47,7 +48,7 @@ public interface ISpellChecker { * Adds the specified word to the set of correct words. * * @param word - * The word to add to the set of correct words + * The word to add to the set of correct words */ public void addWord(String word); @@ -55,7 +56,7 @@ public interface ISpellChecker { * Checks the specified word until calling ignoreWord(String). * * @param word - * The word to check + * The word to check */ public void checkWord(String word); @@ -64,7 +65,7 @@ public interface ISpellChecker { * be thread safe as this may be called inside a reconciler thread. * * @param iterator - * The iterator to use for spell-checking + * The iterator to use for spell-checking */ public void execute(ISpellCheckIterator iterator); @@ -72,10 +73,10 @@ public interface ISpellChecker { * Returns the ranked proposals for a word. * * @param word - * The word to retrieve the proposals for + * The word to retrieve the proposals for * @param sentence - * true iff the proposals should start a - * sentence, false otherwise + * true iff the proposals should start a sentence, + * false otherwise * @return Set of ranked proposals for the word */ public Set getProposals(String word, boolean sentence); @@ -84,7 +85,7 @@ public interface ISpellChecker { * Ignores the specified word until calling checkWord(String). * * @param word - * The word to ignore + * The word to ignore */ public void ignoreWord(String word); @@ -93,9 +94,9 @@ public interface ISpellChecker { * safe as this may be called from within a reconciler thread. * * @param word - * The word to check its spelling - * @return true iff the word is correctly spelled, false - * otherwise + * The word to check its spelling + * @return true iff the word is correctly spelled, + * false otherwise */ public boolean isCorrect(String word); @@ -103,7 +104,7 @@ public interface ISpellChecker { * Remove a dictionary from the list of active dictionaries. * * @param dictionary - * The dictionary to remove + * The dictionary to remove */ public void removeDictionary(ISpellDictionary dictionary); @@ -111,7 +112,7 @@ public interface ISpellChecker { * Removes a spell event listener from the active listeners. * * @param listener - * The listener to remove + * The listener to remove */ public void removeListener(ISpellEventListener listener); }