{"action":"opened","issue":{"url":"https://api.github.com/repos/careteditor/caret/issues/138","repository_url":"https://api.github.com/repos/careteditor/caret","labels_url":"https://api.github.com/repos/careteditor/caret/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/careteditor/caret/issues/138/comments","events_url":"https://api.github.com/repos/careteditor/caret/issues/138/events","html_url":"https://github.com/careteditor/caret/issues/138","id":181635687,"number":138,"title":"Error on Ctrl+Space at the beginning of a list item line","user":{"login":"borekb","id":101152,"avatar_url":"https://avatars.githubusercontent.com/u/101152?v=3","gravatar_id":"","url":"https://api.github.com/users/borekb","html_url":"https://github.com/borekb","followers_url":"https://api.github.com/users/borekb/followers","following_url":"https://api.github.com/users/borekb/following{/other_user}","gists_url":"https://api.github.com/users/borekb/gists{/gist_id}","starred_url":"https://api.github.com/users/borekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borekb/subscriptions","organizations_url":"https://api.github.com/users/borekb/orgs","repos_url":"https://api.github.com/users/borekb/repos","events_url":"https://api.github.com/users/borekb/events{/privacy}","received_events_url":"https://api.github.com/users/borekb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-07T10:32:38Z","updated_at":"2016-10-07T10:32:38Z","closed_at":null,"body":"When pressing Ctrl+Space at the beginning of a list item line (`- some line`), this error occurs:\r\n\r\n```\r\n{\r\n    \"message\": \"Cannot read property 'top' of undefined\",\r\n    \"version\": \"1.7.0\",\r\n    \"platform\": \"win32\",\r\n    \"os\": \"10.0.14393\",\r\n    \"path\": \"C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Editor\\\\Editor.Menu.js\",\r\n    \"code\": \"(this._editor.scrollIntoView(),this._editor.view.reflow(),e=this._editor.view.toPoint(i)),t.top=e.top,t.left=e.left,\\\" \\\"!=this._editor.text.getChar(i-1)\",\r\n    \"line\": 5,\r\n    \"column\": 2376,\r\n    \"stack\": [\r\n        \"at List._showing ((C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Editor\\\\Editor.Menu.js:5:2376)\",\r\n        \"at List.trigger ((C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Events.js:5:725)\",\r\n        \"at List.show ((C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Editor\\\\Editor.Menu.js:5:1125)\",\r\n        \"at Object.exec ((C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Extension.Command.js:5:997)\",\r\n        \"at Object._onKeyDown ((C:\\\\Users\\\\Borek\\\\AppData\\\\Local\\\\Caret\\\\app-1.7.0\\\\resources\\\\app.asar\\\\web\\\\Extension.Command.js:5:1281)\"\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"borekb"}}