You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2023. It is now read-only.
Getting a crash in atom core when in a proto repl buffer with shift-enter bound to editor:newline-above. If I disable that key mapping, the repl evaluates the form properly.
Install proto-repl atom package
Add proto-repl to project.clj
Start a lein repl in a docker container exposing port 9999
In atom, connect to that remote nrepl (repl output in atom looks like all is well for that "Refresh complete")
Type (+ 7 5) below the repl dashed line and hit shift+enter
Atom: 1.30.0 x64 Electron: 2.0.5 OS: Linux Mint Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'end' of undefined
At /usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:982
TypeError: Cannot read property 'end' of undefined
at Selection.insertText (/usr/share/atom/resources/app/src/selection.js:504:60)
at result.mutateSelectedText.selection (/usr/share/atom/resources/app/src/text-editor.js:1382:37)
at getSelectionsOrderedByBufferPosition.map (/usr/share/atom/resources/app/src/text-editor.js:1430:92)
at Array.map (<anonymous>)
at transact (/usr/share/atom/resources/app/src/text-editor.js:1430:66)
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:975:24)
at TextEditor.transact (/usr/share/atom/resources/app/src/text-editor.js:2002:30)
at mergeIntersectingSelections (/usr/share/atom/resources/app/src/text-editor.js:1429:25)
at TextEditor.mergeSelections (/usr/share/atom/resources/app/src/text-editor.js:3419:26)
at TextEditor.mergeIntersectingSelections (/usr/share/atom/resources/app/src/text-editor.js:3390:42)
at TextEditor.mutateSelectedText (/usr/share/atom/resources/app/src/text-editor.js:1428:23)
at TextEditor.insertText (/usr/share/atom/resources/app/src/text-editor.js:1381:31)
at TextEditor.object.(anonymous function) [as insertText] (/usr/share/atom/resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:33)
at TextEditor.insertNewline (/usr/share/atom/resources/app/src/text-editor.js:1396:23)
at TextEditor.object.(anonymous function) [as insertNewline] (/usr/share/atom/resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:33)
at transact (/usr/share/atom/resources/app/src/text-editor.js:1830:18)
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:975:24)
at TextEditor.transact (/usr/share/atom/resources/app/src/text-editor.js:2002:30)
at TextEditor.insertNewlineAbove (/usr/share/atom/resources/app/src/text-editor.js:1823:16)
at TextEditor.editor:newline-above (/usr/share/atom/resources/app/src/register-default-commands.js:651:27)
at /usr/share/atom/resources/app/src/register-default-commands.js:705:40
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app/node_modules/text-buffer/lib/text-buffer.js:975:24)
at TextEditor.transact (/usr/share/atom/resources/app/src/text-editor.js:2002:30)
at HTMLElement.newCommandListeners.(anonymous function) (/usr/share/atom/resources/app/src/register-default-commands.js:704:28)
at CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:384:49)
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
at WindowEventHandler.handleDocumentKeyEvent (/usr/share/atom/resources/app/src/window-event-handler.js:110:40)
Getting a crash in atom core when in a proto repl buffer with
shift-enter
bound toeditor:newline-above
. If I disable that key mapping, the repl evaluates the form properly.(+ 7 5)
below the repl dashed line and hit shift+enterAtom: 1.30.0 x64
Electron: 2.0.5
OS: Linux Mint
Thrown From: Atom Core
Stack Trace
Uncaught TypeError: Cannot read property 'end' of undefined
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: