{"action":"opened","issue":{"url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/469","repository_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit","labels_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/469/comments","events_url":"https://api.github.com/repos/jonathanslenders/python-prompt-toolkit/issues/469/events","html_url":"https://github.com/jonathanslenders/python-prompt-toolkit/issues/469","id":207579343,"number":469,"title":"Conflict between uppercase_word and downcase_word and wrapping cursor","user":{"login":"carlsmith","id":7561668,"avatar_url":"https://avatars.githubusercontent.com/u/7561668?v=3","gravatar_id":"","url":"https://api.github.com/users/carlsmith","html_url":"https://github.com/carlsmith","followers_url":"https://api.github.com/users/carlsmith/followers","following_url":"https://api.github.com/users/carlsmith/following{/other_user}","gists_url":"https://api.github.com/users/carlsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/carlsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlsmith/subscriptions","organizations_url":"https://api.github.com/users/carlsmith/orgs","repos_url":"https://api.github.com/users/carlsmith/repos","events_url":"https://api.github.com/users/carlsmith/events{/privacy}","received_events_url":"https://api.github.com/users/carlsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-14T17:15:56Z","updated_at":"2017-02-14T17:15:56Z","closed_at":null,"body":"When using the named commands `uppercase_word` and `downcase_word`, if I go past the end of a line, PTK gets confused, inserts in the wrong place and everything on the next line gets mashed.\r\n\r\nIn the PTK source (I can't remember where), it explains how to make the cursor wrap when you go off the start or end of a line. I added that feature to my IPython 5.1.0 configuration, and am assuming that that's what broke the case functions. I believe IPython are planning to push the same feature by default soon, so I'll let them know on the mailing list, and link to this issue.\r\n\r\nI'm working on a fix, but haven't quite figured it out yet. It's currently working across multiple lines, but not if any are empty. The docs are a bit thin, and IPython has to be restarted with each edit, so it's taking a while to figure out."}}
{"actor":{"display_login":"carlsmith"}}