"Lars Gullik Bjønnes" wrote:
> 
>   >> Kevin Atkinson writes:
> 
>   KA> "Lars Gullik Bjønnes" wrote:
>   >>  >> Kevin Atkinson writes:
>   KA> I see the point you were trying to make. But do you understand
>   KA> my point why Aspell needs a continuos iterator.
>   >>  Is it Aspell that needs it, or your interface to aspell?
> 
>   KA> What Aspell Needs. Well it doesn't really need it it is just
>   KA> that it has the potential to do a better job with access to the
>   KA> entire document at once.
> 
> I am not convinced that it is possible/easy to see a complete lyx
> buffer/document as a long string with context, that would almost be
> similar to write out the lyx file, spellcheck that and reload.

No.  Pay close attention to the iterator model I gave you.  It doesn't
copy a
single thing it just iterator over multiple strings as IF there where
one.  It never every makes a copy of anything except perhaps a single
character. You can always find out where you as it returns iterator
pointing to the real inset and location within that inset it is in.

> Wouldn't it be better to use the context the insets provide more
> directly?

That would be more complicated.  I am trying to avoid a lot of LyX
specific code.  

> 
> Why see more context than a complete paragraph at a time? sometimes I
> belive that a singel inset provides all the context you need too.

Not necessarily.  That is the same philosophy as two digits for the date
is more than enough.  Or 640K of memory if more than any one needs.  Or,
Why would anyone need a color monitor.  

-- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to