{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/379","labels_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/379/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/issues/379/events","html_url":"https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/379","id":112654022,"number":379,"title":"Plugin crashes when using autocomplete shortcut while method signature popover is active","user":{"login":"mochtu","id":1244557,"avatar_url":"https://avatars.githubusercontent.com/u/1244557?v=3","gravatar_id":"","url":"https://api.github.com/users/mochtu","html_url":"https://github.com/mochtu","followers_url":"https://api.github.com/users/mochtu/followers","following_url":"https://api.github.com/users/mochtu/following{/other_user}","gists_url":"https://api.github.com/users/mochtu/gists{/gist_id}","starred_url":"https://api.github.com/users/mochtu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mochtu/subscriptions","organizations_url":"https://api.github.com/users/mochtu/orgs","repos_url":"https://api.github.com/users/mochtu/repos","events_url":"https://api.github.com/users/mochtu/events{/privacy}","received_events_url":"https://api.github.com/users/mochtu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript-Sublime-Plugin/labels/Bug","name":"Bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-21T18:45:43Z","updated_at":"2015-10-28T14:37:33Z","closed_at":"2015-10-28T14:37:33Z","body":"Sublime Text 3 / OSX\r\n\r\nFor some reason, when I accidentally use the Ctrl+Space (autocomplete) shortcut while a method signature popover is displayed, the typescript plugin stops working (without an error).\r\n\r\nAn example would be:\r\n```\r\nangular.module(∆)\r\n```\r\nwhere \"∆\" represents the cursor position.\r\n\r\nWhen I press Ctrl+Space again, I get the following stack trace in the sublime console:\r\n\r\n```\r\ninsert_snippet\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\n  File \"./threading.py\", line 901, in _bootstrap_inner\r\n  File \"./threading.py\", line 858, in run\r\n  File \"/Users/mo/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/node_client.py\", line 283, in __reader\r\n    if NodeCommClient.read_msg(stream, msgq, eventq, asyncReq, proc, eventHandlers):\r\n  File \"/Users/mo/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/node_client.py\", line 182, in read_msg\r\n    data_dict = json_helpers.decode(data_json)\r\n  File \"/Users/mo/Library/Application Support/Sublime Text 3/Packages/TypeScript/typescript/libs/json_helpers.py\", line 18, in decode\r\n    return json.loads(json_str)\r\n  File \"./json/__init__.py\", line 319, in loads\r\n  File \"./json/decoder.py\", line 352, in decode\r\n  File \"./json/decoder.py\", line 368, in raw_decode\r\n  File \"./json/scanner.py\", line 38, in _scan_once\r\n  File \"./json/decoder.py\", line 198, in JSONObject\r\n  File \"./json/scanner.py\", line 40, in _scan_once\r\n  File \"./json/decoder.py\", line 242, in JSONArray\r\n  File \"./json/scanner.py\", line 38, in _scan_once\r\n  File \"./json/decoder.py\", line 198, in JSONObject\r\n  File \"./json/scanner.py\", line 35, in _scan_once\r\n  File \"./json/decoder.py\", line 100, in py_scanstring\r\nValueError: Invalid control character '\\r' at: line 1 column 65532 (char 65531)\r\n```"}}