{"action":"created","issue":{"url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/30","repository_url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2","labels_url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/30/comments","events_url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/30/events","html_url":"https://github.com/stoneharry/Spell-Editor-GUI-V2/issues/30","id":187730680,"number":30,"title":"Go to Spell","user":{"login":"Lawys","id":5355630,"avatar_url":"https://avatars.githubusercontent.com/u/5355630?v=3","gravatar_id":"","url":"https://api.github.com/users/Lawys","html_url":"https://github.com/Lawys","followers_url":"https://api.github.com/users/Lawys/followers","following_url":"https://api.github.com/users/Lawys/following{/other_user}","gists_url":"https://api.github.com/users/Lawys/gists{/gist_id}","starred_url":"https://api.github.com/users/Lawys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lawys/subscriptions","organizations_url":"https://api.github.com/users/Lawys/orgs","repos_url":"https://api.github.com/users/Lawys/repos","events_url":"https://api.github.com/users/Lawys/events{/privacy}","received_events_url":"https://api.github.com/users/Lawys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-07T14:49:39Z","updated_at":"2016-11-07T14:59:32Z","closed_at":null,"body":"![8c793121da1a5d4458e388f7c0b805e5](https://cloud.githubusercontent.com/assets/5355630/20061826/c2155ae4-a501-11e6-912b-5c93a2e8769c.gif)\r\n\r\nI compiled ur latest version\r\n\r\nwhat is the problem ?\r\n"},"comment":{"url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/comments/258858084","html_url":"https://github.com/stoneharry/Spell-Editor-GUI-V2/issues/30#issuecomment-258858084","issue_url":"https://api.github.com/repos/stoneharry/Spell-Editor-GUI-V2/issues/30","id":258858084,"user":{"login":"m-uu","id":5546244,"avatar_url":"https://avatars.githubusercontent.com/u/5546244?v=3","gravatar_id":"","url":"https://api.github.com/users/m-uu","html_url":"https://github.com/m-uu","followers_url":"https://api.github.com/users/m-uu/followers","following_url":"https://api.github.com/users/m-uu/following{/other_user}","gists_url":"https://api.github.com/users/m-uu/gists{/gist_id}","starred_url":"https://api.github.com/users/m-uu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-uu/subscriptions","organizations_url":"https://api.github.com/users/m-uu/orgs","repos_url":"https://api.github.com/users/m-uu/repos","events_url":"https://api.github.com/users/m-uu/events{/privacy}","received_events_url":"https://api.github.com/users/m-uu/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T14:59:32Z","updated_at":"2016-11-07T14:59:32Z","body":"I have fixed the problem.\r\n\r\nmodify SpellGUIV2/MainWindow.xaml.cs\r\n\r\n```\r\n                    for (int i = 0; i < SelectSpell.Items.Count; ++i)\r\n                    {\r\n                        string item = SelectSpell.Items.GetItemAt(i).ToString();\r\n\r\n                        if (Int32.Parse(item.Split(' ')[0]) == ID)\r\n                        {\r\n                            SelectSpell.SelectedIndex = i;\r\n                            SelectSpell.ScrollIntoView(SelectSpell.Items.GetItemAt(i));\r\n\r\n                            break;\r\n                        }\r\n                    }\r\n```\r\n\r\nto\r\n\r\n```\r\n\t\t\t\t\tInt32 count = 0;\r\n\t\t\t\t\tforeach (StackPanel obj in SelectSpell.Items)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tforeach (var item in obj.Children)\r\n\t\t\t\t\t\t\tif (item is TextBlock)\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\tTextBlock tb = (TextBlock)item;\r\n\r\n\t\t\t\t\t\t\t\tif (Int32.Parse(tb.Text.Split(' ')[1]) == ID)\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tSelectSpell.SelectedIndex = count;\r\n\t\t\t\t\t\t\t\t\tSelectSpell.ScrollIntoView(obj);\r\n\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\tcount++;\r\n\t\t\t\t\t}\r\n```"}}
{"actor":{"display_login":"m-uu"}}