> Only giving the Spell Checker small strings at a time will work for a
> simple minded spell checker that only want to look at a document a
> word at a time however it will not work for spell checkers that want
> to be able to see the entire document at once.

I see and acknowledge the relevance of this.

> Writhing such an iterator is not that difficult providing you have
> some sort of container where are the individual little strings are
> held:
> 
> class doc_iterator {
[Stuff that exposes a container of strings as one big string.]
> };

Yes, this is a good solution, and very useful in other situations
as well.  Consider the LyX document one giant string from now on.

Greets,

Asger

Reply via email to