{"action":"created","issue":{"url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/59","repository_url":"https://api.github.com/repos/szweier/SZMentionsSwift","labels_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/59/comments","events_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/59/events","html_url":"https://github.com/szweier/SZMentionsSwift/issues/59","id":325222142,"node_id":"MDU6SXNzdWUzMjUyMjIxNDI=","number":59,"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":[],"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":7,"created_at":"2018-05-22T09:57:33Z","updated_at":"2018-08-03T05:05:51Z","closed_at":null,"author_association":"NONE","body":"First of all, thank you for the great library that you have written. I have discovered an issue that could be reproduce as following:\r\n\r\n1. Enable **searchSpaces** in SZMentionsListener\r\n2. Type **Any String \"@tag String\" Any String** in text view.\r\n3. Randomly **keep changing cursor (Select text position) position** (In quick manner) in text view.\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/410145595","html_url":"https://github.com/szweier/SZMentionsSwift/issues/59#issuecomment-410145595","issue_url":"https://api.github.com/repos/szweier/SZMentionsSwift/issues/59","id":410145595,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDE0NTU5NQ==","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},"created_at":"2018-08-03T05:05:51Z","updated_at":"2018-08-03T05:05:51Z","author_association":"NONE","body":"@szweier I have ran the SZMentionsExample scheme. I couldn't reproduce the problem. You may proceed to close this issue. I will look into my implementation that cause the issue. Thank you again for your effort in making this great library."}}
{"actor":{"display_login":"wonderhero"}}