Toggle capitalisation

Jean-Marc Lasgouttes lasgouttes at lyx.org
Mon Oct 14 09:40:48 UTC 2024


Le 14/10/2024 à 09:13, Jürgen Spitzmüller a écrit :
> Am Montag, dem 14.10.2024 um 08:54 +0200 schrieb Jürgen Spitzmüller:
>> I also agree that the new one is what most people might expect, but
>> on the other hand, I am not sure if people would expect to change
>> camelCase to Camelcase (rather than CamelCase).
> 
> By that I mean that I would definitely expect the new behavior with
> ALLCAPS (which would not be changed at all by the old function), but
> probably not in the CamelCase case.
> 
> Having both options definitely would be sensible I think.

Three things (that go beyond your remark, sorry):

1/ I would be ready to do that if you point me to one editor that has 
this functionality (I tested Emacs and MS Word and LibreOffice). I think 
changing the first character is almost as fast, and I do not foresee 
using this in long stretches of text.

2/ The original question was about cycling between these possibilities, 
and indeed we could implement word-togglecase.

3/ In LibreOffice, I find tOGGLE cASE for times when one forgot to reset 
the Caps Key. I find that interesting too, although there will be a 
clash of names with the previous one. They have “Sentence casing” too.

JMarc


More information about the lyx-devel mailing list