{"action":"created","issue":{"url":"https://api.github.com/repos/texstudio-org/texstudio/issues/87","repository_url":"https://api.github.com/repos/texstudio-org/texstudio","labels_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/87/comments","events_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/87/events","html_url":"https://github.com/texstudio-org/texstudio/issues/87","id":310104315,"number":87,"title":"Backwards typing in TexStudio after backslash","user":{"login":"twilsonco","id":7284371,"avatar_url":"https://avatars2.githubusercontent.com/u/7284371?v=4","gravatar_id":"","url":"https://api.github.com/users/twilsonco","html_url":"https://github.com/twilsonco","followers_url":"https://api.github.com/users/twilsonco/followers","following_url":"https://api.github.com/users/twilsonco/following{/other_user}","gists_url":"https://api.github.com/users/twilsonco/gists{/gist_id}","starred_url":"https://api.github.com/users/twilsonco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilsonco/subscriptions","organizations_url":"https://api.github.com/users/twilsonco/orgs","repos_url":"https://api.github.com/users/twilsonco/repos","events_url":"https://api.github.com/users/twilsonco/events{/privacy}","received_events_url":"https://api.github.com/users/twilsonco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-30T16:09:32Z","updated_at":"2018-03-30T20:50:29Z","closed_at":null,"author_association":"NONE","body":"This issue is partially described [here on SO](https://tex.stackexchange.com/questions/409315/backwards-typing-in-texstudio-after-backslash)\r\n\r\nUnder some circumstances, keyboard text entry is reversed after a backslash is entered. The steps to reproduce below describe the only occurrence of this behavior I've seen, but there may be more. I assume it's related to TS's autocomplete functionality since it occurs with backslash.\r\n\r\nI think the problem is that in these circumstances, TS is keeping the cursor immediately to the right of the entered backslash, essentially turning on the old \"insert\" mode as if you've pressed on the \"insert\" key on a PC keyboard.\r\n\r\nPlease see the attached archived video demonstrating the undesired behavior, and to see how the behavior is not perfectly reproducible.\r\n\r\n### Environment\r\n- TeXstudio: hg 2.12.8\r\n- Qt: 5.10.0\r\n- OS: Mac\r\n- TeX distribution: TeXLive\r\n\r\n### Expected behavior\r\nText entry after a backslash should be in the order of keys pressed, so if I type \"alpha\" I should see \"alpha\" on the screen.\r\n\r\n### Actual behavior\r\nThe ordering of letters is reversed, so typing \"alpha\" results in \"ahpla\" being displayed in the editor.\r\n\r\n### How to reproduce\r\n1. In an open TeX document in the TS editor, double click a word to select the whole word\r\n2. Type \"\\alpha\" and the order of the letters is reversed\r\n\r\n[TeXStudio reversed text entry after double click select and backslash.zip](https://github.com/texstudio-org/texstudio/files/1864070/TeXStudio.reversed.text.entry.after.double.click.select.and.backslash.zip)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/texstudio-org/texstudio/issues/comments/377620170","html_url":"https://github.com/texstudio-org/texstudio/issues/87#issuecomment-377620170","issue_url":"https://api.github.com/repos/texstudio-org/texstudio/issues/87","id":377620170,"user":{"login":"benibela","id":1205129,"avatar_url":"https://avatars0.githubusercontent.com/u/1205129?v=4","gravatar_id":"","url":"https://api.github.com/users/benibela","html_url":"https://github.com/benibela","followers_url":"https://api.github.com/users/benibela/followers","following_url":"https://api.github.com/users/benibela/following{/other_user}","gists_url":"https://api.github.com/users/benibela/gists{/gist_id}","starred_url":"https://api.github.com/users/benibela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benibela/subscriptions","organizations_url":"https://api.github.com/users/benibela/orgs","repos_url":"https://api.github.com/users/benibela/repos","events_url":"https://api.github.com/users/benibela/events{/privacy}","received_events_url":"https://api.github.com/users/benibela/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T20:50:29Z","updated_at":"2018-03-30T20:50:29Z","author_association":"MEMBER","body":"I have seen this frequently. It is very annoying indeed. But also hard to reproduce"}}
{"actor":{"display_login":"benibela"}}