[Libreoffice-bugs] [Bug 116718] Autocorrect--Capitalize first letter of every sentence--missing .) or ." as end of sentence

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Sep 5 23:33:58 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=116718

--- Comment #5 from Michael Warner <michael.warner.ut+libreoffice at gmail.com> ---
In my testing, a sentence break is not recognized when the next sentence begins
with a lower-case character. For example, in the attached file, if you apply
sentence case to the second sentence (whether there is a selection active or
not), it won't capitalize the first character. 

I have traced through the code path into BreakIterator_Unicode::endOfSentence
in breakiterator_unicode.cxx, and found that the start position returned by 
sentence.mpValue->mpBreakIterator->following(nStartPos); is wrong. My
supposition is that the true error lies in loadICUBreakIterator, but I haven't
been able to follow that logic well enough to find it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210905/27cc9d46/attachment.htm>


More information about the Libreoffice-bugs mailing list