{"action":"created","issue":{"url":"https://api.github.com/repos/woxingxiao/XEditText/issues/32","repository_url":"https://api.github.com/repos/woxingxiao/XEditText","labels_url":"https://api.github.com/repos/woxingxiao/XEditText/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/woxingxiao/XEditText/issues/32/comments","events_url":"https://api.github.com/repos/woxingxiao/XEditText/issues/32/events","html_url":"https://github.com/woxingxiao/XEditText/issues/32","id":363433259,"node_id":"MDU6SXNzdWUzNjM0MzMyNTk=","number":32,"title":"使用pattern时用粘贴IndexOutOfBoundsException","user":{"login":"wmjwmj828","id":31396243,"node_id":"MDQ6VXNlcjMxMzk2MjQz","avatar_url":"https://avatars0.githubusercontent.com/u/31396243?v=4","gravatar_id":"","url":"https://api.github.com/users/wmjwmj828","html_url":"https://github.com/wmjwmj828","followers_url":"https://api.github.com/users/wmjwmj828/followers","following_url":"https://api.github.com/users/wmjwmj828/following{/other_user}","gists_url":"https://api.github.com/users/wmjwmj828/gists{/gist_id}","starred_url":"https://api.github.com/users/wmjwmj828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmjwmj828/subscriptions","organizations_url":"https://api.github.com/users/wmjwmj828/orgs","repos_url":"https://api.github.com/users/wmjwmj828/repos","events_url":"https://api.github.com/users/wmjwmj828/events{/privacy}","received_events_url":"https://api.github.com/users/wmjwmj828/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-25T06:49:18Z","updated_at":"2018-11-07T09:54:11Z","closed_at":"2018-10-09T02:38:25Z","author_association":"NONE","body":"设置了app:x_pattern=\"3,4,4\"\r\napp:x_separator=\" \"\r\n粘贴时， java.lang.IndexOutOfBoundsException: setSpan (17 ... 17) ends beyond length 12"},"comment":{"url":"https://api.github.com/repos/woxingxiao/XEditText/issues/comments/436568042","html_url":"https://github.com/woxingxiao/XEditText/issues/32#issuecomment-436568042","issue_url":"https://api.github.com/repos/woxingxiao/XEditText/issues/32","id":436568042,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU2ODA0Mg==","user":{"login":"wmjwmj828","id":31396243,"node_id":"MDQ6VXNlcjMxMzk2MjQz","avatar_url":"https://avatars0.githubusercontent.com/u/31396243?v=4","gravatar_id":"","url":"https://api.github.com/users/wmjwmj828","html_url":"https://github.com/wmjwmj828","followers_url":"https://api.github.com/users/wmjwmj828/followers","following_url":"https://api.github.com/users/wmjwmj828/following{/other_user}","gists_url":"https://api.github.com/users/wmjwmj828/gists{/gist_id}","starred_url":"https://api.github.com/users/wmjwmj828/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmjwmj828/subscriptions","organizations_url":"https://api.github.com/users/wmjwmj828/orgs","repos_url":"https://api.github.com/users/wmjwmj828/repos","events_url":"https://api.github.com/users/wmjwmj828/events{/privacy}","received_events_url":"https://api.github.com/users/wmjwmj828/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T09:54:11Z","updated_at":"2018-11-07T09:54:11Z","author_association":"NONE","body":"@woxingxiao 还是报IndexOutOfBoundsException啊。。我用了很多台手机都是必现，小米note3，华为荣耀9，vivo y85\r\n\r\n implementation 'com.xw.repo:xedittext:2.2.2@aar'\r\n\r\nXEditText：\r\n            <com.xw.repo.XEditText\r\n                android:id=\"@+id/et_tel\"\r\n                android:layout_width=\"match_parent\"\r\n                android:layout_height=\"wrap_content\"\r\n                android:layout_marginBottom=\"34px\"\r\n                android:layout_marginLeft=\"40px\"\r\n                android:layout_marginRight=\"40px\"\r\n                android:layout_marginTop=\"34px\"\r\n                android:background=\"@null\"\r\n                android:inputType=\"number\"\r\n                android:textSize=\"36px\"\r\n                app:x_pattern=\"3,4,4\"\r\n                app:x_separator=\" \" />"}}
{"actor":{"display_login":"wmjwmj828"}}