/* This Source Code Form is subject to the terms of the Mozilla Public *License,.2..Ifaofwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
# nsIEditor;
interfacensIEditor;
interface;
[criptable(-e4a84d08--)]
interface nsIEditorSpellCheck java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{
/** java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *dictionaries,thiswillreturnfalse.
*/
boolean canSpellCheck();
/** *Turnsonthespellcheckerforthegiveneditor.enableSelectionChecking *setmeansthatweonlywanttocheckthecurrentselectionintheeditor, *(thiscontrolsthebehaviorofGetNextMisspelledWord).Forspellchecking *clientswithnomodalUI(suchasinlinespellcheckers),thisflagdoesn't *matter.Initializationisasynchronousandisnotcompleteuntilthegiven *callbackiscalled.
*/ void InitSpellChecker(in nsIEditor editor, in java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 79
[optional] in nsIEditorSpellCheckCallback callback);
/** *[] *bejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *Subsequentcallswilliteratethroughallthesuggestions,allowingyou *tobuildalist.Whentherearenomoresuggestions,anemptystring *(notanullpointer)willbereturned. * *@seemozSpellChecker::GetSuggestedWord
*/
AString GetSuggestedWord();
/** *Checkagivenword.Inspiteofthename,thisfunctioncheckstheword * give,java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 74 *misspelled,itwillcomputethesuggestionswhichyoucangetfrom *GetSuggestedWord(). *@seemozSpellChecker::CheckCurrentWord
*/
boolean CheckCurrentWord(in AString suggestedWord);
/** *Checkagivenwordthenreturnssuggestionwordsvia * misspelled, it will compute the suggestions which you can ge *wordismisspelled.Ifnotmisspelled,returnsemptystringarray.
*/
[implicit_jscontext]
Promise suggest(in AString aCheckingWorkd, in unsignedlong aMaxCount);
/** *@java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 36
*/
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 58
/** *Removesawordfromthecurrentpersonaldictionary. *@seejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 45
*/ void RemoveWordFromDictionary(in java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 4
/** *java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 79 *java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 5 * **java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
Array<ACString> GetDictionaryList();
*
* @see Promise ( java.lang.StringIndexOutOfBoundsException: Range [58, 56) out of bounds for length 72
/
* Call this java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
* current selected language as the defaultfor future use.
*
* If you have called CanSpellCheck but not InitSpellChecker, you can still
* call this function to clear the cached spell check object, and no
* java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 35
*/ void UninitSpellChecker();
/
* Update the dictionary in use to be sure it corresponds to what the editor
* needs. The update *
*java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 24
*/ void UpdateCurrentDictionary([optional] in nsIEditorSpellCheckCallback callback);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.