Question
Copying Visual Studio Code into Robohelp
Hi,
I'm using Robohelp HTML 6 and I'm trying to transfer example code from visual studio into my robohelp project. However, when I copy/paste the code, all of the formatting is lost (mainly colors).
The project I'm working on was done years ago by another individual (whom I no longer have contact with) and contains code examples in the format I'm going for. I can't imagine he went through each example, and indivdually selected a style for each word/line. I've tried editing pages in microsft word (which retains the styles of the copied code) but once I save the file....Robohelp never lets me edit the file in Robohelp again (complains about the file being edited by a third party editor and launches it in MS word). Can anyone tell me how to retain styles when importing the code? Is it possible to develop macros to search my examples and reformat them? Any help would be greatly appreciated.
I'm using Robohelp HTML 6 and I'm trying to transfer example code from visual studio into my robohelp project. However, when I copy/paste the code, all of the formatting is lost (mainly colors).
The project I'm working on was done years ago by another individual (whom I no longer have contact with) and contains code examples in the format I'm going for. I can't imagine he went through each example, and indivdually selected a style for each word/line. I've tried editing pages in microsft word (which retains the styles of the copied code) but once I save the file....Robohelp never lets me edit the file in Robohelp again (complains about the file being edited by a third party editor and launches it in MS word). Can anyone tell me how to retain styles when importing the code? Is it possible to develop macros to search my examples and reformat them? Any help would be greatly appreciated.
