{"action":"created","comment":{"url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/comments/80126460","id":80126460,"diff_hunk":"@@ -0,0 +1,156 @@\n+#\n+# Business-logic of \"CSS Table of Contents\" plugin for ST3\n+#\n+\n+import re\n+import heapq\n+\n+def work_get_section(contents, selected, line):","path":"css_toc_work.py","position":8,"original_position":8,"commit_id":"6dd6873263c1085e3f4799f9d177d1d20a373056","original_commit_id":"6dd6873263c1085e3f4799f9d177d1d20a373056","user":{"login":"dingo-d","id":8638515,"avatar_url":"https://avatars.githubusercontent.com/u/8638515?v=3","gravatar_id":"","url":"https://api.github.com/users/dingo-d","html_url":"https://github.com/dingo-d","followers_url":"https://api.github.com/users/dingo-d/followers","following_url":"https://api.github.com/users/dingo-d/following{/other_user}","gists_url":"https://api.github.com/users/dingo-d/gists{/gist_id}","starred_url":"https://api.github.com/users/dingo-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingo-d/subscriptions","organizations_url":"https://api.github.com/users/dingo-d/orgs","repos_url":"https://api.github.com/users/dingo-d/repos","events_url":"https://api.github.com/users/dingo-d/events{/privacy}","received_events_url":"https://api.github.com/users/dingo-d/received_events","type":"User","site_admin":false},"body":"Can I rename the definitions? work_ prefix doesn't sound descriptive enough. Or just toc_ prefix to match the plugin?","created_at":"2016-09-22T20:15:11Z","updated_at":"2016-09-22T20:15:11Z","html_url":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3#discussion_r80126460","pull_request_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/comments/80126460"},"html":{"href":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3#discussion_r80126460"},"pull_request":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3","id":86179626,"html_url":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3","diff_url":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3.diff","patch_url":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3.patch","issue_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/3","number":3,"state":"open","locked":false,"title":"Refactor: put business-logic to new py-module","user":{"login":"Alexey-T","id":4154978,"avatar_url":"https://avatars.githubusercontent.com/u/4154978?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"body":"We talked about, in GH","created_at":"2016-09-21T14:57:10Z","updated_at":"2016-09-22T20:15:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad728251fa68b6b55aacad0baf0035207f2d8909","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3/commits","review_comments_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3/comments","review_comment_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/3/comments","statuses_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/statuses/6dd6873263c1085e3f4799f9d177d1d20a373056","head":{"label":"Alexey-T:master","ref":"master","sha":"6dd6873263c1085e3f4799f9d177d1d20a373056","user":{"login":"Alexey-T","id":4154978,"avatar_url":"https://avatars.githubusercontent.com/u/4154978?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"repo":{"id":68824036,"name":"CSS-Table-of-Contents","full_name":"Alexey-T/CSS-Table-of-Contents","owner":{"login":"Alexey-T","id":4154978,"avatar_url":"https://avatars.githubusercontent.com/u/4154978?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Alexey-T/CSS-Table-of-Contents","description":"A Sublime Text 3 plugin for css TOC creation","fork":true,"url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents","forks_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/forks","keys_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/teams","hooks_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/hooks","issue_events_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/issues/events{/number}","events_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/events","assignees_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/assignees{/user}","branches_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/branches{/branch}","tags_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/tags","blobs_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/git/refs{/sha}","trees_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/statuses/{sha}","languages_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/languages","stargazers_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/stargazers","contributors_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/contributors","subscribers_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/subscribers","subscription_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/subscription","commits_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/commits{/sha}","git_commits_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/git/commits{/sha}","comments_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/comments{/number}","issue_comment_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/issues/comments{/number}","contents_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/contents/{+path}","compare_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/merges","archive_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/downloads","issues_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/issues{/number}","pulls_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/pulls{/number}","milestones_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/milestones{/number}","notifications_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/labels{/name}","releases_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/releases{/id}","deployments_url":"https://api.github.com/repos/Alexey-T/CSS-Table-of-Contents/deployments","created_at":"2016-09-21T14:15:35Z","updated_at":"2016-09-21T14:15:36Z","pushed_at":"2016-09-21T14:55:00Z","git_url":"git://github.com/Alexey-T/CSS-Table-of-Contents.git","ssh_url":"git@github.com:Alexey-T/CSS-Table-of-Contents.git","clone_url":"https://github.com/Alexey-T/CSS-Table-of-Contents.git","svn_url":"https://github.com/Alexey-T/CSS-Table-of-Contents","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"dingo-d:master","ref":"master","sha":"4da59593731552bbfdc723b515056776829bbcd4","user":{"login":"dingo-d","id":8638515,"avatar_url":"https://avatars.githubusercontent.com/u/8638515?v=3","gravatar_id":"","url":"https://api.github.com/users/dingo-d","html_url":"https://github.com/dingo-d","followers_url":"https://api.github.com/users/dingo-d/followers","following_url":"https://api.github.com/users/dingo-d/following{/other_user}","gists_url":"https://api.github.com/users/dingo-d/gists{/gist_id}","starred_url":"https://api.github.com/users/dingo-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingo-d/subscriptions","organizations_url":"https://api.github.com/users/dingo-d/orgs","repos_url":"https://api.github.com/users/dingo-d/repos","events_url":"https://api.github.com/users/dingo-d/events{/privacy}","received_events_url":"https://api.github.com/users/dingo-d/received_events","type":"User","site_admin":false},"repo":{"id":66782786,"name":"CSS-Table-of-Contents","full_name":"dingo-d/CSS-Table-of-Contents","owner":{"login":"dingo-d","id":8638515,"avatar_url":"https://avatars.githubusercontent.com/u/8638515?v=3","gravatar_id":"","url":"https://api.github.com/users/dingo-d","html_url":"https://github.com/dingo-d","followers_url":"https://api.github.com/users/dingo-d/followers","following_url":"https://api.github.com/users/dingo-d/following{/other_user}","gists_url":"https://api.github.com/users/dingo-d/gists{/gist_id}","starred_url":"https://api.github.com/users/dingo-d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dingo-d/subscriptions","organizations_url":"https://api.github.com/users/dingo-d/orgs","repos_url":"https://api.github.com/users/dingo-d/repos","events_url":"https://api.github.com/users/dingo-d/events{/privacy}","received_events_url":"https://api.github.com/users/dingo-d/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dingo-d/CSS-Table-of-Contents","description":"A Sublime Text 3 plugin for css TOC creation","fork":false,"url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents","forks_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/forks","keys_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/teams","hooks_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/hooks","issue_events_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/events{/number}","events_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/events","assignees_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/assignees{/user}","branches_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/branches{/branch}","tags_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/tags","blobs_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/git/refs{/sha}","trees_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/statuses/{sha}","languages_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/languages","stargazers_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/stargazers","contributors_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/contributors","subscribers_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/subscribers","subscription_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/subscription","commits_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/commits{/sha}","git_commits_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/git/commits{/sha}","comments_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/comments{/number}","issue_comment_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/comments{/number}","contents_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/contents/{+path}","compare_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/merges","archive_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/downloads","issues_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues{/number}","pulls_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls{/number}","milestones_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/milestones{/number}","notifications_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/labels{/name}","releases_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/releases{/id}","deployments_url":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/deployments","created_at":"2016-08-28T18:00:29Z","updated_at":"2016-09-21T11:39:04Z","pushed_at":"2016-09-21T14:57:10Z","git_url":"git://github.com/dingo-d/CSS-Table-of-Contents.git","ssh_url":"git@github.com:dingo-d/CSS-Table-of-Contents.git","clone_url":"https://github.com/dingo-d/CSS-Table-of-Contents.git","svn_url":"https://github.com/dingo-d/CSS-Table-of-Contents","homepage":null,"size":20,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3"},"html":{"href":"https://github.com/dingo-d/CSS-Table-of-Contents/pull/3"},"issue":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/3"},"comments":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/dingo-d/CSS-Table-of-Contents/statuses/6dd6873263c1085e3f4799f9d177d1d20a373056"}}}}
{"actor":{"display_login":"dingo-d"}}