{"action":"opened","issue":{"url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/1271","repository_url":"https://api.github.com/repos/SublimeTextIssues/Core","labels_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/1271/labels{/name}","comments_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/1271/comments","events_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/1271/events","html_url":"https://github.com/SublimeTextIssues/Core/issues/1271","id":164473202,"number":1271,"title":"Reindent command breaks on HTML/XML multiline comments","user":{"login":"keith-hall","id":11882719,"avatar_url":"https://avatars.githubusercontent.com/u/11882719?v=3","gravatar_id":"","url":"https://api.github.com/users/keith-hall","html_url":"https://github.com/keith-hall","followers_url":"https://api.github.com/users/keith-hall/followers","following_url":"https://api.github.com/users/keith-hall/following{/other_user}","gists_url":"https://api.github.com/users/keith-hall/gists{/gist_id}","starred_url":"https://api.github.com/users/keith-hall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keith-hall/subscriptions","organizations_url":"https://api.github.com/users/keith-hall/orgs","repos_url":"https://api.github.com/users/keith-hall/repos","events_url":"https://api.github.com/users/keith-hall/events{/privacy}","received_events_url":"https://api.github.com/users/keith-hall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-08T07:20:45Z","updated_at":"2016-07-08T07:20:45Z","closed_at":null,"body":"### Summary\r\n\r\nSelecting an entire XML or HTML document that contains comments that span multiple lines, and using the `Edit` -> `Line` -> `Reindent` command, stops indenting at the comment.\r\n\r\nI believe that this is not a Indentation Rules issue for the Default packages repo, because they don't specify any rules for handling comments.\r\n\r\n### Expected behavior\r\n\r\nThe entire document should be re-indented correctly.\r\n\r\n### Actual behavior\r\n\r\nIndentation stops at the comment and starts from 0 again after it.\r\n\r\n### Steps to reproduce\r\n\r\n0. Create a new tab\r\n0. Set the syntax to XML or HTML\r\n0. Type some valid markup that includes a comment that spans multiple lines\r\n0. Select all\r\n0. Completely unindent the document\r\n0. `Edit` -> `Line` -> `Reindent`\r\n\r\nExample:\r\n\r\n    <root>\r\n    <level>\r\n    <!-- example\r\n    comment -->\r\n    <example />\r\n    <foobar>\r\n    <hello world=\"yes\">\r\n    </hello>\r\n    </foobar>\r\n    </level>\r\n    <level>\r\n    </level>\r\n    </root>\r\n\r\nbecomes:\r\n\r\n    <root>\r\n        <level>\r\n    <!-- example\r\n    comment -->\r\n    <example />\r\n    <foobar>\r\n        <hello world=\"yes\">\r\n        </hello>\r\n    </foobar>\r\n    </level>\r\n    <level>\r\n    </level>\r\n    </root> \r\n\r\n### Environment\r\n\r\n* Operating system and version:\r\n  * [X] Windows 7 x64\r\n  * [ ] Mac OSX (untested)\r\n  * [X] Linux - Ubuntu 16.04 x64\r\n* Sublime Text:\r\n  * Build 3118, 3114\r\n  * Clean install\r\n"}}
{"actor":{"display_login":"keith-hall"}}