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

Shuhao shuhao at shuhaowu.com
Sat Apr 20 05:26:41 CEST 2013


Done.

https://bugzilla.xfce.org/show_bug.cgi?id=10015

and

https://bugzilla.xfce.org/show_bug.cgi?id=10016

Thanks,
Shuhao

On 13-04-19 08:04 PM, Matthew Brush wrote:
> 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(-)
>>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev


More information about the Xfce4-dev mailing list