[Enter steps to reproduce below:]
- 'Editing a JavaScript file. See other file.
- Add the
{}
for the function value for keyprepare
- Press Enter while cursor inside
{}
(which was autocompleted) to expand{}
to new lines. - Error occurrs, when trying to expand
{}
.
I notice now that I cannot reproduce after I reload and/or after I paste the contents over the text editor.
Atom Version: 0.201.0 System: Microsoft Windows 8.1 Thrown From: Atom Core
Uncaught TypeError: Cannot read property 'isComment' of undefined
At C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:683
TypeError: Cannot read property 'isComment' of undefined
at TokenizedBuffer.module.exports.TokenizedBuffer.isFoldableCodeAtRow (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\tokenized-buffer.js:424:71)
at TokenizedBuffer.module.exports.TokenizedBuffer.isFoldableAtRow (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\tokenized-buffer.js:419:19)
at TokenizedBuffer.module.exports.TokenizedBuffer.updateFoldableStatus (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\tokenized-buffer.js:407:25)
at TokenizedBuffer.module.exports.TokenizedBuffer.handleBufferChange (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\tokenized-buffer.js:372:20)
at C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\tokenized-buffer.js:57:24
at Emitter.module.exports.Emitter.emit (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:82:11)
at TextBuffer.module.exports.TextBuffer.applyChange (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:556:20)
at TextBuffer.module.exports.TextBuffer.revertToCheckpoint (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:717:16)
at TextBuffer.module.exports.TextBuffer.transact (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:681:14)
at TextEditor.module.exports.TextEditor.transact (C:\Users\Glavin\AppData\Local\atom\app-0.201.0\resources\app.asar\src\text-editor.js:1132:26)
-2:28.6.0 core:move-right (atom-text-editor.editor.is-focused)
-2:28.3.0 editor:newline (atom-text-editor.editor.is-focused)
-2:27.7.0 core:move-up (atom-text-editor.editor.is-focused)
2x -2:25 core:move-down (atom-text-editor.editor.is-focused)
2x -2:22.2.0 editor:newline (atom-text-editor.editor.is-focused)
4x -2:18.1.0 core:backspace (atom-text-editor.editor.is-focused)
-2:12.9.0 editor:newline (atom-text-editor.editor.is-focused)
-0:57.4.0 command-palette:toggle (atom-text-editor.editor.is-focused)
-0:55.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:55.8.0 pane:split-up (atom-text-editor.editor)
-0:34 core:copy (atom-text-editor.editor.is-focused)
-0:32.2.0 core:paste (atom-text-editor.editor.is-focused)
-0:28.7.0 core:copy (atom-text-editor.editor.is-focused)
-0:26.9.0 core:paste (atom-text-editor.editor.is-focused)
-0:15.4.0 core:copy (atom-text-editor.editor.is-focused)
2x -0:09.1.0 editor:newline (atom-text-editor.editor.is-focused)
{
"core": {
"disabledPackages": [
"autocomplete-plus"
]
},
"editor": {
"invisibles": {}
}
}
# User
No installed packages
# Dev
No dev packages