First time here? Check out the FAQ!

Is there a way to copy and paste color-coded source?


If I'm sending an email with Python source from a Wing project ; or copying and pasting some of the code into Documentation - is there a way to paste the syntax highlighting & coloring?

In other words, if I copy and paste code from the IDE now, it will past as text. I'd like to paste it the way it appears, in the Wing IDE.

Is that possible?

wpCurious's avatar
asked 2020-03-23 10:25:56 -0500
Wingware Support's avatar
Wingware Support
updated 2020-03-23 14:13:00 -0500
edit flag offensive 0 remove flag close merge delete


add a comment see more comments

1 Answer


No, unfortunately this isn't possible.

Wingware Support's avatar
Wingware Support
answered 2020-03-23 14:15:20 -0500
edit flag offensive 0 remove flag delete link


Ok. Image Capture, it is.

Tangentially related, there's a Sql Formatter called SqlInForm. It has an option to format, then Copy and Paste Color-highlighted Sql into an email or Word document.

Maybe there's some way to do this with Python Code, programmatically. I'll think about it, a bit.

wpCurious's avatar wpCurious (2020-03-23 19:09:36 -0500) edit

We use Pygments to get Python syntax highlighting in the documentation. Maybe that will help.

Wingware Support's avatar Wingware Support (2020-03-23 20:19:22 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer