atom-turbo-javascript icon indicating copy to clipboard operation
atom-turbo-javascript copied to clipboard

Uncaught TypeError: Cannot read property 'getSelectedBufferRanges' of undefined

Open UnderNotic opened this issue 10 years ago • 0 comments

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.7 System: Microsoft Windows 8.1 Pro Thrown From: turbo-javascript package, v1.1.3

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedBufferRanges' of undefined

At C:\Users\UnderNotic\.atom\packages\turbo-javascript\lib\turbo-javascript.coffee:33

TypeError: Cannot read property 'getSelectedBufferRanges' of undefined
  at Object.module.exports.wrapBlock (C:\Users\UnderNotic\.atom\packages\turbo-javascript\lib\turbo-javascript.coffee:33:26)
  at atom-text-editor.atom.commands.add.turbo-javascript:wrap-block (C:\Users\UnderNotic\.atom\packages\turbo-javascript\lib\turbo-javascript.coffee:15:42)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\UnderNotic\AppData\Local\atom\app-1.0.7\resources\app.asar\src\command-registry.js:241:29)
  at C:\Users\UnderNotic\AppData\Local\atom\app-1.0.7\resources\app.asar\src\command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (C:\Users\UnderNotic\AppData\Local\atom\app-1.0.7\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:524:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (C:\Users\UnderNotic\AppData\Local\atom\app-1.0.7\resources\app.asar\node_modules\atom-keymap\lib\keymap-manager.js:347:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (C:\Users\UnderNotic\AppData\Local\atom\app-1.0.7\resources\app.asar\src\window-event-handler.js:177:20)

Commands

     -0:12.6.0 command-palette:toggle (summary.welcome-summary.icon.icon-keyboard)
     -0:10.6.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:09.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:09.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:08.9.0 command-palette:toggle (summary.welcome-summary.icon.icon-keyboard)
 12x -0:08.2.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:06.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:06.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:06.2.0 fuzzy-finder:toggle-buffer-finder (summary.welcome-summary.icon.icon-keyboard)
     -0:05.7.0 turbo-javascript:wrap-block (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:03.1.0 fuzzy-finder:toggle-buffer-finder (summary.welcome-summary.icon.icon-keyboard)
  2x -0:02.6.0 turbo-javascript:wrap-block (atom-text-editor.editor.mini.is-focused)
     -0:00.4.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:00.4.0 core:cancel (atom-text-editor.editor.mini.is-focused)

Config

{}

Installed Packages

# User
turbo-javascript, v1.1.3

# Dev
No dev packages

UnderNotic avatar Aug 17 '15 18:08 UnderNotic