Cant get 1.0.1 to open/save header and code files.

Hi folks, I am fairly new to this but have build my first simple library.

I have found that if I drag a hearer or code file, .h or .cpp into Arduino 1.0.1 I can view it properly formatted.

However I cant save them from there and have been pasting into notepad!

Is there a better way?