> Currently, LO seems to call the API for every word (or even letter) typed, > which is incredibly wasteful as grammar checking only makes sense at > sentence level. I also don't really want the whole paragraph at each call; > just the last finished sentence.
But what if you have an already "finished" sentence that has existed in the document as such for long, but then go back into it and add or delete one character, that changes its grammatical correctness in either direction? (For instance, change "it's" to "its".) To be able to know whether a sentence is "finished" or not, LO would have to call some grammar checker, so that it would know if it can call a grammar checked to check the grammar of the sentence. And what if the problem with the sentence is that it is incomplete? > In general, it feels like "as you type" incurs 50x more calls than needed. Well, who claimed it would be perfect? Improvements to the core code to make interfacing with external grammar or style checkers more efficient is very much welcome. --tml _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice