copy/paste from VS looks bad

R

Rachel Suddeth

This may not be the right forum, but it's a problem I chiefly come across
when trying to post here.

When I do a copy/paste from VS, the text always looks really weird (and even
if I'm in an editor that's supposed to be doing plain text, it looks like
it's in a different font -- and of course you can't change the font in a
plain text editor.) Then when it gets converted to actual plain text, there
is a blank line stuck in between every line of code that I just pasted.

Anyone know why this happens or how to get around this? (I've been trying to
remember to open in an ordinary editor to do copy/paste, but that's kind of
a hassle when I usually already have the file open in VS.) Maybe there's
some setting in VS that could affect this? Make it only copy the text, not
the goofey formatting?

-Rachel
______________________________________________________________
Roydan Enterprises Ltd
602 North 9th Street
Manitowoc, WI 54220-3924
 
D

Dan

Rachel,

VS has formatting techniques for colour coding your code, indentation, font
size etc...

So copying and pasting into another text applicaition that's not just plain
text will result in problems if the text formatting rules don't line up.

The work around is to keep a shortcut to Notepad handy, and:
- do a copy ( CTRL-C ) of the VS code ,
- then go to a new instance of notepad and perform a paste ( CTRL-V ),
- then select all the text in notepad ( CTRL-A ),
- copy that ( CTRL-C )
- then paste into ( CTRL-V ) your new application.

This will only copy and paste the text, and not the formatting.
 
R

Rachel Suddeth

Thanks for the explanation. That might be slightly easier than what I was
doing (copying from the code opened in another editor) and would save things
like collapsed regions at least.

Also, seems like if I could get a new reader that would give me a true
text-only interface, I wouldn't have to worry about it at all. Any
recommendations for that?

Thanks,
Rachel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top