[PATCH] New feature: strip trailing white space on save

Matthew Brush mbrush at codebrainz.ca
Sat Apr 20 02:04:36 CEST 2013


On 13-04-19 12:17 AM, Shuhao wrote:
> This feature is a popular one among other editors and it is very trivial to
> implement. I use mousepad occasionally to edit some files and want this
> functionality.
>
> Another one that I would like to implement but as a separate patch would be
> not stripping the line that's currently highlighted.
>
> This is my first patch, so any suggestions are welcome.
>

Hi,

If it's not too much hassle, could create a bug tracker[1] item and 
attach the actual patch files to it so they don't get lost? I don't have 
time right away to review but if they're on the tracker they won't get 
buried in my inbox.

Thanks,
Matthew Brush

[1] https://bugzilla.xfce.org/buglist.cgi?product=Mousepad&component=General

> Shuhao
>
> Shuhao (1):
>    Added strip trailing whitespace on save
>
>   mousepad/mousepad-document.c    |   22 +++++++++++++++++++++-
>   mousepad/mousepad-document.h    |    5 +++++
>   mousepad/mousepad-preferences.c |   11 +++++++++--
>   mousepad/mousepad-window-ui.xml |    1 +
>   mousepad/mousepad-window.c      |   30 ++++++++++++++++++++++++++++++
>   5 files changed, 66 insertions(+), 3 deletions(-)
>



More information about the Xfce4-dev mailing list