{"action":"created","issue":{"url":"https://api.github.com/repos/mawww/kakoune/issues/2594","repository_url":"https://api.github.com/repos/mawww/kakoune","labels_url":"https://api.github.com/repos/mawww/kakoune/issues/2594/labels{/name}","comments_url":"https://api.github.com/repos/mawww/kakoune/issues/2594/comments","events_url":"https://api.github.com/repos/mawww/kakoune/issues/2594/events","html_url":"https://github.com/mawww/kakoune/issues/2594","id":383988468,"node_id":"MDU6SXNzdWUzODM5ODg0Njg=","number":2594,"title":"Wrap highlighter with -marker shifts columns","user":{"login":"occivink","id":5473453,"node_id":"MDQ6VXNlcjU0NzM0NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/5473453?v=4","gravatar_id":"","url":"https://api.github.com/users/occivink","html_url":"https://github.com/occivink","followers_url":"https://api.github.com/users/occivink/followers","following_url":"https://api.github.com/users/occivink/following{/other_user}","gists_url":"https://api.github.com/users/occivink/gists{/gist_id}","starred_url":"https://api.github.com/users/occivink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/occivink/subscriptions","organizations_url":"https://api.github.com/users/occivink/orgs","repos_url":"https://api.github.com/users/occivink/repos","events_url":"https://api.github.com/users/occivink/events{/privacy}","received_events_url":"https://api.github.com/users/occivink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-24T13:10:49Z","updated_at":"2018-11-24T20:11:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps <!-- how to reproduce the issue? -->\r\n\r\nAdd these highlighters on a buffer with lines long enough to wrap:\r\n```\r\naddhl global/ wrap -marker abc\r\naddhl global/ column 50 black,red\r\n```\r\n\r\n### Outcome <!-- what is the result of the above steps? -->\r\n\r\nThe red line is aligned to the 50th column.\r\n\r\n### Expected <!-- what should have been the result of the above steps? -->\r\n\r\nThe red column is shifted by the size of the marker on wrapped lines.\r\nNote that this doesn't occur when using `wrap -indent`, even though the effect is similar.\r\n\r\nAs far as I can tell, it's because DisplayAtom::has_buffer_range() is true for the 'indent' atom, but not the 'marker'."},"comment":{"url":"https://api.github.com/repos/mawww/kakoune/issues/comments/441392656","html_url":"https://github.com/mawww/kakoune/issues/2594#issuecomment-441392656","issue_url":"https://api.github.com/repos/mawww/kakoune/issues/2594","id":441392656,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTM5MjY1Ng==","user":{"login":"Screwtapello","id":1450918,"node_id":"MDQ6VXNlcjE0NTA5MTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1450918?v=4","gravatar_id":"","url":"https://api.github.com/users/Screwtapello","html_url":"https://github.com/Screwtapello","followers_url":"https://api.github.com/users/Screwtapello/followers","following_url":"https://api.github.com/users/Screwtapello/following{/other_user}","gists_url":"https://api.github.com/users/Screwtapello/gists{/gist_id}","starred_url":"https://api.github.com/users/Screwtapello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Screwtapello/subscriptions","organizations_url":"https://api.github.com/users/Screwtapello/orgs","repos_url":"https://api.github.com/users/Screwtapello/repos","events_url":"https://api.github.com/users/Screwtapello/events{/privacy}","received_events_url":"https://api.github.com/users/Screwtapello/received_events","type":"User","site_admin":false},"created_at":"2018-11-24T20:11:55Z","updated_at":"2018-11-24T20:11:55Z","author_association":"CONTRIBUTOR","body":"As a point of reference, Vim's `colorcolumn` option highlights buffer columns, not terminal columns: if the line is long enough to wrap, the highlight appears only on the first terminal line."}}
{"actor":{"display_login":"Screwtapello"}}