Zur Startseite

JRSpellChecker

Zur Homepage

SetAutoCorrList (NewList As String, SaveToFile As Boolean) As String

Function:

Returns all entrys of the autocorrectionlist as a comma separated string.

Sets a new autocorrectionlist. The new list will be the new active one.
In use of SaveToFile=TRUE the list will be the new default list.

Please Note:
If you set a new list without SafeToFile=TRUE JRSpell loads the default List
while JRSpell is initialized
when the User opens the inbuilt dialog for autocorrection.
when the User close the wordbook dialog.
For workaround set your list again after OpenWordBookDialog was called.

Each entry in the list contains the misspelled word a space and then the correct spelled word.

Example:
teh the,tihs this,greet great

To extend the current list, load the current with GetAutoCorrList and add your own entries.

       

ico_syntax   Syntax:

JRSpell1.SetAutoCorrList(NewList$,SaveToFile)

         

ico_weitere Return value:


nothing

fires no event.

Example:

    JRSpell1.SetAutoCorrList("tihs this,tehre there,emty empty"