{"action":"created","comment":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments/53155845","id":53155845,"diff_hunk":"@@ -1,3 +1,69 @@\n-﻿Public Class dlgInsertColumn\n+﻿' Instat-R\n+' Copyright (C) 2015\n+'\n+' This program is free software: you can redistribute it and/or modify\n+' it under the terms of the GNU General Public License as published by\n+' the Free Software Foundation, either version 3 of the License, or\n+' (at your option) any later version.\n+'\n+' This program is distributed in the hope that it will be useful,\n+' but WITHOUT ANY WARRANTY; without even the implied warranty of\n+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+' GNU General Public License for more details.\n+'\n+' You should have received a copy of the GNU General Public License k\n+' along with this program.  If not, see <http://www.gnu.org/licenses/>.\n \n+Imports instat.Translations\n+Public Class dlgInsertColumn\n+    Dim bFirstLoad As Boolean = True\n+\n+    Private Sub chkPos_CheckStateChanged(sender As Object, e As EventArgs) Handles chkPos.CheckStateChanged\n+        If chkPos.Checked = True Then\n+            nudPos.Enabled = True\n+            txtStartPos.Enabled = False\n+        Else\n+            nudPos.Enabled = False\n+            txtStartPos.Enabled = True\n+        End If\n+    End Sub\n+\n+    Private Sub dlgInsertColumn_Load(sender As Object, e As EventArgs) Handles Me.Load\n+        If bFirstLoad Then\n+            setDefaultValues()\n+            bFirstLoad = False\n+        End If\n+        ucrBase.clsRsyntax.SetFunction(frmMain.clsRLink.strInstatDataObject & \"$insert_column_in_data\")\n+    End Sub\n+\n+    Private Sub setDefaultValues()\n+        txtDefaultData.Text = \"NA\"\n+        txtStartPos.Text = \"At the end.\"\n+        ucrBase.clsRsyntax.AddParameter(\"start_pos \", \"length(\" & ucrDataFramesList.cboAvailableDataFrames.SelectedItem & \")\")","path":"instat/dlgInsertColumn.vb","position":43,"original_position":43,"commit_id":"307f6c3fe0107196fd665007be6536e3c43b89d8","original_commit_id":"307f6c3fe0107196fd665007be6536e3c43b89d8","user":{"login":"dannyparsons","id":11214914,"avatar_url":"https://avatars.githubusercontent.com/u/11214914?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyparsons","html_url":"https://github.com/dannyparsons","followers_url":"https://api.github.com/users/dannyparsons/followers","following_url":"https://api.github.com/users/dannyparsons/following{/other_user}","gists_url":"https://api.github.com/users/dannyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyparsons/subscriptions","organizations_url":"https://api.github.com/users/dannyparsons/orgs","repos_url":"https://api.github.com/users/dannyparsons/repos","events_url":"https://api.github.com/users/dannyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/dannyparsons/received_events","type":"User","site_admin":false},"body":"You can use iDataFrameLength in ucrDataFramesList instead of using length.","created_at":"2016-02-17T12:17:27Z","updated_at":"2016-02-17T12:17:27Z","html_url":"https://github.com/africanmathsinitiative/Instat/pull/847#discussion_r53155845","pull_request_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847","_links":{"self":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments/53155845"},"html":{"href":"https://github.com/africanmathsinitiative/Instat/pull/847#discussion_r53155845"},"pull_request":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847"}}},"pull_request":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847","id":59634288,"html_url":"https://github.com/africanmathsinitiative/Instat/pull/847","diff_url":"https://github.com/africanmathsinitiative/Instat/pull/847.diff","patch_url":"https://github.com/africanmathsinitiative/Instat/pull/847.patch","issue_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/847","number":847,"state":"open","locked":false,"title":"Added the functionality to the insert column dialog. Works, but still needs improvement. Working with Steve on that.","user":{"login":"deaspo","id":10347760,"avatar_url":"https://avatars.githubusercontent.com/u/10347760?v=3","gravatar_id":"","url":"https://api.github.com/users/deaspo","html_url":"https://github.com/deaspo","followers_url":"https://api.github.com/users/deaspo/followers","following_url":"https://api.github.com/users/deaspo/following{/other_user}","gists_url":"https://api.github.com/users/deaspo/gists{/gist_id}","starred_url":"https://api.github.com/users/deaspo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deaspo/subscriptions","organizations_url":"https://api.github.com/users/deaspo/orgs","repos_url":"https://api.github.com/users/deaspo/repos","events_url":"https://api.github.com/users/deaspo/events{/privacy}","received_events_url":"https://api.github.com/users/deaspo/received_events","type":"User","site_admin":false},"body":"Added the functionality to the insert column dialog. Works, but still needs improvement. Working with Steve on that.","created_at":"2016-02-17T12:04:32Z","updated_at":"2016-02-17T12:17:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f08b385d9cd2e31c596198be70b07f7cd5b639a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847/commits","review_comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847/comments","review_comment_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/847/comments","statuses_url":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/307f6c3fe0107196fd665007be6536e3c43b89d8","head":{"label":"deaspo:delNonWorkingDialogs","ref":"delNonWorkingDialogs","sha":"307f6c3fe0107196fd665007be6536e3c43b89d8","user":{"login":"deaspo","id":10347760,"avatar_url":"https://avatars.githubusercontent.com/u/10347760?v=3","gravatar_id":"","url":"https://api.github.com/users/deaspo","html_url":"https://github.com/deaspo","followers_url":"https://api.github.com/users/deaspo/followers","following_url":"https://api.github.com/users/deaspo/following{/other_user}","gists_url":"https://api.github.com/users/deaspo/gists{/gist_id}","starred_url":"https://api.github.com/users/deaspo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deaspo/subscriptions","organizations_url":"https://api.github.com/users/deaspo/orgs","repos_url":"https://api.github.com/users/deaspo/repos","events_url":"https://api.github.com/users/deaspo/events{/privacy}","received_events_url":"https://api.github.com/users/deaspo/received_events","type":"User","site_admin":false},"repo":{"id":49624678,"name":"Instat","full_name":"deaspo/Instat","owner":{"login":"deaspo","id":10347760,"avatar_url":"https://avatars.githubusercontent.com/u/10347760?v=3","gravatar_id":"","url":"https://api.github.com/users/deaspo","html_url":"https://github.com/deaspo","followers_url":"https://api.github.com/users/deaspo/followers","following_url":"https://api.github.com/users/deaspo/following{/other_user}","gists_url":"https://api.github.com/users/deaspo/gists{/gist_id}","starred_url":"https://api.github.com/users/deaspo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deaspo/subscriptions","organizations_url":"https://api.github.com/users/deaspo/orgs","repos_url":"https://api.github.com/users/deaspo/repos","events_url":"https://api.github.com/users/deaspo/events{/privacy}","received_events_url":"https://api.github.com/users/deaspo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deaspo/Instat","description":"Development of the new version of Instat","fork":true,"url":"https://api.github.com/repos/deaspo/Instat","forks_url":"https://api.github.com/repos/deaspo/Instat/forks","keys_url":"https://api.github.com/repos/deaspo/Instat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deaspo/Instat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deaspo/Instat/teams","hooks_url":"https://api.github.com/repos/deaspo/Instat/hooks","issue_events_url":"https://api.github.com/repos/deaspo/Instat/issues/events{/number}","events_url":"https://api.github.com/repos/deaspo/Instat/events","assignees_url":"https://api.github.com/repos/deaspo/Instat/assignees{/user}","branches_url":"https://api.github.com/repos/deaspo/Instat/branches{/branch}","tags_url":"https://api.github.com/repos/deaspo/Instat/tags","blobs_url":"https://api.github.com/repos/deaspo/Instat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deaspo/Instat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deaspo/Instat/git/refs{/sha}","trees_url":"https://api.github.com/repos/deaspo/Instat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deaspo/Instat/statuses/{sha}","languages_url":"https://api.github.com/repos/deaspo/Instat/languages","stargazers_url":"https://api.github.com/repos/deaspo/Instat/stargazers","contributors_url":"https://api.github.com/repos/deaspo/Instat/contributors","subscribers_url":"https://api.github.com/repos/deaspo/Instat/subscribers","subscription_url":"https://api.github.com/repos/deaspo/Instat/subscription","commits_url":"https://api.github.com/repos/deaspo/Instat/commits{/sha}","git_commits_url":"https://api.github.com/repos/deaspo/Instat/git/commits{/sha}","comments_url":"https://api.github.com/repos/deaspo/Instat/comments{/number}","issue_comment_url":"https://api.github.com/repos/deaspo/Instat/issues/comments{/number}","contents_url":"https://api.github.com/repos/deaspo/Instat/contents/{+path}","compare_url":"https://api.github.com/repos/deaspo/Instat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deaspo/Instat/merges","archive_url":"https://api.github.com/repos/deaspo/Instat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deaspo/Instat/downloads","issues_url":"https://api.github.com/repos/deaspo/Instat/issues{/number}","pulls_url":"https://api.github.com/repos/deaspo/Instat/pulls{/number}","milestones_url":"https://api.github.com/repos/deaspo/Instat/milestones{/number}","notifications_url":"https://api.github.com/repos/deaspo/Instat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deaspo/Instat/labels{/name}","releases_url":"https://api.github.com/repos/deaspo/Instat/releases{/id}","deployments_url":"https://api.github.com/repos/deaspo/Instat/deployments","created_at":"2016-01-14T05:22:03Z","updated_at":"2016-01-15T12:29:38Z","pushed_at":"2016-02-17T12:03:55Z","git_url":"git://github.com/deaspo/Instat.git","ssh_url":"git@github.com:deaspo/Instat.git","clone_url":"https://github.com/deaspo/Instat.git","svn_url":"https://github.com/deaspo/Instat","homepage":null,"size":5923,"stargazers_count":1,"watchers_count":1,"language":"Visual Basic","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":1,"default_branch":"dlgImportDatasets"}},"base":{"label":"africanmathsinitiative:master","ref":"master","sha":"90656fa15e386deecc92030fdc4c0871dd5b42e4","user":{"login":"africanmathsinitiative","id":13917566,"avatar_url":"https://avatars.githubusercontent.com/u/13917566?v=3","gravatar_id":"","url":"https://api.github.com/users/africanmathsinitiative","html_url":"https://github.com/africanmathsinitiative","followers_url":"https://api.github.com/users/africanmathsinitiative/followers","following_url":"https://api.github.com/users/africanmathsinitiative/following{/other_user}","gists_url":"https://api.github.com/users/africanmathsinitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/africanmathsinitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/africanmathsinitiative/subscriptions","organizations_url":"https://api.github.com/users/africanmathsinitiative/orgs","repos_url":"https://api.github.com/users/africanmathsinitiative/repos","events_url":"https://api.github.com/users/africanmathsinitiative/events{/privacy}","received_events_url":"https://api.github.com/users/africanmathsinitiative/received_events","type":"Organization","site_admin":false},"repo":{"id":44009238,"name":"Instat","full_name":"africanmathsinitiative/Instat","owner":{"login":"africanmathsinitiative","id":13917566,"avatar_url":"https://avatars.githubusercontent.com/u/13917566?v=3","gravatar_id":"","url":"https://api.github.com/users/africanmathsinitiative","html_url":"https://github.com/africanmathsinitiative","followers_url":"https://api.github.com/users/africanmathsinitiative/followers","following_url":"https://api.github.com/users/africanmathsinitiative/following{/other_user}","gists_url":"https://api.github.com/users/africanmathsinitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/africanmathsinitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/africanmathsinitiative/subscriptions","organizations_url":"https://api.github.com/users/africanmathsinitiative/orgs","repos_url":"https://api.github.com/users/africanmathsinitiative/repos","events_url":"https://api.github.com/users/africanmathsinitiative/events{/privacy}","received_events_url":"https://api.github.com/users/africanmathsinitiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/africanmathsinitiative/Instat","description":"Development of the new version of Instat","fork":false,"url":"https://api.github.com/repos/africanmathsinitiative/Instat","forks_url":"https://api.github.com/repos/africanmathsinitiative/Instat/forks","keys_url":"https://api.github.com/repos/africanmathsinitiative/Instat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/africanmathsinitiative/Instat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/africanmathsinitiative/Instat/teams","hooks_url":"https://api.github.com/repos/africanmathsinitiative/Instat/hooks","issue_events_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/events{/number}","events_url":"https://api.github.com/repos/africanmathsinitiative/Instat/events","assignees_url":"https://api.github.com/repos/africanmathsinitiative/Instat/assignees{/user}","branches_url":"https://api.github.com/repos/africanmathsinitiative/Instat/branches{/branch}","tags_url":"https://api.github.com/repos/africanmathsinitiative/Instat/tags","blobs_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/refs{/sha}","trees_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/{sha}","languages_url":"https://api.github.com/repos/africanmathsinitiative/Instat/languages","stargazers_url":"https://api.github.com/repos/africanmathsinitiative/Instat/stargazers","contributors_url":"https://api.github.com/repos/africanmathsinitiative/Instat/contributors","subscribers_url":"https://api.github.com/repos/africanmathsinitiative/Instat/subscribers","subscription_url":"https://api.github.com/repos/africanmathsinitiative/Instat/subscription","commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/commits{/sha}","git_commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/commits{/sha}","comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/comments{/number}","issue_comment_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/comments{/number}","contents_url":"https://api.github.com/repos/africanmathsinitiative/Instat/contents/{+path}","compare_url":"https://api.github.com/repos/africanmathsinitiative/Instat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/africanmathsinitiative/Instat/merges","archive_url":"https://api.github.com/repos/africanmathsinitiative/Instat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/africanmathsinitiative/Instat/downloads","issues_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues{/number}","pulls_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls{/number}","milestones_url":"https://api.github.com/repos/africanmathsinitiative/Instat/milestones{/number}","notifications_url":"https://api.github.com/repos/africanmathsinitiative/Instat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/africanmathsinitiative/Instat/labels{/name}","releases_url":"https://api.github.com/repos/africanmathsinitiative/Instat/releases{/id}","deployments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/deployments","created_at":"2015-10-10T12:10:32Z","updated_at":"2016-01-11T15:31:19Z","pushed_at":"2016-02-17T12:04:33Z","git_url":"git://github.com/africanmathsinitiative/Instat.git","ssh_url":"git@github.com:africanmathsinitiative/Instat.git","clone_url":"https://github.com/africanmathsinitiative/Instat.git","svn_url":"https://github.com/africanmathsinitiative/Instat","homepage":null,"size":6783,"stargazers_count":0,"watchers_count":0,"language":"Visual Basic","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847"},"html":{"href":"https://github.com/africanmathsinitiative/Instat/pull/847"},"issue":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/847"},"comments":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/847/comments"},"review_comments":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847/comments"},"review_comment":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/847/commits"},"statuses":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/307f6c3fe0107196fd665007be6536e3c43b89d8"}}}}