Search code examples
windowseclipsegmailclipboardcopy-paste

Preserving text color while copy pasting on windows from eclipse to gmail?


When I copy paste from eclipse/RAD to outlook all the text colors and code formatting is preserved just as in RAD 7.5 IDE. But when I copy paste the same to gmail, I am left with no colors. Is this a browser shortcoming or operating systems? I do not know a whole lot about how windows clip board behaves? Any suggestions are greatly appreciated. Thanks !


Solution

  • The easiest way is to :

    1. copy your code from eclipse to MS word
    2. copy your code from MS word to gmail

    It works for me.