{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/notebook/issues/708","labels_url":"https://api.github.com/repos/jupyter/notebook/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/notebook/issues/708/comments","events_url":"https://api.github.com/repos/jupyter/notebook/issues/708/events","html_url":"https://github.com/jupyter/notebook/pull/708","id":115396297,"number":708,"title":"[WIP] Prototype to fix Shift-J/K selection with anchor and cursor","user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jupyter/notebook/milestones/4","html_url":"https://github.com/jupyter/notebook/milestones/4.1","labels_url":"https://api.github.com/repos/jupyter/notebook/milestones/4/labels","id":1204376,"number":4,"title":"4.1","description":"","creator":{"login":"minrk","id":151929,"avatar_url":"https://avatars.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":243,"state":"open","created_at":"2015-07-13T02:35:55Z","updated_at":"2015-11-25T18:27:01Z","due_on":null,"closed_at":null},"comments":98,"created_at":"2015-11-05T23:09:27Z","updated_at":"2015-11-25T19:05:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jupyter/notebook/pulls/708","html_url":"https://github.com/jupyter/notebook/pull/708","diff_url":"https://github.com/jupyter/notebook/pull/708.diff","patch_url":"https://github.com/jupyter/notebook/pull/708.patch"},"body":"related to #707 \r\n\r\nBehold my unprecedented design skills. \r\nAnchor is cyan, and cell in between anchor and cursor have purple border, just for demo purpose and visually track bugs. \r\n\r\n![soft_selected](https://cloud.githubusercontent.com/assets/335567/10984581/321857a6-83cf-11e5-8493-91283b96db34.gif)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/notebook/issues/comments/159703012","html_url":"https://github.com/jupyter/notebook/pull/708#issuecomment-159703012","issue_url":"https://api.github.com/repos/jupyter/notebook/issues/708","id":159703012,"user":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T19:05:59Z","updated_at":"2015-11-25T19:05:59Z","body":"and @ellisonbg you can get rid of the \"weird border effect\" by using css gradient:\r\n\r\n```\r\n.jupyter-soft-selected {\r\n    height: 100%;\r\n    background: linear-gradient(90deg, #FFC0CB 150px, #FFFFFF 150px);   \r\n}\r\n.cell.selected, .cell.jupyter-soft-selected{\r\n    border: none; !important\r\n}\r\ndiv.cell {\r\n    border-radius: 0px;\r\n}\r\n.cell.selected {\r\n    background: linear-gradient(to right, #1e5799 0%,#1e5799 13%,#cceeff 13%,#cceeff 13%,#cceeff 99%);\r\n}\r\n```\r\n\r\n<img width=\"1152\" alt=\"screen shot 2015-11-25 at 20 05 20\" src=\"https://cloud.githubusercontent.com/assets/335567/11406878/e6b97614-93af-11e5-93da-5f16dcd6fd71.png\">\r\n"}}