! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Added ability to not strip the current line
Status:
RESOLVED: MOVED
Product:
Mousepad
Component:
General

Comments

Description Shuhao 2013-04-20 03:33:40 CEST
Created attachment 5006 
Patch file

This feature is good for the trim on save as usually an user do not want
the line that they are currently selecting to be trimmed.

This patch amends the functionality of the menu item as well (clicking on the menu will not strip the current line as well). We might want to change this behaviour.
Comment 1 Andre Miranda editbugs 2013-10-31 05:08:01 CET
The patch works nicely, but as an user, I want and expect to always strip the trailing spaces of all lines. At least I'm used to this behavior in Geany and Notepad++
Just my 2 cents.
Comment 2 Andre Miranda editbugs 2013-10-31 23:56:46 CET
Now I see that this bug is useful to use along with the feature proposed in bug 10015.
But when I use the option "Text -> Convert -> Strip Trailing Spaces", I expect it to remove all trailing spaces, even of the current line. Maybe only when saving, the space of the current line could be spared.
Comment 3 Git Bot editbugs 2020-05-24 01:27:41 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org'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.xfce.org/apps/mousepad/-/issues/6.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10016

Reported by:
Shuhao
Reported on: 2013-04-20
Last modified on: 2020-05-24

People

Assignee:
Matthew Brush
CC List:
4 users

Version

Target Milestone:
Mousepad 0.2.x

Attachments

Patch file (2.18 KB, patch)
2013-04-20 03:33 CEST , Shuhao
no flags

Additional information