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

Fix Multicuror Multiline Paste #503

Merged
merged 2 commits into from
Nov 18, 2022
Merged

Fix Multicuror Multiline Paste #503

merged 2 commits into from
Nov 18, 2022

Conversation

pjkaufman
Copy link
Collaborator

Fixes #480

Change Made:

  • Made sure to account for the scenario where there are multiple cursors by going ahead and breaking the clipboard text into multiple different paste values if it has a line count that is an exact multiple of the amount of cursors, otherwise it just pastes the same text to all of the multiple cursors
  • Added documentation around this limitation

There is a possible issue where you copy the same amount of lines that you would like to have it pasted as (i.e. copy two lines then enter multicursor mode and want to paste it in 2 places, but I am not sure how I would know that on my end).

@pjkaufman pjkaufman added bug Something isn't working obsidian Obsidian specific syntax issue or feature labels Nov 18, 2022
@pjkaufman pjkaufman self-assigned this Nov 18, 2022
@pjkaufman pjkaufman merged commit 68b5799 into platers:master Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working obsidian Obsidian specific syntax issue or feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Breaking multicursor-multiline cut and paste
1 participant