473,397 Members | 1,950 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,397 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 2359
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.