>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:
Alfredo> Jean-Marc Lasgouttes wrote: >> One remaining bug (which already existed) is that the first word is >> always skipped. Actually, I feel that spellcheck should always do >> the whole document instead of starting from cursor. We may want to >> add the possibility to spellcheck a selection. Alfredo> I think you are right. (when I rewrote lyxfind.C to use Alfredo> PosIterator, I did that if I'm not mistaken. Don't know who Alfredo> changed it, and for what reasons). You did that to what code? The spellchecker or lyxfind? >> And of course, updating the screen is broken (as in search and >> replace). I guess it is easy to fix, but I do not know the magic >> incantation. Alfredo, do you have an idea of the right way for a >> dialog to get the screen to update? Alfredo> The dispatch mechanism should take care of that (the default Alfredo> of every catched funcrequest should be to update). And it Alfredo> does in CoordBranch I think. You could also directly call Alfredo> bv.update(), but it shouldn't be needed. At the end, most (if Alfredo> not all) direct update calls should be culled IMO. The problem is that this code does not use the dispatch mechanism, but direct calls to the kernel. JMarc