{"action":"created","issue":{"url":"https://api.github.com/repos/google/ci_edit/issues/36","repository_url":"https://api.github.com/repos/google/ci_edit","labels_url":"https://api.github.com/repos/google/ci_edit/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/google/ci_edit/issues/36/comments","events_url":"https://api.github.com/repos/google/ci_edit/issues/36/events","html_url":"https://github.com/google/ci_edit/pull/36","id":246416290,"number":36,"title":"Add redo chain to history","user":{"login":"aaxu","id":19481525,"avatar_url":"https://avatars2.githubusercontent.com/u/19481525?v=4","gravatar_id":"","url":"https://api.github.com/users/aaxu","html_url":"https://github.com/aaxu","followers_url":"https://api.github.com/users/aaxu/followers","following_url":"https://api.github.com/users/aaxu/following{/other_user}","gists_url":"https://api.github.com/users/aaxu/gists{/gist_id}","starred_url":"https://api.github.com/users/aaxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaxu/subscriptions","organizations_url":"https://api.github.com/users/aaxu/orgs","repos_url":"https://api.github.com/users/aaxu/repos","events_url":"https://api.github.com/users/aaxu/events{/privacy}","received_events_url":"https://api.github.com/users/aaxu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-07-28T17:51:45Z","updated_at":"2017-08-08T18:49:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/google/ci_edit/pulls/36","html_url":"https://github.com/google/ci_edit/pull/36","diff_url":"https://github.com/google/ci_edit/pull/36.diff","patch_url":"https://github.com/google/ci_edit/pull/36.patch"},"body":"**Features**\r\n* Now, user history is saved when you save a file, rather than when you exit the program.\r\n* When you re-open the file, you will be in the exact same state as before. Highlights, cursor, selectionMode, and redo chains are all preserved, provided that the file was not modified by another program.\r\n* The way I match a file to its history is hashing it using a sha512 function as well as check its file size to see if it was the same as before. This reduces the chance of a collision and also allows the matching to occur even if the user moves the file to another location.\r\n"},"comment":{"url":"https://api.github.com/repos/google/ci_edit/issues/comments/321047626","html_url":"https://github.com/google/ci_edit/pull/36#issuecomment-321047626","issue_url":"https://api.github.com/repos/google/ci_edit/issues/36","id":321047626,"user":{"login":"aaxu","id":19481525,"avatar_url":"https://avatars2.githubusercontent.com/u/19481525?v=4","gravatar_id":"","url":"https://api.github.com/users/aaxu","html_url":"https://github.com/aaxu","followers_url":"https://api.github.com/users/aaxu/followers","following_url":"https://api.github.com/users/aaxu/following{/other_user}","gists_url":"https://api.github.com/users/aaxu/gists{/gist_id}","starred_url":"https://api.github.com/users/aaxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaxu/subscriptions","organizations_url":"https://api.github.com/users/aaxu/orgs","repos_url":"https://api.github.com/users/aaxu/repos","events_url":"https://api.github.com/users/aaxu/events{/privacy}","received_events_url":"https://api.github.com/users/aaxu/received_events","type":"User","site_admin":false},"created_at":"2017-08-08T18:49:38Z","updated_at":"2017-08-08T18:49:38Z","body":"It's not a huge deal, but it just makes things look cleaner. Like if someone were to look at the - 3 in the code, it's pretty hard to understand that without a deeper understanding of the program."}}
{"actor":{"display_login":"aaxu"}}