Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle multiple cursors? #10

Open
oakmac opened this issue Nov 8, 2015 · 1 comment
Open

How to handle multiple cursors? #10

oakmac opened this issue Nov 8, 2015 · 1 comment

Comments

@oakmac
Copy link
Owner

oakmac commented Nov 8, 2015

Need to spend some HammockTime thinking about how to deal with multiple cursors.

Easy solution would be to just not run parinfer when there are multiple cursors. Another idea would be to keep track of all the parent expressions effected by the multiple cursors and run parinfer on those individually.

@J-qak
Copy link

J-qak commented Mar 4, 2016

In my opition, multiple cursors should be handled individually, as if user would manually type on each cursor. It should be handled by order from top to bottom, as they appear in atom.workspace.getActiveTextEditor().getCursorsOrderedByBufferPosition()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants