{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/1077","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/1077/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/1077/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/1077/events","html_url":"https://github.com/JabRef/jabref/pull/1077","id":145204954,"number":1077,"title":"Refactor auto completion","user":{"login":"stefan-kolb","id":2141507,"avatar_url":"https://avatars.githubusercontent.com/u/2141507?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-kolb","html_url":"https://github.com/stefan-kolb","followers_url":"https://api.github.com/users/stefan-kolb/followers","following_url":"https://api.github.com/users/stefan-kolb/following{/other_user}","gists_url":"https://api.github.com/users/stefan-kolb/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-kolb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-kolb/subscriptions","organizations_url":"https://api.github.com/users/stefan-kolb/orgs","repos_url":"https://api.github.com/users/stefan-kolb/repos","events_url":"https://api.github.com/users/stefan-kolb/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-kolb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JabRef/jabref/labels/ready-for-review","name":"ready-for-review","color":"e11d21"},{"url":"https://api.github.com/repos/JabRef/jabref/labels/ui","name":"ui","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/JabRef/jabref/milestones/6","html_url":"https://github.com/JabRef/jabref/milestones/v3.3","labels_url":"https://api.github.com/repos/JabRef/jabref/milestones/6/labels","id":1491548,"number":6,"title":"v3.3","description":"","creator":{"login":"koppor","id":1366654,"avatar_url":"https://avatars.githubusercontent.com/u/1366654?v=3","gravatar_id":"","url":"https://api.github.com/users/koppor","html_url":"https://github.com/koppor","followers_url":"https://api.github.com/users/koppor/followers","following_url":"https://api.github.com/users/koppor/following{/other_user}","gists_url":"https://api.github.com/users/koppor/gists{/gist_id}","starred_url":"https://api.github.com/users/koppor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppor/subscriptions","organizations_url":"https://api.github.com/users/koppor/orgs","repos_url":"https://api.github.com/users/koppor/repos","events_url":"https://api.github.com/users/koppor/events{/privacy}","received_events_url":"https://api.github.com/users/koppor/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":38,"state":"open","created_at":"2016-01-08T14:44:29Z","updated_at":"2016-04-06T17:52:34Z","due_on":"2016-04-14T22:00:00Z","closed_at":null},"comments":13,"created_at":"2016-04-01T15:04:27Z","updated_at":"2016-04-07T07:00:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/1077","html_url":"https://github.com/JabRef/jabref/pull/1077","diff_url":"https://github.com/JabRef/jabref/pull/1077.diff","patch_url":"https://github.com/JabRef/jabref/pull/1077.patch"},"body":"__Major changes in this PR:__\r\n- [x] Only use auto-completion when at the end of a word (space after)\r\n- [x] Detection modes: Only use case-sensitive detection for now (performance, logic, we can re-add functionality from here)\r\n- [x] Remove method getPrefix() - Intention of this method was unknown\r\n- [x] Use Nameautocompleter for every PERSONNAME BibTeX field, not only author & editor"},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/206723800","html_url":"https://github.com/JabRef/jabref/pull/1077#issuecomment-206723800","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/1077","id":206723800,"user":{"login":"koppor","id":1366654,"avatar_url":"https://avatars.githubusercontent.com/u/1366654?v=3","gravatar_id":"","url":"https://api.github.com/users/koppor","html_url":"https://github.com/koppor","followers_url":"https://api.github.com/users/koppor/followers","following_url":"https://api.github.com/users/koppor/following{/other_user}","gists_url":"https://api.github.com/users/koppor/gists{/gist_id}","starred_url":"https://api.github.com/users/koppor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koppor/subscriptions","organizations_url":"https://api.github.com/users/koppor/orgs","repos_url":"https://api.github.com/users/koppor/repos","events_url":"https://api.github.com/users/koppor/events{/privacy}","received_events_url":"https://api.github.com/users/koppor/received_events","type":"User","site_admin":false},"created_at":"2016-04-07T07:00:01Z","updated_at":"2016-04-07T07:00:01Z","body":"```\r\nException in thread \"AWT-EventQueue-0\" java.lang.StringIndexOutOfBoundsException: String index out of range: -67\r\n        at java.lang.String.substring(String.java:1931)\r\n        at net.sf.jabref.gui.autocompleter.AutoCompleteListener.insertKeyAndSuggestion(AutoCompleteListener.java:148)\r\n        at net.sf.jabref.gui.autocompleter.AutoCompleteListener.keyTyped(AutoCompleteListener.java:104)\r\n        at java.awt.Component.processKeyEvent(Component.java:6490)\r\n```"}}