{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/3026","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/3026/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/3026/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/3026/events","html_url":"https://github.com/Microsoft/vscode/issues/3026","id":133760538,"number":3026,"title":"Pressing tab with a selection in JavaScript code window deletes selection","user":{"login":"PeterAronZentai","id":1798835,"avatar_url":"https://avatars.githubusercontent.com/u/1798835?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterAronZentai","html_url":"https://github.com/PeterAronZentai","followers_url":"https://api.github.com/users/PeterAronZentai/followers","following_url":"https://api.github.com/users/PeterAronZentai/following{/other_user}","gists_url":"https://api.github.com/users/PeterAronZentai/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterAronZentai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterAronZentai/subscriptions","organizations_url":"https://api.github.com/users/PeterAronZentai/orgs","repos_url":"https://api.github.com/users/PeterAronZentai/repos","events_url":"https://api.github.com/users/PeterAronZentai/events{/privacy}","received_events_url":"https://api.github.com/users/PeterAronZentai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-15T16:40:26Z","updated_at":"2016-02-15T20:20:16Z","closed_at":null,"body":"VSCode 10.8, OSX El Capitan, MBP\r\nGiven the following scenario:\r\n![image](https://cloud.githubusercontent.com/assets/1798835/13054608/a61b950e-d402-11e5-9ffc-c717ec5b2fff.png)\r\n\r\nPressing tab now produces this:\r\n![image](https://cloud.githubusercontent.com/assets/1798835/13054623/b335ee60-d402-11e5-95ac-d07f74be53cf.png)\r\n\r\nThe undo buffer is empty. \r\n\r\nPotential regression in 0.10.8, this feature worked fine in 0.10.7\r\n\r\nUPDATE: this behavior is not predictable. If there are tab characters in the selection, or tab has been used already in the page other places, then it looks like working, but then again, not always.\r\n\r\nPlease consider this rather serious, as it can actually cause loss of code - if you have unsaved changes, since you cant undo."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/184373424","html_url":"https://github.com/Microsoft/vscode/issues/3026#issuecomment-184373424","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/3026","id":184373424,"user":{"login":"PeterAronZentai","id":1798835,"avatar_url":"https://avatars.githubusercontent.com/u/1798835?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterAronZentai","html_url":"https://github.com/PeterAronZentai","followers_url":"https://api.github.com/users/PeterAronZentai/followers","following_url":"https://api.github.com/users/PeterAronZentai/following{/other_user}","gists_url":"https://api.github.com/users/PeterAronZentai/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterAronZentai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterAronZentai/subscriptions","organizations_url":"https://api.github.com/users/PeterAronZentai/orgs","repos_url":"https://api.github.com/users/PeterAronZentai/repos","events_url":"https://api.github.com/users/PeterAronZentai/events{/privacy}","received_events_url":"https://api.github.com/users/PeterAronZentai/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T20:20:16Z","updated_at":"2016-02-15T20:20:16Z","body":"@ElChupacabra26 also on OS X? I wonder how its not came up earlier - considering how frequent this use case it."}}