{"action":"created","issue":{"url":"https://api.github.com/repos/openannotation/annotator/issues/573","labels_url":"https://api.github.com/repos/openannotation/annotator/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/openannotation/annotator/issues/573/comments","events_url":"https://api.github.com/repos/openannotation/annotator/issues/573/events","html_url":"https://github.com/openannotation/annotator/issues/573","id":112157939,"number":573,"title":"Switch mouse highlight on / off","user":{"login":"TomThak","id":1766079,"avatar_url":"https://avatars.githubusercontent.com/u/1766079?v=3","gravatar_id":"","url":"https://api.github.com/users/TomThak","html_url":"https://github.com/TomThak","followers_url":"https://api.github.com/users/TomThak/followers","following_url":"https://api.github.com/users/TomThak/following{/other_user}","gists_url":"https://api.github.com/users/TomThak/gists{/gist_id}","starred_url":"https://api.github.com/users/TomThak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomThak/subscriptions","organizations_url":"https://api.github.com/users/TomThak/orgs","repos_url":"https://api.github.com/users/TomThak/repos","events_url":"https://api.github.com/users/TomThak/events{/privacy}","received_events_url":"https://api.github.com/users/TomThak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-19T14:34:41Z","updated_at":"2015-10-19T18:31:19Z","closed_at":null,"body":"Is it somehow possible to switch on \"highlighting\" and switch off \"highlighting\" on some button event?\r\nFor example, if the user wants to just select the block of text for copy / paste purposes there is need to create new annotation. I would like to have possibility to swtich annotation process on, when needed and when I want to highlight something in text and otherwise to have it switched off.\r\n\r\nI could not find anything like this in documentation.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/openannotation/annotator/issues/comments/149306153","html_url":"https://github.com/openannotation/annotator/issues/573#issuecomment-149306153","issue_url":"https://api.github.com/repos/openannotation/annotator/issues/573","id":149306153,"user":{"login":"tilgovi","id":20818,"avatar_url":"https://avatars.githubusercontent.com/u/20818?v=3","gravatar_id":"","url":"https://api.github.com/users/tilgovi","html_url":"https://github.com/tilgovi","followers_url":"https://api.github.com/users/tilgovi/followers","following_url":"https://api.github.com/users/tilgovi/following{/other_user}","gists_url":"https://api.github.com/users/tilgovi/gists{/gist_id}","starred_url":"https://api.github.com/users/tilgovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tilgovi/subscriptions","organizations_url":"https://api.github.com/users/tilgovi/orgs","repos_url":"https://api.github.com/users/tilgovi/repos","events_url":"https://api.github.com/users/tilgovi/events{/privacy}","received_events_url":"https://api.github.com/users/tilgovi/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T18:31:19Z","updated_at":"2015-10-19T18:31:19Z","body":"The `ui.textselector.TextSelector` extension fires an `onSelection` callback. It's up to you to use the `ui.main` module as a boilerplate for your own UI and use whatever application state you need to decide what to do when a selection occurs."}}