Skip to content

Fixed selection bug and added source mark to copy lines#384

Merged
AndreasArvidsson merged 4 commits intomainfrom
copyLines
Dec 12, 2021
Merged

Fixed selection bug and added source mark to copy lines#384
AndreasArvidsson merged 4 commits intomainfrom
copyLines

Conversation

@AndreasArvidsson
Copy link
Copy Markdown
Member

  • Since is replaced was false empty selections at the end was incorrectly moved
  • Added source mark

Copy link
Copy Markdown
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with some minor comments. Worth adding a test for "clone up" / "clone down" with cursor at start of line, because I believe there's a bug in "clone up" with cursor at start of line

Comment thread src/actions/CopyLines.ts Outdated
Comment thread src/test/suite/fixtures/recorded/actions/clearSource.yml Outdated
Comment thread src/test/suite/fixtures/recorded/actions/clearSource2.yml Outdated
Comment thread src/test/suite/fixtures/recorded/actions/clearThat.yml Outdated
Comment thread src/test/suite/fixtures/recorded/actions/clearThat2.yml Outdated
Comment thread src/test/suite/fixtures/recorded/actions/cloneUpVest2.yml Outdated
Comment thread src/test/suite/fixtures/recorded/actions/cloneVest2.yml Outdated
@AndreasArvidsson AndreasArvidsson added this to the 0.24.0 milestone Dec 12, 2021
@AndreasArvidsson AndreasArvidsson merged commit 9df55b6 into main Dec 12, 2021
@AndreasArvidsson AndreasArvidsson deleted the copyLines branch December 12, 2021 14:04
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

Successfully merging this pull request may close these issues.

2 participants