Re: What happened to the option to not copy coloring and styling from the editor?
Re: What happened to the option to not copy coloring and styling from the editor?
- Subject: Re: What happened to the option to not copy coloring and styling from the editor?
- From: Andy Lee <email@hidden>
- Date: Thu, 31 Jan 2013 17:01:27 -0800
On Jan 31, 2013, at 4:35 PM, Jens Alfke < email@hidden> wrote: On Jan 31, 2013, at 4:14 PM, Gavin Stokes < email@hidden> wrote: Am I imagining that this used to exist? I'm trying to exchange code snippets with a dev partner over Messages, and it's invisible because Xcode is copying all of the highlighting colors. I can’t remember whether it used to exist or not.
The Paste and Match Style command is your friend, though (Cmd-Shift-Opt V). It pastes as plain text without applying any formatting from the pasteboard. It’s available in most apps.
It's even handy in Xcode sometimes. When I'm cutting and pasting a section of code that includes commented-out lines, Xcode "fixes" the indentation of those lines. Paste and Match Style stops it from doing that.
I've been wanting to complain about that but I'm not sure what the solution is. Maybe when pasting, if Xcode sees any lines that begin with "//" (and no leading whitespace) it should always paste them as-is?
--Andy
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden