Issues with multiple cursors
See original GitHub issueWhile 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:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Yeah, I noticed that too. I will look into it.
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?