robhurring / atom-change-case

atom plugin for node-change-case
MIT License
34 stars 14 forks source link

Improved selection handling #21

Closed clayzermk1 closed 9 years ago

clayzermk1 commented 9 years ago

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.