views:

146

answers:

1

I am editing octave files in gedit, and it does a nice job highlighting them. However, when I try to copy and paste the code into Open Office, it loses all formatting. Even when I try paste > special, it still doesn't work.

Is there any way to do this without having to manually go through all my code highlighting keywords?

A: 

I don't know if this can be any good, but if you open the script with the Matlab® editor, then you can make copy and paste (paste > special), keeping the Octave syntax highlighting.

Emiliano