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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.