Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: Cannot read property 'getActiveTextEditor' of undefined #1

Open
dmohs opened this issue Apr 6, 2018 · 0 comments

Comments

@dmohs
Copy link

dmohs commented Apr 6, 2018

  1. copy some text
  2. paste using Command-v (normal paste, not selected paste)

Atom: 1.26.0-beta0 x64
Electron: 1.7.11
OS: Mac OS X 10.12.6
Thrown From: select-pasted package 1.0.0

Stack Trace

Uncaught TypeError: Cannot read property 'getActiveTextEditor' of undefined

At /Users/dmohs/.atom/packages/select-pasted/lib/select-pasted.coffee:25

TypeError: Cannot read property 'getActiveTextEditor' of undefined
    at /packages/select-pasted/lib/select-pasted.coffee:25:40
    at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at CommandRegistry.handleCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/command-registry.js:360:24)
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:621:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom Beta.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:412:28)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom Beta.app/Contents/Resources/app/src/window-event-handler.js:110:40)

Commands

  4x -0:34.7.0 core:select-down (input.hidden-input)
     -0:33.6.0 core:cut (input.hidden-input)
  2x -0:32.9.0 core:move-up (input.hidden-input)
     -0:31.4.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:30.4.0 intentions:highlight (input.hidden-input)
  6x -0:30.4.0 editor:move-to-beginning-of-word (input.hidden-input)
     -0:28.7.0 core:move-left (input.hidden-input)
     -0:20.5.0 core:delete (input.hidden-input)
     -0:20 core:move-to-bottom (input.hidden-input)
     -0:19.3.0 core:move-up (input.hidden-input)
     -0:18.5.0 editor:move-to-end-of-screen-line (input.hidden-input)
  2x -0:16.5.0 core:move-up (input.hidden-input)
     -0:16 editor:move-to-first-character-of-line (input.hidden-input)
  2x -0:15.8.0 core:select-down (input.hidden-input)
     -0:15.4.0 core:delete (input.hidden-input)
     -0:14.8.0 core:paste (input.hidden-input)

Non-Core Packages

atom-typescript 11.0.10 
busy-signal 1.4.3 
intentions 1.1.5 
language-gradle 0.0.5 
language-scala 1.1.9 
linter 2.2.0 
linter-ui-default 1.6.10 
lisp-paredit 0.6.0 
select-pasted 1.0.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant