{"action":"created","comment":{"url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/comments/197970886","pull_request_review_id":131817507,"id":197970886,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Nzk3MDg4Ng==","diff_hunk":"@@ -22,6 +22,19 @@ local function calcSizeBig(text)\n   return math.ceil(calcWidth(text) / 2) * 2, math.ceil(font.height / 3) * 3\n end\n \n+local function calcTextSize(node)\n+  local size, root = node.styles[\"font-size\"] and node.styles[\"font-size\"]:match(\"(%d+)(r?)em\")","path":"src/renderer/components/basic.lua","position":5,"original_position":5,"commit_id":"6a3418a62305946e61e97b6b8900026cd8b7b1a0","original_commit_id":"6a3418a62305946e61e97b6b8900026cd8b7b1a0","user":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"body":"What about `0.5em`? `%d+` will only catch integers. Consider `[%d.]+`, and then `size = tonumber(size)` afterwards","created_at":"2018-06-25T23:14:55Z","updated_at":"2018-06-25T23:14:55Z","html_url":"https://github.com/incinirate/ccDHAR/pull/11#discussion_r197970886","pull_request_url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/comments/197970886"},"html":{"href":"https://github.com/incinirate/ccDHAR/pull/11#discussion_r197970886"},"pull_request":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11","id":196994806,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTk0ODA2","html_url":"https://github.com/incinirate/ccDHAR/pull/11","diff_url":"https://github.com/incinirate/ccDHAR/pull/11.diff","patch_url":"https://github.com/incinirate/ccDHAR/pull/11.patch","issue_url":"https://api.github.com/repos/incinirate/ccDHAR/issues/11","number":11,"state":"open","locked":false,"title":"Fixes #7","user":{"login":"Galaxtone","id":22679778,"node_id":"MDQ6VXNlcjIyNjc5Nzc4","avatar_url":"https://avatars0.githubusercontent.com/u/22679778?v=4","gravatar_id":"","url":"https://api.github.com/users/Galaxtone","html_url":"https://github.com/Galaxtone","followers_url":"https://api.github.com/users/Galaxtone/followers","following_url":"https://api.github.com/users/Galaxtone/following{/other_user}","gists_url":"https://api.github.com/users/Galaxtone/gists{/gist_id}","starred_url":"https://api.github.com/users/Galaxtone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galaxtone/subscriptions","organizations_url":"https://api.github.com/users/Galaxtone/orgs","repos_url":"https://api.github.com/users/Galaxtone/repos","events_url":"https://api.github.com/users/Galaxtone/events{/privacy}","received_events_url":"https://api.github.com/users/Galaxtone/received_events","type":"User","site_admin":false},"body":"I request that this be merged into dev branch and the old Feature/rem to remd be removed.","created_at":"2018-06-25T03:43:49Z","updated_at":"2018-06-25T23:14:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f38790a0666069038ce3c03e65af5bda53bc0436","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11/commits","review_comments_url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11/comments","review_comment_url":"https://api.github.com/repos/incinirate/ccDHAR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/incinirate/ccDHAR/issues/11/comments","statuses_url":"https://api.github.com/repos/incinirate/ccDHAR/statuses/6a3418a62305946e61e97b6b8900026cd8b7b1a0","head":{"label":"Galaxtone:feature/rem-to-remd","ref":"feature/rem-to-remd","sha":"6a3418a62305946e61e97b6b8900026cd8b7b1a0","user":{"login":"Galaxtone","id":22679778,"node_id":"MDQ6VXNlcjIyNjc5Nzc4","avatar_url":"https://avatars0.githubusercontent.com/u/22679778?v=4","gravatar_id":"","url":"https://api.github.com/users/Galaxtone","html_url":"https://github.com/Galaxtone","followers_url":"https://api.github.com/users/Galaxtone/followers","following_url":"https://api.github.com/users/Galaxtone/following{/other_user}","gists_url":"https://api.github.com/users/Galaxtone/gists{/gist_id}","starred_url":"https://api.github.com/users/Galaxtone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galaxtone/subscriptions","organizations_url":"https://api.github.com/users/Galaxtone/orgs","repos_url":"https://api.github.com/users/Galaxtone/repos","events_url":"https://api.github.com/users/Galaxtone/events{/privacy}","received_events_url":"https://api.github.com/users/Galaxtone/received_events","type":"User","site_admin":false},"repo":{"id":138539527,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg1Mzk1Mjc=","name":"ccDHAR","full_name":"Galaxtone/ccDHAR","owner":{"login":"Galaxtone","id":22679778,"node_id":"MDQ6VXNlcjIyNjc5Nzc4","avatar_url":"https://avatars0.githubusercontent.com/u/22679778?v=4","gravatar_id":"","url":"https://api.github.com/users/Galaxtone","html_url":"https://github.com/Galaxtone","followers_url":"https://api.github.com/users/Galaxtone/followers","following_url":"https://api.github.com/users/Galaxtone/following{/other_user}","gists_url":"https://api.github.com/users/Galaxtone/gists{/gist_id}","starred_url":"https://api.github.com/users/Galaxtone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galaxtone/subscriptions","organizations_url":"https://api.github.com/users/Galaxtone/orgs","repos_url":"https://api.github.com/users/Galaxtone/repos","events_url":"https://api.github.com/users/Galaxtone/events{/privacy}","received_events_url":"https://api.github.com/users/Galaxtone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Galaxtone/ccDHAR","description":" Computer Craft (cc) Document Handler And Renderer (DHAR)","fork":true,"url":"https://api.github.com/repos/Galaxtone/ccDHAR","forks_url":"https://api.github.com/repos/Galaxtone/ccDHAR/forks","keys_url":"https://api.github.com/repos/Galaxtone/ccDHAR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Galaxtone/ccDHAR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Galaxtone/ccDHAR/teams","hooks_url":"https://api.github.com/repos/Galaxtone/ccDHAR/hooks","issue_events_url":"https://api.github.com/repos/Galaxtone/ccDHAR/issues/events{/number}","events_url":"https://api.github.com/repos/Galaxtone/ccDHAR/events","assignees_url":"https://api.github.com/repos/Galaxtone/ccDHAR/assignees{/user}","branches_url":"https://api.github.com/repos/Galaxtone/ccDHAR/branches{/branch}","tags_url":"https://api.github.com/repos/Galaxtone/ccDHAR/tags","blobs_url":"https://api.github.com/repos/Galaxtone/ccDHAR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Galaxtone/ccDHAR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Galaxtone/ccDHAR/git/refs{/sha}","trees_url":"https://api.github.com/repos/Galaxtone/ccDHAR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Galaxtone/ccDHAR/statuses/{sha}","languages_url":"https://api.github.com/repos/Galaxtone/ccDHAR/languages","stargazers_url":"https://api.github.com/repos/Galaxtone/ccDHAR/stargazers","contributors_url":"https://api.github.com/repos/Galaxtone/ccDHAR/contributors","subscribers_url":"https://api.github.com/repos/Galaxtone/ccDHAR/subscribers","subscription_url":"https://api.github.com/repos/Galaxtone/ccDHAR/subscription","commits_url":"https://api.github.com/repos/Galaxtone/ccDHAR/commits{/sha}","git_commits_url":"https://api.github.com/repos/Galaxtone/ccDHAR/git/commits{/sha}","comments_url":"https://api.github.com/repos/Galaxtone/ccDHAR/comments{/number}","issue_comment_url":"https://api.github.com/repos/Galaxtone/ccDHAR/issues/comments{/number}","contents_url":"https://api.github.com/repos/Galaxtone/ccDHAR/contents/{+path}","compare_url":"https://api.github.com/repos/Galaxtone/ccDHAR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Galaxtone/ccDHAR/merges","archive_url":"https://api.github.com/repos/Galaxtone/ccDHAR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Galaxtone/ccDHAR/downloads","issues_url":"https://api.github.com/repos/Galaxtone/ccDHAR/issues{/number}","pulls_url":"https://api.github.com/repos/Galaxtone/ccDHAR/pulls{/number}","milestones_url":"https://api.github.com/repos/Galaxtone/ccDHAR/milestones{/number}","notifications_url":"https://api.github.com/repos/Galaxtone/ccDHAR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Galaxtone/ccDHAR/labels{/name}","releases_url":"https://api.github.com/repos/Galaxtone/ccDHAR/releases{/id}","deployments_url":"https://api.github.com/repos/Galaxtone/ccDHAR/deployments","created_at":"2018-06-25T03:32:51Z","updated_at":"2018-06-25T19:03:12Z","pushed_at":"2018-06-25T21:36:32Z","git_url":"git://github.com/Galaxtone/ccDHAR.git","ssh_url":"git@github.com:Galaxtone/ccDHAR.git","clone_url":"https://github.com/Galaxtone/ccDHAR.git","svn_url":"https://github.com/Galaxtone/ccDHAR","homepage":null,"size":48,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"dev"}},"base":{"label":"incinirate:dev","ref":"dev","sha":"0abe87858a355b029acd0cc9ee9303ef646269f3","user":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"repo":{"id":138452765,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg0NTI3NjU=","name":"ccDHAR","full_name":"incinirate/ccDHAR","owner":{"login":"incinirate","id":2293550,"node_id":"MDQ6VXNlcjIyOTM1NTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2293550?v=4","gravatar_id":"","url":"https://api.github.com/users/incinirate","html_url":"https://github.com/incinirate","followers_url":"https://api.github.com/users/incinirate/followers","following_url":"https://api.github.com/users/incinirate/following{/other_user}","gists_url":"https://api.github.com/users/incinirate/gists{/gist_id}","starred_url":"https://api.github.com/users/incinirate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incinirate/subscriptions","organizations_url":"https://api.github.com/users/incinirate/orgs","repos_url":"https://api.github.com/users/incinirate/repos","events_url":"https://api.github.com/users/incinirate/events{/privacy}","received_events_url":"https://api.github.com/users/incinirate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/incinirate/ccDHAR","description":" Computer Craft (cc) Document Handler And Renderer (DHAR)","fork":false,"url":"https://api.github.com/repos/incinirate/ccDHAR","forks_url":"https://api.github.com/repos/incinirate/ccDHAR/forks","keys_url":"https://api.github.com/repos/incinirate/ccDHAR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incinirate/ccDHAR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incinirate/ccDHAR/teams","hooks_url":"https://api.github.com/repos/incinirate/ccDHAR/hooks","issue_events_url":"https://api.github.com/repos/incinirate/ccDHAR/issues/events{/number}","events_url":"https://api.github.com/repos/incinirate/ccDHAR/events","assignees_url":"https://api.github.com/repos/incinirate/ccDHAR/assignees{/user}","branches_url":"https://api.github.com/repos/incinirate/ccDHAR/branches{/branch}","tags_url":"https://api.github.com/repos/incinirate/ccDHAR/tags","blobs_url":"https://api.github.com/repos/incinirate/ccDHAR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incinirate/ccDHAR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incinirate/ccDHAR/git/refs{/sha}","trees_url":"https://api.github.com/repos/incinirate/ccDHAR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incinirate/ccDHAR/statuses/{sha}","languages_url":"https://api.github.com/repos/incinirate/ccDHAR/languages","stargazers_url":"https://api.github.com/repos/incinirate/ccDHAR/stargazers","contributors_url":"https://api.github.com/repos/incinirate/ccDHAR/contributors","subscribers_url":"https://api.github.com/repos/incinirate/ccDHAR/subscribers","subscription_url":"https://api.github.com/repos/incinirate/ccDHAR/subscription","commits_url":"https://api.github.com/repos/incinirate/ccDHAR/commits{/sha}","git_commits_url":"https://api.github.com/repos/incinirate/ccDHAR/git/commits{/sha}","comments_url":"https://api.github.com/repos/incinirate/ccDHAR/comments{/number}","issue_comment_url":"https://api.github.com/repos/incinirate/ccDHAR/issues/comments{/number}","contents_url":"https://api.github.com/repos/incinirate/ccDHAR/contents/{+path}","compare_url":"https://api.github.com/repos/incinirate/ccDHAR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incinirate/ccDHAR/merges","archive_url":"https://api.github.com/repos/incinirate/ccDHAR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incinirate/ccDHAR/downloads","issues_url":"https://api.github.com/repos/incinirate/ccDHAR/issues{/number}","pulls_url":"https://api.github.com/repos/incinirate/ccDHAR/pulls{/number}","milestones_url":"https://api.github.com/repos/incinirate/ccDHAR/milestones{/number}","notifications_url":"https://api.github.com/repos/incinirate/ccDHAR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incinirate/ccDHAR/labels{/name}","releases_url":"https://api.github.com/repos/incinirate/ccDHAR/releases{/id}","deployments_url":"https://api.github.com/repos/incinirate/ccDHAR/deployments","created_at":"2018-06-24T04:16:06Z","updated_at":"2018-06-24T06:32:38Z","pushed_at":"2018-06-25T20:25:59Z","git_url":"git://github.com/incinirate/ccDHAR.git","ssh_url":"git@github.com:incinirate/ccDHAR.git","clone_url":"https://github.com/incinirate/ccDHAR.git","svn_url":"https://github.com/incinirate/ccDHAR","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":6,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11"},"html":{"href":"https://github.com/incinirate/ccDHAR/pull/11"},"issue":{"href":"https://api.github.com/repos/incinirate/ccDHAR/issues/11"},"comments":{"href":"https://api.github.com/repos/incinirate/ccDHAR/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/incinirate/ccDHAR/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/incinirate/ccDHAR/statuses/6a3418a62305946e61e97b6b8900026cd8b7b1a0"}},"author_association":"NONE"}}
{"actor":{"display_login":"incinirate"}}