atom-sonic icon indicating copy to clipboard operation
atom-sonic copied to clipboard

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

Open boxer32 opened this issue 7 years ago • 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.24.0 x64 Electron: 1.6.16 OS: Mac OS X 10.13.3 Thrown From: atom-sonic package 0.3.2

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

At /Users/Apple/.atom/packages/atom-sonic/lib/atom-sonic.coffee:21

TypeError: Cannot read property 'getSelectedText' of undefined
    at Object.play (/packages/atom-sonic/lib/atom-sonic.coffee:21:21)
    at /packages/atom-sonic/lib/atom-sonic.coffee:13:40)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:388:36)
    at Object.didConfirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/lib/command-palette-view.js:165:35)
    at SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:401:26)
    at SelectListView.didClickItem (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:287:16)
    at ListItemView.onclick (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:222:37)
    at ListItemView.didClick (/Applications/Atom.app/Contents/Resources/app/node_modules/command-palette/node_modules/atom-select-list/src/select-list-view.js:449:16)

Commands

  6x -9:17.7.0 core:backspace (input.hidden-input)
     -0:31.2.0 command-palette:toggle (atom-pane.pane.active)
     -0:24.2.0 atom-sonic:play-selection (atom-pane.pane.active)

Non-Core Packages

atom-sonic 0.3.2 
language-chuck 1.0.1 

boxer32 avatar Feb 14 '18 13:02 boxer32