[Libreoffice-bugs] [Bug 111817] Sentence case converts all letters except the first to lowercase
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 31 06:59:05 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=111817
V Stuart Foote <vstuart.foote at utsa.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |vstuart.foote at utsa.edu
Resolution|--- |NOTABUG
--- Comment #9 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to Olivier Hallot from comment #4)
> I agree with John.
>
> The code should touch only the first letter, not the whole sentence.
No, Sentence case as implemented uses the ICU transliteration libraries
implemented in i18n. As does transliteration of UPPERCASE, Capitalize Every
Word, and lowercase--all of which are provided via the Cycle Case (<Shift>+F3)
shortcut or the Format -> Text menu which also includes the tOGGLE cASE.
These transliterations _implicitly_ affect the entire string selection, that is
the way the methods works. And, I don't believe we do any modifications to the
transliterations (to be able to apply our own logic to only affect initial
character) we would not want to as the libraries are optimized and we depend on
them for a lot of our Unicode glyph handling.
This is not the AutoCorrect "Capitalize first letter of every sentence" which
is implemented in edit engine and monitors key entry for word transitions in
Modify or Typing mode.
=> NOTABUG and Xisco's suggested help change is legitimate.
--
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/20180331/6f60da42/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list