473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

copy/paste from VS looks bad

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
Nov 16 '05 #1
3 2358
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.

"Rachel Suddeth" <ra****@bldhound.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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

Nov 16 '05 #2
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.

"Rachel Suddeth" <ra****@bldhound.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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

Nov 16 '05 #3
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

"Dan" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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.

"Rachel Suddeth" <ra****@bldhound.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
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


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stephen Russell | last post by:
I am getting frustrated! I have huge strings in making segments for a SP in SQL Server. Everything looks good but I want to copy and then past into ISQL as a test. this is my error: Line 1:...
4
by: Legendary Pansy | last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting...
0
by: Rachel Suddeth | last post by:
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...
2
by: Keith | last post by:
I'm trying to come up with a way to create a contextmenu that will do all the "standard" functions (cut, copy, paste, undo, etc). There seems to be a lot of information out there - but nothing...
7
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
5
by: Kaur | last post by:
Hi, I have been successful copying a vba code from one of your posts on how to copy and paste a record by declaring the desired fields that needs to be copied in form's declaration and creating two...
6
by: Ben R. | last post by:
Hi, I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as expected in controls like textboxes. I've got a menustrip, and if I click the link "Add standard items" which...
0
by: Tom | last post by:
When I use ctrl-c to copy and ctrl-v to paste from a RichTextBox into NotePad ... I get nice ASCII text with the proper returns. Everything looks good. When I paste into WordPad ... I get the...
5
by: phill86 | last post by:
Hi I have a main form that holds records for scheduled meetings, date time location etc... in that form i have a sub form that has a list of equipment resources that you can assign to the meeting in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.