{"action":"created","issue":{"url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/69","repository_url":"https://api.github.com/repos/szweier/SZMentionsSwift","labels_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/69/comments","events_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/69/events","html_url":"https://github.com/szweier/SZMentionsSwift/issues/69","id":348212618,"node_id":"MDU6SXNzdWUzNDgyMTI2MTg=","number":69,"title":"Exception 'NSRangeException' for searchSpaces feature","user":{"login":"wonderhero","id":3401072,"node_id":"MDQ6VXNlcjM0MDEwNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/3401072?v=4","gravatar_id":"","url":"https://api.github.com/users/wonderhero","html_url":"https://github.com/wonderhero","followers_url":"https://api.github.com/users/wonderhero/followers","following_url":"https://api.github.com/users/wonderhero/following{/other_user}","gists_url":"https://api.github.com/users/wonderhero/gists{/gist_id}","starred_url":"https://api.github.com/users/wonderhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonderhero/subscriptions","organizations_url":"https://api.github.com/users/wonderhero/orgs","repos_url":"https://api.github.com/users/wonderhero/repos","events_url":"https://api.github.com/users/wonderhero/events{/privacy}","received_events_url":"https://api.github.com/users/wonderhero/received_events","type":"User","site_admin":false},"labels":[{"id":310599912,"node_id":"MDU6TGFiZWwzMTA1OTk5MTI=","url":"https://api.github.com/repos/szweier/SZMentionsSwift/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"szweier","id":533825,"node_id":"MDQ6VXNlcjUzMzgyNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/533825?v=4","gravatar_id":"","url":"https://api.github.com/users/szweier","html_url":"https://github.com/szweier","followers_url":"https://api.github.com/users/szweier/followers","following_url":"https://api.github.com/users/szweier/following{/other_user}","gists_url":"https://api.github.com/users/szweier/gists{/gist_id}","starred_url":"https://api.github.com/users/szweier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szweier/subscriptions","organizations_url":"https://api.github.com/users/szweier/orgs","repos_url":"https://api.github.com/users/szweier/repos","events_url":"https://api.github.com/users/szweier/events{/privacy}","received_events_url":"https://api.github.com/users/szweier/received_events","type":"User","site_admin":false},"assignees":[{"login":"szweier","id":533825,"node_id":"MDQ6VXNlcjUzMzgyNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/533825?v=4","gravatar_id":"","url":"https://api.github.com/users/szweier","html_url":"https://github.com/szweier","followers_url":"https://api.github.com/users/szweier/followers","following_url":"https://api.github.com/users/szweier/following{/other_user}","gists_url":"https://api.github.com/users/szweier/gists{/gist_id}","starred_url":"https://api.github.com/users/szweier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szweier/subscriptions","organizations_url":"https://api.github.com/users/szweier/orgs","repos_url":"https://api.github.com/users/szweier/repos","events_url":"https://api.github.com/users/szweier/events{/privacy}","received_events_url":"https://api.github.com/users/szweier/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-07T08:09:14Z","updated_at":"2018-08-07T23:31:43Z","closed_at":null,"author_association":"NONE","body":"@szweier I able to reproduce this issue again. It is just a bit tricky.\r\n\r\nStep to reproduce:\r\n1. Enable `searchSpaces` in `SZMentionsListener`\r\n2. Type `Hello this is example of @mention @this_is_false_mention` in text view.\r\n3. Randomly keep changing cursor (Select text position) position (In quick manner) in text view.\r\n\r\n**@mention** is actual mention\r\n**@this_is_false_mention** is a random string that having starting character same as `triggers`. Example: \"@\" symbol.\r\n\r\nI able to reproduce the issue in the project example as well. \r\n\r\nIt will throw the Range out of bounds issue.\r\n\r\nExample of error message:\r\n`*** Terminating app due to uncaught exception 'NSRangeException', reason: '-[__NSCFString substringWithRange:]: Range {72, 18} out of bounds; string length 86'`"},"comment":{"url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/comments/411235189","html_url":"https://github.com/szweier/SZMentionsSwift/issues/69#issuecomment-411235189","issue_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/69","id":411235189,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTIzNTE4OQ==","user":{"login":"szweier","id":533825,"node_id":"MDQ6VXNlcjUzMzgyNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/533825?v=4","gravatar_id":"","url":"https://api.github.com/users/szweier","html_url":"https://github.com/szweier","followers_url":"https://api.github.com/users/szweier/followers","following_url":"https://api.github.com/users/szweier/following{/other_user}","gists_url":"https://api.github.com/users/szweier/gists{/gist_id}","starred_url":"https://api.github.com/users/szweier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szweier/subscriptions","organizations_url":"https://api.github.com/users/szweier/orgs","repos_url":"https://api.github.com/users/szweier/repos","events_url":"https://api.github.com/users/szweier/events{/privacy}","received_events_url":"https://api.github.com/users/szweier/received_events","type":"User","site_admin":false},"created_at":"2018-08-07T23:31:43Z","updated_at":"2018-08-07T23:31:43Z","author_association":"OWNER","body":"@wonderhero thanks for pressing the issue here. I found it and will be pushing a new version shortly."}}
{"actor":{"display_login":"szweier"}}