{"action":"created","issue":{"url":"https://api.github.com/repos/limetext/lime/issues/453","labels_url":"https://api.github.com/repos/limetext/lime/issues/453/labels{/name}","comments_url":"https://api.github.com/repos/limetext/lime/issues/453/comments","events_url":"https://api.github.com/repos/limetext/lime/issues/453/events","html_url":"https://github.com/limetext/lime/issues/453","id":50063851,"number":453,"title":"replace_all","user":{"login":"zoli","id":3286303,"avatar_url":"https://avatars.githubusercontent.com/u/3286303?v=3","gravatar_id":"","url":"https://api.github.com/users/zoli","html_url":"https://github.com/zoli","followers_url":"https://api.github.com/users/zoli/followers","following_url":"https://api.github.com/users/zoli/following{/other_user}","gists_url":"https://api.github.com/users/zoli/gists{/gist_id}","starred_url":"https://api.github.com/users/zoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoli/subscriptions","organizations_url":"https://api.github.com/users/zoli/orgs","repos_url":"https://api.github.com/users/zoli/repos","events_url":"https://api.github.com/users/zoli/events{/privacy}","received_events_url":"https://api.github.com/users/zoli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/limetext/lime/labels/command","name":"command","color":"d4c5f9"},{"url":"https://api.github.com/repos/limetext/lime/labels/easy%20fix","name":"easy fix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-25T18:10:02Z","updated_at":"2015-05-04T08:07:20Z","closed_at":null,"body":"\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6522288-replace_all?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/limetext/lime/issues/comments/98621511","html_url":"https://github.com/limetext/lime/issues/453#issuecomment-98621511","issue_url":"https://api.github.com/repos/limetext/lime/issues/453","id":98621511,"user":{"login":"zoli","id":3286303,"avatar_url":"https://avatars.githubusercontent.com/u/3286303?v=3","gravatar_id":"","url":"https://api.github.com/users/zoli","html_url":"https://github.com/zoli","followers_url":"https://api.github.com/users/zoli/followers","following_url":"https://api.github.com/users/zoli/following{/other_user}","gists_url":"https://api.github.com/users/zoli/gists{/gist_id}","starred_url":"https://api.github.com/users/zoli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoli/subscriptions","organizations_url":"https://api.github.com/users/zoli/orgs","repos_url":"https://api.github.com/users/zoli/repos","events_url":"https://api.github.com/users/zoli/events{/privacy}","received_events_url":"https://api.github.com/users/zoli/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T08:07:20Z","updated_at":"2015-05-04T08:07:20Z","body":"As you should call the [`nextSelection`](https://github.com/limetext/lime-backend/blob/master/lib/commands/findreplace.go#L71) function multiple times you can check if there was error in all calls or not. If a single call didn't return error you shouldn't return error."}}