Skip to content

Uncaught TypeError: Cannot read property 'getSelectedBufferRanges' of undefined #7

@saspol

Description

@saspol

[Enter steps to reproduce:]

  1. install
  2. try to select with alt-s

Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.8.5
Thrown From: select-rectangle package 1.0.2

Stack Trace

Uncaught TypeError: Cannot read property 'getSelectedBufferRanges' of undefined

At /Users/mitry/.atom/packages/select-rectangle/lib/select-rectangle-view.coffee:18

TypeError: Cannot read property 'getSelectedBufferRanges' of undefined
    at SelectRectangleView.module.exports.SelectRectangleView.select (/packages/select-rectangle/lib/select-rectangle-view.coffee:18:14)
    at /packages/select-rectangle/lib/select-rectangle.coffee:7:36)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:265:35)
    at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:65
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:610:22)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:401:28)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:100:42)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:3:65)

Commands

     -0:28.5.0 core:paste (input.hidden-input)
  2x -0:23.6.0 intentions:highlight (input.hidden-input)
     -0:22.2.0 select-rectangle:select (input.hidden-input)
     -0:20.6.0 intentions:highlight (input.hidden-input)
 46x -0:20.4.0 select-rectangle:select (input.hidden-input)
     -0:16.7.0 intentions:highlight (input.hidden-input)
undefined -0:16.5.0 select-rectangle:select (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.4 
autocomplete-clang 0.11.3 
build 0.68.0 
busy 0.7.0 
file-icons 2.1.9 
intentions 1.1.2 
language-ini 1.19.0 
language-lua 0.9.11 
linter 2.2.0 
linter-gcc 0.7.1 
linter-ui-default 1.6.3 
minimap 4.29.0 
platformio-ide 2.0.0-beta.7 
platformio-ide-debugger 1.2.3 
platformio-ide-terminal 2.5.3 
select-rectangle 1.0.2 
tool-bar 1.1.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions