SUMMARY Kate's Capitalize feature (Tools->Capitalize) incorrectly capitalizes the letter "s" after an apostrophe. STEPS TO REPRODUCE 1. Open Kate 2. Type "Steve's" 3. Select the word 4. Tools->Capitalize OBSERVED RESULT "Steve's" is now "Steve'S" EXPECTED RESULT The letter "s" after an apostrophe should not be capitalized Operating System: KDE neon 5.16 KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.60.0 Qt Version: 5.12.3 Kernel Version: 4.15.0-55-generic OS Type: 64-bit Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor Memory: 7.8 GiB of RAM
Capitalize will upper-case the first letter of any word at the word boundary. It doesn't implement any language dependent logic. Actually, to have a language ware "correct" capitalize is a valid wish, but not sure if somebody will take that up.
I wanted to request just that, since capitalize also capitalizes words you normally wouldn't, such as articles ('the', 'a', etc.) and prepositions ('of', etc.) I was hoping most of this work had already be done elsewhere and could be imported into an intelligent capitalization system in Kate, but I suppose not.
Yeah, there is no code to just re-use for this without effort. Given nobody had interest to work on this for years, I close this now. If somebody has time to contribute it, please open a merge request.