{"action":"closed","number":861,"pull_request":{"url":"https://api.github.com/repos/LLK/scratch-flash/pulls/861","id":40256809,"html_url":"https://github.com/LLK/scratch-flash/pull/861","diff_url":"https://github.com/LLK/scratch-flash/pull/861.diff","patch_url":"https://github.com/LLK/scratch-flash/pull/861.patch","issue_url":"https://api.github.com/repos/LLK/scratch-flash/issues/861","number":861,"state":"closed","locked":false,"title":"Adds block and sprite (in sprite pane) highlighting capability.","user":{"login":"TheLogFather","id":7702458,"avatar_url":"https://avatars.githubusercontent.com/u/7702458?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLogFather","html_url":"https://github.com/TheLogFather","followers_url":"https://api.github.com/users/TheLogFather/followers","following_url":"https://api.github.com/users/TheLogFather/following{/other_user}","gists_url":"https://api.github.com/users/TheLogFather/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLogFather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLogFather/subscriptions","organizations_url":"https://api.github.com/users/TheLogFather/orgs","repos_url":"https://api.github.com/users/TheLogFather/repos","events_url":"https://api.github.com/users/TheLogFather/events{/privacy}","received_events_url":"https://api.github.com/users/TheLogFather/received_events","type":"User","site_admin":false},"body":"This extends the current concept used with the broadcast/receiver menu items \"show senders/receivers\" to provide a more general capability to highlight sprites that contain certain things, as well as even the individual blocks within those sprites.\r\n\r\nThree examples are included (see pics in next comment for demos):\r\n\r\n1) extends the \"show senders/receivers\" menu items (renamed \"highlight senders/receivers\") to also highlight the relevant blocks in the highlighted sprite (\"clear senders/receivers\" also renames to the standard \"clear highlights\", used for all other highlights too);\r\n\r\n2) adds item \"highlight variable\" to variable getter menus (along with the standard \"clear highlights\") which highlights the sprites that use the variable (only current sprite, if it's a local var), and all the blocks in those sprites which use it (\"set\", \"change\", \"hide/show\" and getters);\r\n\r\n3) adds menu item \"highlight callers\" to custom block definition and callers (suggestion for better text?) which highlights the current sprite (since no global defines so far!) and all the uses of the custom block.\r\n\r\nIt's not hard to think of other cases where it would be useful to highlight which sprites use certain things, and where those blocks are in the scripts...\r\n\r\n(Note this PR also fixes some exceptions caused by hacked blocks, such as https://github.com/LLK/scratch-flash/issues/815)\r\nSorry it's only against v437 (hence conflicts) - started this a little while back, only just got around to finishing it off, but hopefully it'll give the concept reasonably well...\r\n\r\nHope that all makes sense! -Any questions, let me know.","created_at":"2015-07-17T18:11:13Z","updated_at":"2016-06-01T17:11:22Z","closed_at":"2016-06-01T17:11:22Z","merged_at":null,"merge_commit_sha":null,"assignee":{"login":"jwzimmer","id":1320456,"avatar_url":"https://avatars.githubusercontent.com/u/1320456?v=3","gravatar_id":"","url":"https://api.github.com/users/jwzimmer","html_url":"https://github.com/jwzimmer","followers_url":"https://api.github.com/users/jwzimmer/followers","following_url":"https://api.github.com/users/jwzimmer/following{/other_user}","gists_url":"https://api.github.com/users/jwzimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jwzimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwzimmer/subscriptions","organizations_url":"https://api.github.com/users/jwzimmer/orgs","repos_url":"https://api.github.com/users/jwzimmer/repos","events_url":"https://api.github.com/users/jwzimmer/events{/privacy}","received_events_url":"https://api.github.com/users/jwzimmer/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/LLK/scratch-flash/pulls/861/commits","review_comments_url":"https://api.github.com/repos/LLK/scratch-flash/pulls/861/comments","review_comment_url":"https://api.github.com/repos/LLK/scratch-flash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLK/scratch-flash/issues/861/comments","statuses_url":"https://api.github.com/repos/LLK/scratch-flash/statuses/a49c46f5089ed66c845e48ba0e759a3b6631940a","head":{"label":"TheLogFather:v437+highlighting","ref":"v437+highlighting","sha":"a49c46f5089ed66c845e48ba0e759a3b6631940a","user":{"login":"TheLogFather","id":7702458,"avatar_url":"https://avatars.githubusercontent.com/u/7702458?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLogFather","html_url":"https://github.com/TheLogFather","followers_url":"https://api.github.com/users/TheLogFather/followers","following_url":"https://api.github.com/users/TheLogFather/following{/other_user}","gists_url":"https://api.github.com/users/TheLogFather/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLogFather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLogFather/subscriptions","organizations_url":"https://api.github.com/users/TheLogFather/orgs","repos_url":"https://api.github.com/users/TheLogFather/repos","events_url":"https://api.github.com/users/TheLogFather/events{/privacy}","received_events_url":"https://api.github.com/users/TheLogFather/received_events","type":"User","site_admin":false},"repo":{"id":37091406,"name":"scratch-flash","full_name":"TheLogFather/scratch-flash","owner":{"login":"TheLogFather","id":7702458,"avatar_url":"https://avatars.githubusercontent.com/u/7702458?v=3","gravatar_id":"","url":"https://api.github.com/users/TheLogFather","html_url":"https://github.com/TheLogFather","followers_url":"https://api.github.com/users/TheLogFather/followers","following_url":"https://api.github.com/users/TheLogFather/following{/other_user}","gists_url":"https://api.github.com/users/TheLogFather/gists{/gist_id}","starred_url":"https://api.github.com/users/TheLogFather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheLogFather/subscriptions","organizations_url":"https://api.github.com/users/TheLogFather/orgs","repos_url":"https://api.github.com/users/TheLogFather/repos","events_url":"https://api.github.com/users/TheLogFather/events{/privacy}","received_events_url":"https://api.github.com/users/TheLogFather/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheLogFather/scratch-flash","description":"Open source version of the Scratch 2.0 project editor.  This is the basis for the online and offline versions of Scratch found on the website.","fork":true,"url":"https://api.github.com/repos/TheLogFather/scratch-flash","forks_url":"https://api.github.com/repos/TheLogFather/scratch-flash/forks","keys_url":"https://api.github.com/repos/TheLogFather/scratch-flash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheLogFather/scratch-flash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheLogFather/scratch-flash/teams","hooks_url":"https://api.github.com/repos/TheLogFather/scratch-flash/hooks","issue_events_url":"https://api.github.com/repos/TheLogFather/scratch-flash/issues/events{/number}","events_url":"https://api.github.com/repos/TheLogFather/scratch-flash/events","assignees_url":"https://api.github.com/repos/TheLogFather/scratch-flash/assignees{/user}","branches_url":"https://api.github.com/repos/TheLogFather/scratch-flash/branches{/branch}","tags_url":"https://api.github.com/repos/TheLogFather/scratch-flash/tags","blobs_url":"https://api.github.com/repos/TheLogFather/scratch-flash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheLogFather/scratch-flash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheLogFather/scratch-flash/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheLogFather/scratch-flash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheLogFather/scratch-flash/statuses/{sha}","languages_url":"https://api.github.com/repos/TheLogFather/scratch-flash/languages","stargazers_url":"https://api.github.com/repos/TheLogFather/scratch-flash/stargazers","contributors_url":"https://api.github.com/repos/TheLogFather/scratch-flash/contributors","subscribers_url":"https://api.github.com/repos/TheLogFather/scratch-flash/subscribers","subscription_url":"https://api.github.com/repos/TheLogFather/scratch-flash/subscription","commits_url":"https://api.github.com/repos/TheLogFather/scratch-flash/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheLogFather/scratch-flash/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheLogFather/scratch-flash/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheLogFather/scratch-flash/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheLogFather/scratch-flash/contents/{+path}","compare_url":"https://api.github.com/repos/TheLogFather/scratch-flash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheLogFather/scratch-flash/merges","archive_url":"https://api.github.com/repos/TheLogFather/scratch-flash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheLogFather/scratch-flash/downloads","issues_url":"https://api.github.com/repos/TheLogFather/scratch-flash/issues{/number}","pulls_url":"https://api.github.com/repos/TheLogFather/scratch-flash/pulls{/number}","milestones_url":"https://api.github.com/repos/TheLogFather/scratch-flash/milestones{/number}","notifications_url":"https://api.github.com/repos/TheLogFather/scratch-flash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheLogFather/scratch-flash/labels{/name}","releases_url":"https://api.github.com/repos/TheLogFather/scratch-flash/releases{/id}","deployments_url":"https://api.github.com/repos/TheLogFather/scratch-flash/deployments","created_at":"2015-06-08T20:37:18Z","updated_at":"2016-02-29T16:30:30Z","pushed_at":"2016-02-29T17:03:12Z","git_url":"git://github.com/TheLogFather/scratch-flash.git","ssh_url":"git@github.com:TheLogFather/scratch-flash.git","clone_url":"https://github.com/TheLogFather/scratch-flash.git","svn_url":"https://github.com/TheLogFather/scratch-flash","homepage":"http://scratch.mit.edu","size":9853,"stargazers_count":0,"watchers_count":0,"language":"ActionScript","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":"LLK:master","ref":"master","sha":"13e95d1afa3cd53f5953e192fe13a448b36759ff","user":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"repo":{"id":19706194,"name":"scratch-flash","full_name":"LLK/scratch-flash","owner":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLK/scratch-flash","description":"Open source version of the Scratch 2.0 project editor.  This is the basis for the online and offline versions of Scratch found on the website.","fork":false,"url":"https://api.github.com/repos/LLK/scratch-flash","forks_url":"https://api.github.com/repos/LLK/scratch-flash/forks","keys_url":"https://api.github.com/repos/LLK/scratch-flash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLK/scratch-flash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLK/scratch-flash/teams","hooks_url":"https://api.github.com/repos/LLK/scratch-flash/hooks","issue_events_url":"https://api.github.com/repos/LLK/scratch-flash/issues/events{/number}","events_url":"https://api.github.com/repos/LLK/scratch-flash/events","assignees_url":"https://api.github.com/repos/LLK/scratch-flash/assignees{/user}","branches_url":"https://api.github.com/repos/LLK/scratch-flash/branches{/branch}","tags_url":"https://api.github.com/repos/LLK/scratch-flash/tags","blobs_url":"https://api.github.com/repos/LLK/scratch-flash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLK/scratch-flash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLK/scratch-flash/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLK/scratch-flash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLK/scratch-flash/statuses/{sha}","languages_url":"https://api.github.com/repos/LLK/scratch-flash/languages","stargazers_url":"https://api.github.com/repos/LLK/scratch-flash/stargazers","contributors_url":"https://api.github.com/repos/LLK/scratch-flash/contributors","subscribers_url":"https://api.github.com/repos/LLK/scratch-flash/subscribers","subscription_url":"https://api.github.com/repos/LLK/scratch-flash/subscription","commits_url":"https://api.github.com/repos/LLK/scratch-flash/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLK/scratch-flash/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLK/scratch-flash/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLK/scratch-flash/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLK/scratch-flash/contents/{+path}","compare_url":"https://api.github.com/repos/LLK/scratch-flash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLK/scratch-flash/merges","archive_url":"https://api.github.com/repos/LLK/scratch-flash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLK/scratch-flash/downloads","issues_url":"https://api.github.com/repos/LLK/scratch-flash/issues{/number}","pulls_url":"https://api.github.com/repos/LLK/scratch-flash/pulls{/number}","milestones_url":"https://api.github.com/repos/LLK/scratch-flash/milestones{/number}","notifications_url":"https://api.github.com/repos/LLK/scratch-flash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLK/scratch-flash/labels{/name}","releases_url":"https://api.github.com/repos/LLK/scratch-flash/releases{/id}","deployments_url":"https://api.github.com/repos/LLK/scratch-flash/deployments","created_at":"2014-05-12T16:23:25Z","updated_at":"2016-06-01T14:26:34Z","pushed_at":"2016-05-31T22:18:38Z","git_url":"git://github.com/LLK/scratch-flash.git","ssh_url":"git@github.com:LLK/scratch-flash.git","clone_url":"https://github.com/LLK/scratch-flash.git","svn_url":"https://github.com/LLK/scratch-flash","homepage":"https://scratch.mit.edu","size":11808,"stargazers_count":779,"watchers_count":779,"language":"ActionScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":230,"mirror_url":null,"open_issues_count":244,"forks":230,"open_issues":244,"watchers":779,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LLK/scratch-flash/pulls/861"},"html":{"href":"https://github.com/LLK/scratch-flash/pull/861"},"issue":{"href":"https://api.github.com/repos/LLK/scratch-flash/issues/861"},"comments":{"href":"https://api.github.com/repos/LLK/scratch-flash/issues/861/comments"},"review_comments":{"href":"https://api.github.com/repos/LLK/scratch-flash/pulls/861/comments"},"review_comment":{"href":"https://api.github.com/repos/LLK/scratch-flash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLK/scratch-flash/pulls/861/commits"},"statuses":{"href":"https://api.github.com/repos/LLK/scratch-flash/statuses/a49c46f5089ed66c845e48ba0e759a3b6631940a"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":16,"review_comments":1,"commits":9,"additions":818,"deletions":54,"changed_files":18}}
{"actor":{"display_login":"jwzimmer"}}