zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.61k stars 184 forks source link

Title Case conversion from Uppercase #241

Closed jupester closed 1 day ago

jupester commented 3 years ago

Not sure if this is by design, or if it is unwanted, but I noticed that if you try and convert straight from uppercase to title case it doesn't change the uppercase words to title case, however if you convert to lowercase first and then title case it does perform as I would expect.

FYI I just thought I would bring it to your attention, I have no worries if you leave it as is, or change it.

jupester commented 3 years ago

Whoops just noticed this topic:

https://github.com/XhmikosR/notepad2-mod/issues/35#issuecomment-220547195

sorry.

zufuliu commented 1 month ago

An option could be added to let "Title Case" convert string to lower case, then title case: image

or add another menu (e.g. Title Case (Force)) that does lower case, then title case.

zufuliu commented 1 month ago

I'm going to change text to lower case then title case, this matches behavior of other editors.

zufuliu commented 1 month ago

The new behavior (lower casing + title casing) is implemented by 593954963d0aedf63842f382f411d6d01a103167.