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: editor.getLastSelection is not a function #4

Open
HozSensei opened this issue May 30, 2017 · 0 comments
Open

Uncaught TypeError: editor.getLastSelection is not a function #4

HozSensei opened this issue May 30, 2017 · 0 comments

Comments

@HozSensei
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.17.2 x64
Electron: 1.3.15
OS: Mac OS X 10.12.5
Thrown From: html-include-resource package 1.3.0

Stack Trace

Uncaught TypeError: editor.getLastSelection is not a function

At /Users/manon/.atom/packages/html-include-resource/lib/html-include-resource.coffee:13

TypeError: editor.getLastSelection is not a function
    at Object.include (/packages/html-include-resource/lib/html-include-resource.coffee:13:24)
    at /packages/html-include-resource/lib/html-include-resource.coffee:8:78)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:1)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:1)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:166:1)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchContextMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1306:1)
    at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:347:1)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

  4x -9:59.3.0 core:backspace (input.hidden-input)
     -9:58.2.0 core:confirm (input.hidden-input)
  4x -9:12.9.0 core:backspace (input.hidden-input)
     -9:11.5.0 core:confirm (input.hidden-input)
     -7:16.3.0 core:paste (input.hidden-input)
  4x -7:15.4.0 core:confirm (input.hidden-input)
     -2:36 core:delete (input.hidden-input)
     -2:34.1.0 core:backspace (input.hidden-input)
     -2:32.9.0 core:confirm (input.hidden-input)
     -2:28.6.0 core:backspace (input.hidden-input)
     -2:28.4.0 core:confirm (input.hidden-input)
     -2:04.3.0 html-include-resource:include (span.name.icon.icon-file-text)
     -1:35 core:copy (atom-notification.fatal.icon.icon-bug.native-key-bindings.has-detail.has-close.has-stack)

Non-Core Packages

autocomplete-paths 1.0.5 
emmet 2.4.3 
html-include-resource 1.3.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