Closed scowalt closed 8 years ago
Nice work! I'll review it shortly.
Thanks!
I've renamed the delimit
setting to pad
, and added "backwards-compatibility" with non-padded comments. I'd appreciate if you can review/test it: 803ce71eb1eaf1e39dc38ff0716094bc7d261ada
Also, all these array index accesses I've added are bothering me, got to replace the arrays with Range/Point instances ASAP.
Just tried it out a bit, works really well. Thanks for merging this in!
No problem.
By the way, I pushed the Point/Range refactoring here: 872733c2dea17eeb3bbb9f51bb6b8adb535eb9ed
And just published v0.4.0! Thanks. :smile:
Hey, thanks for making this package. I use it every day!
Change:
This pull request adds the "Delimit" setting to the package. This changes the behavior of the package in the following way:
Delimit == false:
selection
=>/*selection*/
Delimit == true:
selection
=>/* selection */
Current limitations:
Isn't "backwards-compatible" with non-delimited comments. Example:
Delimit == true:
/*selection*/
=>/*selection*/
Possible future work:
Looking forward to your feedback on this change. Thanks!