{"action":"created","comment":{"url":"https://api.github.com/repos/yenatch/pretmap/pulls/comments/215753940","pull_request_review_id":153091369,"id":215753940,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTc1Mzk0MA==","diff_hunk":"@@ -826,6 +850,13 @@ void MainWindow::updateSelectedObjects() {\n             widget->setLayout(fl);\r\n             frame->layout()->addWidget(widget);\r\n \r\n+            // generate \"Open in Text Editor\" button\r\n+            if (key == \"script_label\") {\r\n+                QPushButton *scriptButton = new QPushButton(QString(\"Open This Map's Scripts in a Text Editor\"));\r","path":"mainwindow.cpp","position":46,"original_position":46,"commit_id":"d538259183a8205fdc1c57441636b05f27d7b2ba","original_commit_id":"d538259183a8205fdc1c57441636b05f27d7b2ba","user":{"login":"huderlem","id":2229288,"node_id":"MDQ6VXNlcjIyMjkyODg=","avatar_url":"https://avatars3.githubusercontent.com/u/2229288?v=4","gravatar_id":"","url":"https://api.github.com/users/huderlem","html_url":"https://github.com/huderlem","followers_url":"https://api.github.com/users/huderlem/followers","following_url":"https://api.github.com/users/huderlem/following{/other_user}","gists_url":"https://api.github.com/users/huderlem/gists{/gist_id}","starred_url":"https://api.github.com/users/huderlem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huderlem/subscriptions","organizations_url":"https://api.github.com/users/huderlem/orgs","repos_url":"https://api.github.com/users/huderlem/repos","events_url":"https://api.github.com/users/huderlem/events{/privacy}","received_events_url":"https://api.github.com/users/huderlem/received_events","type":"User","site_admin":false},"body":"I don't think this button should be added in the context of the event.  If you have multiple events selected, you'll see this button for each selected event.  Instead, the button should probably just go underneath the \"New Object\" and \"Delete\" buttons.  Also, it's a bit too long.  Maybe just \"Open Map Scripts\"","created_at":"2018-09-06T19:45:30Z","updated_at":"2018-09-06T19:45:31Z","html_url":"https://github.com/yenatch/pretmap/pull/70#discussion_r215753940","pull_request_url":"https://api.github.com/repos/yenatch/pretmap/pulls/70","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/comments/215753940"},"html":{"href":"https://github.com/yenatch/pretmap/pull/70#discussion_r215753940"},"pull_request":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/70"}}},"pull_request":{"url":"https://api.github.com/repos/yenatch/pretmap/pulls/70","id":208047617,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MDQ3NjE3","html_url":"https://github.com/yenatch/pretmap/pull/70","diff_url":"https://github.com/yenatch/pretmap/pull/70.diff","patch_url":"https://github.com/yenatch/pretmap/pull/70.patch","issue_url":"https://api.github.com/repos/yenatch/pretmap/issues/70","number":70,"state":"open","locked":false,"title":"Open in Text Editor","user":{"login":"garakmon","id":13525717,"node_id":"MDQ6VXNlcjEzNTI1NzE3","avatar_url":"https://avatars3.githubusercontent.com/u/13525717?v=4","gravatar_id":"","url":"https://api.github.com/users/garakmon","html_url":"https://github.com/garakmon","followers_url":"https://api.github.com/users/garakmon/followers","following_url":"https://api.github.com/users/garakmon/following{/other_user}","gists_url":"https://api.github.com/users/garakmon/gists{/gist_id}","starred_url":"https://api.github.com/users/garakmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garakmon/subscriptions","organizations_url":"https://api.github.com/users/garakmon/orgs","repos_url":"https://api.github.com/users/garakmon/repos","events_url":"https://api.github.com/users/garakmon/events{/privacy}","received_events_url":"https://api.github.com/users/garakmon/received_events","type":"User","site_admin":false},"body":"Adds functionality to open a Map's scripts in a text editor (#60 ). The editor opened is the system's default editor for files with the `.inc` extension (usually default text editor unless otherwise set).\r\nThe button is only available when an event with a script is selected.\r\n\r\n\\**Needs to be tested (and probably modified) on Windows & Linux*\\*","created_at":"2018-08-13T17:24:50Z","updated_at":"2018-09-06T19:45:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4949f8909879be2b1938bf38d442fc0491dd6af6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/yenatch/pretmap/pulls/70/commits","review_comments_url":"https://api.github.com/repos/yenatch/pretmap/pulls/70/comments","review_comment_url":"https://api.github.com/repos/yenatch/pretmap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yenatch/pretmap/issues/70/comments","statuses_url":"https://api.github.com/repos/yenatch/pretmap/statuses/d538259183a8205fdc1c57441636b05f27d7b2ba","head":{"label":"garakmon:open-in-texteditor","ref":"open-in-texteditor","sha":"d538259183a8205fdc1c57441636b05f27d7b2ba","user":{"login":"garakmon","id":13525717,"node_id":"MDQ6VXNlcjEzNTI1NzE3","avatar_url":"https://avatars3.githubusercontent.com/u/13525717?v=4","gravatar_id":"","url":"https://api.github.com/users/garakmon","html_url":"https://github.com/garakmon","followers_url":"https://api.github.com/users/garakmon/followers","following_url":"https://api.github.com/users/garakmon/following{/other_user}","gists_url":"https://api.github.com/users/garakmon/gists{/gist_id}","starred_url":"https://api.github.com/users/garakmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garakmon/subscriptions","organizations_url":"https://api.github.com/users/garakmon/orgs","repos_url":"https://api.github.com/users/garakmon/repos","events_url":"https://api.github.com/users/garakmon/events{/privacy}","received_events_url":"https://api.github.com/users/garakmon/received_events","type":"User","site_admin":false},"repo":{"id":138540934,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1NDA5MzQ=","name":"pretmap","full_name":"garakmon/pretmap","owner":{"login":"garakmon","id":13525717,"node_id":"MDQ6VXNlcjEzNTI1NzE3","avatar_url":"https://avatars3.githubusercontent.com/u/13525717?v=4","gravatar_id":"","url":"https://api.github.com/users/garakmon","html_url":"https://github.com/garakmon","followers_url":"https://api.github.com/users/garakmon/followers","following_url":"https://api.github.com/users/garakmon/following{/other_user}","gists_url":"https://api.github.com/users/garakmon/gists{/gist_id}","starred_url":"https://api.github.com/users/garakmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garakmon/subscriptions","organizations_url":"https://api.github.com/users/garakmon/orgs","repos_url":"https://api.github.com/users/garakmon/repos","events_url":"https://api.github.com/users/garakmon/events{/privacy}","received_events_url":"https://api.github.com/users/garakmon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garakmon/pretmap","description":null,"fork":true,"url":"https://api.github.com/repos/garakmon/pretmap","forks_url":"https://api.github.com/repos/garakmon/pretmap/forks","keys_url":"https://api.github.com/repos/garakmon/pretmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garakmon/pretmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garakmon/pretmap/teams","hooks_url":"https://api.github.com/repos/garakmon/pretmap/hooks","issue_events_url":"https://api.github.com/repos/garakmon/pretmap/issues/events{/number}","events_url":"https://api.github.com/repos/garakmon/pretmap/events","assignees_url":"https://api.github.com/repos/garakmon/pretmap/assignees{/user}","branches_url":"https://api.github.com/repos/garakmon/pretmap/branches{/branch}","tags_url":"https://api.github.com/repos/garakmon/pretmap/tags","blobs_url":"https://api.github.com/repos/garakmon/pretmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garakmon/pretmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garakmon/pretmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/garakmon/pretmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garakmon/pretmap/statuses/{sha}","languages_url":"https://api.github.com/repos/garakmon/pretmap/languages","stargazers_url":"https://api.github.com/repos/garakmon/pretmap/stargazers","contributors_url":"https://api.github.com/repos/garakmon/pretmap/contributors","subscribers_url":"https://api.github.com/repos/garakmon/pretmap/subscribers","subscription_url":"https://api.github.com/repos/garakmon/pretmap/subscription","commits_url":"https://api.github.com/repos/garakmon/pretmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/garakmon/pretmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/garakmon/pretmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/garakmon/pretmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/garakmon/pretmap/contents/{+path}","compare_url":"https://api.github.com/repos/garakmon/pretmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garakmon/pretmap/merges","archive_url":"https://api.github.com/repos/garakmon/pretmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garakmon/pretmap/downloads","issues_url":"https://api.github.com/repos/garakmon/pretmap/issues{/number}","pulls_url":"https://api.github.com/repos/garakmon/pretmap/pulls{/number}","milestones_url":"https://api.github.com/repos/garakmon/pretmap/milestones{/number}","notifications_url":"https://api.github.com/repos/garakmon/pretmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garakmon/pretmap/labels{/name}","releases_url":"https://api.github.com/repos/garakmon/pretmap/releases{/id}","deployments_url":"https://api.github.com/repos/garakmon/pretmap/deployments","created_at":"2018-06-25T03:50:00Z","updated_at":"2018-07-29T21:22:39Z","pushed_at":"2018-09-06T12:25:10Z","git_url":"git://github.com/garakmon/pretmap.git","ssh_url":"git@github.com:garakmon/pretmap.git","clone_url":"https://github.com/garakmon/pretmap.git","svn_url":"https://github.com/garakmon/pretmap","homepage":null,"size":347,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yenatch:master","ref":"master","sha":"6f3c5c25ddf27d3620779eeb720cceda9ffe8da5","user":{"login":"yenatch","id":1654211,"node_id":"MDQ6VXNlcjE2NTQyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1654211?v=4","gravatar_id":"","url":"https://api.github.com/users/yenatch","html_url":"https://github.com/yenatch","followers_url":"https://api.github.com/users/yenatch/followers","following_url":"https://api.github.com/users/yenatch/following{/other_user}","gists_url":"https://api.github.com/users/yenatch/gists{/gist_id}","starred_url":"https://api.github.com/users/yenatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenatch/subscriptions","organizations_url":"https://api.github.com/users/yenatch/orgs","repos_url":"https://api.github.com/users/yenatch/repos","events_url":"https://api.github.com/users/yenatch/events{/privacy}","received_events_url":"https://api.github.com/users/yenatch/received_events","type":"User","site_admin":false},"repo":{"id":121159598,"node_id":"MDEwOlJlcG9zaXRvcnkxMjExNTk1OTg=","name":"pretmap","full_name":"yenatch/pretmap","owner":{"login":"yenatch","id":1654211,"node_id":"MDQ6VXNlcjE2NTQyMTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1654211?v=4","gravatar_id":"","url":"https://api.github.com/users/yenatch","html_url":"https://github.com/yenatch","followers_url":"https://api.github.com/users/yenatch/followers","following_url":"https://api.github.com/users/yenatch/following{/other_user}","gists_url":"https://api.github.com/users/yenatch/gists{/gist_id}","starred_url":"https://api.github.com/users/yenatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yenatch/subscriptions","organizations_url":"https://api.github.com/users/yenatch/orgs","repos_url":"https://api.github.com/users/yenatch/repos","events_url":"https://api.github.com/users/yenatch/events{/privacy}","received_events_url":"https://api.github.com/users/yenatch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yenatch/pretmap","description":null,"fork":false,"url":"https://api.github.com/repos/yenatch/pretmap","forks_url":"https://api.github.com/repos/yenatch/pretmap/forks","keys_url":"https://api.github.com/repos/yenatch/pretmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yenatch/pretmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yenatch/pretmap/teams","hooks_url":"https://api.github.com/repos/yenatch/pretmap/hooks","issue_events_url":"https://api.github.com/repos/yenatch/pretmap/issues/events{/number}","events_url":"https://api.github.com/repos/yenatch/pretmap/events","assignees_url":"https://api.github.com/repos/yenatch/pretmap/assignees{/user}","branches_url":"https://api.github.com/repos/yenatch/pretmap/branches{/branch}","tags_url":"https://api.github.com/repos/yenatch/pretmap/tags","blobs_url":"https://api.github.com/repos/yenatch/pretmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yenatch/pretmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yenatch/pretmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/yenatch/pretmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yenatch/pretmap/statuses/{sha}","languages_url":"https://api.github.com/repos/yenatch/pretmap/languages","stargazers_url":"https://api.github.com/repos/yenatch/pretmap/stargazers","contributors_url":"https://api.github.com/repos/yenatch/pretmap/contributors","subscribers_url":"https://api.github.com/repos/yenatch/pretmap/subscribers","subscription_url":"https://api.github.com/repos/yenatch/pretmap/subscription","commits_url":"https://api.github.com/repos/yenatch/pretmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/yenatch/pretmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/yenatch/pretmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/yenatch/pretmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/yenatch/pretmap/contents/{+path}","compare_url":"https://api.github.com/repos/yenatch/pretmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yenatch/pretmap/merges","archive_url":"https://api.github.com/repos/yenatch/pretmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yenatch/pretmap/downloads","issues_url":"https://api.github.com/repos/yenatch/pretmap/issues{/number}","pulls_url":"https://api.github.com/repos/yenatch/pretmap/pulls{/number}","milestones_url":"https://api.github.com/repos/yenatch/pretmap/milestones{/number}","notifications_url":"https://api.github.com/repos/yenatch/pretmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yenatch/pretmap/labels{/name}","releases_url":"https://api.github.com/repos/yenatch/pretmap/releases{/id}","deployments_url":"https://api.github.com/repos/yenatch/pretmap/deployments","created_at":"2018-02-11T19:35:36Z","updated_at":"2018-07-21T17:39:40Z","pushed_at":"2018-09-06T12:25:11Z","git_url":"git://github.com/yenatch/pretmap.git","ssh_url":"git@github.com:yenatch/pretmap.git","clone_url":"https://github.com/yenatch/pretmap.git","svn_url":"https://github.com/yenatch/pretmap","homepage":null,"size":337,"stargazers_count":18,"watchers_count":18,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":29,"license":null,"forks":7,"open_issues":29,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/70"},"html":{"href":"https://github.com/yenatch/pretmap/pull/70"},"issue":{"href":"https://api.github.com/repos/yenatch/pretmap/issues/70"},"comments":{"href":"https://api.github.com/repos/yenatch/pretmap/issues/70/comments"},"review_comments":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/70/comments"},"review_comment":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yenatch/pretmap/pulls/70/commits"},"statuses":{"href":"https://api.github.com/repos/yenatch/pretmap/statuses/d538259183a8205fdc1c57441636b05f27d7b2ba"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"huderlem"}}