Giter Club home page Giter Club logo

select-rectangle's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dragere

select-rectangle's Issues

Uncaught TypeError: Cannot read property 'getSelectedBufferRanges' of undefined

[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 

Awesome package

Hi,
I've long wanted something like this for atom. My only grievance is about the current selection of shortcuts. The problem is twofolds:

  • they are too many
  • they are not "standard"

IMHO there should be the need for a single shortcutl; the one for the "select" command. My preference would be to bind it to the 'alt' command so to emulate TextMate behaviour, but current atom handling of keymaps make it work weirdly.

It seems to me that all other use cases can be obtained through standard commands (copy, cut, paste, text insertion) after selecting.

It would be even more awesome if repeating the select command would go back to the initial selection (again, this is what TextMate does).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.