{"action":"created","comment":{"url":"https://api.github.com/repos/zachwhaley/eli/pulls/comments/45339579","id":45339579,"diff_hunk":"@@ -183,8 +198,9 @@ Buffer::prevchar()\n     if (m_cur.x != 0) {\n         m_cur.x--;\n     }\n-    else if (m_cur.y != 0) {\n+    else if (cursorY != 0) {\n         m_cur.y--;\n+\tcursorY--;","path":"src/buffer.cpp","position":86,"original_position":86,"commit_id":"3cf2cb5acaf3eeba568ca1494ed087bd73630559","original_commit_id":"3cf2cb5acaf3eeba568ca1494ed087bd73630559","user":{"login":"zachwhaley","id":2996465,"avatar_url":"https://avatars.githubusercontent.com/u/2996465?v=3","gravatar_id":"","url":"https://api.github.com/users/zachwhaley","html_url":"https://github.com/zachwhaley","followers_url":"https://api.github.com/users/zachwhaley/followers","following_url":"https://api.github.com/users/zachwhaley/following{/other_user}","gists_url":"https://api.github.com/users/zachwhaley/gists{/gist_id}","starred_url":"https://api.github.com/users/zachwhaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachwhaley/subscriptions","organizations_url":"https://api.github.com/users/zachwhaley/orgs","repos_url":"https://api.github.com/users/zachwhaley/repos","events_url":"https://api.github.com/users/zachwhaley/events{/privacy}","received_events_url":"https://api.github.com/users/zachwhaley/received_events","type":"User","site_admin":false},"body":"Indentation: Needs one more space","created_at":"2015-11-19T13:28:28Z","updated_at":"2015-11-19T13:28:28Z","html_url":"https://github.com/zachwhaley/eli/pull/12#discussion_r45339579","pull_request_url":"https://api.github.com/repos/zachwhaley/eli/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/comments/45339579"},"html":{"href":"https://github.com/zachwhaley/eli/pull/12#discussion_r45339579"},"pull_request":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/zachwhaley/eli/pulls/12","id":51047405,"html_url":"https://github.com/zachwhaley/eli/pull/12","diff_url":"https://github.com/zachwhaley/eli/pull/12.diff","patch_url":"https://github.com/zachwhaley/eli/pull/12.patch","issue_url":"https://api.github.com/repos/zachwhaley/eli/issues/12","number":12,"state":"open","locked":false,"title":"Add scrolling","user":{"login":"aki237","id":8568726,"avatar_url":"https://avatars.githubusercontent.com/u/8568726?v=3","gravatar_id":"","url":"https://api.github.com/users/aki237","html_url":"https://github.com/aki237","followers_url":"https://api.github.com/users/aki237/followers","following_url":"https://api.github.com/users/aki237/following{/other_user}","gists_url":"https://api.github.com/users/aki237/gists{/gist_id}","starred_url":"https://api.github.com/users/aki237/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aki237/subscriptions","organizations_url":"https://api.github.com/users/aki237/orgs","repos_url":"https://api.github.com/users/aki237/repos","events_url":"https://api.github.com/users/aki237/events{/privacy}","received_events_url":"https://api.github.com/users/aki237/received_events","type":"User","site_admin":false},"body":"Just one issue at a time.... :+1: ","created_at":"2015-11-18T06:28:29Z","updated_at":"2015-11-19T13:28:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2435e7be827db51fdee5f023c5abd0a1feecede","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zachwhaley/eli/pulls/12/commits","review_comments_url":"https://api.github.com/repos/zachwhaley/eli/pulls/12/comments","review_comment_url":"https://api.github.com/repos/zachwhaley/eli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zachwhaley/eli/issues/12/comments","statuses_url":"https://api.github.com/repos/zachwhaley/eli/statuses/3cf2cb5acaf3eeba568ca1494ed087bd73630559","head":{"label":"aki237:Scrolling","ref":"Scrolling","sha":"3cf2cb5acaf3eeba568ca1494ed087bd73630559","user":{"login":"aki237","id":8568726,"avatar_url":"https://avatars.githubusercontent.com/u/8568726?v=3","gravatar_id":"","url":"https://api.github.com/users/aki237","html_url":"https://github.com/aki237","followers_url":"https://api.github.com/users/aki237/followers","following_url":"https://api.github.com/users/aki237/following{/other_user}","gists_url":"https://api.github.com/users/aki237/gists{/gist_id}","starred_url":"https://api.github.com/users/aki237/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aki237/subscriptions","organizations_url":"https://api.github.com/users/aki237/orgs","repos_url":"https://api.github.com/users/aki237/repos","events_url":"https://api.github.com/users/aki237/events{/privacy}","received_events_url":"https://api.github.com/users/aki237/received_events","type":"User","site_admin":false},"repo":{"id":46397114,"name":"eli","full_name":"aki237/eli","owner":{"login":"aki237","id":8568726,"avatar_url":"https://avatars.githubusercontent.com/u/8568726?v=3","gravatar_id":"","url":"https://api.github.com/users/aki237","html_url":"https://github.com/aki237","followers_url":"https://api.github.com/users/aki237/followers","following_url":"https://api.github.com/users/aki237/following{/other_user}","gists_url":"https://api.github.com/users/aki237/gists{/gist_id}","starred_url":"https://api.github.com/users/aki237/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aki237/subscriptions","organizations_url":"https://api.github.com/users/aki237/orgs","repos_url":"https://api.github.com/users/aki237/repos","events_url":"https://api.github.com/users/aki237/events{/privacy}","received_events_url":"https://api.github.com/users/aki237/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aki237/eli","description":"A bare bones text editor written in C++","fork":true,"url":"https://api.github.com/repos/aki237/eli","forks_url":"https://api.github.com/repos/aki237/eli/forks","keys_url":"https://api.github.com/repos/aki237/eli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aki237/eli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aki237/eli/teams","hooks_url":"https://api.github.com/repos/aki237/eli/hooks","issue_events_url":"https://api.github.com/repos/aki237/eli/issues/events{/number}","events_url":"https://api.github.com/repos/aki237/eli/events","assignees_url":"https://api.github.com/repos/aki237/eli/assignees{/user}","branches_url":"https://api.github.com/repos/aki237/eli/branches{/branch}","tags_url":"https://api.github.com/repos/aki237/eli/tags","blobs_url":"https://api.github.com/repos/aki237/eli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aki237/eli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aki237/eli/git/refs{/sha}","trees_url":"https://api.github.com/repos/aki237/eli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aki237/eli/statuses/{sha}","languages_url":"https://api.github.com/repos/aki237/eli/languages","stargazers_url":"https://api.github.com/repos/aki237/eli/stargazers","contributors_url":"https://api.github.com/repos/aki237/eli/contributors","subscribers_url":"https://api.github.com/repos/aki237/eli/subscribers","subscription_url":"https://api.github.com/repos/aki237/eli/subscription","commits_url":"https://api.github.com/repos/aki237/eli/commits{/sha}","git_commits_url":"https://api.github.com/repos/aki237/eli/git/commits{/sha}","comments_url":"https://api.github.com/repos/aki237/eli/comments{/number}","issue_comment_url":"https://api.github.com/repos/aki237/eli/issues/comments{/number}","contents_url":"https://api.github.com/repos/aki237/eli/contents/{+path}","compare_url":"https://api.github.com/repos/aki237/eli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aki237/eli/merges","archive_url":"https://api.github.com/repos/aki237/eli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aki237/eli/downloads","issues_url":"https://api.github.com/repos/aki237/eli/issues{/number}","pulls_url":"https://api.github.com/repos/aki237/eli/pulls{/number}","milestones_url":"https://api.github.com/repos/aki237/eli/milestones{/number}","notifications_url":"https://api.github.com/repos/aki237/eli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aki237/eli/labels{/name}","releases_url":"https://api.github.com/repos/aki237/eli/releases{/id}","created_at":"2015-11-18T05:21:07Z","updated_at":"2015-11-18T05:21:08Z","pushed_at":"2015-11-18T06:27:02Z","git_url":"git://github.com/aki237/eli.git","ssh_url":"git@github.com:aki237/eli.git","clone_url":"https://github.com/aki237/eli.git","svn_url":"https://github.com/aki237/eli","homepage":null,"size":58,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zachwhaley:master","ref":"master","sha":"86f8bd53d634e9aafd01f70dcb35a638d1349773","user":{"login":"zachwhaley","id":2996465,"avatar_url":"https://avatars.githubusercontent.com/u/2996465?v=3","gravatar_id":"","url":"https://api.github.com/users/zachwhaley","html_url":"https://github.com/zachwhaley","followers_url":"https://api.github.com/users/zachwhaley/followers","following_url":"https://api.github.com/users/zachwhaley/following{/other_user}","gists_url":"https://api.github.com/users/zachwhaley/gists{/gist_id}","starred_url":"https://api.github.com/users/zachwhaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachwhaley/subscriptions","organizations_url":"https://api.github.com/users/zachwhaley/orgs","repos_url":"https://api.github.com/users/zachwhaley/repos","events_url":"https://api.github.com/users/zachwhaley/events{/privacy}","received_events_url":"https://api.github.com/users/zachwhaley/received_events","type":"User","site_admin":false},"repo":{"id":17926080,"name":"eli","full_name":"zachwhaley/eli","owner":{"login":"zachwhaley","id":2996465,"avatar_url":"https://avatars.githubusercontent.com/u/2996465?v=3","gravatar_id":"","url":"https://api.github.com/users/zachwhaley","html_url":"https://github.com/zachwhaley","followers_url":"https://api.github.com/users/zachwhaley/followers","following_url":"https://api.github.com/users/zachwhaley/following{/other_user}","gists_url":"https://api.github.com/users/zachwhaley/gists{/gist_id}","starred_url":"https://api.github.com/users/zachwhaley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachwhaley/subscriptions","organizations_url":"https://api.github.com/users/zachwhaley/orgs","repos_url":"https://api.github.com/users/zachwhaley/repos","events_url":"https://api.github.com/users/zachwhaley/events{/privacy}","received_events_url":"https://api.github.com/users/zachwhaley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zachwhaley/eli","description":"A bare bones text editor written in C++","fork":false,"url":"https://api.github.com/repos/zachwhaley/eli","forks_url":"https://api.github.com/repos/zachwhaley/eli/forks","keys_url":"https://api.github.com/repos/zachwhaley/eli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zachwhaley/eli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zachwhaley/eli/teams","hooks_url":"https://api.github.com/repos/zachwhaley/eli/hooks","issue_events_url":"https://api.github.com/repos/zachwhaley/eli/issues/events{/number}","events_url":"https://api.github.com/repos/zachwhaley/eli/events","assignees_url":"https://api.github.com/repos/zachwhaley/eli/assignees{/user}","branches_url":"https://api.github.com/repos/zachwhaley/eli/branches{/branch}","tags_url":"https://api.github.com/repos/zachwhaley/eli/tags","blobs_url":"https://api.github.com/repos/zachwhaley/eli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zachwhaley/eli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zachwhaley/eli/git/refs{/sha}","trees_url":"https://api.github.com/repos/zachwhaley/eli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zachwhaley/eli/statuses/{sha}","languages_url":"https://api.github.com/repos/zachwhaley/eli/languages","stargazers_url":"https://api.github.com/repos/zachwhaley/eli/stargazers","contributors_url":"https://api.github.com/repos/zachwhaley/eli/contributors","subscribers_url":"https://api.github.com/repos/zachwhaley/eli/subscribers","subscription_url":"https://api.github.com/repos/zachwhaley/eli/subscription","commits_url":"https://api.github.com/repos/zachwhaley/eli/commits{/sha}","git_commits_url":"https://api.github.com/repos/zachwhaley/eli/git/commits{/sha}","comments_url":"https://api.github.com/repos/zachwhaley/eli/comments{/number}","issue_comment_url":"https://api.github.com/repos/zachwhaley/eli/issues/comments{/number}","contents_url":"https://api.github.com/repos/zachwhaley/eli/contents/{+path}","compare_url":"https://api.github.com/repos/zachwhaley/eli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zachwhaley/eli/merges","archive_url":"https://api.github.com/repos/zachwhaley/eli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zachwhaley/eli/downloads","issues_url":"https://api.github.com/repos/zachwhaley/eli/issues{/number}","pulls_url":"https://api.github.com/repos/zachwhaley/eli/pulls{/number}","milestones_url":"https://api.github.com/repos/zachwhaley/eli/milestones{/number}","notifications_url":"https://api.github.com/repos/zachwhaley/eli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zachwhaley/eli/labels{/name}","releases_url":"https://api.github.com/repos/zachwhaley/eli/releases{/id}","created_at":"2014-03-20T00:55:49Z","updated_at":"2015-04-08T17:30:28Z","pushed_at":"2015-11-18T06:28:29Z","git_url":"git://github.com/zachwhaley/eli.git","ssh_url":"git@github.com:zachwhaley/eli.git","clone_url":"https://github.com/zachwhaley/eli.git","svn_url":"https://github.com/zachwhaley/eli","homepage":null,"size":66,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":4,"forks":3,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/12"},"html":{"href":"https://github.com/zachwhaley/eli/pull/12"},"issue":{"href":"https://api.github.com/repos/zachwhaley/eli/issues/12"},"comments":{"href":"https://api.github.com/repos/zachwhaley/eli/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zachwhaley/eli/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/zachwhaley/eli/statuses/3cf2cb5acaf3eeba568ca1494ed087bd73630559"}}}}