GNOME Bugzilla – Bug 736585
File saving: remove trailing spaces only for modified lines
Last modified: 2018-02-27 09:58:33 UTC
Git doesn't like trailing spaces. An easy solution is to remove all trailing spaces of the buffer when saving a file. But a better solution is to remove trailing spaces only for modified lines (and new lines). A GtkTextRegion can be used to keep track of the modified lines. This behavior would be available with a boolean property in GtkSourceFileSaver.
Move the bug to Gtef.
GtkTextRegion -> GtkSourceRegion. GtkSourceFileSaver -> GtefFileSaver.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/tepl/issues/2.