adobe / brackets

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
33.25k stars 7.63k forks source link

Multiple Cursors - New Line Issue #10953

Open lbannister1994 opened 9 years ago

lbannister1994 commented 9 years ago

When using the Multiple Cursors feature, if you write out in 3 separate places <tr></tr> and pressed enter, the first cursor would correctly create a new line within the opening and closing tag, but it seems the multiple cursors feature works off line number than where the element actually is. Small issue, but if can be resolved would be useful :)

prafulVaishnav commented 9 years ago

@banny94 I am unable to understand the issue. Can you please attach the screenshot to make it clear?

rroshan1 commented 9 years ago

@banny94 Pressing enter while in between the tags in all selections does create new lines within the opening and closing tags as you expect. Please retry once making sure that your multiple selections are still selected while you press enter. If it does not work, please share the screenshot steps.

marcelgerber commented 9 years ago

Also, could you make sure this is not a problem caused by an extension by selecting Debug > Reload without extensions. After doing so, see if you can still reproduce the issue.