Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


I am making spelling/grammar/hyphenation extensions that query a remote
service, and have some performance issues that I hope there are existing
solutions for. In all cases, the extensions must work with "check
spelling/grammar as you type" enabled.

- How can I limit the request rate or make it smarter?
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.

- Why doesn't LO remember the results?
It draws the squigglies, but it then calls the checker again when
right-clicking on an error, even if no changes are made in the interim. I
can cache this in the extension, but it feels like something that should be
handled in LO itself.

In general, it feels like "as you type" incurs 50x more calls than needed.
So if I missed some obvious option toggle or existing solution, I'd love to
know.

-- Tino Didriksen

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.