Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Strip trailing whitespace on save

branch: master

Merge pull request #12 from drahnr/master

Fixes to make it work with current gnome and cinnamon.
latest commit 2644c1d73e
Bernhard Schuster drahnr authored December 01, 2013
Octocat-spinner-32 CHANGELOG.md Version bump to 3.1.2 July 10, 2011
Octocat-spinner-32 README.md Bump version to 3.3.0 December 02, 2013
Octocat-spinner-32 install.sh Initial commit June 20, 2011
Octocat-spinner-32 trailsave.plugin Bump version to 3.3.0 December 02, 2013
Octocat-spinner-32 trailsave.py Precompile regex pattern November 26, 2013
README.md

Gedit Trailsave

A plugin for Gedit 3 to strip trailing whitespace on save.

This will not work on Gedit 2.

  • Authors:
    • Osmo Salomaa wrote original Gedit 2 plugin
    • Jon Leighton ported to Gedit 3
    • Bernhard Schuster maintainance & fixes
  • Version: 3.3.0

Installation

  1. Download a package or clone the git repository
  2. Run ./install.sh to copy the relevant files into ~/.local/share/gedit/plugins
  3. Restart Gedit
  4. Activate the plugin in 'Edit > Preferences'
  5. Now, whenever a document is saved, trailing whitepace will be removed

Issues

Report issues to the bug tracker on github

License

Copyright (C) 2013 Bernhard Schuster Copyright (C) 2006-2011 Osmo Salomaa & Jon Leighton

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Something went wrong with that request. Please try again.