I do not believe that it is possible to copy colored text because only RobotC specifically colors that text. In regular word processors, the text is just text. You could try screenshots to show the coloring, but those would be inconvenient. I think that having black text is perfectly fine for a notebook. At events, you could also just show the laptop with the code.
You may need to change the paste options in Word (eg keep text only, keep source formatting, etc). Otherwise, you could copy the code to something else that does syntax highlighting and then copy and paste or print from that. I know you can copy code from eclipse into Word and keep the formatting, colors, etc. so it seems like RobotC should be able to do it too.
Agreed. From my experience, just using the black text is good enough.
When you’re documenting your codes, make sure you do more explanation than the code itself. Don’t merely just comment in the code. Write paragraphs explaining how you guys came up with this piece of programming, how it works, how well it works and what engineering problem it solves. Judges hardly spend time to read the ROBOTC code themselves. You have to explain it to them in a way that can be understood quickly.
Print, and then print it to a PDF. You might be able to copy it out of there with the colour, but if not you at least have a copy in colour that you can use.
You can use the printscrn function on your keyboard and take a screenshot of the screen, paste it into paint to crop it, then copy that and past it into the word document for nice color coded code for your notebook.
Or you can paste it right into Word and crop it there.
Yeah. Know your screenshots key and snipping tool. They are amazing.