* Creates a new spell event.
*
* @param checker
- * The spell-checker that causes the event
+ * The spell-checker that causes the event
* @param word
- * The word that causes the event
+ * The word that causes the event
* @param begin
- * The begin index of the word in the spell-checkable medium
+ * The begin index of the word in the spell-checkable medium
* @param end
- * The end index of the word in the spell-checkable medium
+ * The end index of the word in the spell-checkable medium
* @param sentence
- * <code>true</code> iff the word starts a new sentence,
- * <code>false</code> otherwise
+ * <code>true</code> iff the word starts a new sentence,
+ * <code>false</code> otherwise
* @param match
- * <code>true</code> iff the word was found in the dictionary,
- * <code>false</code> otherwise
+ * <code>true</code> iff the word was found in the dictionary,
+ * <code>false</code> otherwise
*/
- protected SpellEvent(final ISpellChecker checker, final String word, final int begin, final int end, final boolean sentence, final boolean match) {
- fChecker= checker;
- fEnd= end;
- fBegin= begin;
- fWord= word;
- fSentence= sentence;
- fMatch= match;
+ protected SpellEvent(final ISpellChecker checker, final String word,
+ final int begin, final int end, final boolean sentence,
+ final boolean match) {
+ fChecker = checker;
+ fEnd = end;
+ fBegin = begin;
+ fWord = word;
+ fSentence = sentence;
+ fMatch = match;
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#getBegin()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#getBegin()
*/
public final int getBegin() {
return fBegin;
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#getEnd()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#getEnd()
*/
public final int getEnd() {
return fEnd;
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#getProposals()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#getProposals()
*/
public final Set getProposals() {
return fChecker.getProposals(fWord, fSentence);
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#getWord()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#getWord()
*/
public final String getWord() {
return fWord;
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#isMatch()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#isMatch()
*/
public final boolean isMatch() {
return fMatch;
}
/*
- * @see org.eclipse.jdt.internal.ui.text.spelling.engine.ISpellEvent#isStart()
+ * @see net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellEvent#isStart()
*/
public final boolean isStart() {
return fSentence;