Download this language definition file for Erlang. (Written by Martin Ankerl) This will support to Gnome standard editor Gedit.
As I'm a Ubuntu user this will explain how to configure the language highlighting component only to Gnome's Gedit tool..... :) :D [Btw there are many tools and tips for windows users always ;) ]
You can download the all in one solution of C IDE for windows 7,8 32 and 64 bits from here.
After that set the environment variable if you wish to compile your source from anywhere then do the coding. ;)
If need any help about setting environment variable or any other matters just ask. I ll reply or put further more posts..... ;)
Happy Hacking..... ;)