Ooops, it's an option I checked in _Preferences_ -> _Editor_ : _Remove trailing whitespaces_.