{"action":"created","issue":{"url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/32","labels_url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/32/comments","events_url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/32/events","html_url":"https://github.com/icsharpcode/AvalonEdit/issues/32","id":60831235,"number":32,"title":"Wrong CompletionSegment performed when we start typing while part of text already selected.","user":{"login":"dijkstra33","id":3966139,"avatar_url":"https://avatars.githubusercontent.com/u/3966139?v=3","gravatar_id":"","url":"https://api.github.com/users/dijkstra33","html_url":"https://github.com/dijkstra33","followers_url":"https://api.github.com/users/dijkstra33/followers","following_url":"https://api.github.com/users/dijkstra33/following{/other_user}","gists_url":"https://api.github.com/users/dijkstra33/gists{/gist_id}","starred_url":"https://api.github.com/users/dijkstra33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dijkstra33/subscriptions","organizations_url":"https://api.github.com/users/dijkstra33/orgs","repos_url":"https://api.github.com/users/dijkstra33/repos","events_url":"https://api.github.com/users/dijkstra33/events{/privacy}","received_events_url":"https://api.github.com/users/dijkstra33/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T14:53:25Z","updated_at":"2015-05-03T18:21:22Z","closed_at":"2015-05-03T18:21:22Z","body":"Hello. We use auto-completion with your editor. It works fine. But when i start typing in text area while part of text already selected - CompletionSegment miss first character. So auto completion ignore first key typed in. Even your completion example works with this bug.\r\nHow to fix this?"},"comment":{"url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/comments/98519607","html_url":"https://github.com/icsharpcode/AvalonEdit/issues/32#issuecomment-98519607","issue_url":"https://api.github.com/repos/icsharpcode/AvalonEdit/issues/32","id":98519607,"user":{"login":"dgrunwald","id":243140,"avatar_url":"https://avatars.githubusercontent.com/u/243140?v=3","gravatar_id":"","url":"https://api.github.com/users/dgrunwald","html_url":"https://github.com/dgrunwald","followers_url":"https://api.github.com/users/dgrunwald/followers","following_url":"https://api.github.com/users/dgrunwald/following{/other_user}","gists_url":"https://api.github.com/users/dgrunwald/gists{/gist_id}","starred_url":"https://api.github.com/users/dgrunwald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgrunwald/subscriptions","organizations_url":"https://api.github.com/users/dgrunwald/orgs","repos_url":"https://api.github.com/users/dgrunwald/repos","events_url":"https://api.github.com/users/dgrunwald/events{/privacy}","received_events_url":"https://api.github.com/users/dgrunwald/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T18:21:22Z","updated_at":"2015-05-03T18:21:22Z","body":"When opening a completion window, set the `CompletionWindow.StartOffset` and `EndOffset` properties to specify the initial completion segment."}}