{"action":"opened","issue":{"url":"https://api.github.com/repos/yoshuawuyts/vmd/issues/73","labels_url":"https://api.github.com/repos/yoshuawuyts/vmd/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/yoshuawuyts/vmd/issues/73/comments","events_url":"https://api.github.com/repos/yoshuawuyts/vmd/issues/73/events","html_url":"https://github.com/yoshuawuyts/vmd/issues/73","id":127148123,"number":73,"title":"Search within document","user":{"login":"maxkueng","id":168709,"avatar_url":"https://avatars.githubusercontent.com/u/168709?v=3","gravatar_id":"","url":"https://api.github.com/users/maxkueng","html_url":"https://github.com/maxkueng","followers_url":"https://api.github.com/users/maxkueng/followers","following_url":"https://api.github.com/users/maxkueng/following{/other_user}","gists_url":"https://api.github.com/users/maxkueng/gists{/gist_id}","starred_url":"https://api.github.com/users/maxkueng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxkueng/subscriptions","organizations_url":"https://api.github.com/users/maxkueng/orgs","repos_url":"https://api.github.com/users/maxkueng/repos","events_url":"https://api.github.com/users/maxkueng/events{/privacy}","received_events_url":"https://api.github.com/users/maxkueng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-18T03:42:22Z","updated_at":"2016-01-18T03:42:22Z","closed_at":null,"body":"Would be nice to be able to search within a document.\r\n\r\nI was thinking about the following functionality, similar to how it works in browsers:\r\n\r\n - Press `Control/Cmd+F` or select \"Search\" from a menu, type search query.\r\n - Highlight all results (preferably as you type).\r\n - Jump back and forth between results.\r\n - Press `Esc` to hide search input and clear results.\r\n\r\nThings to check out:\r\n\r\n - `webContents.findInPage(text[, options])` ([docs](https://github.com/atom/electron/blob/master/docs/api/web-contents.md#webcontentsfindinpagetext-options))\r\n - `webContents.stopFindInPage(action)` ([docs](https://github.com/atom/electron/blob/master/docs/api/web-contents.md#webcontentsstopfindinpageaction))"}}