com.swabunga.spell.jedit
Class JazzySpellCheck
java.lang.Object
com.swabunga.spell.jedit.JazzySpellCheck
- All Implemented Interfaces:
- java.util.EventListener, SpellCheckListener
- public class JazzySpellCheck
- extends java.lang.Object
- implements SpellCheckListener
Constructor Summary |
JazzySpellCheck(int flags)
Creates a new JazzySpellCheck object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOAD_DICTIONARY
public static final int LOAD_DICTIONARY
- See Also:
- Constant Field Values
RESET_SPELLCHECKER
public static final int RESET_SPELLCHECKER
- See Also:
- Constant Field Values
JazzySpellCheck
public JazzySpellCheck(int flags)
- Creates a new JazzySpellCheck object.
- Parameters:
flags
-
isLoaded
public boolean isLoaded()
- Returns:
checkText
public java.lang.String checkText(java.lang.String input,
java.lang.String mode,
int offset,
int caret)
- Parameters:
input
- mode
- offset
- caret
-
- Returns:
loadDictionary
public boolean loadDictionary()
- Returns:
resetSpellChecker
public void resetSpellChecker()
- Resets list of ignored words.
spellingError
public void spellingError(SpellCheckEvent event)
- Specified by:
spellingError
in interface SpellCheckListener
- Parameters:
event
-
unloadDictionary
public void unloadDictionary()