{"action":"created","issue":{"url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/32","labels_url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/32/comments","events_url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/32/events","html_url":"https://github.com/amweiss/vigilant-cupcake/issues/32","id":69157142,"number":32,"title":"Crash from FastColoredTextBox","user":{"login":"amweiss","id":30146,"avatar_url":"https://avatars.githubusercontent.com/u/30146?v=3","gravatar_id":"","url":"https://api.github.com/users/amweiss","html_url":"https://github.com/amweiss","followers_url":"https://api.github.com/users/amweiss/followers","following_url":"https://api.github.com/users/amweiss/following{/other_user}","gists_url":"https://api.github.com/users/amweiss/gists{/gist_id}","starred_url":"https://api.github.com/users/amweiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amweiss/subscriptions","organizations_url":"https://api.github.com/users/amweiss/orgs","repos_url":"https://api.github.com/users/amweiss/repos","events_url":"https://api.github.com/users/amweiss/events{/privacy}","received_events_url":"https://api.github.com/users/amweiss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/amweiss/vigilant-cupcake/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-17T15:11:14Z","updated_at":"2015-04-22T13:34:07Z","closed_at":null,"body":"Happened while it was in the background, possibly from a download/resave?\r\n```\r\n************** Exception Text **************\r\nSystem.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index\r\n   at System.ThrowHelper.ThrowArgumentOutOfRangeException()\r\n   at System.Collections.Generic.List`1.get_Item(Int32 index)\r\n   at FastColoredTextBoxNS.TextSource.get_Item(Int32 i)\r\n   at FastColoredTextBoxNS.FastColoredTextBox.get_Item(Int32 iLine)\r\n   at FastColoredTextBoxNS.Range.GetText(String& text, List`1& charIndexToPlace)\r\n   at FastColoredTextBoxNS.Range.<GetRanges>d__0.MoveNext()\r\n   at FastColoredTextBoxNS.Range.SetStyle(StyleIndex styleLayer, String regexPattern, RegexOptions options)\r\n   at FastColoredTextBoxNS.Range.SetStyle(Style style, String regexPattern)\r\n   at VigilantCupcake.ViewUtilities.FastColoredTextBoxUtility.setStyles(Range range)\r\n   at VigilantCupcake.MainForm.<updateHostsFileView>b__48()\r\n   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)\r\n   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)\r\n   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)\r\n   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()\r\n```"},"comment":{"url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/comments/95178858","html_url":"https://github.com/amweiss/vigilant-cupcake/issues/32#issuecomment-95178858","issue_url":"https://api.github.com/repos/amweiss/vigilant-cupcake/issues/32","id":95178858,"user":{"login":"amweiss","id":30146,"avatar_url":"https://avatars.githubusercontent.com/u/30146?v=3","gravatar_id":"","url":"https://api.github.com/users/amweiss","html_url":"https://github.com/amweiss","followers_url":"https://api.github.com/users/amweiss/followers","following_url":"https://api.github.com/users/amweiss/following{/other_user}","gists_url":"https://api.github.com/users/amweiss/gists{/gist_id}","starred_url":"https://api.github.com/users/amweiss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amweiss/subscriptions","organizations_url":"https://api.github.com/users/amweiss/orgs","repos_url":"https://api.github.com/users/amweiss/repos","events_url":"https://api.github.com/users/amweiss/events{/privacy}","received_events_url":"https://api.github.com/users/amweiss/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T13:34:07Z","updated_at":"2015-04-22T13:34:07Z","body":"Still happening it seems"}}