- April 24, 2018 at 12:29 pm #23066
It would be great if there was such a functionality, with the ability also to define words that do not get capitalized (Articles, conjunctions, and prepositions)
http://www.grammar-monster.com/lessons/capital_letters_title_case.htmApril 28, 2018 at 5:44 am #23093
There is already a shortcut for this in Notepad++ (no option though for words that should not be capitalized)April 28, 2018 at 11:35 am #23094
We appreciate your feedback. Although we won’t be implementing this feature in the near future, I did make a script that can do this: https://pastebin.com/yHZYnLMV.
excludeWordsis a list of strings that are not matched when converting words to sentence case. Just save the script as a .jsee file and add the macro in the Customize Macros window. The words that start inside the selection are converted to sentence case when the script is run. It’s not exactly fully tested, so let me know if it’s not working.December 25, 2018 at 8:18 am #24062
Thank you. Sorry for the late reply, I just saw it. Looks good apart from misrecognizing whole words. I.e.
we’re master’s doesn’t
We’Re Master’S Doesn’T
We’re Master’s Doesn’t
By the way, the default functionality of the Convert Selection > Capitalize command, does not do that.December 27, 2018 at 9:20 am #24073
I updated the script to avoid capitalizing a character proceeding an apostrophe: https://gist.github.com/MakotoE/d74d75ade47f57c1c9396488bada8347December 29, 2018 at 3:10 am #24089
Thank you! Looks good and is much appreciated.
You must be logged in to reply to this topic.