Re: copy/paste from VS looks bad

From: Dan (danielbass)
Date: 09/10/04


Date: Fri, 10 Sep 2004 16:21:39 +0100

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" <rachel@bldhound.com> wrote in message
news:%23FQY8b0lEHA.2820@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
>
>



Relevant Pages

  • Re: copy and paste puts in double space
    ... Pasting using puretext gives the same effect as using plain text. ... Notepad to your destination. ... the web site and read that puretext will remove rich formatting, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: OT: Choice of OOo and LaTeX (Was: Tool for document management)
    ... main concerns is that the typesetting languages are languages. ... they're robust but I have always seen their use tied to another editor. ... I have seen many publishers take submissions in Word, plain text or printed ... noting that will cause formatting ...
    (Debian-User)
  • Re: copy/paste from VS looks bad
    ... doing (copying from the code opened in another editor) and would save things ... > text will result in problems if the text formatting rules don't line up. ... >> if I'm in an editor that's supposed to be doing plain text, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Mail, paragraph formatting
    ... The first loses formatting that I do ... The simple solution of using plain text is best. ... escape spam filters because their messages would have to b simple and ... HTML email is wasteful, dangerous, and rude, IMO. ...
    (comp.sys.mac.apps)
  • Re: Apple hiring $MS programmers?
    ... document with fonts and styles as plain text, ... formatting. ... I can see the sense in that, so if you open an rtf it should save as ... It's really a word processor not a text editor. ...
    (comp.sys.mac.system)