{"action":"created","comment":{"url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/comments/87693319","pull_request_review_id":8298602,"id":87693319,"diff_hunk":"@@ -79,6 +82,15 @@ def navigate(href):\n             # hide the popup and update the gutter\n             view.hide_popup()\n             view.run_command(\"git_gutter\")\n+        elif href in [\"disable_hl_diff\", \"enable_hl_diff\"]:\n+            do_diff = {\n+                \"disable_hl_diff\": False,\n+                \"enable_hl_diff\": True\n+            }.get(href)\n+            # show a diff popup with the same diff info\n+            _show_diff_popup_impl(\n+                view, point, highlight_diff=do_diff, flags=0,","path":"git_gutter_popup.py","position":52,"original_position":52,"commit_id":"2aa0ad369ac7f8c1ddb13dfc5856ad8d04dd0362","original_commit_id":"2aa0ad369ac7f8c1ddb13dfc5856ad8d04dd0362","user":{"login":"r-stein","id":12573621,"avatar_url":"https://avatars.githubusercontent.com/u/12573621?v=3","gravatar_id":"","url":"https://api.github.com/users/r-stein","html_url":"https://github.com/r-stein","followers_url":"https://api.github.com/users/r-stein/followers","following_url":"https://api.github.com/users/r-stein/following{/other_user}","gists_url":"https://api.github.com/users/r-stein/gists{/gist_id}","starred_url":"https://api.github.com/users/r-stein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-stein/subscriptions","organizations_url":"https://api.github.com/users/r-stein/orgs","repos_url":"https://api.github.com/users/r-stein/repos","events_url":"https://api.github.com/users/r-stein/events{/privacy}","received_events_url":"https://api.github.com/users/r-stein/received_events","type":"User","site_admin":false},"body":"I played around with this and thought this would be better. The normal flag is \"HIDE_MOUSE_ON_MOVE_AWAY\". However if someone actively clicked on the popup he mostlikely want it to be persistant, so I make it persistant.","created_at":"2016-11-12T14:15:21Z","updated_at":"2016-11-12T14:15:21Z","html_url":"https://github.com/jisaacks/GitGutter/pull/309#discussion_r87693319","pull_request_url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309","_links":{"self":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/comments/87693319"},"html":{"href":"https://github.com/jisaacks/GitGutter/pull/309#discussion_r87693319"},"pull_request":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309"}}},"pull_request":{"url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309","id":83067639,"html_url":"https://github.com/jisaacks/GitGutter/pull/309","diff_url":"https://github.com/jisaacks/GitGutter/pull/309.diff","patch_url":"https://github.com/jisaacks/GitGutter/pull/309.patch","issue_url":"https://api.github.com/repos/jisaacks/GitGutter/issues/309","number":309,"state":"open","locked":false,"title":"Mode to highlight the differences inside the diff popup","user":{"login":"r-stein","id":12573621,"avatar_url":"https://avatars.githubusercontent.com/u/12573621?v=3","gravatar_id":"","url":"https://api.github.com/users/r-stein","html_url":"https://github.com/r-stein","followers_url":"https://api.github.com/users/r-stein/followers","following_url":"https://api.github.com/users/r-stein/following{/other_user}","gists_url":"https://api.github.com/users/r-stein/gists{/gist_id}","starred_url":"https://api.github.com/users/r-stein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-stein/subscriptions","organizations_url":"https://api.github.com/users/r-stein/orgs","repos_url":"https://api.github.com/users/r-stein/repos","events_url":"https://api.github.com/users/r-stein/events{/privacy}","received_events_url":"https://api.github.com/users/r-stein/received_events","type":"User","site_admin":false},"body":"Add a mode to toggle the highlight mode of the diff popup between \"syntax highlighting\" and \"differences highlighting\". The \"differences highlighting\" will show the merged content of the git and the editor and highlight differences with different styles.\n\n![diff_highlight](https://cloud.githubusercontent.com/assets/12573621/18046401/0413138e-6dd8-11e6-98de-b670f3439122.gif)\n\nCurrent styling:\n\n| color | meaning |\n| --- | --- |\n| red | text was _deleted_ |\n| yellow | text was deleted and _replaced_ by new text |\n| green | text was _inserted_ and might replace deleted text |\n\n_I am still looking forward to do some changes, but it is ready for test and feedback._\n","created_at":"2016-08-29T09:12:08Z","updated_at":"2016-11-12T14:15:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7eeb1ba15f9b2f431a8bf62d386fd88fac876bad","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309/commits","review_comments_url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309/comments","review_comment_url":"https://api.github.com/repos/jisaacks/GitGutter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jisaacks/GitGutter/issues/309/comments","statuses_url":"https://api.github.com/repos/jisaacks/GitGutter/statuses/2aa0ad369ac7f8c1ddb13dfc5856ad8d04dd0362","head":{"label":"r-stein:popup_highlight_diff","ref":"popup_highlight_diff","sha":"2aa0ad369ac7f8c1ddb13dfc5856ad8d04dd0362","user":{"login":"r-stein","id":12573621,"avatar_url":"https://avatars.githubusercontent.com/u/12573621?v=3","gravatar_id":"","url":"https://api.github.com/users/r-stein","html_url":"https://github.com/r-stein","followers_url":"https://api.github.com/users/r-stein/followers","following_url":"https://api.github.com/users/r-stein/following{/other_user}","gists_url":"https://api.github.com/users/r-stein/gists{/gist_id}","starred_url":"https://api.github.com/users/r-stein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-stein/subscriptions","organizations_url":"https://api.github.com/users/r-stein/orgs","repos_url":"https://api.github.com/users/r-stein/repos","events_url":"https://api.github.com/users/r-stein/events{/privacy}","received_events_url":"https://api.github.com/users/r-stein/received_events","type":"User","site_admin":false},"repo":{"id":65565645,"name":"GitGutter","full_name":"r-stein/GitGutter","owner":{"login":"r-stein","id":12573621,"avatar_url":"https://avatars.githubusercontent.com/u/12573621?v=3","gravatar_id":"","url":"https://api.github.com/users/r-stein","html_url":"https://github.com/r-stein","followers_url":"https://api.github.com/users/r-stein/followers","following_url":"https://api.github.com/users/r-stein/following{/other_user}","gists_url":"https://api.github.com/users/r-stein/gists{/gist_id}","starred_url":"https://api.github.com/users/r-stein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-stein/subscriptions","organizations_url":"https://api.github.com/users/r-stein/orgs","repos_url":"https://api.github.com/users/r-stein/repos","events_url":"https://api.github.com/users/r-stein/events{/privacy}","received_events_url":"https://api.github.com/users/r-stein/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/r-stein/GitGutter","description":"A Sublime Text 2/3 plugin to see git diff in gutter","fork":true,"url":"https://api.github.com/repos/r-stein/GitGutter","forks_url":"https://api.github.com/repos/r-stein/GitGutter/forks","keys_url":"https://api.github.com/repos/r-stein/GitGutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/r-stein/GitGutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/r-stein/GitGutter/teams","hooks_url":"https://api.github.com/repos/r-stein/GitGutter/hooks","issue_events_url":"https://api.github.com/repos/r-stein/GitGutter/issues/events{/number}","events_url":"https://api.github.com/repos/r-stein/GitGutter/events","assignees_url":"https://api.github.com/repos/r-stein/GitGutter/assignees{/user}","branches_url":"https://api.github.com/repos/r-stein/GitGutter/branches{/branch}","tags_url":"https://api.github.com/repos/r-stein/GitGutter/tags","blobs_url":"https://api.github.com/repos/r-stein/GitGutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/r-stein/GitGutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/r-stein/GitGutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/r-stein/GitGutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/r-stein/GitGutter/statuses/{sha}","languages_url":"https://api.github.com/repos/r-stein/GitGutter/languages","stargazers_url":"https://api.github.com/repos/r-stein/GitGutter/stargazers","contributors_url":"https://api.github.com/repos/r-stein/GitGutter/contributors","subscribers_url":"https://api.github.com/repos/r-stein/GitGutter/subscribers","subscription_url":"https://api.github.com/repos/r-stein/GitGutter/subscription","commits_url":"https://api.github.com/repos/r-stein/GitGutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/r-stein/GitGutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/r-stein/GitGutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/r-stein/GitGutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/r-stein/GitGutter/contents/{+path}","compare_url":"https://api.github.com/repos/r-stein/GitGutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/r-stein/GitGutter/merges","archive_url":"https://api.github.com/repos/r-stein/GitGutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/r-stein/GitGutter/downloads","issues_url":"https://api.github.com/repos/r-stein/GitGutter/issues{/number}","pulls_url":"https://api.github.com/repos/r-stein/GitGutter/pulls{/number}","milestones_url":"https://api.github.com/repos/r-stein/GitGutter/milestones{/number}","notifications_url":"https://api.github.com/repos/r-stein/GitGutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/r-stein/GitGutter/labels{/name}","releases_url":"https://api.github.com/repos/r-stein/GitGutter/releases{/id}","deployments_url":"https://api.github.com/repos/r-stein/GitGutter/deployments","created_at":"2016-08-12T16:01:07Z","updated_at":"2016-08-12T16:01:07Z","pushed_at":"2016-11-11T23:15:15Z","git_url":"git://github.com/r-stein/GitGutter.git","ssh_url":"git@github.com:r-stein/GitGutter.git","clone_url":"https://github.com/r-stein/GitGutter.git","svn_url":"https://github.com/r-stein/GitGutter","homepage":"","size":330,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"jisaacks:master","ref":"master","sha":"ff33d242d5ebbfebcf0b3111c964876793c098fe","user":{"login":"jisaacks","id":1355481,"avatar_url":"https://avatars.githubusercontent.com/u/1355481?v=3","gravatar_id":"","url":"https://api.github.com/users/jisaacks","html_url":"https://github.com/jisaacks","followers_url":"https://api.github.com/users/jisaacks/followers","following_url":"https://api.github.com/users/jisaacks/following{/other_user}","gists_url":"https://api.github.com/users/jisaacks/gists{/gist_id}","starred_url":"https://api.github.com/users/jisaacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jisaacks/subscriptions","organizations_url":"https://api.github.com/users/jisaacks/orgs","repos_url":"https://api.github.com/users/jisaacks/repos","events_url":"https://api.github.com/users/jisaacks/events{/privacy}","received_events_url":"https://api.github.com/users/jisaacks/received_events","type":"User","site_admin":false},"repo":{"id":7064308,"name":"GitGutter","full_name":"jisaacks/GitGutter","owner":{"login":"jisaacks","id":1355481,"avatar_url":"https://avatars.githubusercontent.com/u/1355481?v=3","gravatar_id":"","url":"https://api.github.com/users/jisaacks","html_url":"https://github.com/jisaacks","followers_url":"https://api.github.com/users/jisaacks/followers","following_url":"https://api.github.com/users/jisaacks/following{/other_user}","gists_url":"https://api.github.com/users/jisaacks/gists{/gist_id}","starred_url":"https://api.github.com/users/jisaacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jisaacks/subscriptions","organizations_url":"https://api.github.com/users/jisaacks/orgs","repos_url":"https://api.github.com/users/jisaacks/repos","events_url":"https://api.github.com/users/jisaacks/events{/privacy}","received_events_url":"https://api.github.com/users/jisaacks/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jisaacks/GitGutter","description":"A Sublime Text 2/3 plugin to see git diff in gutter","fork":false,"url":"https://api.github.com/repos/jisaacks/GitGutter","forks_url":"https://api.github.com/repos/jisaacks/GitGutter/forks","keys_url":"https://api.github.com/repos/jisaacks/GitGutter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jisaacks/GitGutter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jisaacks/GitGutter/teams","hooks_url":"https://api.github.com/repos/jisaacks/GitGutter/hooks","issue_events_url":"https://api.github.com/repos/jisaacks/GitGutter/issues/events{/number}","events_url":"https://api.github.com/repos/jisaacks/GitGutter/events","assignees_url":"https://api.github.com/repos/jisaacks/GitGutter/assignees{/user}","branches_url":"https://api.github.com/repos/jisaacks/GitGutter/branches{/branch}","tags_url":"https://api.github.com/repos/jisaacks/GitGutter/tags","blobs_url":"https://api.github.com/repos/jisaacks/GitGutter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jisaacks/GitGutter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jisaacks/GitGutter/git/refs{/sha}","trees_url":"https://api.github.com/repos/jisaacks/GitGutter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jisaacks/GitGutter/statuses/{sha}","languages_url":"https://api.github.com/repos/jisaacks/GitGutter/languages","stargazers_url":"https://api.github.com/repos/jisaacks/GitGutter/stargazers","contributors_url":"https://api.github.com/repos/jisaacks/GitGutter/contributors","subscribers_url":"https://api.github.com/repos/jisaacks/GitGutter/subscribers","subscription_url":"https://api.github.com/repos/jisaacks/GitGutter/subscription","commits_url":"https://api.github.com/repos/jisaacks/GitGutter/commits{/sha}","git_commits_url":"https://api.github.com/repos/jisaacks/GitGutter/git/commits{/sha}","comments_url":"https://api.github.com/repos/jisaacks/GitGutter/comments{/number}","issue_comment_url":"https://api.github.com/repos/jisaacks/GitGutter/issues/comments{/number}","contents_url":"https://api.github.com/repos/jisaacks/GitGutter/contents/{+path}","compare_url":"https://api.github.com/repos/jisaacks/GitGutter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jisaacks/GitGutter/merges","archive_url":"https://api.github.com/repos/jisaacks/GitGutter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jisaacks/GitGutter/downloads","issues_url":"https://api.github.com/repos/jisaacks/GitGutter/issues{/number}","pulls_url":"https://api.github.com/repos/jisaacks/GitGutter/pulls{/number}","milestones_url":"https://api.github.com/repos/jisaacks/GitGutter/milestones{/number}","notifications_url":"https://api.github.com/repos/jisaacks/GitGutter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jisaacks/GitGutter/labels{/name}","releases_url":"https://api.github.com/repos/jisaacks/GitGutter/releases{/id}","deployments_url":"https://api.github.com/repos/jisaacks/GitGutter/deployments","created_at":"2012-12-08T05:29:00Z","updated_at":"2016-11-12T04:33:49Z","pushed_at":"2016-11-12T12:03:12Z","git_url":"git://github.com/jisaacks/GitGutter.git","ssh_url":"git@github.com:jisaacks/GitGutter.git","clone_url":"https://github.com/jisaacks/GitGutter.git","svn_url":"https://github.com/jisaacks/GitGutter","homepage":"","size":482,"stargazers_count":3276,"watchers_count":3276,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":70,"forks":207,"open_issues":70,"watchers":3276,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309"},"html":{"href":"https://github.com/jisaacks/GitGutter/pull/309"},"issue":{"href":"https://api.github.com/repos/jisaacks/GitGutter/issues/309"},"comments":{"href":"https://api.github.com/repos/jisaacks/GitGutter/issues/309/comments"},"review_comments":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309/comments"},"review_comment":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jisaacks/GitGutter/pulls/309/commits"},"statuses":{"href":"https://api.github.com/repos/jisaacks/GitGutter/statuses/2aa0ad369ac7f8c1ddb13dfc5856ad8d04dd0362"}}}}
{"actor":{"display_login":"r-stein"}}