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
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice