Ask Your Question

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

asked 2020-03-23 10:25:56 -0500

wpCurious's avatar

updated 2020-03-23 14:13:00 -0500


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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-23 14:15:20 -0500

No, unfortunately this isn't possible.

edit flag offensive delete link more


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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-03-23 10:25:56 -0500

Seen: 2,583 times

Last updated: Mar 23 '20