{"action":"opened","issue":{"url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/987","labels_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/987/labels{/name}","comments_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/987/comments","events_url":"https://api.github.com/repos/SublimeTextIssues/Core/issues/987/events","html_url":"https://github.com/SublimeTextIssues/Core/issues/987","id":105972165,"number":987,"title":"Replace hotkey does not work for first match","user":{"login":"KES777","id":799021,"avatar_url":"https://avatars.githubusercontent.com/u/799021?v=3","gravatar_id":"","url":"https://api.github.com/users/KES777","html_url":"https://github.com/KES777","followers_url":"https://api.github.com/users/KES777/followers","following_url":"https://api.github.com/users/KES777/following{/other_user}","gists_url":"https://api.github.com/users/KES777/gists{/gist_id}","starred_url":"https://api.github.com/users/KES777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KES777/subscriptions","organizations_url":"https://api.github.com/users/KES777/orgs","repos_url":"https://api.github.com/users/KES777/repos","events_url":"https://api.github.com/users/KES777/events{/privacy}","received_events_url":"https://api.github.com/users/KES777/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T09:05:30Z","updated_at":"2015-09-11T09:05:30Z","closed_at":null,"body":"I have configured hotkey:\r\n\r\n\t{ \"keys\": [\"ctrl+shift+h\"], \"command\": \"show_panel\", \"args\": {\"panel\": \"replace\", \"reverse\": false} },\r\n\t{ \"keys\": [\"ctrl+h\"], \"command\": \"replace_next\" },\r\n\r\n1. ctrl+shift+h\r\n2. type word I want to replace. The first occuarance will be highlighted in editor\r\n3. type word I want to replace by.\r\n4. Click 'Replace' button on panel\r\nRESULT: the first highlighted word will be replaced and second will be highlighted .\r\n5. Click 'Replace' again. highlighted word will be replaced and next will be highlighted .\r\nIt is OK here\r\n\r\nBUT\r\n1. ctrl+shift+h\r\n2. type word I want to replace. The first occuarance will be highlighted in editor\r\n3. type word I want to replace by.\r\n4. Press CTRL+H\r\nRESULT: the first highlighted word will be **skiped** and second will be highlighted second.\r\n5. Press CTRL+H. highlighted word will be replaced and next will be highlighted .\r\nThe problem is with step 4. I expect that first highlighted word will be replaced.\r\n\r\nAssume: I try to use 'replace' command, as in example above, but in this case nothing is working. Which command you use on 'Replace' button?\r\n\r\n    { \"keys\": [\"ctrl+h\"], \"command\": \"replace\" },\r\n\r\nAssume2: If you use same command (replace_next) for the button on panel. Then you must implement same behaviour despite on how it were called: by hotkey or from panel."}}