Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust logic for ensuring surround range encloses selection
Prior, it was missing the case where the start of the selection came before the opening brace. We also had an off-by-one error where if the end of the selection was on the closing brace it would not work.
- Loading branch information