Atom: 1.14.4 ia32
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: pretty-json package 1.6.1
Stack Trace
Uncaught TypeError: Cannot read property 'getLastSelection' of undefined
At C:\Users\侯春鑫\.atom\packages\pretty-json\index.coffee:106
TypeError: Cannot read property 'getLastSelection' of undefined
at Object.prettify (/packages/pretty-json/index.coffee:106:19)
at /packages/pretty-json/index.coffee:146:10)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
at /app.asar/src/command-registry.js:3:59
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/app.asar/node_modules/command-palette/lib/command-palette-view.js:210:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at /app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
at HTMLOListElement.dispatch (/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLOListElement.elemData.handle (/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
[Enter steps to reproduce:]
Atom: 1.14.4 ia32 Electron: 1.3.13 OS: Unknown Windows version Thrown From: pretty-json package 1.6.1
Stack Trace
Uncaught TypeError: Cannot read property 'getLastSelection' of undefined
Commands
Non-Core Packages