{"action":"created","issue":{"url":"https://api.github.com/repos/axmor/typecs/issues/52","labels_url":"https://api.github.com/repos/axmor/typecs/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/axmor/typecs/issues/52/comments","events_url":"https://api.github.com/repos/axmor/typecs/issues/52/events","html_url":"https://github.com/axmor/typecs/issues/52","id":73229966,"number":52,"title":"Refactoring bug","user":{"login":"wolfgang-ch","id":1283445,"avatar_url":"https://avatars.githubusercontent.com/u/1283445?v=3","gravatar_id":"","url":"https://api.github.com/users/wolfgang-ch","html_url":"https://github.com/wolfgang-ch","followers_url":"https://api.github.com/users/wolfgang-ch/followers","following_url":"https://api.github.com/users/wolfgang-ch/following{/other_user}","gists_url":"https://api.github.com/users/wolfgang-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/wolfgang-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolfgang-ch/subscriptions","organizations_url":"https://api.github.com/users/wolfgang-ch/orgs","repos_url":"https://api.github.com/users/wolfgang-ch/repos","events_url":"https://api.github.com/users/wolfgang-ch/events{/privacy}","received_events_url":"https://api.github.com/users/wolfgang-ch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/axmor/typecs/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"p-kudrin","id":10921202,"avatar_url":"https://avatars.githubusercontent.com/u/10921202?v=3","gravatar_id":"","url":"https://api.github.com/users/p-kudrin","html_url":"https://github.com/p-kudrin","followers_url":"https://api.github.com/users/p-kudrin/followers","following_url":"https://api.github.com/users/p-kudrin/following{/other_user}","gists_url":"https://api.github.com/users/p-kudrin/gists{/gist_id}","starred_url":"https://api.github.com/users/p-kudrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p-kudrin/subscriptions","organizations_url":"https://api.github.com/users/p-kudrin/orgs","repos_url":"https://api.github.com/users/p-kudrin/repos","events_url":"https://api.github.com/users/p-kudrin/events{/privacy}","received_events_url":"https://api.github.com/users/p-kudrin/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/axmor/typecs/milestones/2","html_url":"https://github.com/axmor/typecs/milestones/3.2","labels_url":"https://api.github.com/repos/axmor/typecs/milestones/2/labels","id":995526,"number":2,"title":"3.2","description":null,"creator":{"login":"kosz78","id":3992195,"avatar_url":"https://avatars.githubusercontent.com/u/3992195?v=3","gravatar_id":"","url":"https://api.github.com/users/kosz78","html_url":"https://github.com/kosz78","followers_url":"https://api.github.com/users/kosz78/followers","following_url":"https://api.github.com/users/kosz78/following{/other_user}","gists_url":"https://api.github.com/users/kosz78/gists{/gist_id}","starred_url":"https://api.github.com/users/kosz78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosz78/subscriptions","organizations_url":"https://api.github.com/users/kosz78/orgs","repos_url":"https://api.github.com/users/kosz78/repos","events_url":"https://api.github.com/users/kosz78/events{/privacy}","received_events_url":"https://api.github.com/users/kosz78/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":10,"state":"open","created_at":"2015-02-25T17:03:11Z","updated_at":"2015-07-01T07:33:07Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-05T06:58:30Z","updated_at":"2015-07-01T07:33:07Z","closed_at":"2015-07-01T07:33:07Z","body":"Steps to reproduce the bug\r\n- open a .ts file\r\n- enter a new line at the end of the line where a refactoring should be done\r\n- select word which should be refactored, in this example the 'i'\r\n- press Ctrl-R\r\n- enter a new name and show preview\r\n- the new line is not displayed in the left part of the refactor dialog\r\n\r\nWhen the file is saved before refactoring then it works correctly.\r\n\r\n![typecs-bug-1](https://cloud.githubusercontent.com/assets/1283445/7468101/9495c8c0-f304-11e4-8184-1493aa776860.png)\r\n\r\n![typecs-bug-2](https://cloud.githubusercontent.com/assets/1283445/7468100/9490776c-f304-11e4-88f9-ba47b8ad7970.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/axmor/typecs/issues/comments/117505838","html_url":"https://github.com/axmor/typecs/issues/52#issuecomment-117505838","issue_url":"https://api.github.com/repos/axmor/typecs/issues/52","id":117505838,"user":{"login":"kosz78","id":3992195,"avatar_url":"https://avatars.githubusercontent.com/u/3992195?v=3","gravatar_id":"","url":"https://api.github.com/users/kosz78","html_url":"https://github.com/kosz78","followers_url":"https://api.github.com/users/kosz78/followers","following_url":"https://api.github.com/users/kosz78/following{/other_user}","gists_url":"https://api.github.com/users/kosz78/gists{/gist_id}","starred_url":"https://api.github.com/users/kosz78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosz78/subscriptions","organizations_url":"https://api.github.com/users/kosz78/orgs","repos_url":"https://api.github.com/users/kosz78/repos","events_url":"https://api.github.com/users/kosz78/events{/privacy}","received_events_url":"https://api.github.com/users/kosz78/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T07:33:06Z","updated_at":"2015-07-01T07:33:06Z","body":"Fixed in PR #61 "}}