Re: commit: Grammar squiggle color is a preference.

From: Dom Lachowicz <domlachowicz_at_yahoo.com>
Date: Wed Feb 09 2005 - 15:26:16 CET

> > Btw, why is all this integrated in the main tree,
> with the grammar
> > checker being a plugin?
> >
>
> Because it's all pure XP code, has a negilible
> impact on performance and
> way too hard to write as a plugin.
>
> Feel free to correct me.

I'd very much like for us to design some
IGrammarChecker interface that gets implemented via
this plugin. If done correctly, that gains us at
least:

1) Preference on whether to Grammar Check blocks or
not automatically, much like the automatic spell
checking toggle
2) Support for multiple languages
3) The basis for some grammar-checking dialog, ala
MSWord

We should then move a lot of the code that's currently
in this plugin up into AbiWord proper. I think that
the plugin itself should be fairly stupid with regard
to anything != grammar. This means that some piece of
code in AbiWord proper should intercept the BLKGRAMMAR
Listener::notify() signal, tokenize the sentence
accordingly, and pass it to the appropriate grammar
checking plugin.

Let me know what you think.

Best,
Dom

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
Received on Wed Feb 9 15:27:29 2005

This archive was generated by hypermail 2.1.8 : Wed Feb 09 2005 - 15:27:29 CET