{"action":"created","issue":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1146","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1146/labels{/name}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1146/comments","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1146/events","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1146","id":116976222,"number":1146,"title":"Fixes issue #1144, simplifies code","user":{"login":"ariccio","id":2142308,"avatar_url":"https://avatars.githubusercontent.com/u/2142308?v=3","gravatar_id":"","url":"https://api.github.com/users/ariccio","html_url":"https://github.com/ariccio","followers_url":"https://api.github.com/users/ariccio/followers","following_url":"https://api.github.com/users/ariccio/following{/other_user}","gists_url":"https://api.github.com/users/ariccio/gists{/gist_id}","starred_url":"https://api.github.com/users/ariccio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariccio/subscriptions","organizations_url":"https://api.github.com/users/ariccio/orgs","repos_url":"https://api.github.com/users/ariccio/repos","events_url":"https://api.github.com/users/ariccio/events{/privacy}","received_events_url":"https://api.github.com/users/ariccio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-15T06:20:31Z","updated_at":"2015-11-18T15:56:53Z","closed_at":"2015-11-18T15:56:53Z","pull_request":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/1146","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1146","diff_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1146.diff","patch_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1146.patch"},"body":"The original code was unnecessarily complex, did unnecessary work, and\r\noverran the listChar buffer. This is an alternative to #1111, with more\r\n`const`, and simpler code. \r\n\r\nGithub didn't link to it: Issue #1144."},"comment":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments/157758046","html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/1146#issuecomment-157758046","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/1146","id":157758046,"user":{"login":"donho","id":90293,"avatar_url":"https://avatars.githubusercontent.com/u/90293?v=3","gravatar_id":"","url":"https://api.github.com/users/donho","html_url":"https://github.com/donho","followers_url":"https://api.github.com/users/donho/followers","following_url":"https://api.github.com/users/donho/following{/other_user}","gists_url":"https://api.github.com/users/donho/gists{/gist_id}","starred_url":"https://api.github.com/users/donho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donho/subscriptions","organizations_url":"https://api.github.com/users/donho/orgs","repos_url":"https://api.github.com/users/donho/repos","events_url":"https://api.github.com/users/donho/events{/privacy}","received_events_url":"https://api.github.com/users/donho/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T15:56:53Z","updated_at":"2015-11-18T15:56:53Z","body":"I took rather: https://github.com/notepad-plus-plus/notepad-plus-plus/commit/71edfb2dba3fd94b9b8b642e3d7dd7c00eeed307 than your patch for the following reasons:\r\n1. the accepted patch is much simpler than yours.\r\n2. your patch does a lot refactoring which has nothing to do with the bug-fix.\r\n"}}