You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting with 1.14.2, surrounding multiple lines using S is surrounding incorrectly. Rather than adding the surround input as new lines before and after the selected lines, it's inserting the text inside the existing lines.
To Reproduce
Steps to reproduce the behavior:
Use the following text, with cursor in place of of |:
<di|v><p>Hello</p><p>World</p></div>
Use Shift+V to select all lines, press S to enter surround command, and type <div> to surround the entire selection with opening and closing div tags.
Expected behavior
Selected lines should be wrapped in new lines containing the opening and closing tags.
Screenshots
Correct behavior (1.14.1):
Incorrect behavior (1.14.2):
Environment (please complete the following information):
Extension (VsCodeVim) version: 1.14.2+
VSCode version: 1.45.0
OS: MacOS Mojave
The text was updated successfully, but these errors were encountered:
Describe the bug
Starting with 1.14.2, surrounding multiple lines using S is surrounding incorrectly. Rather than adding the surround input as new lines before and after the selected lines, it's inserting the text inside the existing lines.
To Reproduce
Steps to reproduce the behavior:
Use the following text, with cursor in place of of
|
:Use Shift+V to select all lines, press S to enter surround command, and type
<div>
to surround the entire selection with opening and closingdiv
tags.Expected behavior
Selected lines should be wrapped in new lines containing the opening and closing tags.
Screenshots
Correct behavior (1.14.1):
![Correct behavior](https://camo.githubusercontent.com/eb2cea30115a860087656142768353ceebbbbc49a2672f948e81a74c321af96b/68747470733a2f2f6b6170747572652d39386b3631696c70712e6e6f772e73682f4b617074757265253230323032302d30352d3135253230617425323031312e31392e31382e676966)
Incorrect behavior (1.14.2):
![Incorrect behavior](https://camo.githubusercontent.com/6b057aa416f39630505756b729a67697857e36a169245b0fb8e82ce2504061ef/68747470733a2f2f6b6170747572652d707a617071756364762e6e6f772e73682f4b617074757265253230323032302d30352d3135253230617425323031312e31342e33392e676966)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: