{"action":"created","comment":{"url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/comments/43350651","id":43350651,"diff_hunk":"@@ -26,11 +26,22 @@ private void Caret_PositionChanged(object sender, CaretPositionChangedEventArgs\n \n                 //We roll the dice on an OOM exception... :(\n                 string rawText = caret.ContainingTextViewLine.Snapshot.GetText();\n+                string textbeforecaret = rawText.Substring(0, position);","path":"TypeScriptSyntaxVisualizer/TextViewCreationListener.cs","position":4,"original_position":4,"commit_id":"1ecfda62cb393ce71971ce467feb1da03ced0c1f","original_commit_id":"1ecfda62cb393ce71971ce467feb1da03ced0c1f","user":{"login":"AmadeusW","id":1673956,"avatar_url":"https://avatars.githubusercontent.com/u/1673956?v=3","gravatar_id":"","url":"https://api.github.com/users/AmadeusW","html_url":"https://github.com/AmadeusW","followers_url":"https://api.github.com/users/AmadeusW/followers","following_url":"https://api.github.com/users/AmadeusW/following{/other_user}","gists_url":"https://api.github.com/users/AmadeusW/gists{/gist_id}","starred_url":"https://api.github.com/users/AmadeusW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmadeusW/subscriptions","organizations_url":"https://api.github.com/users/AmadeusW/orgs","repos_url":"https://api.github.com/users/AmadeusW/repos","events_url":"https://api.github.com/users/AmadeusW/events{/privacy}","received_events_url":"https://api.github.com/users/AmadeusW/received_events","type":"User","site_admin":false},"body":"use camelCase and verbose names for variables, for example `textBeforeCaret` and `lineNumber`","created_at":"2015-10-29T05:34:50Z","updated_at":"2015-10-29T05:34:50Z","html_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1#discussion_r43350651","pull_request_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/comments/43350651"},"html":{"href":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1#discussion_r43350651"},"pull_request":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1","id":49100017,"html_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1","diff_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1.diff","patch_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1.patch","issue_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/1","number":1,"state":"open","locked":false,"title":"Implement SelectText","user":{"login":"fanzhemeng","id":10469569,"avatar_url":"https://avatars.githubusercontent.com/u/10469569?v=3","gravatar_id":"","url":"https://api.github.com/users/fanzhemeng","html_url":"https://github.com/fanzhemeng","followers_url":"https://api.github.com/users/fanzhemeng/followers","following_url":"https://api.github.com/users/fanzhemeng/following{/other_user}","gists_url":"https://api.github.com/users/fanzhemeng/gists{/gist_id}","starred_url":"https://api.github.com/users/fanzhemeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fanzhemeng/subscriptions","organizations_url":"https://api.github.com/users/fanzhemeng/orgs","repos_url":"https://api.github.com/users/fanzhemeng/repos","events_url":"https://api.github.com/users/fanzhemeng/events{/privacy}","received_events_url":"https://api.github.com/users/fanzhemeng/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-10-29T05:21:41Z","updated_at":"2015-10-29T05:34:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b629fb8be74a3928f46a362ceff301c339a04597","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1/commits","review_comments_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1/comments","review_comment_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/1/comments","statuses_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/statuses/1ecfda62cb393ce71971ce467feb1da03ced0c1f","head":{"label":"CodeConnect:AddSelectText","ref":"AddSelectText","sha":"1ecfda62cb393ce71971ce467feb1da03ced0c1f","user":{"login":"CodeConnect","id":9244729,"avatar_url":"https://avatars.githubusercontent.com/u/9244729?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeConnect","html_url":"https://github.com/CodeConnect","followers_url":"https://api.github.com/users/CodeConnect/followers","following_url":"https://api.github.com/users/CodeConnect/following{/other_user}","gists_url":"https://api.github.com/users/CodeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeConnect/subscriptions","organizations_url":"https://api.github.com/users/CodeConnect/orgs","repos_url":"https://api.github.com/users/CodeConnect/repos","events_url":"https://api.github.com/users/CodeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/CodeConnect/received_events","type":"Organization","site_admin":false},"repo":{"id":44347227,"name":"TypeScriptSyntaxVisualizer","full_name":"CodeConnect/TypeScriptSyntaxVisualizer","owner":{"login":"CodeConnect","id":9244729,"avatar_url":"https://avatars.githubusercontent.com/u/9244729?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeConnect","html_url":"https://github.com/CodeConnect","followers_url":"https://api.github.com/users/CodeConnect/followers","following_url":"https://api.github.com/users/CodeConnect/following{/other_user}","gists_url":"https://api.github.com/users/CodeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeConnect/subscriptions","organizations_url":"https://api.github.com/users/CodeConnect/orgs","repos_url":"https://api.github.com/users/CodeConnect/repos","events_url":"https://api.github.com/users/CodeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/CodeConnect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer","description":"A clone of the Roslyn Syntax Visualizer for TypeScript (and therefore also Javascript)","fork":false,"url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer","forks_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/forks","keys_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/teams","hooks_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/hooks","issue_events_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/events{/number}","events_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/events","assignees_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/assignees{/user}","branches_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/branches{/branch}","tags_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/tags","blobs_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/languages","stargazers_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/stargazers","contributors_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/contributors","subscribers_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/subscribers","subscription_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/subscription","commits_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/contents/{+path}","compare_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/merges","archive_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/downloads","issues_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues{/number}","pulls_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/labels{/name}","releases_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/releases{/id}","created_at":"2015-10-15T21:41:31Z","updated_at":"2015-10-19T12:00:31Z","pushed_at":"2015-10-29T05:21:41Z","git_url":"git://github.com/CodeConnect/TypeScriptSyntaxVisualizer.git","ssh_url":"git@github.com:CodeConnect/TypeScriptSyntaxVisualizer.git","clone_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer.git","svn_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer","homepage":null,"size":2932,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":8,"default_branch":"master"}},"base":{"label":"CodeConnect:master","ref":"master","sha":"ea3aaae279e26511fedb47a4a1dba1e714dd3e48","user":{"login":"CodeConnect","id":9244729,"avatar_url":"https://avatars.githubusercontent.com/u/9244729?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeConnect","html_url":"https://github.com/CodeConnect","followers_url":"https://api.github.com/users/CodeConnect/followers","following_url":"https://api.github.com/users/CodeConnect/following{/other_user}","gists_url":"https://api.github.com/users/CodeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeConnect/subscriptions","organizations_url":"https://api.github.com/users/CodeConnect/orgs","repos_url":"https://api.github.com/users/CodeConnect/repos","events_url":"https://api.github.com/users/CodeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/CodeConnect/received_events","type":"Organization","site_admin":false},"repo":{"id":44347227,"name":"TypeScriptSyntaxVisualizer","full_name":"CodeConnect/TypeScriptSyntaxVisualizer","owner":{"login":"CodeConnect","id":9244729,"avatar_url":"https://avatars.githubusercontent.com/u/9244729?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeConnect","html_url":"https://github.com/CodeConnect","followers_url":"https://api.github.com/users/CodeConnect/followers","following_url":"https://api.github.com/users/CodeConnect/following{/other_user}","gists_url":"https://api.github.com/users/CodeConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeConnect/subscriptions","organizations_url":"https://api.github.com/users/CodeConnect/orgs","repos_url":"https://api.github.com/users/CodeConnect/repos","events_url":"https://api.github.com/users/CodeConnect/events{/privacy}","received_events_url":"https://api.github.com/users/CodeConnect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer","description":"A clone of the Roslyn Syntax Visualizer for TypeScript (and therefore also Javascript)","fork":false,"url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer","forks_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/forks","keys_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/teams","hooks_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/hooks","issue_events_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/events{/number}","events_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/events","assignees_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/assignees{/user}","branches_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/branches{/branch}","tags_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/tags","blobs_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/statuses/{sha}","languages_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/languages","stargazers_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/stargazers","contributors_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/contributors","subscribers_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/subscribers","subscription_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/subscription","commits_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/contents/{+path}","compare_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/merges","archive_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/downloads","issues_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues{/number}","pulls_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls{/number}","milestones_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/milestones{/number}","notifications_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/labels{/name}","releases_url":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/releases{/id}","created_at":"2015-10-15T21:41:31Z","updated_at":"2015-10-19T12:00:31Z","pushed_at":"2015-10-29T05:21:41Z","git_url":"git://github.com/CodeConnect/TypeScriptSyntaxVisualizer.git","ssh_url":"git@github.com:CodeConnect/TypeScriptSyntaxVisualizer.git","clone_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer.git","svn_url":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer","homepage":null,"size":2932,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1"},"html":{"href":"https://github.com/CodeConnect/TypeScriptSyntaxVisualizer/pull/1"},"issue":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/1"},"comments":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/CodeConnect/TypeScriptSyntaxVisualizer/statuses/1ecfda62cb393ce71971ce467feb1da03ced0c1f"}}}}