{"action":"opened","number":882,"pull_request":{"url":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882","id":213650891,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzNjUwODkx","html_url":"https://github.com/scrooloose/nerdtree/pull/882","diff_url":"https://github.com/scrooloose/nerdtree/pull/882.diff","patch_url":"https://github.com/scrooloose/nerdtree/pull/882.patch","issue_url":"https://api.github.com/repos/scrooloose/nerdtree/issues/882","number":882,"state":"open","locked":false,"title":"Function \"s:UI.getLineNum()\" doesn't always work on cascades.","user":{"login":"lifecrisis","id":15251574,"node_id":"MDQ6VXNlcjE1MjUxNTc0","avatar_url":"https://avatars2.githubusercontent.com/u/15251574?v=4","gravatar_id":"","url":"https://api.github.com/users/lifecrisis","html_url":"https://github.com/lifecrisis","followers_url":"https://api.github.com/users/lifecrisis/followers","following_url":"https://api.github.com/users/lifecrisis/following{/other_user}","gists_url":"https://api.github.com/users/lifecrisis/gists{/gist_id}","starred_url":"https://api.github.com/users/lifecrisis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifecrisis/subscriptions","organizations_url":"https://api.github.com/users/lifecrisis/orgs","repos_url":"https://api.github.com/users/lifecrisis/repos","events_url":"https://api.github.com/users/lifecrisis/events{/privacy}","received_events_url":"https://api.github.com/users/lifecrisis/received_events","type":"User","site_admin":false},"body":"Fixes #529.\r\n\r\nThis was complicated as it involved refactoring a fairly complex function.   This function has now been rewritten, and the style and logic are much cleaner, IMHO.\r\n\r\nIt's a very fundamental feature of the NERDTree that is used all over the place.  So, we shouldn't treat this change without care.  I suggest we use this for a while so that we can confirm that it works.\r\n\r\nLet me know what you think.  Each commit is very specific, so you can see what I did at each step.\r\n","created_at":"2018-09-06T15:02:03Z","updated_at":"2018-09-06T15:02:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882/commits","review_comments_url":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882/comments","review_comment_url":"https://api.github.com/repos/scrooloose/nerdtree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scrooloose/nerdtree/issues/882/comments","statuses_url":"https://api.github.com/repos/scrooloose/nerdtree/statuses/655dbd56547d2d4c4ec537638c15fb2797462d05","head":{"label":"lifecrisis:put-cursor","ref":"put-cursor","sha":"655dbd56547d2d4c4ec537638c15fb2797462d05","user":{"login":"lifecrisis","id":15251574,"node_id":"MDQ6VXNlcjE1MjUxNTc0","avatar_url":"https://avatars2.githubusercontent.com/u/15251574?v=4","gravatar_id":"","url":"https://api.github.com/users/lifecrisis","html_url":"https://github.com/lifecrisis","followers_url":"https://api.github.com/users/lifecrisis/followers","following_url":"https://api.github.com/users/lifecrisis/following{/other_user}","gists_url":"https://api.github.com/users/lifecrisis/gists{/gist_id}","starred_url":"https://api.github.com/users/lifecrisis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifecrisis/subscriptions","organizations_url":"https://api.github.com/users/lifecrisis/orgs","repos_url":"https://api.github.com/users/lifecrisis/repos","events_url":"https://api.github.com/users/lifecrisis/events{/privacy}","received_events_url":"https://api.github.com/users/lifecrisis/received_events","type":"User","site_admin":false},"repo":{"id":92434978,"node_id":"MDEwOlJlcG9zaXRvcnk5MjQzNDk3OA==","name":"nerdtree","full_name":"lifecrisis/nerdtree","owner":{"login":"lifecrisis","id":15251574,"node_id":"MDQ6VXNlcjE1MjUxNTc0","avatar_url":"https://avatars2.githubusercontent.com/u/15251574?v=4","gravatar_id":"","url":"https://api.github.com/users/lifecrisis","html_url":"https://github.com/lifecrisis","followers_url":"https://api.github.com/users/lifecrisis/followers","following_url":"https://api.github.com/users/lifecrisis/following{/other_user}","gists_url":"https://api.github.com/users/lifecrisis/gists{/gist_id}","starred_url":"https://api.github.com/users/lifecrisis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifecrisis/subscriptions","organizations_url":"https://api.github.com/users/lifecrisis/orgs","repos_url":"https://api.github.com/users/lifecrisis/repos","events_url":"https://api.github.com/users/lifecrisis/events{/privacy}","received_events_url":"https://api.github.com/users/lifecrisis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lifecrisis/nerdtree","description":"A tree explorer plugin for vim.","fork":true,"url":"https://api.github.com/repos/lifecrisis/nerdtree","forks_url":"https://api.github.com/repos/lifecrisis/nerdtree/forks","keys_url":"https://api.github.com/repos/lifecrisis/nerdtree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lifecrisis/nerdtree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lifecrisis/nerdtree/teams","hooks_url":"https://api.github.com/repos/lifecrisis/nerdtree/hooks","issue_events_url":"https://api.github.com/repos/lifecrisis/nerdtree/issues/events{/number}","events_url":"https://api.github.com/repos/lifecrisis/nerdtree/events","assignees_url":"https://api.github.com/repos/lifecrisis/nerdtree/assignees{/user}","branches_url":"https://api.github.com/repos/lifecrisis/nerdtree/branches{/branch}","tags_url":"https://api.github.com/repos/lifecrisis/nerdtree/tags","blobs_url":"https://api.github.com/repos/lifecrisis/nerdtree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lifecrisis/nerdtree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lifecrisis/nerdtree/git/refs{/sha}","trees_url":"https://api.github.com/repos/lifecrisis/nerdtree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lifecrisis/nerdtree/statuses/{sha}","languages_url":"https://api.github.com/repos/lifecrisis/nerdtree/languages","stargazers_url":"https://api.github.com/repos/lifecrisis/nerdtree/stargazers","contributors_url":"https://api.github.com/repos/lifecrisis/nerdtree/contributors","subscribers_url":"https://api.github.com/repos/lifecrisis/nerdtree/subscribers","subscription_url":"https://api.github.com/repos/lifecrisis/nerdtree/subscription","commits_url":"https://api.github.com/repos/lifecrisis/nerdtree/commits{/sha}","git_commits_url":"https://api.github.com/repos/lifecrisis/nerdtree/git/commits{/sha}","comments_url":"https://api.github.com/repos/lifecrisis/nerdtree/comments{/number}","issue_comment_url":"https://api.github.com/repos/lifecrisis/nerdtree/issues/comments{/number}","contents_url":"https://api.github.com/repos/lifecrisis/nerdtree/contents/{+path}","compare_url":"https://api.github.com/repos/lifecrisis/nerdtree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lifecrisis/nerdtree/merges","archive_url":"https://api.github.com/repos/lifecrisis/nerdtree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lifecrisis/nerdtree/downloads","issues_url":"https://api.github.com/repos/lifecrisis/nerdtree/issues{/number}","pulls_url":"https://api.github.com/repos/lifecrisis/nerdtree/pulls{/number}","milestones_url":"https://api.github.com/repos/lifecrisis/nerdtree/milestones{/number}","notifications_url":"https://api.github.com/repos/lifecrisis/nerdtree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lifecrisis/nerdtree/labels{/name}","releases_url":"https://api.github.com/repos/lifecrisis/nerdtree/releases{/id}","deployments_url":"https://api.github.com/repos/lifecrisis/nerdtree/deployments","created_at":"2017-05-25T18:59:05Z","updated_at":"2018-09-06T14:56:24Z","pushed_at":"2018-09-06T14:58:15Z","git_url":"git://github.com/lifecrisis/nerdtree.git","ssh_url":"git@github.com:lifecrisis/nerdtree.git","clone_url":"https://github.com/lifecrisis/nerdtree.git","svn_url":"https://github.com/lifecrisis/nerdtree","homepage":"","size":1362,"stargazers_count":0,"watchers_count":0,"language":"Vim script","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":{"key":"wtfpl","name":"Do What The F*ck You Want To Public License","spdx_id":"WTFPL","url":"https://api.github.com/licenses/wtfpl","node_id":"MDc6TGljZW5zZTE4"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scrooloose:master","ref":"master","sha":"808f5b225b090bb4a94a2c47bb08d1bc1f7f8a4e","user":{"login":"scrooloose","id":1671,"node_id":"MDQ6VXNlcjE2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1671?v=4","gravatar_id":"","url":"https://api.github.com/users/scrooloose","html_url":"https://github.com/scrooloose","followers_url":"https://api.github.com/users/scrooloose/followers","following_url":"https://api.github.com/users/scrooloose/following{/other_user}","gists_url":"https://api.github.com/users/scrooloose/gists{/gist_id}","starred_url":"https://api.github.com/users/scrooloose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrooloose/subscriptions","organizations_url":"https://api.github.com/users/scrooloose/orgs","repos_url":"https://api.github.com/users/scrooloose/repos","events_url":"https://api.github.com/users/scrooloose/events{/privacy}","received_events_url":"https://api.github.com/users/scrooloose/received_events","type":"User","site_admin":false},"repo":{"id":3282,"node_id":"MDEwOlJlcG9zaXRvcnkzMjgy","name":"nerdtree","full_name":"scrooloose/nerdtree","owner":{"login":"scrooloose","id":1671,"node_id":"MDQ6VXNlcjE2NzE=","avatar_url":"https://avatars1.githubusercontent.com/u/1671?v=4","gravatar_id":"","url":"https://api.github.com/users/scrooloose","html_url":"https://github.com/scrooloose","followers_url":"https://api.github.com/users/scrooloose/followers","following_url":"https://api.github.com/users/scrooloose/following{/other_user}","gists_url":"https://api.github.com/users/scrooloose/gists{/gist_id}","starred_url":"https://api.github.com/users/scrooloose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scrooloose/subscriptions","organizations_url":"https://api.github.com/users/scrooloose/orgs","repos_url":"https://api.github.com/users/scrooloose/repos","events_url":"https://api.github.com/users/scrooloose/events{/privacy}","received_events_url":"https://api.github.com/users/scrooloose/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scrooloose/nerdtree","description":"A tree explorer plugin for vim.","fork":false,"url":"https://api.github.com/repos/scrooloose/nerdtree","forks_url":"https://api.github.com/repos/scrooloose/nerdtree/forks","keys_url":"https://api.github.com/repos/scrooloose/nerdtree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scrooloose/nerdtree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scrooloose/nerdtree/teams","hooks_url":"https://api.github.com/repos/scrooloose/nerdtree/hooks","issue_events_url":"https://api.github.com/repos/scrooloose/nerdtree/issues/events{/number}","events_url":"https://api.github.com/repos/scrooloose/nerdtree/events","assignees_url":"https://api.github.com/repos/scrooloose/nerdtree/assignees{/user}","branches_url":"https://api.github.com/repos/scrooloose/nerdtree/branches{/branch}","tags_url":"https://api.github.com/repos/scrooloose/nerdtree/tags","blobs_url":"https://api.github.com/repos/scrooloose/nerdtree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scrooloose/nerdtree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scrooloose/nerdtree/git/refs{/sha}","trees_url":"https://api.github.com/repos/scrooloose/nerdtree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scrooloose/nerdtree/statuses/{sha}","languages_url":"https://api.github.com/repos/scrooloose/nerdtree/languages","stargazers_url":"https://api.github.com/repos/scrooloose/nerdtree/stargazers","contributors_url":"https://api.github.com/repos/scrooloose/nerdtree/contributors","subscribers_url":"https://api.github.com/repos/scrooloose/nerdtree/subscribers","subscription_url":"https://api.github.com/repos/scrooloose/nerdtree/subscription","commits_url":"https://api.github.com/repos/scrooloose/nerdtree/commits{/sha}","git_commits_url":"https://api.github.com/repos/scrooloose/nerdtree/git/commits{/sha}","comments_url":"https://api.github.com/repos/scrooloose/nerdtree/comments{/number}","issue_comment_url":"https://api.github.com/repos/scrooloose/nerdtree/issues/comments{/number}","contents_url":"https://api.github.com/repos/scrooloose/nerdtree/contents/{+path}","compare_url":"https://api.github.com/repos/scrooloose/nerdtree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scrooloose/nerdtree/merges","archive_url":"https://api.github.com/repos/scrooloose/nerdtree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scrooloose/nerdtree/downloads","issues_url":"https://api.github.com/repos/scrooloose/nerdtree/issues{/number}","pulls_url":"https://api.github.com/repos/scrooloose/nerdtree/pulls{/number}","milestones_url":"https://api.github.com/repos/scrooloose/nerdtree/milestones{/number}","notifications_url":"https://api.github.com/repos/scrooloose/nerdtree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scrooloose/nerdtree/labels{/name}","releases_url":"https://api.github.com/repos/scrooloose/nerdtree/releases{/id}","deployments_url":"https://api.github.com/repos/scrooloose/nerdtree/deployments","created_at":"2008-03-10T07:34:08Z","updated_at":"2018-09-06T14:43:13Z","pushed_at":"2018-09-06T15:02:03Z","git_url":"git://github.com/scrooloose/nerdtree.git","ssh_url":"git@github.com:scrooloose/nerdtree.git","clone_url":"https://github.com/scrooloose/nerdtree.git","svn_url":"https://github.com/scrooloose/nerdtree","homepage":"","size":1379,"stargazers_count":10381,"watchers_count":10381,"language":"Vim script","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1028,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"wtfpl","name":"Do What The F*ck You Want To Public License","spdx_id":"WTFPL","url":"https://api.github.com/licenses/wtfpl","node_id":"MDc6TGljZW5zZTE4"},"forks":1028,"open_issues":63,"watchers":10381,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882"},"html":{"href":"https://github.com/scrooloose/nerdtree/pull/882"},"issue":{"href":"https://api.github.com/repos/scrooloose/nerdtree/issues/882"},"comments":{"href":"https://api.github.com/repos/scrooloose/nerdtree/issues/882/comments"},"review_comments":{"href":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882/comments"},"review_comment":{"href":"https://api.github.com/repos/scrooloose/nerdtree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scrooloose/nerdtree/pulls/882/commits"},"statuses":{"href":"https://api.github.com/repos/scrooloose/nerdtree/statuses/655dbd56547d2d4c4ec537638c15fb2797462d05"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":20,"additions":36,"deletions":35,"changed_files":1}}
{"actor":{"display_login":"lifecrisis"}}