Closed titoBouzout closed 8 years ago
I implemented a work-around by copying the text out of the buffer with view.substr(...) and then calling text.title() on the result and splicing it back in. It's not too bad.
This issue was moved back to the other repo.
From @canoeberry on December 21, 2014 14:3
If I highlight the following code:
and execute the title_case command, I get this:
As you can see, "regions", "i", "args" and "kwargs" were not touched, because the characters in front were ... punctuation or something? Not sure, but it is wrong in my opinion.
If I run the upper_case command instead, I get this:
as expected.
Copied from original issue: SublimeTextIssues/Core#613