atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
180 stars 4 forks source link

Feature: Make Text>Convert>to Titlecase smart #462

Open jvzr opened 13 years ago

jvzr commented 13 years ago

Currently, this menu item capitalizes the first letter of every words.

I would suggest using John Gruber's perl script to introduce smart capitalization.

Here's a refactored and efficient fork of John's script:

http://plasmasturm.org/code/titlecase/

atg commented 13 years ago

[Need shell script support in the JS API for this, which in turn needs CHTask]

jvzr commented 13 years ago

Oh, right. But it's available in JS, too :-)

http://individed.com/code/to-title-case/