Home » Developer & Programmer » Forms » Copy & Paste sql code into Word Doc keeping code's colors (Forms 6i)
Copy & Paste sql code into Word Doc keeping code's colors [message #428014] Mon, 26 October 2009 17:34 Go to next message
pmacklin
Messages: 1
Registered: October 2009
Junior Member
I am using an IDE (integrated development environment) with forms 6i. I would like to copy the code from the Forms pl/sql editor into a word doc (or Word pad or whatever)and keep the code's colors. I have tried everything. Any suggestions?
Re: Copy & Paste sql code into Word Doc keeping code's colors [message #428063 is a reply to message #428014] Tue, 27 October 2009 01:10 Go to previous messageGo to next message
Littlefoot
Messages: 20824
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
It is the editor that recognizes certain keywords and paints them to certain colors.

I *know* that code copied from TOAD remains its colors when copy-pasted to MS Word. On the other hand, code copied from Forms editor doesn't. I really wouldn't know why is that so (i.e. what difference does TOAD make from Forms in that matter).
Re: Copy & Paste sql code into Word Doc keeping code's colors [message #428119 is a reply to message #428014] Tue, 27 October 2009 05:31 Go to previous messageGo to next message
cookiemonster
Messages: 12320
Registered: September 2008
Location: Rainy Manchester
Senior Member
I think the bottom line here is that you can't.
However forms does its formatting windows copy doesn't recognize it. When I copy stuff from forms it doesn't even keep the font never mind the colour coding, so I guess it's copying it as plain ascii text.
Re: Copy & Paste sql code into Word Doc keeping code's colors [message #428196 is a reply to message #428119] Tue, 27 October 2009 08:08 Go to previous message
Littlefoot
Messages: 20824
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Though, you can always paste a colorful screenshot ./fa/1693/0/
Previous Topic: return data back to calling form from called form
Next Topic: error in calling pll library
Goto Forum:
  


Current Time: Sun Sep 25 09:28:32 CDT 2016

Total time taken to generate the page: 0.05414 seconds