Page 1 of 1

Make MS Word show color of Java Code as in Textpad.

Posted: Sat Jun 21, 2003 2:28 am
by akchaitanya
I know that certain keywords in the programming language are typed in color automatically when writing a .java, .cpp, etc. files in textpad. But is there any procedure to have a report containing my source code that looks the same way as it looks in textpad. One way of doing it as far as i know is to screen capture and put it, but can anyone think of any other solution easier than this. If so, please help me out, thank you.

Posted: Sat Jun 21, 2003 11:31 am
by MudGuard
For HTML there is Htm2Disp in the Add-ons Utility section...

Don't know whether it works for other document classes as well...

Posted: Sat Jun 21, 2003 9:08 pm
by trids
With v 4.6.2: you can highlight the formatted text in textpad, and select menu: Edit \ Copy Other \ As a HTML page.

Then paste the clipboard into a new textpad document, which you save as a HTML file .. that can then be viewed in full colour with a browser .. and probably in MS Word as well :wink:

Awesome.

Posted: Sat Jun 21, 2003 11:39 pm
by akchaitanya
Great trids, it worked... thank you very much for ur response. :)