adobe/brackets — pull request #3240 by TomMalbran (2013-03-25 02:30:28+00:00)
Title: Wrap Selection with Tag

This adds the feature mentioned in this [Trello Card](https://trello.com/card/wrap-selection-w-html-tags/4f90a6d98f77505d7940ce88/811) in a similar way as Sublime Text 2 implements it.

Edit -> Wrap Selection with Tag or Alt-Shift-W adds a `

` and a `

` around the selection and sets the selection on the first `p`. Every edition made after this will synchronize the content between the open and close tag, using the content of the open tag up to the first space until the cursor leaves the open tag.