Change case now operates on text selections instead of nearby words to the cursor.
Fixes GH-15.
This should be tested thoroughly for edge cases. Note that by not seeking words near the cursor, the selected strings are passed directly to node-change-case for manipulation. I'm not sure if that is in the spirit of the original use pattern for this library or not.
Change case now operates on text selections instead of nearby words to the cursor. Fixes GH-15.
This should be tested thoroughly for edge cases. Note that by not seeking words near the cursor, the selected strings are passed directly to
node-change-case
for manipulation. I'm not sure if that is in the spirit of the original use pattern for this library or not.