Hi *, It seems that there is a change in the grammar checker behavior which seems undocumented anywhere.
The change is in this function: http://api.libreoffice.org/docs/common/ref/com/sun/star/linguistic2/XProofreader.html#doProofreading With LibreOffice 3, each paragraph of a text is passed once to this function in the parameter aText, and the parameters nStartOfSentencePosition and nSuggestedBehindEndOfSentencePosition are the beginning and the end of the paragraph to check. With LibreOffice 4, each paragraph of a text is passed several times to this function in the parameter aText, and the parameters nStartOfSentencePosition and nSuggestedBehindEndOfSentencePosition are the beginning and the end of each sentence of this paragraph. Is this a bug ? a feature ? an undocumented change ? This change provokes unexpected errors with the French grammar checker. Imho, the previous way to parse texts was better than the new one, as it’s up to each grammar checker to decide what to do with the paragraph, how to split it if necessary, etc. Regards, Olivier R. -- View this message in context: http://nabble.documentfoundation.org/Grammar-checker-Undocumented-change-in-the-API-for-LO-4-tp4030639.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice