Spell Checker dialog get full line and application freezes

  • I use WPtools v.6.13 and the last version of wpspell .
    I compiled and tested your SpellDemo

    SpellAsYouGo works perfectly, but spell dialog don't.

    -- Problem 1 --
    If the text of editor is:
    WPSpell Test Application. The bok is on the table.

    on executing StartSpellCheck(wpStartSpellCheck)

    the dialog spell checker is shown with the full line
    WPSpell Test Application. The bok is on the table.
    on the field "In Dictionary". The field "Change to" and "Suggestions" are blank.

    Why dialog get full line instead of individual words?

    -- Problem 2--
    if the text of editor is composed by more lines (ex. 10)
    on executing StartSpellCheck(wpStartSpellCheck)
    the application freezes.

    How can I fix these problems?