AsaAyers / code-links

MIT License
16 stars 8 forks source link

ctrl-clicking adds a cursor #5

Closed mark-hahn closed 9 years ago

mark-hahn commented 9 years ago

Ctrl-clicking on a link adds a cursor to the document. Maybe just stopping propagation would be enough to fix this?

AsaAyers commented 9 years ago

I tried e.preventDefault(); and e.stopPropagation();. They don't seem to fix it. I picked the keyboard shortcut before I knew Atom did that. I am looking for a way to prevent it.

mark-hahn commented 9 years ago

You might switch to alt or alt-click. There are vertical selection packages that use alt-click but I don't know how many users there are.

On Wed, Mar 4, 2015 at 5:58 PM, Asa Ayers notifications@github.com wrote:

I tried e.preventDefault(); and e.stopPropagation();. They don't seem to fix it. I picked the keyboard shortcut before I knew Atom did that. I am looking for a way to prevent it.

— Reply to this email directly or view it on GitHub https://github.com/AsaAyers/code-links/issues/5#issuecomment-77291746.

AsaAyers commented 9 years ago

There are problems no matter what I do.

It is in the preferences so you can change it.

AsaAyers commented 9 years ago

This is fixed in https://github.com/AsaAyers/code-links/commit/fa7bf29ff15b822e4e41a1057b7bbe07782cea49