I need this for writting a design document.
EDIT: Language is C++ and ruby/php/python
I need this for writting a design document.
EDIT: Language is C++ and ruby/php/python
You can paste formatted code inside word.
So you can copy the souce code from a source where the format is copied when doing a copy, and paste it into word.
Most of the time you can export it to html from you're editor, open it in IE and paste into word.
The SciTE editor understands all those languages and will syntax colour them nicely. It has a "Copy as RTF" command that will then let you paste the syntax coloured code into Word.