Closed bethrice44 closed 7 years ago
I get the same error whenever I invoke core:move-up in the console and there is no more command earlier in the history.
Atom: 1.15.0 x64 Electron: 1.3.13 OS: Ubuntu 16.04.2 Thrown From: ink package 0.6.5
Uncaught TypeError: Cannot read property 'startsWith' of undefined
At /home/tim/.atom/packages/ink/lib/console/history.coffee:26
TypeError: Cannot read property 'startsWith' of undefined
at HistoryProvider.module.exports.HistoryProvider.matchesPrefix (/packages/ink/lib/console/history.coffee:26:22)
at HistoryProvider.module.exports.HistoryProvider.getPrevious (/packages/ink/lib/console/history.coffee:32:35)
at Console.moveHistory (/packages/ink/lib/console/console.js:378:20)
at Console.previous (/packages/ink/lib/console/console.js:388:21)
at Console.keyUp (/packages/ink/lib/console/console.js:397:14)
at /packages/ink/lib/console/console.js:44:62)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
at /app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
at /app.asar/src/window-event-handler.js:3:59)
-1:23.5.0 editor:newline (input.hidden-input)
-1:23.1.0 core:paste (input.hidden-input)
-1:21.9.0 core:save (input.hidden-input)
2x -1:19.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
-1:17.9.0 console:evaluate (input.hidden-input)
2x -1:17.9.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
-1:12.6.0 core:backspace (input.hidden-input)
-1:11.9.0 console:evaluate (input.hidden-input)
-1:11.9.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused.autocomplete-active)
8x -1:11 core:backspace (input.hidden-input)
-1:07.9.0 console:evaluate (input.hidden-input)
-1:07.8.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
4x -1:06.2.0 core:move-up (input.hidden-input)
-1:05.1.0 core:move-down (input.hidden-input)
-1:01.1.0 core:move-up (input.hidden-input)
2x -0:57.5.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
advanced-open-file 0.16.6
disable-keybindings 0.6.0
emacs-plus 0.11.1
ink 0.6.5
julia-client 0.5.12
language-julia 0.11.0
latex-completions 0.3.2
tool-bar 1.1.0
uber-juno 0.1.1
[Enter steps to reproduce below:]
Atom Version: 1.12.7 Electron Version: 1.3.13 System: Mac OS X 10.11.3 Thrown From: ink package, v0.6.1
Stack Trace
Uncaught TypeError: Cannot read property 'startsWith' of undefined
Commands
Config
Installed Packages