{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/3291","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/3291/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/3291/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/3291/events","html_url":"https://github.com/arduino/Arduino/pull/3291","id":85281923,"number":3291,"title":"Cmd+Shift+Left/Right selects from cursor to start/end of line (OS X)","user":{"login":"damellis","id":405058,"avatar_url":"https://avatars.githubusercontent.com/u/405058?v=3","gravatar_id":"","url":"https://api.github.com/users/damellis","html_url":"https://github.com/damellis","followers_url":"https://api.github.com/users/damellis/followers","following_url":"https://api.github.com/users/damellis/following{/other_user}","gists_url":"https://api.github.com/users/damellis/gists{/gist_id}","starred_url":"https://api.github.com/users/damellis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damellis/subscriptions","organizations_url":"https://api.github.com/users/damellis/orgs","repos_url":"https://api.github.com/users/damellis/repos","events_url":"https://api.github.com/users/damellis/events{/privacy}","received_events_url":"https://api.github.com/users/damellis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T21:19:44Z","updated_at":"2015-06-05T07:34:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arduino/Arduino/pulls/3291","html_url":"https://github.com/arduino/Arduino/pull/3291","diff_url":"https://github.com/arduino/Arduino/pull/3291.diff","patch_url":"https://github.com/arduino/Arduino/pull/3291.patch"},"body":"Instead of selecting the entire line. This brings it closer to the standard / expected behavior on OS X (and matches what I see in Processing 3.0a9). \r\n\r\nAfter applying this commit, the behavior is still slightly different than what you see in other OS X applications, but I think it's close enough. (The standard behavior is for the cursor to disappear once there's a selection, at which point Cmd+Shift+Left/Right/Up/Down always adds to the current selection, as opposed to moving the active end of the current selection, which can either add to or subtract from the selection. Weirdly, though, Shift+Left/Right/Up/Down Alt+Shift+Left/Right/Up/Down move the active end of the selection, rather than always adding to it.) If you wanted to get any closer to the standard behavior, you'd probably need to hide the cursor while text was selected, and I'm not sure if it's worth it."},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/109191197","html_url":"https://github.com/arduino/Arduino/pull/3291#issuecomment-109191197","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/3291","id":109191197,"user":{"login":"ffissore","id":510465,"avatar_url":"https://avatars.githubusercontent.com/u/510465?v=3","gravatar_id":"","url":"https://api.github.com/users/ffissore","html_url":"https://github.com/ffissore","followers_url":"https://api.github.com/users/ffissore/followers","following_url":"https://api.github.com/users/ffissore/following{/other_user}","gists_url":"https://api.github.com/users/ffissore/gists{/gist_id}","starred_url":"https://api.github.com/users/ffissore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffissore/subscriptions","organizations_url":"https://api.github.com/users/ffissore/orgs","repos_url":"https://api.github.com/users/ffissore/repos","events_url":"https://api.github.com/users/ffissore/events{/privacy}","received_events_url":"https://api.github.com/users/ffissore/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T07:34:31Z","updated_at":"2015-06-05T07:34:31Z","body":"This conflicts with #3238 where cmd+shift+arrow was requested to select the entire line. Stolen a mac from a colleague, I saw @damellis behaviour is what TextEdit does. @Lauszus, can you please comment?"}}