question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with multiple cursors

See original GitHub issue

While working on #110, I ran into the following situation:

When using the private _getEditorAndPosition() method, the resulting position can be an array with multiple cursor positions. Thus far, for some reason, this hasn’t really caused issues, because I’ve only tested with simple examples (ie, indenting multiple lines with the same indentation, etc.). I thought Atom magically fixed things with multiple cursors, but apparently that ‘success’ was a bit of a fluke. If you try the emphasis commands on multiple selections, only one of the selections is used and is substituted for the rest. I hope simply cycling through the positions array will solve this issue, but since something is already executing things for each selection this might be a tad more complicated.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
burodepepercommented, Jul 17, 2017

Yeah, I noticed that too. I will look into it.

1reaction
burodepepercommented, Jul 14, 2017

Good news, I fixed the multi-cursor issues. The new version should be available right now.

I also looked into the added asterisk, but couldn’t replicate the issue. Could you update to the latest versions of Atom and language-markdown, and check if the problems persists?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple Issues (Cursor) SOLUTION THAT WORKED FOR ME.
My situation doesn't seem to fit into the previous Cursor Issue questions because more than one thing is happening at the same time....
Read more >
Fix Annoying Double Cursor on Windows 10 - YouTube
Ever had two cursors suddenly appear on your screen? Annoying right? Today we use a simple trick to get rid of it once...
Read more >
Multiple cursors (again) · Issue #7257 · neovim ... - GitHub
There are some definite problems with "virtual cursors" like in vim-multiple-cursors. Is not that easy. It also requires multiple buffers, ...
Read more >
Fix the error where you end up with two cursors ... - Sublime Text
Highlight some text or cursor over a word that appears multiple times in a document, then press Ctrl-D repeatedly (or Alt-F3 once). Now...
Read more >
Multiple Cursors (#253) · Issues - gnome-text-editor - GitLab
It makes many repetitive editing tasks so much easier and once you get used to multiple cursors you start to miss them in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found