Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 554859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T11:45:17+00:00 2026-05-13T11:45:17+00:00

Maybe a strange question, but is there a way to do a copy while

  • 0

Maybe a strange question, but is there a way to do a copy while paste? eg.

you have a mapper where you want to switch mapping direction:

object1.MyProperty = object2.HisProperty;

to

object2.HisProperty = object1.MyProperty;

I know you can to this with som regex gymnastics in an external editor, but if you do this with regular copy paste it will look like this after the first cut-paste:

object2.HisPropertyobject1.MyProperty = ;

And then you have to select the object1.MyProperty and cut-paste it over to the right side.

What I would like is a function that copy/cuts the text I’m replacing during paste.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T11:45:17+00:00Added an answer on May 13, 2026 at 11:45 am

    You can’t do that directly with a single keypress ‘out of the box’.

    There are three commands that transpose characters, words, and lines – but these wouldn’t help you in your particualr example. (though you could hit return in the middle of the line, transpose lines, and hit delete to join them back together, it wouldn’t be any easier than copy & paste)

    However, it’s pretty easy with:
    Cut part A.
    Move to the end of B and paste
    Cut B
    Move to the beginning and paste.

    Or, if you use the clipboard ring:
    Cut part A
    Cut part B
    Paste part B
    Paste with ctrl+shift+V twice to paste A

    And, if you think you’ll ever need to do that operation again, it would take about 1 minute to write a Macro to do what you want, and assign it to a keypress so you could achieve it with a single keypress every time. VS Macros are extremely powerful, and I’d highly recommend you at least learn how to record and play back a temporary macro, as it is a massive timesaver when you want to repeat an action more than 2 or 3 times.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.