{"action":"created","issue":{"url":"https://api.github.com/repos/coteditor/CotEditor/issues/373","labels_url":"https://api.github.com/repos/coteditor/CotEditor/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/coteditor/CotEditor/issues/373/comments","events_url":"https://api.github.com/repos/coteditor/CotEditor/issues/373/events","html_url":"https://github.com/coteditor/CotEditor/issues/373","id":63693057,"number":373,"title":"Misaligned background color for current line and selection","user":{"login":"1024jp","id":1165044,"avatar_url":"https://avatars.githubusercontent.com/u/1165044?v=3","gravatar_id":"","url":"https://api.github.com/users/1024jp","html_url":"https://github.com/1024jp","followers_url":"https://api.github.com/users/1024jp/followers","following_url":"https://api.github.com/users/1024jp/following{/other_user}","gists_url":"https://api.github.com/users/1024jp/gists{/gist_id}","starred_url":"https://api.github.com/users/1024jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024jp/subscriptions","organizations_url":"https://api.github.com/users/1024jp/orgs","repos_url":"https://api.github.com/users/1024jp/repos","events_url":"https://api.github.com/users/1024jp/events{/privacy}","received_events_url":"https://api.github.com/users/1024jp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coteditor/CotEditor/labels/request","name":"request","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-23T10:50:49Z","updated_at":"2015-03-23T11:56:09Z","closed_at":null,"body":"This is the feedback that I've got via E-Mail\r\n\r\n-- \r\n\r\n## Environment\r\n\r\n- CotEditor: 2.1.2 (2.1.2)\r\n- System: OS X Version 10.10.2 (Build 14C109)\r\n- Language: English\r\n\r\n\r\n## Short Description\r\n\r\nIf you increase the line height above 1,0 the background color that marks the current line (and selected text) only expand downwards. The background color should extend the same amount above and below the text.\r\n\r\n\r\n## Steps to Reproduce the Issue\r\n\r\nEnable Current line: Change background color and increase Line height to 1,5 in Appearance Preferences. Make sure the color for Current Line is set to something different than the background color.\r\n\r\nOr select some text.\r\n\r\n\r\n## Expected Result\r\n\r\nThe background color should extend the same amount above and below the text."},"comment":{"url":"https://api.github.com/repos/coteditor/CotEditor/issues/comments/84964411","html_url":"https://github.com/coteditor/CotEditor/issues/373#issuecomment-84964411","issue_url":"https://api.github.com/repos/coteditor/CotEditor/issues/373","id":84964411,"user":{"login":"1024jp","id":1165044,"avatar_url":"https://avatars.githubusercontent.com/u/1165044?v=3","gravatar_id":"","url":"https://api.github.com/users/1024jp","html_url":"https://github.com/1024jp","followers_url":"https://api.github.com/users/1024jp/followers","following_url":"https://api.github.com/users/1024jp/following{/other_user}","gists_url":"https://api.github.com/users/1024jp/gists{/gist_id}","starred_url":"https://api.github.com/users/1024jp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1024jp/subscriptions","organizations_url":"https://api.github.com/users/1024jp/orgs","repos_url":"https://api.github.com/users/1024jp/repos","events_url":"https://api.github.com/users/1024jp/events{/privacy}","received_events_url":"https://api.github.com/users/1024jp/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T11:56:09Z","updated_at":"2015-03-23T11:56:09Z","body":"At present, the behaviour is in the specifications.\r\nCotEditor's line height setting is actually text-line itself + line-spacing in the internal process for historical reasons.\r\nFurthermore, CotEditor does lot of things for line height adjustment. Thus it's not easy to change.\r\n\r\nI've looked into Pages.app and TextEdit.app which are basic Apple's text processing softwares, but they two behave differently with line-height setting.\r\nI'm still wondering and confusing what is the most basic behavior for the OS X friendly text editor."}}