I found the correct option for this actually. it is under Settings -> Editor... -> in the "End Of Line" section there is a box entitled "strip trailing blanks". All I had to do was un-check it.
what is sad is that I checked the editor settings twice!
I hope future people as blind as me will be helped by my lack of attention to detail.
Ryan