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.

I think you are right. (when I rewrote lyxfind.C to use PosIterator, I did
that if I'm not mistaken. Don't know who changed it, and for what reasons). 
 
> 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?

The dispatch mechanism should take care of that (the default of every
catched funcrequest should be to update). And it does in CoordBranch I
think. You could also directly call bv.update(), but it shouldn't be
needed. At the end, most (if not all) direct update calls should be culled
IMO.

Regards, Alfredo


Reply via email to