{"action":"opened","number":12822,"pull_request":{"url":"https://api.github.com/repos/atom/atom/pulls/12822","id":87369628,"html_url":"https://github.com/atom/atom/pull/12822","diff_url":"https://github.com/atom/atom/pull/12822.diff","patch_url":"https://github.com/atom/atom/pull/12822.patch","issue_url":"https://api.github.com/repos/atom/atom/issues/12822","number":12822,"state":"open","locked":false,"title":"[ci skip] Fixes documentation for TextEditor::indentationForBufferRow()","user":{"login":"philschatz","id":253202,"avatar_url":"https://avatars.githubusercontent.com/u/253202?v=3","gravatar_id":"","url":"https://api.github.com/users/philschatz","html_url":"https://github.com/philschatz","followers_url":"https://api.github.com/users/philschatz/followers","following_url":"https://api.github.com/users/philschatz/following{/other_user}","gists_url":"https://api.github.com/users/philschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/philschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philschatz/subscriptions","organizations_url":"https://api.github.com/users/philschatz/orgs","repos_url":"https://api.github.com/users/philschatz/repos","events_url":"https://api.github.com/users/philschatz/events{/privacy}","received_events_url":"https://api.github.com/users/philschatz/received_events","type":"User","site_admin":false},"body":"fixes #12820. \r\n\r\nThe problem was that lines beginning with `Returns` are [special in atomdoc](https://github.com/atom/atomdoc/blob/f2917a6433b72f8fafb89f5fcff7060a450fa661/src/parser.coffee#L10)  so I replaced it with `Determines`.\r\n\r\n# New JSON\r\n\r\n```json\r\n{\r\n  \"name\": \"indentationForBufferRow\",\r\n  \"sectionName\": \"Indentation\",\r\n  \"srcUrl\": \"https://github.com/atom/atom/blob/v1.12.0-dev/src/text-editor.coffee#L2943\",\r\n  \"visibility\": \"Essential\",\r\n  \"summary\": \"Get the indentation level of the given buffer row.\",\r\n  \"description\": \"Get the indentation level of the given buffer row.\\n\\nDetermines how deeply the given row is indented based on the soft tabs and\\ntab length settings of this editor. Note that if soft tabs are enabled and\\nthe tab length is 2, a row with 4 leading spaces would have an indentation\\nlevel of 2.\",\r\n  \"arguments\": [\r\n    {\r\n      \"name\": \"bufferRow\",\r\n      \"description\": \"A {Number} indicating the buffer row.\",\r\n      \"type\": \"Number\",\r\n      \"isOptional\": false\r\n    }\r\n  ],\r\n  \"returnValues\": [\r\n    {\r\n      \"type\": \"Number\",\r\n      \"description\": \"Returns a {Number}.\"\r\n    }\r\n  ]\r\n}\r\n```","created_at":"2016-09-29T18:40:31Z","updated_at":"2016-09-29T18:40:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/atom/atom/pulls/12822/commits","review_comments_url":"https://api.github.com/repos/atom/atom/pulls/12822/comments","review_comment_url":"https://api.github.com/repos/atom/atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atom/atom/issues/12822/comments","statuses_url":"https://api.github.com/repos/atom/atom/statuses/3d228291041bf004ce6c365c392e8a6b69f42c6c","head":{"label":"philschatz:documentation-for-indentationForBufferRow","ref":"documentation-for-indentationForBufferRow","sha":"3d228291041bf004ce6c365c392e8a6b69f42c6c","user":{"login":"philschatz","id":253202,"avatar_url":"https://avatars.githubusercontent.com/u/253202?v=3","gravatar_id":"","url":"https://api.github.com/users/philschatz","html_url":"https://github.com/philschatz","followers_url":"https://api.github.com/users/philschatz/followers","following_url":"https://api.github.com/users/philschatz/following{/other_user}","gists_url":"https://api.github.com/users/philschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/philschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philschatz/subscriptions","organizations_url":"https://api.github.com/users/philschatz/orgs","repos_url":"https://api.github.com/users/philschatz/repos","events_url":"https://api.github.com/users/philschatz/events{/privacy}","received_events_url":"https://api.github.com/users/philschatz/received_events","type":"User","site_admin":false},"repo":{"id":69382197,"name":"atom","full_name":"philschatz/atom","owner":{"login":"philschatz","id":253202,"avatar_url":"https://avatars.githubusercontent.com/u/253202?v=3","gravatar_id":"","url":"https://api.github.com/users/philschatz","html_url":"https://github.com/philschatz","followers_url":"https://api.github.com/users/philschatz/followers","following_url":"https://api.github.com/users/philschatz/following{/other_user}","gists_url":"https://api.github.com/users/philschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/philschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philschatz/subscriptions","organizations_url":"https://api.github.com/users/philschatz/orgs","repos_url":"https://api.github.com/users/philschatz/repos","events_url":"https://api.github.com/users/philschatz/events{/privacy}","received_events_url":"https://api.github.com/users/philschatz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philschatz/atom","description":"The hackable text editor","fork":true,"url":"https://api.github.com/repos/philschatz/atom","forks_url":"https://api.github.com/repos/philschatz/atom/forks","keys_url":"https://api.github.com/repos/philschatz/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philschatz/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philschatz/atom/teams","hooks_url":"https://api.github.com/repos/philschatz/atom/hooks","issue_events_url":"https://api.github.com/repos/philschatz/atom/issues/events{/number}","events_url":"https://api.github.com/repos/philschatz/atom/events","assignees_url":"https://api.github.com/repos/philschatz/atom/assignees{/user}","branches_url":"https://api.github.com/repos/philschatz/atom/branches{/branch}","tags_url":"https://api.github.com/repos/philschatz/atom/tags","blobs_url":"https://api.github.com/repos/philschatz/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philschatz/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philschatz/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/philschatz/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philschatz/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/philschatz/atom/languages","stargazers_url":"https://api.github.com/repos/philschatz/atom/stargazers","contributors_url":"https://api.github.com/repos/philschatz/atom/contributors","subscribers_url":"https://api.github.com/repos/philschatz/atom/subscribers","subscription_url":"https://api.github.com/repos/philschatz/atom/subscription","commits_url":"https://api.github.com/repos/philschatz/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/philschatz/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/philschatz/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/philschatz/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/philschatz/atom/contents/{+path}","compare_url":"https://api.github.com/repos/philschatz/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philschatz/atom/merges","archive_url":"https://api.github.com/repos/philschatz/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philschatz/atom/downloads","issues_url":"https://api.github.com/repos/philschatz/atom/issues{/number}","pulls_url":"https://api.github.com/repos/philschatz/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/philschatz/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/philschatz/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philschatz/atom/labels{/name}","releases_url":"https://api.github.com/repos/philschatz/atom/releases{/id}","deployments_url":"https://api.github.com/repos/philschatz/atom/deployments","created_at":"2016-09-27T17:34:47Z","updated_at":"2016-09-27T17:35:10Z","pushed_at":"2016-09-29T18:24:55Z","git_url":"git://github.com/philschatz/atom.git","ssh_url":"git@github.com:philschatz/atom.git","clone_url":"https://github.com/philschatz/atom.git","svn_url":"https://github.com/philschatz/atom","homepage":"https://atom.io","size":282583,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"atom:master","ref":"master","sha":"1930a11af6ebeac5d6c0ff4f8ed01a3b2040d4d8","user":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"repo":{"id":3228505,"name":"atom","full_name":"atom/atom","owner":{"login":"atom","id":1089146,"avatar_url":"https://avatars.githubusercontent.com/u/1089146?v=3","gravatar_id":"","url":"https://api.github.com/users/atom","html_url":"https://github.com/atom","followers_url":"https://api.github.com/users/atom/followers","following_url":"https://api.github.com/users/atom/following{/other_user}","gists_url":"https://api.github.com/users/atom/gists{/gist_id}","starred_url":"https://api.github.com/users/atom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atom/subscriptions","organizations_url":"https://api.github.com/users/atom/orgs","repos_url":"https://api.github.com/users/atom/repos","events_url":"https://api.github.com/users/atom/events{/privacy}","received_events_url":"https://api.github.com/users/atom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atom/atom","description":"The hackable text editor","fork":false,"url":"https://api.github.com/repos/atom/atom","forks_url":"https://api.github.com/repos/atom/atom/forks","keys_url":"https://api.github.com/repos/atom/atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atom/atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atom/atom/teams","hooks_url":"https://api.github.com/repos/atom/atom/hooks","issue_events_url":"https://api.github.com/repos/atom/atom/issues/events{/number}","events_url":"https://api.github.com/repos/atom/atom/events","assignees_url":"https://api.github.com/repos/atom/atom/assignees{/user}","branches_url":"https://api.github.com/repos/atom/atom/branches{/branch}","tags_url":"https://api.github.com/repos/atom/atom/tags","blobs_url":"https://api.github.com/repos/atom/atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atom/atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atom/atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/atom/atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atom/atom/statuses/{sha}","languages_url":"https://api.github.com/repos/atom/atom/languages","stargazers_url":"https://api.github.com/repos/atom/atom/stargazers","contributors_url":"https://api.github.com/repos/atom/atom/contributors","subscribers_url":"https://api.github.com/repos/atom/atom/subscribers","subscription_url":"https://api.github.com/repos/atom/atom/subscription","commits_url":"https://api.github.com/repos/atom/atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/atom/atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/atom/atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/atom/atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/atom/atom/contents/{+path}","compare_url":"https://api.github.com/repos/atom/atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atom/atom/merges","archive_url":"https://api.github.com/repos/atom/atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atom/atom/downloads","issues_url":"https://api.github.com/repos/atom/atom/issues{/number}","pulls_url":"https://api.github.com/repos/atom/atom/pulls{/number}","milestones_url":"https://api.github.com/repos/atom/atom/milestones{/number}","notifications_url":"https://api.github.com/repos/atom/atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atom/atom/labels{/name}","releases_url":"https://api.github.com/repos/atom/atom/releases{/id}","deployments_url":"https://api.github.com/repos/atom/atom/deployments","created_at":"2012-01-20T18:18:21Z","updated_at":"2016-09-29T17:56:58Z","pushed_at":"2016-09-29T18:40:31Z","git_url":"git://github.com/atom/atom.git","ssh_url":"git@github.com:atom/atom.git","clone_url":"https://github.com/atom/atom.git","svn_url":"https://github.com/atom/atom","homepage":"https://atom.io","size":416414,"stargazers_count":31123,"watchers_count":31123,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5338,"mirror_url":null,"open_issues_count":1849,"forks":5338,"open_issues":1849,"watchers":31123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atom/atom/pulls/12822"},"html":{"href":"https://github.com/atom/atom/pull/12822"},"issue":{"href":"https://api.github.com/repos/atom/atom/issues/12822"},"comments":{"href":"https://api.github.com/repos/atom/atom/issues/12822/comments"},"review_comments":{"href":"https://api.github.com/repos/atom/atom/pulls/12822/comments"},"review_comment":{"href":"https://api.github.com/repos/atom/atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atom/atom/pulls/12822/commits"},"statuses":{"href":"https://api.github.com/repos/atom/atom/statuses/3d228291041bf004ce6c365c392e8a6b69f42c6c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"philschatz"}}