On Thu, Jul 17, 2003 at 06:07:19PM +0000, Angus Leeming wrote:

> John, I think that you know this code well. Am I on the right track?

Why all in LFUN_SPELLCHECK ? Most of these seem fairly generic (not
spellcheck specific).

> FuncRequest(LFUN_SPELLCHECK, string("nextword " + tostr(newval_)));
>         word_ = bufferview()->nextWord(newval_);
> 
> This last one is a little complex, as we would have also to pass the new 
> word and modified newval_ back to the dialog through
>         Dialogs::update("spellchecker", string(word_ + tostr(newval_)));

Can't we just grab the selection after firing off nextWord ?

regards
john

Reply via email to