hmatsuda / select-rectangle Goto Github PK
View Code? Open in Web Editor NEWSelect rectangle region on atom editor.
Home Page: https://atom.io/packages/select-rectangle
License: MIT License
Select rectangle region on atom editor.
Home Page: https://atom.io/packages/select-rectangle
License: MIT License
Keybindings on Mac due not work as expected. Does not highlight.
[Enter steps to reproduce:]
Atom: 1.18.0 x64
Electron: 1.3.15
OS: Mac OS X 10.8.5
Thrown From: select-rectangle package 1.0.2
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)
-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)
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
Hi,
I've long wanted something like this for atom. My only grievance is about the current selection of shortcuts. The problem is twofolds:
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).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.