{"action":"opened","number":3601,"pull_request":{"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601","id":134296051,"html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/3601","diff_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/3601.diff","patch_url":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/3601.patch","issue_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3601","number":3601,"state":"open","locked":false,"title":"Do not notifyBufferActivated() when switching to the same file in cloned view","user":{"login":"protector1990","id":6412666,"avatar_url":"https://avatars3.githubusercontent.com/u/6412666?v=4","gravatar_id":"","url":"https://api.github.com/users/protector1990","html_url":"https://github.com/protector1990","followers_url":"https://api.github.com/users/protector1990/followers","following_url":"https://api.github.com/users/protector1990/following{/other_user}","gists_url":"https://api.github.com/users/protector1990/gists{/gist_id}","starred_url":"https://api.github.com/users/protector1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protector1990/subscriptions","organizations_url":"https://api.github.com/users/protector1990/orgs","repos_url":"https://api.github.com/users/protector1990/repos","events_url":"https://api.github.com/users/protector1990/events{/privacy}","received_events_url":"https://api.github.com/users/protector1990/received_events","type":"User","site_admin":false},"body":"fixes #3592 \r\n\r\nNotepad_plus::switchEditViewTo() method now does not call notifyBufferActivated() always - only if it detects that the buffer we are switching to in other view is actually different than current one. Assumption is that we don't really need to activate the buffer if it is already active, so in that case we can skip some potentially lengthy operations - like Function list recompiling. In that case, we can just invalidate rects for active and inactive view to update the colors of the tab controls.","created_at":"2017-08-05T15:59:16Z","updated_at":"2017-08-05T15:59:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601/commits","review_comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601/comments","review_comment_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3601/comments","statuses_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/statuses/b4b30662387bf1989a17f6fd46c9ac0b3d1845a5","head":{"label":"protector1990:notifyBufferActivatedEnhancement","ref":"notifyBufferActivatedEnhancement","sha":"b4b30662387bf1989a17f6fd46c9ac0b3d1845a5","user":{"login":"protector1990","id":6412666,"avatar_url":"https://avatars3.githubusercontent.com/u/6412666?v=4","gravatar_id":"","url":"https://api.github.com/users/protector1990","html_url":"https://github.com/protector1990","followers_url":"https://api.github.com/users/protector1990/followers","following_url":"https://api.github.com/users/protector1990/following{/other_user}","gists_url":"https://api.github.com/users/protector1990/gists{/gist_id}","starred_url":"https://api.github.com/users/protector1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protector1990/subscriptions","organizations_url":"https://api.github.com/users/protector1990/orgs","repos_url":"https://api.github.com/users/protector1990/repos","events_url":"https://api.github.com/users/protector1990/events{/privacy}","received_events_url":"https://api.github.com/users/protector1990/received_events","type":"User","site_admin":false},"repo":{"id":99430490,"name":"notepad-plus-plus","full_name":"protector1990/notepad-plus-plus","owner":{"login":"protector1990","id":6412666,"avatar_url":"https://avatars3.githubusercontent.com/u/6412666?v=4","gravatar_id":"","url":"https://api.github.com/users/protector1990","html_url":"https://github.com/protector1990","followers_url":"https://api.github.com/users/protector1990/followers","following_url":"https://api.github.com/users/protector1990/following{/other_user}","gists_url":"https://api.github.com/users/protector1990/gists{/gist_id}","starred_url":"https://api.github.com/users/protector1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protector1990/subscriptions","organizations_url":"https://api.github.com/users/protector1990/orgs","repos_url":"https://api.github.com/users/protector1990/repos","events_url":"https://api.github.com/users/protector1990/events{/privacy}","received_events_url":"https://api.github.com/users/protector1990/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/protector1990/notepad-plus-plus","description":"My fork of notepad++","fork":true,"url":"https://api.github.com/repos/protector1990/notepad-plus-plus","forks_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/forks","keys_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/teams","hooks_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/hooks","issue_events_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/issues/events{/number}","events_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/events","assignees_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/assignees{/user}","branches_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/branches{/branch}","tags_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/tags","blobs_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/languages","stargazers_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/stargazers","contributors_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/contributors","subscribers_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/subscribers","subscription_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/subscription","commits_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/contents/{+path}","compare_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/merges","archive_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/downloads","issues_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/issues{/number}","pulls_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/labels{/name}","releases_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/releases{/id}","deployments_url":"https://api.github.com/repos/protector1990/notepad-plus-plus/deployments","created_at":"2017-08-05T15:16:02Z","updated_at":"2017-08-05T15:16:40Z","pushed_at":"2017-08-05T15:35:55Z","git_url":"git://github.com/protector1990/notepad-plus-plus.git","ssh_url":"git@github.com:protector1990/notepad-plus-plus.git","clone_url":"https://github.com/protector1990/notepad-plus-plus.git","svn_url":"https://github.com/protector1990/notepad-plus-plus","homepage":"https://notepad-plus-plus.org/","size":147077,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"notepad-plus-plus:master","ref":"master","sha":"3fbd537371590e5d04dfa4f7bdaba14e6e59aa86","user":{"login":"notepad-plus-plus","id":12589084,"avatar_url":"https://avatars0.githubusercontent.com/u/12589084?v=4","gravatar_id":"","url":"https://api.github.com/users/notepad-plus-plus","html_url":"https://github.com/notepad-plus-plus","followers_url":"https://api.github.com/users/notepad-plus-plus/followers","following_url":"https://api.github.com/users/notepad-plus-plus/following{/other_user}","gists_url":"https://api.github.com/users/notepad-plus-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/notepad-plus-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notepad-plus-plus/subscriptions","organizations_url":"https://api.github.com/users/notepad-plus-plus/orgs","repos_url":"https://api.github.com/users/notepad-plus-plus/repos","events_url":"https://api.github.com/users/notepad-plus-plus/events{/privacy}","received_events_url":"https://api.github.com/users/notepad-plus-plus/received_events","type":"Organization","site_admin":false},"repo":{"id":33014811,"name":"notepad-plus-plus","full_name":"notepad-plus-plus/notepad-plus-plus","owner":{"login":"notepad-plus-plus","id":12589084,"avatar_url":"https://avatars0.githubusercontent.com/u/12589084?v=4","gravatar_id":"","url":"https://api.github.com/users/notepad-plus-plus","html_url":"https://github.com/notepad-plus-plus","followers_url":"https://api.github.com/users/notepad-plus-plus/followers","following_url":"https://api.github.com/users/notepad-plus-plus/following{/other_user}","gists_url":"https://api.github.com/users/notepad-plus-plus/gists{/gist_id}","starred_url":"https://api.github.com/users/notepad-plus-plus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notepad-plus-plus/subscriptions","organizations_url":"https://api.github.com/users/notepad-plus-plus/orgs","repos_url":"https://api.github.com/users/notepad-plus-plus/repos","events_url":"https://api.github.com/users/notepad-plus-plus/events{/privacy}","received_events_url":"https://api.github.com/users/notepad-plus-plus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/notepad-plus-plus/notepad-plus-plus","description":"Notepad++ official repository","fork":false,"url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus","forks_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/forks","keys_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/teams","hooks_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/hooks","issue_events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/events{/number}","events_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/events","assignees_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/assignees{/user}","branches_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/branches{/branch}","tags_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/tags","blobs_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/git/refs{/sha}","trees_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/statuses/{sha}","languages_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/languages","stargazers_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/stargazers","contributors_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/contributors","subscribers_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/subscribers","subscription_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/subscription","commits_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/commits{/sha}","git_commits_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/git/commits{/sha}","comments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/comments{/number}","issue_comment_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/comments{/number}","contents_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/contents/{+path}","compare_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/merges","archive_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/downloads","issues_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues{/number}","pulls_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls{/number}","milestones_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/milestones{/number}","notifications_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/labels{/name}","releases_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/releases{/id}","deployments_url":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/deployments","created_at":"2015-03-28T00:05:08Z","updated_at":"2017-08-05T15:13:00Z","pushed_at":"2017-08-03T19:52:02Z","git_url":"git://github.com/notepad-plus-plus/notepad-plus-plus.git","ssh_url":"git@github.com:notepad-plus-plus/notepad-plus-plus.git","clone_url":"https://github.com/notepad-plus-plus/notepad-plus-plus.git","svn_url":"https://github.com/notepad-plus-plus/notepad-plus-plus","homepage":"https://notepad-plus-plus.org/","size":147077,"stargazers_count":4440,"watchers_count":4440,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1396,"mirror_url":null,"open_issues_count":1753,"forks":1396,"open_issues":1753,"watchers":4440,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601"},"html":{"href":"https://github.com/notepad-plus-plus/notepad-plus-plus/pull/3601"},"issue":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3601"},"comments":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/issues/3601/comments"},"review_comments":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601/comments"},"review_comment":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/pulls/3601/commits"},"statuses":{"href":"https://api.github.com/repos/notepad-plus-plus/notepad-plus-plus/statuses/b4b30662387bf1989a17f6fd46c9ac0b3d1845a5"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":14,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"protector1990"}}