{"action":"created","issue":{"url":"https://api.github.com/repos/atom/vim-mode/issues/703","labels_url":"https://api.github.com/repos/atom/vim-mode/issues/703/labels{/name}","comments_url":"https://api.github.com/repos/atom/vim-mode/issues/703/comments","events_url":"https://api.github.com/repos/atom/vim-mode/issues/703/events","html_url":"https://github.com/atom/vim-mode/issues/703","id":88650822,"number":703,"title":"Uncaught TypeError: Cannot read property '0' of undefined","user":{"login":"NixusCN","id":4592706,"avatar_url":"https://avatars.githubusercontent.com/u/4592706?v=3","gravatar_id":"","url":"https://api.github.com/users/NixusCN","html_url":"https://github.com/NixusCN","followers_url":"https://api.github.com/users/NixusCN/followers","following_url":"https://api.github.com/users/NixusCN/following{/other_user}","gists_url":"https://api.github.com/users/NixusCN/gists{/gist_id}","starred_url":"https://api.github.com/users/NixusCN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NixusCN/subscriptions","organizations_url":"https://api.github.com/users/NixusCN/orgs","repos_url":"https://api.github.com/users/NixusCN/repos","events_url":"https://api.github.com/users/NixusCN/events{/privacy}","received_events_url":"https://api.github.com/users/NixusCN/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-16T08:00:25Z","updated_at":"2015-06-16T13:40:45Z","closed_at":null,"body":"[Enter steps to reproduce below:]\r\n\r\n1. ...\r\n2. ...\r\n\r\n**Atom Version**: 0.209.0\r\n**System**: Unknown Windows Version\r\n**Thrown From**: [vim-mode](https://github.com/atom/vim-mode) package, v0.53.0\r\n\r\n\r\n### Stack Trace\r\n\r\nUncaught TypeError: Cannot read property '0' of undefined\r\n\r\n```\r\nAt C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\node_modules\\text-buffer\\lib\\marker-store.js:204\r\n\r\nTypeError: Cannot read property '0' of undefined\r\n  at MarkerStore.module.exports.MarkerStore.restoreFromSnapshot (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\node_modules\\text-buffer\\lib\\marker-store.js:204:35)\r\n  at TextBuffer.module.exports.TextBuffer.undo (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\node_modules\\text-buffer\\lib\\text-buffer.js:715:33)\r\n  at TextEditor.module.exports.TextEditor.undo (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\src\\text-editor.js:1138:19)\r\n  at VimState.module.exports.VimState.undo (C:\\Users\\KJRS-Nixus\\.atom\\packages\\vim-mode\\lib\\vim-state.coffee:239:13)\r\n  at atom-text-editor.registerCommands.undo (C:\\Users\\KJRS-Nixus\\.atom\\packages\\vim-mode\\lib\\vim-state.coffee:71:23)\r\n  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\src\\command-registry.js:238:29)\r\n  at C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\src\\command-registry.js:3:61\r\n  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:520:16)\r\n  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\node_modules\\atom-keymap\\lib\\keymap-manager.js:355:22)\r\n  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\\Users\\KJRS-Nixus\\AppData\\Local\\atom\\app-0.209.0\\resources\\app.asar\\src\\window-event-handler.js:177:20)\r\n\r\n```\r\n\r\n### Commands\r\n\r\n```\r\n     -0:53.2.0 ex-mode:open (atom-text-editor.editor.vim-mode.is-focused.command-mode)\r\n     -0:53.2.0 blur (atom-text-editor.editor.vim-mode.is-focused.command-mode)\r\n     -0:52.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -0:52.7.0 blur (atom-text-editor.editor.mini.is-focused)\r\n     -0:49 ex-mode:open (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n     -0:48.9.0 blur (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n     -0:40.4.0 core:confirm (atom-text-editor.editor.mini.is-focused)\r\n  2x -0:40.3.0 blur (atom-text-editor.editor.mini.is-focused)\r\n     -0:36.6.0 vim-mode:undo (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n  2x -0:16.4.0 blur (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n  2x -0:11.9.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n 22x -0:11.4.0 vim-mode:move-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n  6x -0:09.8.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n  4x -0:08.6.0 blur (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n     -0:02.2.0 vim-mode:move-down (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n  2x -0:01.5.0 vim-mode:move-up (atom-text-editor.editor.vim-mode.command-mode.is-focused)\r\n```\r\n\r\n### Config\r\n\r\n```json\r\n{\r\n  \"core\": {\r\n    \"disabledPackages\": [\r\n      \"minimap\",\r\n      \"bracket-close-jump\",\r\n      \"autohide-tree-view\",\r\n      \"atom-beautify\",\r\n      \"jsformat\",\r\n      \"jumpy\",\r\n      \"atom-html-preview\",\r\n      \"atom-jshint\",\r\n      \"autoclose-html\",\r\n      \"color-picker\",\r\n      \"docblockr\",\r\n      \"jshint\",\r\n      \"language-smarty-php\",\r\n      \"linter\",\r\n      \"linter-jshint\",\r\n      \"react\",\r\n      \"react-snippets\",\r\n      \"tabularize\",\r\n      \"turbo-javascript\"\r\n    ],\r\n    \"themes\": [\r\n      \"seti-ui\",\r\n      \"one-dark-syntax\"\r\n    ]\r\n  },\r\n  \"vim-mode\": {\r\n    \"useSmartcaseForSearch\": true\r\n  }\r\n}\r\n```\r\n\r\n### Installed Packages\r\n\r\n```coffee\r\n# User\r\nex-mode, v0.5.1\r\nseti-ui, v0.7.1\r\nturbo-javascript, v1.1.3\r\nvim-mode, v0.53.0\r\n\r\n# Dev\r\nNo dev packages\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/atom/vim-mode/issues/comments/112433777","html_url":"https://github.com/atom/vim-mode/issues/703#issuecomment-112433777","issue_url":"https://api.github.com/repos/atom/vim-mode/issues/703","id":112433777,"user":{"login":"jazzpi","id":7340130,"avatar_url":"https://avatars.githubusercontent.com/u/7340130?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzpi","html_url":"https://github.com/jazzpi","followers_url":"https://api.github.com/users/jazzpi/followers","following_url":"https://api.github.com/users/jazzpi/following{/other_user}","gists_url":"https://api.github.com/users/jazzpi/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzpi/subscriptions","organizations_url":"https://api.github.com/users/jazzpi/orgs","repos_url":"https://api.github.com/users/jazzpi/repos","events_url":"https://api.github.com/users/jazzpi/events{/privacy}","received_events_url":"https://api.github.com/users/jazzpi/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T13:40:45Z","updated_at":"2015-06-16T13:40:45Z","body":"I just encountered the same error after undoing an ex-mode `:s` with `u`."}}