mm-- / ace-mc Goto Github PK
View Code? Open in Web Editor NEWAdd Multiple Cursors using Ace Jump
Add Multiple Cursors using Ace Jump
Terrific idea, combining ace-jump-mode with multiple-cursors.
Just curious if you're planning to support avy as well since it's basically a better ace-jump-mode and under active development. It seems most people are switching or have switched to avy.
so I've been using ace jump for a bit now and I'm often frustrated because I can't use the quick change like the original ace-mode (C-c C-c to quickly change from char-mode to word-mode and vice-versa) so I have to quit out and make the correct shortcut?
good job otherwise tho.
Steps to reproduce -
za
ace-mc-add-multiple-cursors
z
Expected result -
A cursor is added at z
Actual result -
The command fails with
progn: Variable binding depth exceeds max-specpdl-size
It seems the infinite loop happens because ace-mc-add-char
calls function pointed by ace-mc-ace-mode-function
(which is bound to ace-jump-word-mode
), ace-jump-word-mode
in turn calls ace-jump-do
which runs the ace-jump-mode-end-hook
. In case of ace-mc
, the function ace-mc-maybe-jump-end
is executed as a part of the hook which calls ace-mc-add-char
again leading to the infinite loop.
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.