{"action":"created","comment":{"url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/comments/86850160","pull_request_review_id":7487375,"id":86850160,"diff_hunk":"@@ -149,8 +149,16 @@ procedure TKMMapEdUnit.Show(aGroup: TKMUnitGroup);\n \n procedure TKMMapEdUnit.Unit_ArmyChange1(Sender: TObject);\n begin\n-  if Sender = Button_Army_ForUp then fGroup.UnitsPerRow := fGroup.UnitsPerRow - 1;\n-  if Sender = Button_Army_ForDown then fGroup.UnitsPerRow := fGroup.UnitsPerRow + 1;\n+  Unit_ArmyChangeShift(Sender, []);\n+end;\n+\n+\n+procedure TKMMapEdUnit.Unit_ArmyChangeShift(Sender: TObject; Shift: TShiftState);\n+begin\n+  if Sender = Button_Army_ForUp then\n+    fGroup.UnitsPerRow := EnsureRange(fGroup.UnitsPerRow - GetMultiplicator(Shift), 1, 200);\n+  if Sender = Button_Army_ForDown then\n+    fGroup.UnitsPerRow := EnsureRange(fGroup.UnitsPerRow + GetMultiplicator(Shift), 1, 200);","path":"src/gui/pages_maped/KM_GUIMapEdUnit.pas","position":36,"original_position":36,"commit_id":"01f2e9c75d74fb0a089c7e1cadff497021df8a59","original_commit_id":"01f2e9c75d74fb0a089c7e1cadff497021df8a59","user":{"login":"reyandme","id":5173273,"avatar_url":"https://avatars.githubusercontent.com/u/5173273?v=3","gravatar_id":"","url":"https://api.github.com/users/reyandme","html_url":"https://github.com/reyandme","followers_url":"https://api.github.com/users/reyandme/followers","following_url":"https://api.github.com/users/reyandme/following{/other_user}","gists_url":"https://api.github.com/users/reyandme/gists{/gist_id}","starred_url":"https://api.github.com/users/reyandme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyandme/subscriptions","organizations_url":"https://api.github.com/users/reyandme/orgs","repos_url":"https://api.github.com/users/reyandme/repos","events_url":"https://api.github.com/users/reyandme/events{/privacy}","received_events_url":"https://api.github.com/users/reyandme/received_events","type":"User","site_admin":false},"body":"fGroup.UnitsPerRow is Word type. At least we must ensure it more then 0.","created_at":"2016-11-07T19:32:55Z","updated_at":"2016-11-07T19:32:55Z","html_url":"https://github.com/Kromster80/kam_remake/pull/116#discussion_r86850160","pull_request_url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/comments/86850160"},"html":{"href":"https://github.com/Kromster80/kam_remake/pull/116#discussion_r86850160"},"pull_request":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116","id":92642769,"html_url":"https://github.com/Kromster80/kam_remake/pull/116","diff_url":"https://github.com/Kromster80/kam_remake/pull/116.diff","patch_url":"https://github.com/Kromster80/kam_remake/pull/116.patch","issue_url":"https://api.github.com/repos/Kromster80/kam_remake/issues/116","number":116,"state":"open","locked":false,"title":"MapEd: Shortcut for units stack rows inc/dec by 10/100 rows ","user":{"login":"reyandme","id":5173273,"avatar_url":"https://avatars.githubusercontent.com/u/5173273?v=3","gravatar_id":"","url":"https://api.github.com/users/reyandme","html_url":"https://github.com/reyandme","followers_url":"https://api.github.com/users/reyandme/followers","following_url":"https://api.github.com/users/reyandme/following{/other_user}","gists_url":"https://api.github.com/users/reyandme/gists{/gist_id}","starred_url":"https://api.github.com/users/reyandme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyandme/subscriptions","organizations_url":"https://api.github.com/users/reyandme/orgs","repos_url":"https://api.github.com/users/reyandme/repos","events_url":"https://api.github.com/users/reyandme/events{/privacy}","received_events_url":"https://api.github.com/users/reyandme/received_events","type":"User","site_admin":false},"body":"Also MapEd small bugfix","created_at":"2016-11-07T18:58:41Z","updated_at":"2016-11-07T19:32:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42683b6e310b096325bebd629f6af624deec70cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116/commits","review_comments_url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116/comments","review_comment_url":"https://api.github.com/repos/Kromster80/kam_remake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kromster80/kam_remake/issues/116/comments","statuses_url":"https://api.github.com/repos/Kromster80/kam_remake/statuses/01f2e9c75d74fb0a089c7e1cadff497021df8a59","head":{"label":"reyandme:map-ed-group-stack-rows-shortcut","ref":"map-ed-group-stack-rows-shortcut","sha":"01f2e9c75d74fb0a089c7e1cadff497021df8a59","user":{"login":"reyandme","id":5173273,"avatar_url":"https://avatars.githubusercontent.com/u/5173273?v=3","gravatar_id":"","url":"https://api.github.com/users/reyandme","html_url":"https://github.com/reyandme","followers_url":"https://api.github.com/users/reyandme/followers","following_url":"https://api.github.com/users/reyandme/following{/other_user}","gists_url":"https://api.github.com/users/reyandme/gists{/gist_id}","starred_url":"https://api.github.com/users/reyandme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyandme/subscriptions","organizations_url":"https://api.github.com/users/reyandme/orgs","repos_url":"https://api.github.com/users/reyandme/repos","events_url":"https://api.github.com/users/reyandme/events{/privacy}","received_events_url":"https://api.github.com/users/reyandme/received_events","type":"User","site_admin":false},"repo":{"id":70630716,"name":"kam_remake","full_name":"reyandme/kam_remake","owner":{"login":"reyandme","id":5173273,"avatar_url":"https://avatars.githubusercontent.com/u/5173273?v=3","gravatar_id":"","url":"https://api.github.com/users/reyandme","html_url":"https://github.com/reyandme","followers_url":"https://api.github.com/users/reyandme/followers","following_url":"https://api.github.com/users/reyandme/following{/other_user}","gists_url":"https://api.github.com/users/reyandme/gists{/gist_id}","starred_url":"https://api.github.com/users/reyandme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyandme/subscriptions","organizations_url":"https://api.github.com/users/reyandme/orgs","repos_url":"https://api.github.com/users/reyandme/repos","events_url":"https://api.github.com/users/reyandme/events{/privacy}","received_events_url":"https://api.github.com/users/reyandme/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reyandme/kam_remake","description":"\"KaM Remake\" is an RTS game remake written in Delphi from scratch.","fork":true,"url":"https://api.github.com/repos/reyandme/kam_remake","forks_url":"https://api.github.com/repos/reyandme/kam_remake/forks","keys_url":"https://api.github.com/repos/reyandme/kam_remake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reyandme/kam_remake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reyandme/kam_remake/teams","hooks_url":"https://api.github.com/repos/reyandme/kam_remake/hooks","issue_events_url":"https://api.github.com/repos/reyandme/kam_remake/issues/events{/number}","events_url":"https://api.github.com/repos/reyandme/kam_remake/events","assignees_url":"https://api.github.com/repos/reyandme/kam_remake/assignees{/user}","branches_url":"https://api.github.com/repos/reyandme/kam_remake/branches{/branch}","tags_url":"https://api.github.com/repos/reyandme/kam_remake/tags","blobs_url":"https://api.github.com/repos/reyandme/kam_remake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reyandme/kam_remake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reyandme/kam_remake/git/refs{/sha}","trees_url":"https://api.github.com/repos/reyandme/kam_remake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reyandme/kam_remake/statuses/{sha}","languages_url":"https://api.github.com/repos/reyandme/kam_remake/languages","stargazers_url":"https://api.github.com/repos/reyandme/kam_remake/stargazers","contributors_url":"https://api.github.com/repos/reyandme/kam_remake/contributors","subscribers_url":"https://api.github.com/repos/reyandme/kam_remake/subscribers","subscription_url":"https://api.github.com/repos/reyandme/kam_remake/subscription","commits_url":"https://api.github.com/repos/reyandme/kam_remake/commits{/sha}","git_commits_url":"https://api.github.com/repos/reyandme/kam_remake/git/commits{/sha}","comments_url":"https://api.github.com/repos/reyandme/kam_remake/comments{/number}","issue_comment_url":"https://api.github.com/repos/reyandme/kam_remake/issues/comments{/number}","contents_url":"https://api.github.com/repos/reyandme/kam_remake/contents/{+path}","compare_url":"https://api.github.com/repos/reyandme/kam_remake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reyandme/kam_remake/merges","archive_url":"https://api.github.com/repos/reyandme/kam_remake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reyandme/kam_remake/downloads","issues_url":"https://api.github.com/repos/reyandme/kam_remake/issues{/number}","pulls_url":"https://api.github.com/repos/reyandme/kam_remake/pulls{/number}","milestones_url":"https://api.github.com/repos/reyandme/kam_remake/milestones{/number}","notifications_url":"https://api.github.com/repos/reyandme/kam_remake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reyandme/kam_remake/labels{/name}","releases_url":"https://api.github.com/repos/reyandme/kam_remake/releases{/id}","deployments_url":"https://api.github.com/repos/reyandme/kam_remake/deployments","created_at":"2016-10-11T20:03:52Z","updated_at":"2016-10-23T15:06:14Z","pushed_at":"2016-11-07T18:57:31Z","git_url":"git://github.com/reyandme/kam_remake.git","ssh_url":"git@github.com:reyandme/kam_remake.git","clone_url":"https://github.com/reyandme/kam_remake.git","svn_url":"https://github.com/reyandme/kam_remake","homepage":"http://www.kamremake.com","size":262619,"stargazers_count":0,"watchers_count":0,"language":"Pascal","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":"Kromster80:master","ref":"master","sha":"e97a89f201972932dc21d45f212855753ec37daa","user":{"login":"Kromster80","id":4618474,"avatar_url":"https://avatars.githubusercontent.com/u/4618474?v=3","gravatar_id":"","url":"https://api.github.com/users/Kromster80","html_url":"https://github.com/Kromster80","followers_url":"https://api.github.com/users/Kromster80/followers","following_url":"https://api.github.com/users/Kromster80/following{/other_user}","gists_url":"https://api.github.com/users/Kromster80/gists{/gist_id}","starred_url":"https://api.github.com/users/Kromster80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kromster80/subscriptions","organizations_url":"https://api.github.com/users/Kromster80/orgs","repos_url":"https://api.github.com/users/Kromster80/repos","events_url":"https://api.github.com/users/Kromster80/events{/privacy}","received_events_url":"https://api.github.com/users/Kromster80/received_events","type":"User","site_admin":false},"repo":{"id":32523399,"name":"kam_remake","full_name":"Kromster80/kam_remake","owner":{"login":"Kromster80","id":4618474,"avatar_url":"https://avatars.githubusercontent.com/u/4618474?v=3","gravatar_id":"","url":"https://api.github.com/users/Kromster80","html_url":"https://github.com/Kromster80","followers_url":"https://api.github.com/users/Kromster80/followers","following_url":"https://api.github.com/users/Kromster80/following{/other_user}","gists_url":"https://api.github.com/users/Kromster80/gists{/gist_id}","starred_url":"https://api.github.com/users/Kromster80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kromster80/subscriptions","organizations_url":"https://api.github.com/users/Kromster80/orgs","repos_url":"https://api.github.com/users/Kromster80/repos","events_url":"https://api.github.com/users/Kromster80/events{/privacy}","received_events_url":"https://api.github.com/users/Kromster80/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kromster80/kam_remake","description":"\"KaM Remake\" is an RTS game remake written in Delphi from scratch.","fork":false,"url":"https://api.github.com/repos/Kromster80/kam_remake","forks_url":"https://api.github.com/repos/Kromster80/kam_remake/forks","keys_url":"https://api.github.com/repos/Kromster80/kam_remake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kromster80/kam_remake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kromster80/kam_remake/teams","hooks_url":"https://api.github.com/repos/Kromster80/kam_remake/hooks","issue_events_url":"https://api.github.com/repos/Kromster80/kam_remake/issues/events{/number}","events_url":"https://api.github.com/repos/Kromster80/kam_remake/events","assignees_url":"https://api.github.com/repos/Kromster80/kam_remake/assignees{/user}","branches_url":"https://api.github.com/repos/Kromster80/kam_remake/branches{/branch}","tags_url":"https://api.github.com/repos/Kromster80/kam_remake/tags","blobs_url":"https://api.github.com/repos/Kromster80/kam_remake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kromster80/kam_remake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kromster80/kam_remake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kromster80/kam_remake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kromster80/kam_remake/statuses/{sha}","languages_url":"https://api.github.com/repos/Kromster80/kam_remake/languages","stargazers_url":"https://api.github.com/repos/Kromster80/kam_remake/stargazers","contributors_url":"https://api.github.com/repos/Kromster80/kam_remake/contributors","subscribers_url":"https://api.github.com/repos/Kromster80/kam_remake/subscribers","subscription_url":"https://api.github.com/repos/Kromster80/kam_remake/subscription","commits_url":"https://api.github.com/repos/Kromster80/kam_remake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kromster80/kam_remake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kromster80/kam_remake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kromster80/kam_remake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kromster80/kam_remake/contents/{+path}","compare_url":"https://api.github.com/repos/Kromster80/kam_remake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kromster80/kam_remake/merges","archive_url":"https://api.github.com/repos/Kromster80/kam_remake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kromster80/kam_remake/downloads","issues_url":"https://api.github.com/repos/Kromster80/kam_remake/issues{/number}","pulls_url":"https://api.github.com/repos/Kromster80/kam_remake/pulls{/number}","milestones_url":"https://api.github.com/repos/Kromster80/kam_remake/milestones{/number}","notifications_url":"https://api.github.com/repos/Kromster80/kam_remake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kromster80/kam_remake/labels{/name}","releases_url":"https://api.github.com/repos/Kromster80/kam_remake/releases{/id}","deployments_url":"https://api.github.com/repos/Kromster80/kam_remake/deployments","created_at":"2015-03-19T13:37:50Z","updated_at":"2016-11-07T04:18:33Z","pushed_at":"2016-11-07T19:22:12Z","git_url":"git://github.com/Kromster80/kam_remake.git","ssh_url":"git@github.com:Kromster80/kam_remake.git","clone_url":"https://github.com/Kromster80/kam_remake.git","svn_url":"https://github.com/Kromster80/kam_remake","homepage":"http://www.kamremake.com","size":265142,"stargazers_count":75,"watchers_count":75,"language":"Pascal","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":56,"forks":20,"open_issues":56,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116"},"html":{"href":"https://github.com/Kromster80/kam_remake/pull/116"},"issue":{"href":"https://api.github.com/repos/Kromster80/kam_remake/issues/116"},"comments":{"href":"https://api.github.com/repos/Kromster80/kam_remake/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kromster80/kam_remake/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/Kromster80/kam_remake/statuses/01f2e9c75d74fb0a089c7e1cadff497021df8a59"}}}}
{"actor":{"display_login":"reyandme"}}