{"action":"created","issue":{"url":"https://api.github.com/repos/ichord/At.js/issues/258","labels_url":"https://api.github.com/repos/ichord/At.js/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/ichord/At.js/issues/258/comments","events_url":"https://api.github.com/repos/ichord/At.js/issues/258/events","html_url":"https://github.com/ichord/At.js/issues/258","id":60345387,"number":258,"title":"first atwho-inserted gets removed when selecting text using CTRL+A","user":{"login":"vahtel","id":396759,"avatar_url":"https://avatars.githubusercontent.com/u/396759?v=3","gravatar_id":"","url":"https://api.github.com/users/vahtel","html_url":"https://github.com/vahtel","followers_url":"https://api.github.com/users/vahtel/followers","following_url":"https://api.github.com/users/vahtel/following{/other_user}","gists_url":"https://api.github.com/users/vahtel/gists{/gist_id}","starred_url":"https://api.github.com/users/vahtel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vahtel/subscriptions","organizations_url":"https://api.github.com/users/vahtel/orgs","repos_url":"https://api.github.com/users/vahtel/repos","events_url":"https://api.github.com/users/vahtel/events{/privacy}","received_events_url":"https://api.github.com/users/vahtel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ichord/At.js/labels/bugs","name":"bugs","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-09T13:50:46Z","updated_at":"2015-05-08T21:55:11Z","closed_at":null,"body":"The first atwho-inserted tag gets removed when you select all the text using keyboard shortcut CTRL+A. \r\nIt's broken when the line starts with the input but works if there is some text before the inputor.\r\n\r\nTest case:\r\n1. Type inputor \"@user\" to input box\r\n2. Type some text\r\n3. Type inputor \"@user2\" to input box\r\n4. Press CTRL+a to select text\r\n\r\nResult:\r\nText selecting fails, the first atwho-inserted tag is removed and cursor is placed before the second inputor\r\n![select](https://cloud.githubusercontent.com/assets/396759/6556096/eacab8c6-c673-11e4-9d4f-f5c308ed2459.gif)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ichord/At.js/issues/comments/100378219","html_url":"https://github.com/ichord/At.js/issues/258#issuecomment-100378219","issue_url":"https://api.github.com/repos/ichord/At.js/issues/258","id":100378219,"user":{"login":"houd1ni","id":7501201,"avatar_url":"https://avatars.githubusercontent.com/u/7501201?v=3","gravatar_id":"","url":"https://api.github.com/users/houd1ni","html_url":"https://github.com/houd1ni","followers_url":"https://api.github.com/users/houd1ni/followers","following_url":"https://api.github.com/users/houd1ni/following{/other_user}","gists_url":"https://api.github.com/users/houd1ni/gists{/gist_id}","starred_url":"https://api.github.com/users/houd1ni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houd1ni/subscriptions","organizations_url":"https://api.github.com/users/houd1ni/orgs","repos_url":"https://api.github.com/users/houd1ni/repos","events_url":"https://api.github.com/users/houd1ni/events{/privacy}","received_events_url":"https://api.github.com/users/houd1ni/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T21:55:11Z","updated_at":"2015-05-08T21:55:11Z","body":"Couldn't repeat the bug. Is it fixed?"}}