{"action":"created","comment":{"url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/comments/24558220","id":24558220,"diff_hunk":"@@ -92,6 +92,29 @@ case class REPLesent(\n       def apply(line: Line, margin: Int): String\n     }\n \n+    protected sealed trait Repeat extends Alignment {\n+      protected def fill(line: Line, width: Int, left: Int, right: Int): String = {\n+        val s = line.toString\n+        val t = s * (width / s.length)\n+        blank * left + t + s.take(width - t.length) + blank * right","path":"REPLesent.scala","position":17,"original_position":17,"commit_id":"fb9787f3ad0b0bc7a7d77759c3d9287b2b935c55","original_commit_id":"fb9787f3ad0b0bc7a7d77759c3d9287b2b935c55","user":{"login":"marconilanna","id":363009,"avatar_url":"https://avatars.githubusercontent.com/u/363009?v=3","gravatar_id":"","url":"https://api.github.com/users/marconilanna","html_url":"https://github.com/marconilanna","followers_url":"https://api.github.com/users/marconilanna/followers","following_url":"https://api.github.com/users/marconilanna/following{/other_user}","gists_url":"https://api.github.com/users/marconilanna/gists{/gist_id}","starred_url":"https://api.github.com/users/marconilanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marconilanna/subscriptions","organizations_url":"https://api.github.com/users/marconilanna/orgs","repos_url":"https://api.github.com/users/marconilanna/repos","events_url":"https://api.github.com/users/marconilanna/events{/privacy}","received_events_url":"https://api.github.com/users/marconilanna/received_events","type":"User","site_admin":false},"body":"You may have to use `takeWhile` and count chars ignoring escape codes","created_at":"2015-02-12T04:39:17Z","updated_at":"2015-02-12T04:39:17Z","html_url":"https://github.com/daviscabral/REPLesent/pull/1#discussion_r24558220","pull_request_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/comments/24558220"},"html":{"href":"https://github.com/daviscabral/REPLesent/pull/1#discussion_r24558220"},"pull_request":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1","id":29088953,"html_url":"https://github.com/daviscabral/REPLesent/pull/1","diff_url":"https://github.com/daviscabral/REPLesent/pull/1.diff","patch_url":"https://github.com/daviscabral/REPLesent/pull/1.patch","issue_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/1","number":1,"state":"open","locked":false,"title":"Horizontal rule support","user":{"login":"daviscabral","id":4285,"avatar_url":"https://avatars.githubusercontent.com/u/4285?v=3","gravatar_id":"","url":"https://api.github.com/users/daviscabral","html_url":"https://github.com/daviscabral","followers_url":"https://api.github.com/users/daviscabral/followers","following_url":"https://api.github.com/users/daviscabral/following{/other_user}","gists_url":"https://api.github.com/users/daviscabral/gists{/gist_id}","starred_url":"https://api.github.com/users/daviscabral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviscabral/subscriptions","organizations_url":"https://api.github.com/users/daviscabral/orgs","repos_url":"https://api.github.com/users/daviscabral/repos","events_url":"https://api.github.com/users/daviscabral/events{/privacy}","received_events_url":"https://api.github.com/users/daviscabral/received_events","type":"User","site_admin":false},"body":"/cc @marconilanna","created_at":"2015-02-11T13:02:10Z","updated_at":"2015-02-12T04:39:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6ba7c0795f24413d7b2dbefd9e34a9348d3554e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1/commits","review_comments_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1/comments","review_comment_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls/comments/{number}","comments_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/1/comments","statuses_url":"https://api.github.com/repos/daviscabral/REPLesent/statuses/fb9787f3ad0b0bc7a7d77759c3d9287b2b935c55","head":{"label":"daviscabral:feature/horizontal-lines","ref":"feature/horizontal-lines","sha":"fb9787f3ad0b0bc7a7d77759c3d9287b2b935c55","user":{"login":"daviscabral","id":4285,"avatar_url":"https://avatars.githubusercontent.com/u/4285?v=3","gravatar_id":"","url":"https://api.github.com/users/daviscabral","html_url":"https://github.com/daviscabral","followers_url":"https://api.github.com/users/daviscabral/followers","following_url":"https://api.github.com/users/daviscabral/following{/other_user}","gists_url":"https://api.github.com/users/daviscabral/gists{/gist_id}","starred_url":"https://api.github.com/users/daviscabral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviscabral/subscriptions","organizations_url":"https://api.github.com/users/daviscabral/orgs","repos_url":"https://api.github.com/users/daviscabral/repos","events_url":"https://api.github.com/users/daviscabral/events{/privacy}","received_events_url":"https://api.github.com/users/daviscabral/received_events","type":"User","site_admin":false},"repo":{"id":30543351,"name":"REPLesent","full_name":"daviscabral/REPLesent","owner":{"login":"daviscabral","id":4285,"avatar_url":"https://avatars.githubusercontent.com/u/4285?v=3","gravatar_id":"","url":"https://api.github.com/users/daviscabral","html_url":"https://github.com/daviscabral","followers_url":"https://api.github.com/users/daviscabral/followers","following_url":"https://api.github.com/users/daviscabral/following{/other_user}","gists_url":"https://api.github.com/users/daviscabral/gists{/gist_id}","starred_url":"https://api.github.com/users/daviscabral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviscabral/subscriptions","organizations_url":"https://api.github.com/users/daviscabral/orgs","repos_url":"https://api.github.com/users/daviscabral/repos","events_url":"https://api.github.com/users/daviscabral/events{/privacy}","received_events_url":"https://api.github.com/users/daviscabral/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daviscabral/REPLesent","description":"A neat little tool to build presentations using the Scala REPL","fork":true,"url":"https://api.github.com/repos/daviscabral/REPLesent","forks_url":"https://api.github.com/repos/daviscabral/REPLesent/forks","keys_url":"https://api.github.com/repos/daviscabral/REPLesent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daviscabral/REPLesent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daviscabral/REPLesent/teams","hooks_url":"https://api.github.com/repos/daviscabral/REPLesent/hooks","issue_events_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/events{/number}","events_url":"https://api.github.com/repos/daviscabral/REPLesent/events","assignees_url":"https://api.github.com/repos/daviscabral/REPLesent/assignees{/user}","branches_url":"https://api.github.com/repos/daviscabral/REPLesent/branches{/branch}","tags_url":"https://api.github.com/repos/daviscabral/REPLesent/tags","blobs_url":"https://api.github.com/repos/daviscabral/REPLesent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daviscabral/REPLesent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daviscabral/REPLesent/git/refs{/sha}","trees_url":"https://api.github.com/repos/daviscabral/REPLesent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daviscabral/REPLesent/statuses/{sha}","languages_url":"https://api.github.com/repos/daviscabral/REPLesent/languages","stargazers_url":"https://api.github.com/repos/daviscabral/REPLesent/stargazers","contributors_url":"https://api.github.com/repos/daviscabral/REPLesent/contributors","subscribers_url":"https://api.github.com/repos/daviscabral/REPLesent/subscribers","subscription_url":"https://api.github.com/repos/daviscabral/REPLesent/subscription","commits_url":"https://api.github.com/repos/daviscabral/REPLesent/commits{/sha}","git_commits_url":"https://api.github.com/repos/daviscabral/REPLesent/git/commits{/sha}","comments_url":"https://api.github.com/repos/daviscabral/REPLesent/comments{/number}","issue_comment_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/comments/{number}","contents_url":"https://api.github.com/repos/daviscabral/REPLesent/contents/{+path}","compare_url":"https://api.github.com/repos/daviscabral/REPLesent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daviscabral/REPLesent/merges","archive_url":"https://api.github.com/repos/daviscabral/REPLesent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daviscabral/REPLesent/downloads","issues_url":"https://api.github.com/repos/daviscabral/REPLesent/issues{/number}","pulls_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls{/number}","milestones_url":"https://api.github.com/repos/daviscabral/REPLesent/milestones{/number}","notifications_url":"https://api.github.com/repos/daviscabral/REPLesent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daviscabral/REPLesent/labels{/name}","releases_url":"https://api.github.com/repos/daviscabral/REPLesent/releases{/id}","created_at":"2015-02-09T15:45:27Z","updated_at":"2015-02-11T13:08:17Z","pushed_at":"2015-02-11T13:35:57Z","git_url":"git://github.com/daviscabral/REPLesent.git","ssh_url":"git@github.com:daviscabral/REPLesent.git","clone_url":"https://github.com/daviscabral/REPLesent.git","svn_url":"https://github.com/daviscabral/REPLesent","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"daviscabral:master","ref":"master","sha":"bd88926aa6e9cd7fd02b7b1cea1bcc94a97b4782","user":{"login":"daviscabral","id":4285,"avatar_url":"https://avatars.githubusercontent.com/u/4285?v=3","gravatar_id":"","url":"https://api.github.com/users/daviscabral","html_url":"https://github.com/daviscabral","followers_url":"https://api.github.com/users/daviscabral/followers","following_url":"https://api.github.com/users/daviscabral/following{/other_user}","gists_url":"https://api.github.com/users/daviscabral/gists{/gist_id}","starred_url":"https://api.github.com/users/daviscabral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviscabral/subscriptions","organizations_url":"https://api.github.com/users/daviscabral/orgs","repos_url":"https://api.github.com/users/daviscabral/repos","events_url":"https://api.github.com/users/daviscabral/events{/privacy}","received_events_url":"https://api.github.com/users/daviscabral/received_events","type":"User","site_admin":false},"repo":{"id":30543351,"name":"REPLesent","full_name":"daviscabral/REPLesent","owner":{"login":"daviscabral","id":4285,"avatar_url":"https://avatars.githubusercontent.com/u/4285?v=3","gravatar_id":"","url":"https://api.github.com/users/daviscabral","html_url":"https://github.com/daviscabral","followers_url":"https://api.github.com/users/daviscabral/followers","following_url":"https://api.github.com/users/daviscabral/following{/other_user}","gists_url":"https://api.github.com/users/daviscabral/gists{/gist_id}","starred_url":"https://api.github.com/users/daviscabral/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviscabral/subscriptions","organizations_url":"https://api.github.com/users/daviscabral/orgs","repos_url":"https://api.github.com/users/daviscabral/repos","events_url":"https://api.github.com/users/daviscabral/events{/privacy}","received_events_url":"https://api.github.com/users/daviscabral/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daviscabral/REPLesent","description":"A neat little tool to build presentations using the Scala REPL","fork":true,"url":"https://api.github.com/repos/daviscabral/REPLesent","forks_url":"https://api.github.com/repos/daviscabral/REPLesent/forks","keys_url":"https://api.github.com/repos/daviscabral/REPLesent/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daviscabral/REPLesent/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daviscabral/REPLesent/teams","hooks_url":"https://api.github.com/repos/daviscabral/REPLesent/hooks","issue_events_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/events{/number}","events_url":"https://api.github.com/repos/daviscabral/REPLesent/events","assignees_url":"https://api.github.com/repos/daviscabral/REPLesent/assignees{/user}","branches_url":"https://api.github.com/repos/daviscabral/REPLesent/branches{/branch}","tags_url":"https://api.github.com/repos/daviscabral/REPLesent/tags","blobs_url":"https://api.github.com/repos/daviscabral/REPLesent/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daviscabral/REPLesent/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daviscabral/REPLesent/git/refs{/sha}","trees_url":"https://api.github.com/repos/daviscabral/REPLesent/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daviscabral/REPLesent/statuses/{sha}","languages_url":"https://api.github.com/repos/daviscabral/REPLesent/languages","stargazers_url":"https://api.github.com/repos/daviscabral/REPLesent/stargazers","contributors_url":"https://api.github.com/repos/daviscabral/REPLesent/contributors","subscribers_url":"https://api.github.com/repos/daviscabral/REPLesent/subscribers","subscription_url":"https://api.github.com/repos/daviscabral/REPLesent/subscription","commits_url":"https://api.github.com/repos/daviscabral/REPLesent/commits{/sha}","git_commits_url":"https://api.github.com/repos/daviscabral/REPLesent/git/commits{/sha}","comments_url":"https://api.github.com/repos/daviscabral/REPLesent/comments{/number}","issue_comment_url":"https://api.github.com/repos/daviscabral/REPLesent/issues/comments/{number}","contents_url":"https://api.github.com/repos/daviscabral/REPLesent/contents/{+path}","compare_url":"https://api.github.com/repos/daviscabral/REPLesent/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daviscabral/REPLesent/merges","archive_url":"https://api.github.com/repos/daviscabral/REPLesent/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daviscabral/REPLesent/downloads","issues_url":"https://api.github.com/repos/daviscabral/REPLesent/issues{/number}","pulls_url":"https://api.github.com/repos/daviscabral/REPLesent/pulls{/number}","milestones_url":"https://api.github.com/repos/daviscabral/REPLesent/milestones{/number}","notifications_url":"https://api.github.com/repos/daviscabral/REPLesent/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daviscabral/REPLesent/labels{/name}","releases_url":"https://api.github.com/repos/daviscabral/REPLesent/releases{/id}","created_at":"2015-02-09T15:45:27Z","updated_at":"2015-02-11T13:08:17Z","pushed_at":"2015-02-11T13:35:57Z","git_url":"git://github.com/daviscabral/REPLesent.git","ssh_url":"git@github.com:daviscabral/REPLesent.git","clone_url":"https://github.com/daviscabral/REPLesent.git","svn_url":"https://github.com/daviscabral/REPLesent","homepage":null,"size":180,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1"},"html":{"href":"https://github.com/daviscabral/REPLesent/pull/1"},"issue":{"href":"https://api.github.com/repos/daviscabral/REPLesent/issues/1"},"comments":{"href":"https://api.github.com/repos/daviscabral/REPLesent/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/daviscabral/REPLesent/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/daviscabral/REPLesent/statuses/fb9787f3ad0b0bc7a7d77759c3d9287b2b935c55"}}}}